-
Notifications
You must be signed in to change notification settings - Fork 835
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
Changes to allow evmtool t8n-server to work with execution-spec-tests #5701
Conversation
An omnibus of minor changes needed for t8n-server to work with the EFs new execution-spec-tests framework * Reduce logging output * Fix json library mismatch between t8n and t8n-server * Add hook to enumerate supported forks * temporarily map Shanghai+6780 to Cancun * add to main distro under 'evmtool' name Signed-off-by: Danno Ferrin <[email protected]>
|
Docs change would include this section: https://besu.hyperledger.org/stable/public-networks/reference/evm-tool
|
Signed-off-by: Danno Ferrin <[email protected]>
I can confirm this is working nicely with ethereum/execution-spec-tests/pull/206 apart from some tests failing to fill. There seems to be 2 sources of fails, one is due to the incorrect chain id being specified and the other is to do with tx playback protection. I think both of these can (and perhaps even should) be remedied on our side, will let you know early next week once I've taken a closer look. |
So, on our side, I've fixed whether playback protection is enabled/disabled in some of the test cases. I pushed these to ethereum/execution-spec-tests/pull/206. However, as we don't set the ethereum/execution-spec-tests/pull/206/ (ethereum/execution-spec-tests@739173c) in combination with shemnon/pull/14 fills all test cases up and including Shanghai successfully with:
|
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.
Thanks for the descriptive PR!
The changes themselves look good.
I would only question why we are adding the evm bin to the standard distribution?
It won't be needed for the vast majority of users AFAICT and I'm concerned we may inconvenience more people than we help with this (cue the Discord questions about which binary to use and why things don't match the install guides etc)
Size wise it's a script and a small jar. But the reason is to improve user experience. Running execution-spec-tests should't require installing raw source and executing it. It's like stripping javac from the java distro, Oracle stopped doing that 7 years ago when they sunset the JRE. Note that Geth ships a whole lot more with their homebrew formula and linux packages. Notably adding We probably should have added it years ago. |
Merged. |
…-if-tx-is-playback-protected Use v to determine if the transaction is protected Signed-off-by: Danno Ferrin <[email protected]>
9fa2a7f
to
a9871dd
Compare
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.
👍
Homebrew, yes, but if I download the linux package from https://geth.ethereum.org/downloads then it's just a single geth binary.
I do agree that it should be easy enough for users to figure it out and looking at the common setups guides the instructions will still work, so I have no objection based on impaired usability for less savvy users:
|
Signed-off-by: Danno Ferrin <[email protected]>
…hyperledger#5701) An omnibus of minor changes needed for t8n-server to work with the EFs new execution-spec-tests framework * Reduce logging output * Fix json library mismatch between t8n and t8n-server * Add hook to enumerate supported forks * temporarily map Shanghai+6780 to Cancun * add to main distro under 'evmtool' name * No longer support the "protected" attribute in TXes Signed-off-by: Danno Ferrin <[email protected]>
…ec-tests (hyperledger#5701)" This reverts commit 454bebf.
…hyperledger#5701) An omnibus of minor changes needed for t8n-server to work with the EFs new execution-spec-tests framework * Reduce logging output * Fix json library mismatch between t8n and t8n-server * Add hook to enumerate supported forks * temporarily map Shanghai+6780 to Cancun * add to main distro under 'evmtool' name * No longer support the "protected" attribute in TXes Signed-off-by: Danno Ferrin <[email protected]>
…hyperledger#5701) An omnibus of minor changes needed for t8n-server to work with the EFs new execution-spec-tests framework * Reduce logging output * Fix json library mismatch between t8n and t8n-server * Add hook to enumerate supported forks * temporarily map Shanghai+6780 to Cancun * add to main distro under 'evmtool' name * No longer support the "protected" attribute in TXes Signed-off-by: Danno Ferrin <[email protected]>
An omnibus of minor changes needed for t8n-server to work with the EFs new execution-spec-tests framework
PR description
Fixed Issue(s)