-
Notifications
You must be signed in to change notification settings - Fork 845
ci: ensure generated files up to date in CI #4782
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
Conversation
| "type": "bytes32" | ||
| } | ||
| ], | ||
| "stateMutability": "nonpayable", |
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.
This just because of the automatic generation 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.
(the space that is)
| package evm | ||
|
|
||
| // Step 1: Compile ExampleWarp contract to generate ABI and bin files | ||
| //go:generate sh -c "solc-v0.8.30 -o . --overwrite --abi --bin --pretty-json --base-path ../.. --evm-version shanghai ExampleWarp.sol && rm -f IWarpMessenger.abi IWarpMessenger.bin" |
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.
some test will fail if this if this is on cancun, it's related to the extra PUSH0s. I believe @ARR4N had a fix for this in mind at some point.
alarso16
left a comment
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.
This looks ok to me, but I think you should get another EVM approval on this
|
Needs a rebase for the sol conflict and also to pick up the e2e changes. |
…/cleanup-generated-files
Merged instead, but should be good now! |
Why this should be merged
This PR adds
//go:generate directivesand CI checks for Solidity-generated files that were previously manually maintained and not verified in CI. It also reorganizes coreth's directory structure to match subnet-evm for consistency --Previously, these Solidity-generated .abi and .bin files were committed to the repository but had no generation scripts or CI verification.
closes #4778
How this works
compile.goand the same CI check that exists in subnet-evm in coreth.How this was tested
CI
Need to be documented in RELEASES.md?
No