Skip to content

Instantly share code, notes, and snippets.

@Gustav-Simonsson
Created December 21, 2015 02:22
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 Gustav-Simonsson/50e94abb0412dfd4c9c4 to your computer and use it in GitHub Desktop.
Save Gustav-Simonsson/50e94abb0412dfd4c9c4 to your computer and use it in GitHub Desktop.
trace_go
StateTest: createNameRegistratorPreStore1NotEnoughGas
VM STAT 24 OPs
PC 00000000: PUSH32 GAS: 55268 COST: 3
STACK = 0
MEM = 0
STORAGE = 0
PC 00000033: PUSH1 GAS: 55265 COST: 3
STACK = 1
0000: 6001600155601080600c6000396000f3006000355415600957005b6020356000
MEM = 0
STORAGE = 0
PC 00000035: MSTORE GAS: 55259 COST: 6
STACK = 2
0000: 0000000000000000000000000000000000000000000000000000000000000000
0001: 6001600155601080600c6000396000f3006000355415600957005b6020356000
MEM = 32
0000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0016: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
STORAGE = 0
PC 00000036: PUSH1 GAS: 55256 COST: 3
STACK = 0
MEM = 32
0000: 60 01 60 01 55 60 10 80 60 0c 60 00 39 60 00 f3 `?`?U`??`?`.9`.ó
0016: 00 60 00 35 54 15 60 09 57 00 5b 60 20 35 60 00 .`.5T?`?W.[` 5`.
STORAGE = 0
PC 00000038: PUSH1 GAS: 55253 COST: 3
STACK = 1
0000: 0000000000000000000000000000000000000000000000000000000000000035
MEM = 32
0000: 60 01 60 01 55 60 10 80 60 0c 60 00 39 60 00 f3 `?`?U`??`?`.9`.ó
0016: 00 60 00 35 54 15 60 09 57 00 5b 60 20 35 60 00 .`.5T?`?W.[` 5`.
STORAGE = 0
PC 00000040: MSTORE8 GAS: 55247 COST: 6
STACK = 2
0000: 0000000000000000000000000000000000000000000000000000000000000020
0001: 0000000000000000000000000000000000000000000000000000000000000035
MEM = 64
0000: 60 01 60 01 55 60 10 80 60 0c 60 00 39 60 00 f3 `?`?U`??`?`.9`.ó
0016: 00 60 00 35 54 15 60 09 57 00 5b 60 20 35 60 00 .`.5T?`?W.[` 5`.
0032: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0048: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
STORAGE = 0
PC 00000041: PUSH1 GAS: 55244 COST: 3
STACK = 0
MEM = 64
0000: 60 01 60 01 55 60 10 80 60 0c 60 00 39 60 00 f3 `?`?U`??`?`.9`.ó
0016: 00 60 00 35 54 15 60 09 57 00 5b 60 20 35 60 00 .`.5T?`?W.[` 5`.
0032: 35 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 5...............
0048: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
STORAGE = 0
PC 00000043: PUSH1 GAS: 55241 COST: 3
STACK = 1
0000: 0000000000000000000000000000000000000000000000000000000000000055
MEM = 64
0000: 60 01 60 01 55 60 10 80 60 0c 60 00 39 60 00 f3 `?`?U`??`?`.9`.ó
0016: 00 60 00 35 54 15 60 09 57 00 5b 60 20 35 60 00 .`.5T?`?W.[` 5`.
0032: 35 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 5...............
0048: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
STORAGE = 0
PC 00000045: MSTORE8 GAS: 55238 COST: 3
STACK = 2
0000: 0000000000000000000000000000000000000000000000000000000000000021
0001: 0000000000000000000000000000000000000000000000000000000000000055
MEM = 64
0000: 60 01 60 01 55 60 10 80 60 0c 60 00 39 60 00 f3 `?`?U`??`?`.9`.ó
0016: 00 60 00 35 54 15 60 09 57 00 5b 60 20 35 60 00 .`.5T?`?W.[` 5`.
0032: 35 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 5...............
0048: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
STORAGE = 0
PC 00000046: PUSH1 GAS: 55235 COST: 3
STACK = 0
MEM = 64
0000: 60 01 60 01 55 60 10 80 60 0c 60 00 39 60 00 f3 `?`?U`??`?`.9`.ó
0016: 00 60 00 35 54 15 60 09 57 00 5b 60 20 35 60 00 .`.5T?`?W.[` 5`.
0032: 35 55 00 00 00 00 00 00 00 00 00 00 00 00 00 00 5U..............
0048: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
STORAGE = 0
PC 00000048: PUSH1 GAS: 55232 COST: 3
STACK = 1
0000: 0000000000000000000000000000000000000000000000000000000000000022
MEM = 64
0000: 60 01 60 01 55 60 10 80 60 0c 60 00 39 60 00 f3 `?`?U`??`?`.9`.ó
0016: 00 60 00 35 54 15 60 09 57 00 5b 60 20 35 60 00 .`.5T?`?W.[` 5`.
0032: 35 55 00 00 00 00 00 00 00 00 00 00 00 00 00 00 5U..............
0048: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
STORAGE = 0
PC 00000050: PUSH1 GAS: 55229 COST: 3
STACK = 2
0000: 0000000000000000000000000000000000000000000000000000000000000000
0001: 0000000000000000000000000000000000000000000000000000000000000022
MEM = 64
0000: 60 01 60 01 55 60 10 80 60 0c 60 00 39 60 00 f3 `?`?U`??`?`.9`.ó
0016: 00 60 00 35 54 15 60 09 57 00 5b 60 20 35 60 00 .`.5T?`?W.[` 5`.
0032: 35 55 00 00 00 00 00 00 00 00 00 00 00 00 00 00 5U..............
0048: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
STORAGE = 0
PC 00000052: CREATE GAS: 23229 COST: 32000
STACK = 3
0000: 0000000000000000000000000000000000000000000000000000000000000017
0001: 0000000000000000000000000000000000000000000000000000000000000000
0002: 0000000000000000000000000000000000000000000000000000000000000022
MEM = 64
0000: 60 01 60 01 55 60 10 80 60 0c 60 00 39 60 00 f3 `?`?U`??`?`.9`.ó
0016: 00 60 00 35 54 15 60 09 57 00 5b 60 20 35 60 00 .`.5T?`?W.[` 5`.
0032: 35 55 00 00 00 00 00 00 00 00 00 00 00 00 00 00 5U..............
0048: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
STORAGE = 0
PC 00000000: PUSH1 GAS: 23226 COST: 3
STACK = 0
MEM = 0
STORAGE = 0
PC 00000002: PUSH1 GAS: 23223 COST: 3
STACK = 1
0000: 0000000000000000000000000000000000000000000000000000000000000001
MEM = 0
STORAGE = 0
PC 00000004: SSTORE GAS: 3223 COST: 20000
STACK = 2
0000: 0000000000000000000000000000000000000000000000000000000000000001
0001: 0000000000000000000000000000000000000000000000000000000000000001
MEM = 0
STORAGE = 0
PC 00000005: PUSH1 GAS: 3220 COST: 3
STACK = 0
MEM = 0
STORAGE = 0
PC 00000007: DUP1 GAS: 3217 COST: 3
STACK = 1
0000: 0000000000000000000000000000000000000000000000000000000000000010
MEM = 0
STORAGE = 0
PC 00000008: PUSH1 GAS: 3214 COST: 3
STACK = 2
0000: 0000000000000000000000000000000000000000000000000000000000000010
0001: 0000000000000000000000000000000000000000000000000000000000000010
MEM = 0
STORAGE = 0
PC 00000010: PUSH1 GAS: 3211 COST: 3
STACK = 3
0000: 000000000000000000000000000000000000000000000000000000000000000c
0001: 0000000000000000000000000000000000000000000000000000000000000010
0002: 0000000000000000000000000000000000000000000000000000000000000010
MEM = 0
STORAGE = 0
PC 00000012: CODECOPY GAS: 3202 COST: 9
STACK = 4
0000: 0000000000000000000000000000000000000000000000000000000000000000
0001: 000000000000000000000000000000000000000000000000000000000000000c
0002: 0000000000000000000000000000000000000000000000000000000000000010
0003: 0000000000000000000000000000000000000000000000000000000000000010
MEM = 32
0000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0016: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
STORAGE = 0
PC 00000013: PUSH1 GAS: 3199 COST: 3
STACK = 1
0000: 0000000000000000000000000000000000000000000000000000000000000010
MEM = 32
0000: 39 60 00 f3 00 60 00 35 54 15 60 09 57 00 5b 60 9`.ó.`.5T?`?W.[`
0016: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
STORAGE = 0
PC 00000015: RETURN GAS: 3199 COST: 0
STACK = 2
0000: 0000000000000000000000000000000000000000000000000000000000000000
0001: 0000000000000000000000000000000000000000000000000000000000000010
MEM = 32
0000: 39 60 00 f3 00 60 00 35 54 15 60 09 57 00 5b 60 9`.ó.`.5T?`?W.[`
0016: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
STORAGE = 0
PC 00000053: STOP GAS: 3199 COST: 0
STACK = 1
0000: 0000000000000000000000000000000000000000000000000000000000000000
MEM = 64
0000: 60 01 60 01 55 60 10 80 60 0c 60 00 39 60 00 f3 `?`?U`??`?`.9`.ó
0016: 00 60 00 35 54 15 60 09 57 00 5b 60 20 35 60 00 .`.5T?`?W.[` 5`.
0032: 35 55 00 00 00 00 00 00 00 00 00 00 00 00 00 00 5U..............
0048: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
STORAGE = 0
--- FAIL: TestCallCreateCallCode (0.02s)
state_test.go:114: createNameRegistratorPreStore1NotEnoughGas: (095e7bae) balance failed. Expected 1000000000000100000, got 1000000000000099977
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment