Skip to content

Commit

Permalink
Set Cancun as the latest stable EVM revision (#716)
Browse files Browse the repository at this point in the history
  • Loading branch information
chfast authored Aug 1, 2024
1 parent 7c0de9d commit 790219c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
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

0 comments on commit 790219c

Please sign in to comment.