Skip to content
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

Set Cancun as the latest stable EVM revision #716

Merged
merged 1 commit into from
Aug 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bindings/go/evmc/evmc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func TestRevision(t *testing.T) {
if MaxRevision != Osaka {
t.Errorf("missing constant for revision %d", MaxRevision)
}
if LatestStableRevision != Shanghai {
if LatestStableRevision != Cancun {
t.Errorf("wrong latest stable revision %d", LatestStableRevision)
}
}
Expand Down
3 changes: 1 addition & 2 deletions include/evmc/evmc.h
Original file line number Diff line number Diff line change
Expand Up @@ -1028,7 +1028,6 @@ enum evmc_revision
/**
* The Cancun revision.
*
* The future next revision after Shanghai.
* https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/cancun.md
*/
EVMC_CANCUN = 12,
Expand All @@ -1055,7 +1054,7 @@ enum evmc_revision
*
* This is handy for EVM tools to always use the latest revision available.
*/
EVMC_LATEST_STABLE_REVISION = EVMC_SHANGHAI
EVMC_LATEST_STABLE_REVISION = EVMC_CANCUN
};


Expand Down
2 changes: 1 addition & 1 deletion test/tools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ add_evmc_tool_test(
add_evmc_tool_test(
default_revision
"--vm $<TARGET_FILE:evmc::example-vm> run 00"
"Executing on Shanghai"
"Executing on Cancun"
)

add_evmc_tool_test(
Expand Down