Skip to content

Instantly share code, notes, and snippets.

@chfast
Created December 8, 2016 14:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chfast/386d43239b4289b3607aeb62c8cdc724 to your computer and use it in GitHub Desktop.
Save chfast/386d43239b4289b3607aeb62c8cdc724 to your computer and use it in GitHub Desktop.
Test Case "stZeroCallsTest":
ℹ 15:11:40.553|testeth ZeroValue_CALL
EVM 15:11:40.567|testeth
STACK
MEMORY
STORAGE
EVM 15:11:40.567|testeth < 0 : @b94f5374… : #1 : 0 : GAS : 54712 : -2 : 0x32 >
EVM 15:11:40.567|testeth
STACK
000000000000000000000000000000000000000000000000000000000000d5b6
MEMORY
STORAGE
EVM 15:11:40.567|testeth < 0 : @b94f5374… : #2 : 1 : PUSH1 : 54710 : -3 : 0x32 >
EVM 15:11:40.567|testeth
STACK
000000000000000000000000000000000000000000000000000000000000d5b6
0000000000000000000000000000000000000000000000000000000000000000
MEMORY
STORAGE
EVM 15:11:40.567|testeth < 0 : @b94f5374… : #3 : 3 : SSTORE : 54707 : -20000 : 0x32 >
EVM 15:11:40.567|testeth
STACK
MEMORY
STORAGE
0x0: 0xD5B6
EVM 15:11:40.567|testeth < 0 : @b94f5374… : #4 : 4 : PUSH1 : 34707 : -3 : 0x32 >
EVM 15:11:40.567|testeth
STACK
0000000000000000000000000000000000000000000000000000000000000000
MEMORY
STORAGE
0x0: 0xD5B6
EVM 15:11:40.567|testeth < 0 : @b94f5374… : #5 : 6 : PUSH1 : 34704 : -3 : 0x32 >
EVM 15:11:40.567|testeth
STACK
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
MEMORY
STORAGE
0x0: 0xD5B6
EVM 15:11:40.567|testeth < 0 : @b94f5374… : #6 : 8 : PUSH1 : 34701 : -3 : 0x32 >
EVM 15:11:40.567|testeth
STACK
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
MEMORY
STORAGE
0x0: 0xD5B6
EVM 15:11:40.567|testeth < 0 : @b94f5374… : #7 : 10 : PUSH1 : 34698 : -3 : 0x32 >
EVM 15:11:40.567|testeth
STACK
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
MEMORY
STORAGE
0x0: 0xD5B6
EVM 15:11:40.567|testeth < 0 : @b94f5374… : #8 : 12 : PUSH1 : 34695 : -3 : 0x32 >
EVM 15:11:40.567|testeth
STACK
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
MEMORY
STORAGE
0x0: 0xD5B6
EVM 15:11:40.567|testeth < 0 : @b94f5374… : #9 : 14 : PUSH20 : 34692 : -3 : 0x32 >
EVM 15:11:40.567|testeth
STACK
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000c94f5374fce5edbc8e2a8697c15331677e6ebf0b
MEMORY
STORAGE
0x0: 0xD5B6
EVM 15:11:40.567|testeth < 0 : @b94f5374… : #10 : 35 : PUSH2 : 34689 : -3 : 0x32 >
EVM 15:11:40.567|testeth
STACK
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000c94f5374fce5edbc8e2a8697c15331677e6ebf0b
000000000000000000000000000000000000000000000000000000000000ea60
MEMORY
STORAGE
0x0: 0xD5B6
EVM 15:11:40.568|testeth < 0 : @b94f5374… : #11 : 38 : CALL : 33986 : -33455 : 0x32 >
EVM 15:11:40.568|testeth
STACK
0000000000000000000000000000000000000000000000000000000000000001
MEMORY
STORAGE
0x0: 0xD5B6
EVM 15:11:40.568|testeth < 0 : @b94f5374… : #12 : 39 : PUSH1 : 33986 : -3 : 0x32 >
EVM 15:11:40.568|testeth
STACK
0000000000000000000000000000000000000000000000000000000000000001
0000000000000000000000000000000000000000000000000000000000000001
MEMORY
STORAGE
0x0: 0xD5B6
EVM 15:11:40.568|testeth < 0 : @b94f5374… : #13 : 41 : SSTORE : 33983 : -20000 : 0x32 >
EVM 15:11:40.568|testeth
STACK
MEMORY
STORAGE
0x0: 0xD5B6
0x1: 0x1
EVM 15:11:40.568|testeth < 0 : @b94f5374… : #14 : 42 : GAS : 13983 : -2 : 0x32 >
EVM 15:11:40.568|testeth
STACK
000000000000000000000000000000000000000000000000000000000000369d
MEMORY
STORAGE
0x0: 0xD5B6
0x1: 0x1
EVM 15:11:40.568|testeth < 0 : @b94f5374… : #15 : 43 : PUSH1 : 13981 : -3 : 0x32 >
EVM 15:11:40.568|testeth
STACK
000000000000000000000000000000000000000000000000000000000000369d
0000000000000000000000000000000000000000000000000000000000000064
MEMORY
STORAGE
0x0: 0xD5B6
0x1: 0x1
EVM 15:11:40.568|testeth < 0 : @b94f5374… : #16 : 45 : SSTORE : 13978 : -20000 : 0x32 >
Safe VM Exception. /home/chfast/Projects/ethereum/cpp-ethereum/libevm/VMCalls.cpp(48): Throw in function void dev::eth::VM::throwOutOfGas()
Dynamic exception type: boost::exception_detail::clone_impl<dev::eth::OutOfGas>
std::exception::what: OutOfGas
/home/chfast/Projects/ethereum/cpp-ethereum/test/TestHelper.cpp(486): error: in "StateTestsEIP158/stZeroCallsTest": ZeroValue_CALL Check State: b94f5374fce5edbc8e2a8697c15331677e6ebf0b: incorrect storage [0] = 0000000000000000000000000000000000000000000000000000000000000000, expected [0] = 000000000000000000000000000000000000000000000000000000000008d5b6
/home/chfast/Projects/ethereum/cpp-ethereum/test/libethereum/State.cpp(90): error: in "StateTestsEIP158/stZeroCallsTest": ZeroValue_CALLwrong post state root
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment