-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(evm): ensure only one copy of StateDB when executing Ethereum txs (…
…#2165) * cleanup * cleanup * partial refactor * fix: compilation errors * refactor: remove CallContract completely * refactor: mintOrUnescrowERC20 * refactor: use simpler evmObj creation pattern * fix: empty gas price in gethcore Message * fix: contract address collision error * fix: TestPrecompileSelfCallRevert * fix: unnecessary stateDB creation * fix: ensure stateDB singleton * fix: balance check * fix: balance transfer check had wrong direction * fix: deploy contract args * fix: use a new StateDB before CallContractWithInput * Update CHANGELOG.md * fix: clear StateDB between txs * Update account_info_test.go * Update account_info_test.go * Update app/evmante/evmante_can_transfer.go Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * fix base fee wei * refactor: funtoken tests * refactor: simplify NewEVM() object creation in tests * fix: stateDB should not commit on ERC20 calls * fix: commit after minting funtokens * fix: erc20 burn was committing when it shouldn't be * fix: linter --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: Unique-Divine <[email protected]>
- Loading branch information
1 parent
f3ca671
commit 13c71a7
Showing
38 changed files
with
1,801 additions
and
1,726 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.