-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Moves EOF tests from Prague to Osaka #15828
Conversation
7473b22
to
1fa5cdf
Compare
1fa5cdf
to
94b94db
Compare
test/libsolidity/syntaxTests/functionCalls/eof/calloptions_on_staticcall.sol
Outdated
Show resolved
Hide resolved
94b94db
to
9e9f40e
Compare
9e9f40e
to
6b4ee52
Compare
9366f04
to
9a29bdf
Compare
@@ -32,7 +32,7 @@ REPODIR="$(realpath "$(dirname "$0")"/..)" | |||
source "${REPODIR}/scripts/common.sh" | |||
|
|||
DEFAULT_EVM_VALUES=(constantinople petersburg istanbul berlin london paris shanghai cancun prague osaka) | |||
EVMS_WITH_EOF=(prague) | |||
EVMS_WITH_EOF=(osaka) |
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.
Now that I think of it, we should have changed it to (prague osaka)
in #15830 because otherwise we're missing a test run for --evm-version 1 --evm-version osaka
. Not a big deal, since this PR should go in very soon anyway, but I thought I'd mention it because it looks like something that's easy to overlook when adding a new EVM version.
Maybe we should just define the first EVM version with EOF here and calculate the list by slicing the list above? Then we would not have to update it ever again.
On the other hand slicing will probably be annoying to do in Bash :)
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.
Added firstWithEOF()
; gonna omit the bash slicing though. Unless you were referring to adding a first with EOF in here as well (soltest_all)?
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.
Well, if we did the slicing, we'd only need a variable that would indicate where to slice (i.e. which was the first EVM version with EOF).
But anyway, it's ok. I'm not sure myself if this would be good change. Both solutions have downsides so we can leave it as is for the time being.
Rename tests
9a29bdf
to
462fd19
Compare
Fixes #15622
Depends on #15830