diff --git a/bindings/go/evmc/evmc_test.go b/bindings/go/evmc/evmc_test.go index a8b2c807e..fd6da980a 100644 --- a/bindings/go/evmc/evmc_test.go +++ b/bindings/go/evmc/evmc_test.go @@ -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) } } diff --git a/include/evmc/evmc.h b/include/evmc/evmc.h index 8b6617bf1..bec847597 100644 --- a/include/evmc/evmc.h +++ b/include/evmc/evmc.h @@ -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, @@ -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 }; diff --git a/test/tools/CMakeLists.txt b/test/tools/CMakeLists.txt index 46c46c977..66def7c2e 100644 --- a/test/tools/CMakeLists.txt +++ b/test/tools/CMakeLists.txt @@ -36,7 +36,7 @@ add_evmc_tool_test( add_evmc_tool_test( default_revision "--vm $ run 00" - "Executing on Shanghai" + "Executing on Cancun" ) add_evmc_tool_test(