-
Notifications
You must be signed in to change notification settings - Fork 6
Add EVM backend support #349
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: master
Are you sure you want to change the base?
Conversation
This reverts commit 3c5c7b1.
| pub enum Item { | ||
| Data(Vec<u8>), | ||
| Array(Vec<Item>), | ||
| Array(Vec<Self>), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why are this change needed, they don't seem related to the PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is reported by clippy
| prj.update_config(|config| config.evm_version = EvmVersion::Cancun); | ||
|
|
||
| let res = cmd.args(["test", "--resolc", "-vvv", "--resolc-startup"]).assert(); | ||
| let res = cmd.args(["test", "--resolc", "-vvv", "--polkadot"]).assert(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't we also run all of our revive tests with revive evm now ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes I will add them, when I have bytecode migration in place - I need to add functionality in pallet-revive
|
This part needs updating as well: foundry-polkadot/crates/forge/src/runner.rs Line 447 in adb0ab7
forge test.
|
|
Ran this with the tests from #334 and can confirm they are passing with REVM as the backend. |
Related to: #294
Flags combination for the
forge testcommandTODO in next PRs: