Skip to content

imp(evm): refactor x/evm state transition code, use go-ethereum code and make usage of NoBaseFee flag.#156

Merged
VictorTrustyDev merged 13 commits into
mainfrom
imp/refactor-state-transition-code-2
Sep 13, 2024
Merged

imp(evm): refactor x/evm state transition code, use go-ethereum code and make usage of NoBaseFee flag.#156
VictorTrustyDev merged 13 commits into
mainfrom
imp/refactor-state-transition-code-2

Conversation

@VictorTrustyDev
Copy link
Copy Markdown

To come closer to the original go-ethereum implementation, the transition state method of x/evm is now reworked with code copied from go-ethereum.

This PR contains:

  • Refactor state transition as described above.
  • Make usage of EVM config NoBaseFee, it should be set to true by non-consensus action by eth_call, eth_estimateGas, test...
  • EVM config NoBaseFee also being used for system call to EVM like x/erc20 deployment or convert coins.

@VictorTrustyDev VictorTrustyDev added the enhancement Enhancement / bug-fixes or re-work on old feature label Sep 13, 2024
@VictorTrustyDev VictorTrustyDev self-assigned this Sep 13, 2024
@VictorTrustyDev VictorTrustyDev merged commit f4d0b08 into main Sep 13, 2024
@VictorTrustyDev VictorTrustyDev deleted the imp/refactor-state-transition-code-2 branch September 13, 2024 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Enhancement / bug-fixes or re-work on old feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants