diff options
author | Dimitry <winsvega@mail.ru> | 2016-12-19 20:56:50 +0800 |
---|---|---|
committer | Dimitry <winsvega@mail.ru> | 2016-12-19 20:56:50 +0800 |
commit | bedfa3a50a8daf3161e6795eabbf4bfd7d359c48 (patch) | |
tree | 1d188932922e0c6d1f26f43321e351727443a386 /src/GeneralStateTestsFiller/stCreateTest | |
parent | 60075171252faccb5cb761939fd0e49f88e40204 (diff) | |
download | dexon-tests-bedfa3a50a8daf3161e6795eabbf4bfd7d359c48.tar dexon-tests-bedfa3a50a8daf3161e6795eabbf4bfd7d359c48.tar.gz dexon-tests-bedfa3a50a8daf3161e6795eabbf4bfd7d359c48.tar.bz2 dexon-tests-bedfa3a50a8daf3161e6795eabbf4bfd7d359c48.tar.lz dexon-tests-bedfa3a50a8daf3161e6795eabbf4bfd7d359c48.tar.xz dexon-tests-bedfa3a50a8daf3161e6795eabbf4bfd7d359c48.tar.zst dexon-tests-bedfa3a50a8daf3161e6795eabbf4bfd7d359c48.zip |
EIP150 to GeneralTests Convertion
Diffstat (limited to 'src/GeneralStateTestsFiller/stCreateTest')
16 files changed, 157 insertions, 10 deletions
diff --git a/src/GeneralStateTestsFiller/stCreateTest/CREATE_AcreateB_BSuicide_BStoreFiller.json b/src/GeneralStateTestsFiller/stCreateTest/CREATE_AcreateB_BSuicide_BStoreFiller.json index 80b97fd8a..dea2c8b59 100644 --- a/src/GeneralStateTestsFiller/stCreateTest/CREATE_AcreateB_BSuicide_BStoreFiller.json +++ b/src/GeneralStateTestsFiller/stCreateTest/CREATE_AcreateB_BSuicide_BStoreFiller.json @@ -31,7 +31,7 @@ "gas" : -1, "value" : -1 }, - "network" : ["Frontier", "Homestead"], + "network" : ["Frontier", "Homestead", "EIP150"], "result" : { "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "storage" : { diff --git a/src/GeneralStateTestsFiller/stCreateTest/CREATE_ContractSuicideDuringInitFiller.json b/src/GeneralStateTestsFiller/stCreateTest/CREATE_ContractSuicideDuringInitFiller.json index 055464bf9..f8c7bf903 100644 --- a/src/GeneralStateTestsFiller/stCreateTest/CREATE_ContractSuicideDuringInitFiller.json +++ b/src/GeneralStateTestsFiller/stCreateTest/CREATE_ContractSuicideDuringInitFiller.json @@ -34,7 +34,7 @@ "gas" : -1, "value" : -1 }, - "network" : ["Frontier", "Homestead"], + "network" : ["Frontier", "Homestead", "EIP150"], "result" : { "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { "shouldnotexist" : "1" diff --git a/src/GeneralStateTestsFiller/stCreateTest/CREATE_ContractSuicideDuringInit_ThenStoreThenReturnFiller.json b/src/GeneralStateTestsFiller/stCreateTest/CREATE_ContractSuicideDuringInit_ThenStoreThenReturnFiller.json index 2d1775e7c..a8646279e 100644 --- a/src/GeneralStateTestsFiller/stCreateTest/CREATE_ContractSuicideDuringInit_ThenStoreThenReturnFiller.json +++ b/src/GeneralStateTestsFiller/stCreateTest/CREATE_ContractSuicideDuringInit_ThenStoreThenReturnFiller.json @@ -40,7 +40,7 @@ "gas" : -1, "value" : -1 }, - "network" : ["Frontier", "Homestead"], + "network" : ["Frontier", "Homestead", "EIP150"], "result" : { "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { "shouldnotexist" : "1" diff --git a/src/GeneralStateTestsFiller/stCreateTest/CREATE_ContractSuicideDuringInit_WithValueFiller.json b/src/GeneralStateTestsFiller/stCreateTest/CREATE_ContractSuicideDuringInit_WithValueFiller.json index 8424e555a..6d65b4cbe 100644 --- a/src/GeneralStateTestsFiller/stCreateTest/CREATE_ContractSuicideDuringInit_WithValueFiller.json +++ b/src/GeneralStateTestsFiller/stCreateTest/CREATE_ContractSuicideDuringInit_WithValueFiller.json @@ -34,7 +34,7 @@ "gas" : -1, "value" : -1 }, - "network" : ["Frontier", "Homestead"], + "network" : ["Frontier", "Homestead", "EIP150"], "result" : { "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { "shouldnotexist" : "1" diff --git a/src/GeneralStateTestsFiller/stCreateTest/CREATE_ContractSuicideDuringInit_WithValueToItselfFiller.json b/src/GeneralStateTestsFiller/stCreateTest/CREATE_ContractSuicideDuringInit_WithValueToItselfFiller.json index ff3c651b5..f9803c031 100644 --- a/src/GeneralStateTestsFiller/stCreateTest/CREATE_ContractSuicideDuringInit_WithValueToItselfFiller.json +++ b/src/GeneralStateTestsFiller/stCreateTest/CREATE_ContractSuicideDuringInit_WithValueToItselfFiller.json @@ -83,6 +83,31 @@ "balance" : "999999946250" } } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : ["EIP150"], + "result" : { + "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "shouldnotexist" : "1" + }, + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "storage" : { + "0x01" : "12" + } + }, + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "59400" + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "999999940590" + } + } } ], "pre" : diff --git a/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractAndCallIt_0weiFiller.json b/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractAndCallIt_0weiFiller.json index 1af43968a..7930ce6ea 100644 --- a/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractAndCallIt_0weiFiller.json +++ b/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractAndCallIt_0weiFiller.json @@ -52,6 +52,28 @@ "nonce" : "0" } } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : ["EIP150"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x08d5b6", + "0x01" : "0xf1ecf98489fa9ed60a664fc4998db699cfa39d40", + "0x02" : "0x07bc62", + "0x03" : "0x01", + "0x64" : "0x071c81" + } + }, + "f1ecf98489fa9ed60a664fc4998db699cfa39d40" : { + "nonce" : "0" + } + } } ], "pre" : diff --git a/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractAndCallIt_1weiFiller.json b/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractAndCallIt_1weiFiller.json index d75e27bb9..e82bdc1f9 100644 --- a/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractAndCallIt_1weiFiller.json +++ b/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractAndCallIt_1weiFiller.json @@ -54,6 +54,29 @@ "nonce" : "0x00" } } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : ["EIP150"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x08d5b6", + "0x01" : "0xf1ecf98489fa9ed60a664fc4998db699cfa39d40", + "0x02" : "0x07bc62", + "0x03" : "0x01", + "0x64" : "0x070255" + } + }, + "f1ecf98489fa9ed60a664fc4998db699cfa39d40" : { + "balance" : "0x01", + "nonce" : "0x00" + } + } } ], "pre" : diff --git a/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractFiller.json b/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractFiller.json index c82cee163..71906738b 100644 --- a/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractFiller.json +++ b/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractFiller.json @@ -35,7 +35,7 @@ "gas" : -1, "value" : -1 }, - "network" : ["Frontier", "Homestead"], + "network" : ["Frontier", "Homestead", "EIP150"], "result" : { "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "storage" : { diff --git a/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractThatCreateEmptyContractDuiringInit_TransactionFiller.json b/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractThatCreateEmptyContractDuiringInit_TransactionFiller.json index 4837c393b..f97051f09 100644 --- a/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractThatCreateEmptyContractDuiringInit_TransactionFiller.json +++ b/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractThatCreateEmptyContractDuiringInit_TransactionFiller.json @@ -33,7 +33,7 @@ "gas" : -1, "value" : -1 }, - "network" : ["Frontier", "Homestead"], + "network" : ["Frontier", "Homestead", "EIP150"], "result" : { "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "storage" : { diff --git a/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractThatCreateNOTEmptyContractDuiringInitOOG_TransactionFiller.json b/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractThatCreateNOTEmptyContractDuiringInitOOG_TransactionFiller.json index e981c719a..dcfad17b2 100644 --- a/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractThatCreateNOTEmptyContractDuiringInitOOG_TransactionFiller.json +++ b/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractThatCreateNOTEmptyContractDuiringInitOOG_TransactionFiller.json @@ -36,7 +36,7 @@ "gas" : -1, "value" : -1 }, - "network" : ["Frontier", "Homestead"], + "network" : ["Frontier", "Homestead", "EIP150"], "result" : { "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "storage" : { diff --git a/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractThatCreateNOTEmptyContractDuiringInit_TransactionFiller.json b/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractThatCreateNOTEmptyContractDuiringInit_TransactionFiller.json index c02ebe655..c1df1d90c 100644 --- a/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractThatCreateNOTEmptyContractDuiringInit_TransactionFiller.json +++ b/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractThatCreateNOTEmptyContractDuiringInit_TransactionFiller.json @@ -36,7 +36,7 @@ "gas" : -1, "value" : -1 }, - "network" : ["Frontier", "Homestead"], + "network" : ["Frontier", "Homestead", "EIP150"], "result" : { "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "storage" : { diff --git a/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractWithStorageAndCallIt_0weiFiller.json b/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractWithStorageAndCallIt_0weiFiller.json index 47fe72645..90b865d3d 100644 --- a/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractWithStorageAndCallIt_0weiFiller.json +++ b/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractWithStorageAndCallIt_0weiFiller.json @@ -62,6 +62,33 @@ } } } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : ["EIP150"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x08d5b6", + "0x01" : "0xf1ecf98489fa9ed60a664fc4998db699cfa39d40", + "0x02" : "0x071d30", + "0x03" : "0x01", + "0x64" : "0x067d4f" + } + }, + "f1ecf98489fa9ed60a664fc4998db699cfa39d40" : { + "nonce" : "0" + }, + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x01" : "12" + } + } + } } ], "pre" : diff --git a/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractWithStorageAndCallIt_1weiFiller.json b/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractWithStorageAndCallIt_1weiFiller.json index 93d66a39c..8c6386d69 100644 --- a/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractWithStorageAndCallIt_1weiFiller.json +++ b/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractWithStorageAndCallIt_1weiFiller.json @@ -15,7 +15,7 @@ "gas" : -1, "value" : -1 }, - "network" : ["EIP158"], + "network" : ["EIP158", "EIP150"], "result" : { "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "storage" : { diff --git a/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractWithStorageFiller.json b/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractWithStorageFiller.json index f837b1e63..db295fa04 100644 --- a/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractWithStorageFiller.json +++ b/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractWithStorageFiller.json @@ -58,6 +58,31 @@ } } } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : ["EIP150"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x08d5b6", + "0x01" : "0xf1ecf98489fa9ed60a664fc4998db699cfa39d40", + "0x64" : "0x071d30" + } + }, + "f1ecf98489fa9ed60a664fc4998db699cfa39d40" : { + "nonce" : "0" + }, + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x01" : "12" + } + } + } } ], "pre" : diff --git a/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContract_ThenAnotherCALLToNonExistentAccountFiller.json b/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContract_ThenAnotherCALLToNonExistentAccountFiller.json index 7023dd41d..62ae7c306 100644 --- a/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContract_ThenAnotherCALLToNonExistentAccountFiller.json +++ b/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContract_ThenAnotherCALLToNonExistentAccountFiller.json @@ -58,6 +58,31 @@ "nonce" : "0" } } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : ["EIP150"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x08d5b6", + "0x01" : "0xf1ecf98489fa9ed60a664fc4998db699cfa39d40", + "0x02" : "0x07bc62", + "0x03" : "0x01", + "0x64" : "0x06bba1" + } + }, + "f1ecf98489fa9ed60a664fc4998db699cfa39d40" : { + "nonce" : "0" + }, + "e1ecf98489fa9ed60a664fc4998db699cfa39d40" : { + "nonce" : "0" + } + } } ], "pre" : diff --git a/src/GeneralStateTestsFiller/stCreateTest/CREATE_empty000CreateinInitCode_TransactionFiller.json b/src/GeneralStateTestsFiller/stCreateTest/CREATE_empty000CreateinInitCode_TransactionFiller.json index 3b1f1ca24..4d69ed7e3 100644 --- a/src/GeneralStateTestsFiller/stCreateTest/CREATE_empty000CreateinInitCode_TransactionFiller.json +++ b/src/GeneralStateTestsFiller/stCreateTest/CREATE_empty000CreateinInitCode_TransactionFiller.json @@ -36,7 +36,7 @@ "gas" : -1, "value" : -1 }, - "network" : ["Frontier", "Homestead"], + "network" : ["Frontier", "Homestead", "EIP150"], "result" : { "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "storage" : { |