Skip to content

Commit

Permalink
Merge pull request #598 from ethereum/fix0x
Browse files Browse the repository at this point in the history
fix 0x missing in transaction data filled for filled state tests
  • Loading branch information
winsvega committed May 25, 2019
2 parents 29f8f4d + c9e1008 commit e4c9359
Show file tree
Hide file tree
Showing 113 changed files with 2,456 additions and 2,552 deletions.
89 changes: 44 additions & 45 deletions GeneralStateTests/stCallCreateCallCodeTest/Call1024PreCalls.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
"Call1024PreCalls" : {
"_info" : {
"comment" : "",
"filling-rpc-server" : "aleth/1.6.0-alpha.1-12+commit.09a921ec.dirty/linux/gnu5.4.0/relwithdebinfo",
"filling-tool-version" : "retesteth-0.0.1+commit.1d48fec6.Linux.g++",
"lllcversion" : "Version: 0.5.0-develop.2018.11.9+commit.9709dfe0.Linux.g++",
"filledwith" : "testeth 1.7.0-alpha.0+commit.f28504be.dirty",
"lllcversion" : "Version: 0.5.0-develop.2018.10.24+commit.01566c2e.Linux.g++",
"source" : "src/GeneralStateTestsFiller/stCallCreateCallCodeTest/Call1024PreCallsFiller.json",
"sourceHash" : "7448b8545da3197ba61425c1ba6d2ad96b96393fcbf8561c15e523d28bf39cc5"
},
Expand All @@ -16,89 +15,89 @@
"currentTimestamp" : "0x03e8",
"previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"pre" : {
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0fffffffffffffffffffffffffffffffff",
"code" : "0x",
"nonce" : "0x00",
"storage" : {
}
},
"0xaaaf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x1b58",
"code" : "0x",
"nonce" : "0x00",
"storage" : {
}
},
"0xbbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x07e8",
"code" : "0x6000600060006000600173aaaf5374fce5edbc8e2a8697c15331677e6ebf0b61fffff16002556000600060006000600173aaaf5374fce5edbc8e2a8697c15331677e6ebf0b61fffff16003556001600054016000556000600060006000600073bbbf5374fce5edbc8e2a8697c15331677e6ebf0b650ffffffffffff1600155",
"nonce" : "0x00",
"storage" : {
}
}
},
"transaction" : {
"data" : [
""
],
"gasLimit" : [
"0x7fe0000000000001"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
"secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
"to" : "0xbbbf5374fce5edbc8e2a8697c15331677e6ebf0b",
"value" : [
"0x0a"
]
},
"post" : {
"Byzantium" : [
{
"hash" : "0x9e669d3e957acb6c3fef146901512fdef074829b110e73df2c68ef16b63921b6",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"hash" : "0x9e669d3e957acb6c3fef146901512fdef074829b110e73df2c68ef16b63921b6",
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
],
"Constantinople" : [
{
"hash" : "0xf575de3973a1919fc54b1d08f7da4d455e9fb29cb128be044f9e627b23da2a29",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"hash" : "0xf575de3973a1919fc54b1d08f7da4d455e9fb29cb128be044f9e627b23da2a29",
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
],
"ConstantinopleFix" : [
{
"hash" : "0x9e669d3e957acb6c3fef146901512fdef074829b110e73df2c68ef16b63921b6",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"hash" : "0x9e669d3e957acb6c3fef146901512fdef074829b110e73df2c68ef16b63921b6",
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
],
"Frontier" : [
{
"hash" : "0x0e28b14b17542dc03eb8e0397c1c658947420a9d95fc96ca2926a38620d593aa",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"hash" : "0x0e28b14b17542dc03eb8e0397c1c658947420a9d95fc96ca2926a38620d593aa",
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
]
},
"pre" : {
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0fffffffffffffffffffffffffffffffff",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0xaaaf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x1b58",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0xbbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x07e8",
"code" : "0x6000600060006000600173aaaf5374fce5edbc8e2a8697c15331677e6ebf0b61fffff16002556000600060006000600173aaaf5374fce5edbc8e2a8697c15331677e6ebf0b61fffff16003556001600054016000556000600060006000600073bbbf5374fce5edbc8e2a8697c15331677e6ebf0b650ffffffffffff1600155",
"nonce" : "0x00",
"storage" : {
}
}
},
"transaction" : {
"data" : [
"0x"
],
"gasLimit" : [
"0x7fe0000000000001"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
"secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
"to" : "0xbbbf5374fce5edbc8e2a8697c15331677e6ebf0b",
"value" : [
"0x0a"
]
}
}
}
89 changes: 44 additions & 45 deletions GeneralStateTests/stCallCreateCallCodeTest/CallLoseGasOOG.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
"CallLoseGasOOG" : {
"_info" : {
"comment" : "",
"filling-rpc-server" : "aleth/1.6.0-alpha.1-12+commit.09a921ec.dirty/linux/gnu5.4.0/relwithdebinfo",
"filling-tool-version" : "retesteth-0.0.1+commit.1d48fec6.Linux.g++",
"lllcversion" : "Version: 0.5.0-develop.2018.11.9+commit.9709dfe0.Linux.g++",
"filledwith" : "testeth 1.7.0-alpha.0+commit.f28504be.dirty",
"lllcversion" : "Version: 0.5.0-develop.2018.10.24+commit.01566c2e.Linux.g++",
"source" : "src/GeneralStateTestsFiller/stCallCreateCallCodeTest/CallLoseGasOOGFiller.json",
"sourceHash" : "68b59a0e931f18ebef3400e5c0e6d5b418902c69ecc6ce725f45033c459ca17c"
},
Expand All @@ -16,89 +15,89 @@
"currentTimestamp" : "0x03e8",
"previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
"pre" : {
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0xffffffffffffffffffffffffffffffff",
"code" : "0x",
"nonce" : "0x00",
"storage" : {
}
},
"0xaaaf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x1b58",
"code" : "0x",
"nonce" : "0x00",
"storage" : {
}
},
"0xbbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0400",
"code" : "0x6001600054016000556000600060006000600073bbbf5374fce5edbc8e2a8697c15331677e6ebf0b620186a060005402600101f16001556103e860005402600101600255",
"nonce" : "0x00",
"storage" : {
}
}
},
"transaction" : {
"data" : [
""
],
"gasLimit" : [
"0x7fe0000000000001"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
"secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
"to" : "0xbbbf5374fce5edbc8e2a8697c15331677e6ebf0b",
"value" : [
"0x0a"
]
},
"post" : {
"Byzantium" : [
{
"hash" : "0x83936b93f345c2eadf1fc9059dd84c6b369410bbbfc8a1fa11a7a3499fe6b158",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"hash" : "0x83936b93f345c2eadf1fc9059dd84c6b369410bbbfc8a1fa11a7a3499fe6b158",
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
],
"Constantinople" : [
{
"hash" : "0x0b3c5b70f2bc4e355fb1294b2cd520afb62d624ab2f6dc3b14ccace2d91eb9e9",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"hash" : "0x0b3c5b70f2bc4e355fb1294b2cd520afb62d624ab2f6dc3b14ccace2d91eb9e9",
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
],
"ConstantinopleFix" : [
{
"hash" : "0x83936b93f345c2eadf1fc9059dd84c6b369410bbbfc8a1fa11a7a3499fe6b158",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"hash" : "0x83936b93f345c2eadf1fc9059dd84c6b369410bbbfc8a1fa11a7a3499fe6b158",
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
],
"Frontier" : [
{
"hash" : "0x74be0756050e62737710a3520d833376ff4af5352afcb61012b8d69183062d45",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"hash" : "0x74be0756050e62737710a3520d833376ff4af5352afcb61012b8d69183062d45",
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
]
},
"pre" : {
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0xffffffffffffffffffffffffffffffff",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0xaaaf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x1b58",
"code" : "",
"nonce" : "0x00",
"storage" : {
}
},
"0xbbbf5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x0400",
"code" : "0x6001600054016000556000600060006000600073bbbf5374fce5edbc8e2a8697c15331677e6ebf0b620186a060005402600101f16001556103e860005402600101600255",
"nonce" : "0x00",
"storage" : {
}
}
},
"transaction" : {
"data" : [
"0x"
],
"gasLimit" : [
"0x7fe0000000000001"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
"secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
"to" : "0xbbbf5374fce5edbc8e2a8697c15331677e6ebf0b",
"value" : [
"0x0a"
]
}
}
}

0 comments on commit e4c9359

Please sign in to comment.