Skip to content

Commit 38abb49

Browse files
committed
Upgrade EVMC to 9.0.0
1 parent b96cc5d commit 38abb49

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

evmc

Submodule evmc updated from 17fd712 to 18bea41

lib/evmone/instruction_traits.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@ constexpr inline GasCostTable gas_costs = []() noexcept {
157157
table[EVMC_LONDON] = table[EVMC_BERLIN];
158158
table[EVMC_LONDON][OP_BASEFEE] = 2;
159159

160+
table[EVMC_SHANGHAI] = table[EVMC_LONDON];
161+
160162
return table;
161163
}();
162164

test/integration/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ DUP1,4
2222
add_test(NAME ${PREFIX}/trace COMMAND $<TARGET_FILE:evmc::tool> --vm $<TARGET_FILE:evmone>,O=0,trace run 60006002800103)
2323
set_tests_properties(
2424
${PREFIX}/trace PROPERTIES PASS_REGULAR_EXPRESSION
25-
"{\"depth\":0,\"rev\":\"Berlin\",\"static\":false}
25+
"{\"depth\":0,\"rev\":\"London\",\"static\":false}
2626
{\"pc\":0,\"op\":96,\"opName\":\"PUSH1\",\"gas\":1000000,\"stack\":\\[\\],\"memorySize\":0}
2727
{\"pc\":2,\"op\":96,\"opName\":\"PUSH1\",\"gas\":999997,\"stack\":\\[\"0x0\"\\],\"memorySize\":0}
2828
{\"pc\":4,\"op\":128,\"opName\":\"DUP1\",\"gas\":999994,\"stack\":\\[\"0x0\",\"0x2\"\\],\"memorySize\":0}

0 commit comments

Comments
 (0)