Conversation
|
I'd wait for the evmone release, because the one used likely still has EOF enabled on Shanghai. |
|
Not that this should block this PR by any means, but just as a note - some tooling is still catching up to Shanghai, namely Foundry (although, @Evalir is working on upgrading to REVM >=3.0, which will allow foundry to support Shanghai with relative ease). |
Yes, we're aware and brought this up in our communication channels with tooling - hardhat didn't think this would be an issues for them (even though our CI here looks otherwise, so we'll have to look into that) and we were told that foundry always inserts an explicit evm version, so they won't be affected by us changing the default (and can add support and flip the evm version they pass on to us in their own time). |
Well, that doesn't really affect us significantly, though, does it? And is independent of making this the default - that also already affects the plain support. We plan to release at least the support soon - this PR, i.e. switching to default, we can still postpone for one more release, but I had planned to also see if we can get it in. |
It affects both, and ideally we get confirmation with a proper evmone release before this goes live. Evmone likely will be released by next week. |
Release coming out today or tomorrow. |
Co-authored-by: Rodrigo Q. Saramago <rodrigoqsaramago@gmail.com>
Alright - I'll be merging this today and we can bump the evmone version as soon as it's available. |
https://github.com/ethereum/evmone/releases/tag/v0.10.0 Let's hope all the tests pass, otherwise this will be the most yolo Solidity release so far 😅 |
The only substantial codegen change for shanghai is push0, and that was already supported by the old evmone release - the danger really wasn't so big :-D. And yeah, all tests still pass in #14200 except slight gas accounting differences in contract creation, so it was fine :-). |
The problem wasn't that, but that the evmone being used had a ton of EOF stuff enabled for Shanghai. |
Yes, but it's not like we generate anything that'd have been affected by that. But yeah, the version is bumped now, so it's fine. |
|
I was more worried that something unintentionally get accepted by that version of evmone 😀 |
Given our discussion with tooling, we'll flip the switch and will prominently note this in the release notes.
Has hardhat fail hard so far, need to check if we can bump some versions somewhere, supposedly the latest release has support.
Part of #14073