diff options
author | Dimitry <dimitry@ethereum.org> | 2018-02-16 07:15:27 +0800 |
---|---|---|
committer | Dimitry <dimitry@ethereum.org> | 2018-02-16 07:15:27 +0800 |
commit | 52b4bc9c2c8e808d51d22eea366631e457a4f72c (patch) | |
tree | f2ca7a403e98ba91bd051bddfdff631a4e972585 /src | |
parent | df49ca059487bf1b860f921bc645e312090d474a (diff) | |
download | dexon-tests-52b4bc9c2c8e808d51d22eea366631e457a4f72c.tar.gz dexon-tests-52b4bc9c2c8e808d51d22eea366631e457a4f72c.tar.zst dexon-tests-52b4bc9c2c8e808d51d22eea366631e457a4f72c.zip |
fix stBugs
Diffstat (limited to 'src')
6 files changed, 188 insertions, 8 deletions
diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stBugs/returndatacopyPythonBug_Tue_03_48_41-1432_d0g0v1Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stBugs/returndatacopyPythonBug_Tue_03_48_41-1432_d0g0v1Filler.json index 51a735ddb..d239cc2ce 100644 --- a/src/BlockchainTestsFiller/GeneralStateTests/stBugs/returndatacopyPythonBug_Tue_03_48_41-1432_d0g0v1Filler.json +++ b/src/BlockchainTestsFiller/GeneralStateTests/stBugs/returndatacopyPythonBug_Tue_03_48_41-1432_d0g0v1Filler.json @@ -26,6 +26,66 @@ } ], "expect" : [ + { + "network" : "Homestead", + "result" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01" + }, + "0xffffffffffffffffffffffffffffffffffffffff" : { + "storage" : { + } + } + } + }, + { + "network" : "EIP150", + "result" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01" + }, + "0xffffffffffffffffffffffffffffffffffffffff" : { + "storage" : { + } + } + } + }, + { + "network" : "EIP158", + "result" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01" + }, + "0xffffffffffffffffffffffffffffffffffffffff" : { + "storage" : { + } + } + } + }, + { + "network" : "Byzantium", + "result" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01" + }, + "0xffffffffffffffffffffffffffffffffffffffff" : { + "storage" : { + } + } + } + }, + { + "network" : "Constantinople", + "result" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01" + }, + "0xffffffffffffffffffffffffffffffffffffffff" : { + "storage" : { + } + } + } + } ], "genesisBlockHeader" : { "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stBugs/returndatacopyPythonBug_Tue_03_48_41-1432_d0g1v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stBugs/returndatacopyPythonBug_Tue_03_48_41-1432_d0g1v0Filler.json index 5a92a74a8..6d162daee 100644 --- a/src/BlockchainTestsFiller/GeneralStateTests/stBugs/returndatacopyPythonBug_Tue_03_48_41-1432_d0g1v0Filler.json +++ b/src/BlockchainTestsFiller/GeneralStateTests/stBugs/returndatacopyPythonBug_Tue_03_48_41-1432_d0g1v0Filler.json @@ -26,6 +26,66 @@ } ], "expect" : [ + { + "network" : "Homestead", + "result" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01" + }, + "0xffffffffffffffffffffffffffffffffffffffff" : { + "storage" : { + } + } + } + }, + { + "network" : "EIP150", + "result" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01" + }, + "0xffffffffffffffffffffffffffffffffffffffff" : { + "storage" : { + } + } + } + }, + { + "network" : "EIP158", + "result" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01" + }, + "0xffffffffffffffffffffffffffffffffffffffff" : { + "storage" : { + } + } + } + }, + { + "network" : "Byzantium", + "result" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01" + }, + "0xffffffffffffffffffffffffffffffffffffffff" : { + "storage" : { + } + } + } + }, + { + "network" : "Constantinople", + "result" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01" + }, + "0xffffffffffffffffffffffffffffffffffffffff" : { + "storage" : { + } + } + } + } ], "genesisBlockHeader" : { "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stBugs/returndatacopyPythonBug_Tue_03_48_41-1432_d0g1v1Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stBugs/returndatacopyPythonBug_Tue_03_48_41-1432_d0g1v1Filler.json index 909a2bda2..2a5d1501d 100644 --- a/src/BlockchainTestsFiller/GeneralStateTests/stBugs/returndatacopyPythonBug_Tue_03_48_41-1432_d0g1v1Filler.json +++ b/src/BlockchainTestsFiller/GeneralStateTests/stBugs/returndatacopyPythonBug_Tue_03_48_41-1432_d0g1v1Filler.json @@ -26,6 +26,66 @@ } ], "expect" : [ + { + "network" : "Homestead", + "result" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01" + }, + "0xffffffffffffffffffffffffffffffffffffffff" : { + "storage" : { + } + } + } + }, + { + "network" : "EIP150", + "result" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01" + }, + "0xffffffffffffffffffffffffffffffffffffffff" : { + "storage" : { + } + } + } + }, + { + "network" : "EIP158", + "result" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01" + }, + "0xffffffffffffffffffffffffffffffffffffffff" : { + "storage" : { + } + } + } + }, + { + "network" : "Byzantium", + "result" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01" + }, + "0xffffffffffffffffffffffffffffffffffffffff" : { + "storage" : { + } + } + } + }, + { + "network" : "Constantinople", + "result" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01" + }, + "0xffffffffffffffffffffffffffffffffffffffff" : { + "storage" : { + } + } + } + } ], "genesisBlockHeader" : { "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stBugs/staticcall_createfails_d1g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stBugs/staticcall_createfails_d1g0v0Filler.json index 6db9e0b1a..a22ec9201 100644 --- a/src/BlockchainTestsFiller/GeneralStateTests/stBugs/staticcall_createfails_d1g0v0Filler.json +++ b/src/BlockchainTestsFiller/GeneralStateTests/stBugs/staticcall_createfails_d1g0v0Filler.json @@ -29,7 +29,7 @@ { "network" : "Byzantium", "result" : { - "0x82db939397f8eb81135c6c703368a27a40059f0c" : { + "0x1d0384eb7c2b1a9d9862c8e180f9e4d1696a2a8e" : { }, "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "storage" : { @@ -40,7 +40,7 @@ { "network" : "Constantinople", "result" : { - "0x82db939397f8eb81135c6c703368a27a40059f0c" : { + "0x1d0384eb7c2b1a9d9862c8e180f9e4d1696a2a8e" : { }, "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "storage" : { diff --git a/src/GeneralStateTestsFiller/stBugs/returndatacopyPythonBug_Tue_03_48_41-1432Filler.json b/src/GeneralStateTestsFiller/stBugs/returndatacopyPythonBug_Tue_03_48_41-1432Filler.json index b1337caf5..c4159c44a 100644 --- a/src/GeneralStateTestsFiller/stBugs/returndatacopyPythonBug_Tue_03_48_41-1432Filler.json +++ b/src/GeneralStateTestsFiller/stBugs/returndatacopyPythonBug_Tue_03_48_41-1432Filler.json @@ -11,9 +11,9 @@ "expect" : [ { "indexes" : { - "data" : [0], - "gas" : 0, - "value" : 0 + "data" : -1, + "gas" : -1, + "value" : -1 }, "network" : [">Frontier"], "result" : { diff --git a/src/GeneralStateTestsFiller/stBugs/staticcall_createfailsFiller.json b/src/GeneralStateTestsFiller/stBugs/staticcall_createfailsFiller.json index a61faaef6..2a12d5145 100644 --- a/src/GeneralStateTestsFiller/stBugs/staticcall_createfailsFiller.json +++ b/src/GeneralStateTestsFiller/stBugs/staticcall_createfailsFiller.json @@ -11,9 +11,9 @@ "expect" : [ { "indexes" : { - "data" : [0], - "gas" : 0, - "value" : 0 + "data" : -1, + "gas" : -1, + "value" : -1 }, "network" : [">=Byzantium"], "result" : { |