Skip to content

Fix & Update EstimateGas API#462

Open
c98tristan wants to merge 20 commits intoBuildOnViction:pre-releasefrom
c98tristan:feat/update-estimate-gas
Open

Fix & Update EstimateGas API#462
c98tristan wants to merge 20 commits intoBuildOnViction:pre-releasefrom
c98tristan:feat/update-estimate-gas

Conversation

@c98tristan
Copy link
Copy Markdown
Contributor

@c98tristan c98tristan commented Oct 10, 2024

  1. Fix too many arguments, want at most 1 when call eth_estimateGas
  2. Fix default gasPrice depend on balanceTokenFee
  3. Add executionResult to emphasizes the difference between Consensus error and EVM internal error.
  4. Fix race condition by copy state from stateDB each execution.
  5. Optimize time execution estimate gas.
  6. Get balanceTokenFee from stateDB instead of default value
  7. Remove gasLimit and gasPrice when using contract call
  8. Remove logic set gasPrice when balanceTokenFee exist.
  9. Unit testing

Reference:

@c98tristan c98tristan marked this pull request as ready for review October 23, 2024 10:38
@imterryyy
Copy link
Copy Markdown
Collaborator

Does this change require protocol update ?

@imterryyy
Copy link
Copy Markdown
Collaborator

Fix: #483

@c98tristan c98tristan changed the base branch from master to pre-release April 23, 2025 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants