-
Notifications
You must be signed in to change notification settings - Fork 96
feat: ERC20 precompile redesign #517
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
5c87197
to
73b20c7
Compare
Solution: - refactor the precompiles code with (hopefully) equivalent transformations. changelog cleanup handle balance handler error return cleanup avoid naked return fix lint fix werc20 fix staking precompile fix panic recovery return error fix staking test case NewPrecompile don't return error
5c3043e
to
205d009
Compare
We need some more time to review this. But my initial thoughts are that I like the |
those things are part of another PR: #577 this PR should only be merged after that one. |
Closes: cosmos#505 re-design bank precompile to support solidity erc20 contract. solc optimize fix readonly comment solc version add to app basic mock test framework test transfer test precompile through erc20 contract more failure test cases cleanup fix go lint use decimals from Display denom add to AvailableStaticPrecompiles add boilerplates use new precompile base fix executor fix test fix lint gas cost changed after register new precompile use cosmos-sdk gas config
b67b1e0
to
07eaa87
Compare
Description
Closes: #505
Re-design bank precompile to avoid dynamic precompiles.
e2e tests
Notes
go-ethereum/accounts/abi
library.Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
main
branch