Skip to content
This repository was archived by the owner on Oct 28, 2021. It is now read-only.
This repository was archived by the owner on Oct 28, 2021. It is now read-only.

evm_state.selfdestruct_with_balance test fails for aleth-interpreter #5767

@gumb0

Description

@gumb0

evm-test was built from the branch ipsilon/evmone#189, aleth-interpreter build from current master

> bin/evm-test ../../aleth/build/libaleth-interpreter/libaleth-interpreter.so  --gtest_filter=evm_state.selfdestruct_with_balance
EVM Test 0.2.0

Testing ../../aleth/build/libaleth-interpreter/libaleth-interpreter.so

Note: Google Test filter = evm_state.selfdestruct_with_balance
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from evm_state
[ RUN      ] evm_state.selfdestruct_with_balance
/home/andrei/dev/evmone/test/unittests/evm_state_test.cpp:336: Failure
Expected equality of these values:
  host.recorded_account_accesses.size()
    Which is: 1
  0
/home/andrei/dev/evmone/test/unittests/evm_state_test.cpp:407: Failure
Expected equality of these values:
  host.recorded_account_accesses.size()
    Which is: 1
  0
/home/andrei/dev/evmone/test/unittests/evm_state_test.cpp:421: Failure
Expected equality of these values:
  host.recorded_account_accesses.size()
    Which is: 1
  0
/home/andrei/dev/evmone/test/unittests/evm_state_test.cpp:446: Failure
Expected equality of these values:
  host.recorded_account_accesses.size()
    Which is: 1
  0
/home/andrei/dev/evmone/test/unittests/evm_state_test.cpp:461: Failure
Expected equality of these values:
  host.recorded_account_accesses.size()
    Which is: 2
  0
[  FAILED  ] evm_state.selfdestruct_with_balance (2 ms)
[----------] 1 test from evm_state (2 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (2 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] evm_state.selfdestruct_with_balance

 1 FAILED TEST

Apparently there are some unexpected account accesses in some cases.
(So not a consensus issues, but some suboptimalities)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions