Skip to content

Commit 3251073

Browse files
committed
Upgrade EVMC to 7.3.0
1 parent 71086ab commit 3251073

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

evmc

Submodule evmc updated 67 files

test/unittests/evm_calls_test.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ TEST_F(evm_calls, create_balance_too_low)
151151

152152
TEST_F(evm_calls, create_failure)
153153
{
154-
host.call_result.create_address = evmc::address{{0xce}};
154+
host.call_result.create_address = 0x00000000000000000000000000000000000000ce_address;
155155
const auto create_address =
156156
bytes_view{host.call_result.create_address.bytes, sizeof(host.call_result.create_address)};
157157
rev = EVMC_CONSTANTINOPLE;
@@ -333,7 +333,7 @@ TEST_F(evm_calls, call_value_zero_to_nonexistent_account)
333333

334334
TEST_F(evm_calls, call_new_account_creation_cost)
335335
{
336-
const auto call_dst = evmc::address{{0xad}};
336+
constexpr auto call_dst = 0x00000000000000000000000000000000000000ad_address;
337337
const auto code = 4 * push(0) + calldataload(0) + push({call_dst.bytes, sizeof(call_dst)}) +
338338
push(0) + OP_CALL + ret_top();
339339
msg.destination = evmc_address{{3}};

test/unittests/evm_state_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ TEST_F(evm_state, selfdestruct)
366366

367367
TEST_F(evm_state, selfdestruct_with_balance)
368368
{
369-
const auto beneficiary = evmc::address{{0xbe}};
369+
constexpr auto beneficiary = 0x00000000000000000000000000000000000000be_address;
370370
const auto code = push({beneficiary.bytes, sizeof(beneficiary)}) + OP_SELFDESTRUCT;
371371
msg.destination = evmc_address{{0x5e}};
372372

0 commit comments

Comments
 (0)