From 3770ef5f234ec7837015e6717715bfa82131bc5b Mon Sep 17 00:00:00 2001 From: Dimitry Date: Mon, 16 Jan 2017 23:13:18 +0300 Subject: rename long name tests --- ...deToExisContractWithVTransferNEMoneyFiller.json | 69 ++++++++++++ ...tractWithValueTransferNotEnoughMoneyFiller.json | 69 ------------ ...TE_EContractCreateEContractInInit_TrFiller.json | 84 ++++++++++++++ ...ContractCreateNEContractInInitOOG_TrFiller.json | 94 ++++++++++++++++ ...E_EContractCreateNEContractInInit_TrFiller.json | 90 +++++++++++++++ ...E_EContract_ThenCALLToNonExistentAccFiller.json | 121 +++++++++++++++++++++ ...EmptyContractDuiringInit_TransactionFiller.json | 84 -------------- ...tyContractDuiringInitOOG_TransactionFiller.json | 94 ---------------- ...EmptyContractDuiringInit_TransactionFiller.json | 90 --------------- ..._ThenAnotherCALLToNonExistentAccountFiller.json | 121 --------------------- ...rOOG_MemExpansionInsufficientBalanceFiller.json | 60 ---------- ...teNameRegistratorOOG_MemExpansionOOVFiller.json | 60 ++++++++++ 12 files changed, 518 insertions(+), 518 deletions(-) create mode 100644 src/GeneralStateTestsFiller/stCallCodes/callcodeInInitcodeToExisContractWithVTransferNEMoneyFiller.json delete mode 100644 src/GeneralStateTestsFiller/stCallCodes/callcodeInInitcodeToExistingContractWithValueTransferNotEnoughMoneyFiller.json create mode 100644 src/GeneralStateTestsFiller/stCreateTest/CREATE_EContractCreateEContractInInit_TrFiller.json create mode 100644 src/GeneralStateTestsFiller/stCreateTest/CREATE_EContractCreateNEContractInInitOOG_TrFiller.json create mode 100644 src/GeneralStateTestsFiller/stCreateTest/CREATE_EContractCreateNEContractInInit_TrFiller.json create mode 100644 src/GeneralStateTestsFiller/stCreateTest/CREATE_EContract_ThenCALLToNonExistentAccFiller.json delete mode 100644 src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractThatCreateEmptyContractDuiringInit_TransactionFiller.json delete mode 100644 src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractThatCreateNOTEmptyContractDuiringInitOOG_TransactionFiller.json delete mode 100644 src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractThatCreateNOTEmptyContractDuiringInit_TransactionFiller.json delete mode 100644 src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContract_ThenAnotherCALLToNonExistentAccountFiller.json delete mode 100644 src/GeneralStateTestsFiller/stSystemOperationsTest/createNameRegistratorOOG_MemExpansionInsufficientBalanceFiller.json create mode 100644 src/GeneralStateTestsFiller/stSystemOperationsTest/createNameRegistratorOOG_MemExpansionOOVFiller.json (limited to 'src') diff --git a/src/GeneralStateTestsFiller/stCallCodes/callcodeInInitcodeToExisContractWithVTransferNEMoneyFiller.json b/src/GeneralStateTestsFiller/stCallCodes/callcodeInInitcodeToExisContractWithVTransferNEMoneyFiller.json new file mode 100644 index 000000000..8442fad8c --- /dev/null +++ b/src/GeneralStateTestsFiller/stCallCodes/callcodeInInitcodeToExisContractWithVTransferNEMoneyFiller.json @@ -0,0 +1,69 @@ +{ + "callcodeInInitcodeToExisContractWithVTransferNEMoney" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "45678256", + "currentGasLimit" : "1000000", + "currentNumber" : "0", + "currentTimestamp" : "1", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : "ALL", + "result" : { + "13136008b64ff592819b2fa6d43f2835c452020e" : { + "balance" : "0x01", + "storage" : { + "0x00" : "0x00", + "0x02" : "0x00" + } + } + } + } + ], + "pre" : { + "1000000000000000000000000000000000000000" : { + "balance" : "10000", + "code" : "{ (MSTORE 0 0x6040600060406000600573945304eb96065b2a98b57a48a06ae28d285a71b562) (MSTORE 32 0x0186a0f260005500000000000000000000000000000000000000000000000000) (CREATE 1 0 64) }", + "nonce" : "0", + "storage" : { + } + }, + "945304eb96065b2a98b57a48a06ae28d285a71b5" : { + "balance" : "0", + "code" : "{ (SSTORE 2 1) }", + "nonce" : "0", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "10000000000000000", + "code" : "", + "nonce" : "0", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "" + ], + "gasLimit" : [ + "453081" + ], + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "1000000000000000000000000000000000000000", + "value" : [ + "" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stCallCodes/callcodeInInitcodeToExistingContractWithValueTransferNotEnoughMoneyFiller.json b/src/GeneralStateTestsFiller/stCallCodes/callcodeInInitcodeToExistingContractWithValueTransferNotEnoughMoneyFiller.json deleted file mode 100644 index 6dd237be2..000000000 --- a/src/GeneralStateTestsFiller/stCallCodes/callcodeInInitcodeToExistingContractWithValueTransferNotEnoughMoneyFiller.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "callcodeInInitcodeToExistingContractWithValueTransferNotEnoughMoney" : { - "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "45678256", - "currentGasLimit" : "1000000", - "currentNumber" : "0", - "currentTimestamp" : "1", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" - }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : "ALL", - "result" : { - "13136008b64ff592819b2fa6d43f2835c452020e" : { - "balance" : "0x01", - "storage" : { - "0x00" : "0x00", - "0x02" : "0x00" - } - } - } - } - ], - "pre" : { - "1000000000000000000000000000000000000000" : { - "balance" : "10000", - "code" : "{ (MSTORE 0 0x6040600060406000600573945304eb96065b2a98b57a48a06ae28d285a71b562) (MSTORE 32 0x0186a0f260005500000000000000000000000000000000000000000000000000) (CREATE 1 0 64) }", - "nonce" : "0", - "storage" : { - } - }, - "945304eb96065b2a98b57a48a06ae28d285a71b5" : { - "balance" : "0", - "code" : "{ (SSTORE 2 1) }", - "nonce" : "0", - "storage" : { - } - }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "10000000000000000", - "code" : "", - "nonce" : "0", - "storage" : { - } - } - }, - "transaction" : { - "data" : [ - "" - ], - "gasLimit" : [ - "453081" - ], - "gasPrice" : "1", - "nonce" : "0", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "1000000000000000000000000000000000000000", - "value" : [ - "" - ] - } - } -} diff --git a/src/GeneralStateTestsFiller/stCreateTest/CREATE_EContractCreateEContractInInit_TrFiller.json b/src/GeneralStateTestsFiller/stCreateTest/CREATE_EContractCreateEContractInInit_TrFiller.json new file mode 100644 index 000000000..bebab6006 --- /dev/null +++ b/src/GeneralStateTestsFiller/stCreateTest/CREATE_EContractCreateEContractInInit_TrFiller.json @@ -0,0 +1,84 @@ +{ + "CREATE_EContractCreateEContractInInit_Tr" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "45678256", + "currentGasLimit" : "10000000", + "currentNumber" : "2675000", + "currentTimestamp" : "1", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : ["EIP158"], + "result" : { + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x01" : "12" + } + }, + "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "nonce" : "0x02" + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : ["Frontier", "Homestead", "EIP150"], + "result" : { + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x01" : "12" + } + }, + "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "nonce" : "0x01" + } + } + } + ], + "pre" : + { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000000000", + "code" : "", + "nonce" : "0", + "storage" : { + } + }, + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000000000", + "code" : "This indicates that a call from transaction was initiated", + "code" : "{[[1]]12}", + "nonce" : "0", + "storage" : { + } + } + }, + "transaction" : { + "data" : "{(CALL 60000 0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b 0 0 0 0 0) (CREATE 0 0 32) }", + "data" : [ + "0x6000600060006000600073c94f5374fce5edbc8e2a8697c15331677e6ebf0b61ea60f150602060006000f0" + ], + "gasLimit" : [ + "600000" + ], + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : [ + "0" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stCreateTest/CREATE_EContractCreateNEContractInInitOOG_TrFiller.json b/src/GeneralStateTestsFiller/stCreateTest/CREATE_EContractCreateNEContractInInitOOG_TrFiller.json new file mode 100644 index 000000000..4241d157b --- /dev/null +++ b/src/GeneralStateTestsFiller/stCreateTest/CREATE_EContractCreateNEContractInInitOOG_TrFiller.json @@ -0,0 +1,94 @@ +{ + "CREATE_EContractCreateNEContractInInitOOG_Tr" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "45678256", + "currentGasLimit" : "10000000", + "currentNumber" : "2675000", + "currentTimestamp" : "1", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : ["EIP158"], + "result" : { + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x01" : "0x0c" + } + }, + "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "nonce" : "0x02" + }, + "a42676447b7cedfa5fde894d1d3df24aab362701" : { + "shouldnotexist" : "1" + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : ["Frontier", "Homestead", "EIP150"], + "result" : { + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x01" : "0x0c" + } + }, + "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "nonce" : "0x01" + }, + "a42676447b7cedfa5fde894d1d3df24aab362701" : { + "balance" : "0", + "code" : "0x600c600055", + "nonce" : "0", + "storage" : { + } + } + } + } + ], + "pre" : + { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000000000", + "code" : "", + "nonce" : "0", + "storage" : { + } + }, + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000000000", + "code" : "This indicates that a call from transaction was initiated", + "code" : "{[[1]]12}", + "nonce" : "0", + "storage" : { + } + } + }, + "transaction" : { + "data" : "{(CALL 60000 0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b 0 0 0 0 0) (MSTORE 0 0x64600c6000556000526005601bf3) (CREATE 0 18 14)}", + "data" : [ + "0x6000600060006000600073c94f5374fce5edbc8e2a8697c15331677e6ebf0b61ea60f1506d64600c6000556000526005601bf3600052600e60126000f0" + ], + "gasLimit" : [ + "160000" + ], + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : [ + "0" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stCreateTest/CREATE_EContractCreateNEContractInInit_TrFiller.json b/src/GeneralStateTestsFiller/stCreateTest/CREATE_EContractCreateNEContractInInit_TrFiller.json new file mode 100644 index 000000000..c867fa92c --- /dev/null +++ b/src/GeneralStateTestsFiller/stCreateTest/CREATE_EContractCreateNEContractInInit_TrFiller.json @@ -0,0 +1,90 @@ +{ + "CREATE_EContractCreateNEContractInInit_Tr" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "45678256", + "currentGasLimit" : "10000000", + "currentNumber" : "2675000", + "currentTimestamp" : "1", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : ["EIP158"], + "result" : { + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x01" : "12" + } + }, + "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "nonce" : "0x02" + }, + "64e2ebd6405af8cb348aec519084d3fff42ebba6" : { + "code" : "0x600c600055" + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : ["Frontier", "Homestead", "EIP150"], + "result" : { + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x01" : "12" + } + }, + "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "nonce" : "0x01" + }, + "a42676447b7cedfa5fde894d1d3df24aab362701" : { + "code" : "0x600c600055" + } + } + } + ], + "pre" : + { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000000000", + "code" : "", + "nonce" : "0", + "storage" : { + } + }, + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000000000", + "code" : "This indicates that a call from transaction was initiated", + "code" : "{[[1]]12}", + "nonce" : "0", + "storage" : { + } + } + }, + "transaction" : { + "data" : "{(CALL 60000 0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b 0 0 0 0 0) (MSTORE 0 0x64600c6000556000526005601bf3) (CREATE 0 18 14)}", + "data" : [ + "0x6000600060006000600073c94f5374fce5edbc8e2a8697c15331677e6ebf0b61ea60f1506d64600c6000556000526005601bf3600052600e60126000f0" + ], + "gasLimit" : [ + "600000" + ], + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : [ + "0" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stCreateTest/CREATE_EContract_ThenCALLToNonExistentAccFiller.json b/src/GeneralStateTestsFiller/stCreateTest/CREATE_EContract_ThenCALLToNonExistentAccFiller.json new file mode 100644 index 000000000..aff0d9546 --- /dev/null +++ b/src/GeneralStateTestsFiller/stCreateTest/CREATE_EContract_ThenCALLToNonExistentAccFiller.json @@ -0,0 +1,121 @@ +{ + "CREATE_EContract_ThenCALLToNonExistentAcc" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "45678256", + "currentGasLimit" : "10000000", + "currentNumber" : "2675000", + "currentTimestamp" : "1", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : ["EIP158"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x08d5b6", + "0x01" : "0xf1ecf98489fa9ed60a664fc4998db699cfa39d40", + "0x02" : "0x07bc62", + "0x03" : "0x01", + "0x64" : "0x071d49" + } + }, + "f1ecf98489fa9ed60a664fc4998db699cfa39d40" : { + "nonce" : "1" + }, + "e1ecf98489fa9ed60a664fc4998db699cfa39d40" : { + "shouldnotexist" : "1" + } + } + }, + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : ["Frontier", "Homestead"], + "result" : { + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "storage" : { + "0x00" : "0x08d5b6", + "0x01" : "0xf1ecf98489fa9ed60a664fc4998db699cfa39d40", + "0x02" : "0x07bc62", + "0x03" : "0x01", + "0x64" : "0x06be35" + } + }, + "f1ecf98489fa9ed60a664fc4998db699cfa39d40" : { + "nonce" : "0" + }, + "e1ecf98489fa9ed60a664fc4998db699cfa39d40" : { + "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" : + { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000000000", + "code" : "", + "nonce" : "0", + "storage" : { + } + }, + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0", + "nonce" : "0", + "code" : "{ [[0]](GAS) [[1]] (CREATE 0 0 32) [[2]](GAS) [[3]] (CALL 60000 0xe1ecf98489fa9ed60a664fc4998db699cfa39d40 0 0 0 0 0) [[100]] (GAS) }", + "storage": { + } + } + }, + "transaction" : { + "data" : [ + "" + ], + "gasLimit" : [ + "600000" + ], + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : [ + "0" + ] + } + } +} diff --git a/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractThatCreateEmptyContractDuiringInit_TransactionFiller.json b/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractThatCreateEmptyContractDuiringInit_TransactionFiller.json deleted file mode 100644 index f97051f09..000000000 --- a/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractThatCreateEmptyContractDuiringInit_TransactionFiller.json +++ /dev/null @@ -1,84 +0,0 @@ -{ - "CREATE_EmptyContractThatCreateEmptyContractDuiringInit_Transaction" : { - "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "45678256", - "currentGasLimit" : "10000000", - "currentNumber" : "2675000", - "currentTimestamp" : "1", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" - }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : ["EIP158"], - "result" : { - "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "storage" : { - "0x01" : "12" - } - }, - "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { - "nonce" : "0x02" - } - } - }, - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : ["Frontier", "Homestead", "EIP150"], - "result" : { - "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "storage" : { - "0x01" : "12" - } - }, - "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { - "nonce" : "0x01" - } - } - } - ], - "pre" : - { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "1000000000000", - "code" : "", - "nonce" : "0", - "storage" : { - } - }, - "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "1000000000000", - "code" : "This indicates that a call from transaction was initiated", - "code" : "{[[1]]12}", - "nonce" : "0", - "storage" : { - } - } - }, - "transaction" : { - "data" : "{(CALL 60000 0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b 0 0 0 0 0) (CREATE 0 0 32) }", - "data" : [ - "0x6000600060006000600073c94f5374fce5edbc8e2a8697c15331677e6ebf0b61ea60f150602060006000f0" - ], - "gasLimit" : [ - "600000" - ], - "gasPrice" : "1", - "nonce" : "0", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "", - "value" : [ - "0" - ] - } - } -} diff --git a/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractThatCreateNOTEmptyContractDuiringInitOOG_TransactionFiller.json b/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractThatCreateNOTEmptyContractDuiringInitOOG_TransactionFiller.json deleted file mode 100644 index dcfad17b2..000000000 --- a/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractThatCreateNOTEmptyContractDuiringInitOOG_TransactionFiller.json +++ /dev/null @@ -1,94 +0,0 @@ -{ - "CREATE_EmptyContractThatCreateNOTEmptyContractDuiringInitOOG_Transaction" : { - "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "45678256", - "currentGasLimit" : "10000000", - "currentNumber" : "2675000", - "currentTimestamp" : "1", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" - }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : ["EIP158"], - "result" : { - "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "storage" : { - "0x01" : "0x0c" - } - }, - "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { - "nonce" : "0x02" - }, - "a42676447b7cedfa5fde894d1d3df24aab362701" : { - "shouldnotexist" : "1" - } - } - }, - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : ["Frontier", "Homestead", "EIP150"], - "result" : { - "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "storage" : { - "0x01" : "0x0c" - } - }, - "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { - "nonce" : "0x01" - }, - "a42676447b7cedfa5fde894d1d3df24aab362701" : { - "balance" : "0", - "code" : "0x600c600055", - "nonce" : "0", - "storage" : { - } - } - } - } - ], - "pre" : - { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "1000000000000", - "code" : "", - "nonce" : "0", - "storage" : { - } - }, - "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "1000000000000", - "code" : "This indicates that a call from transaction was initiated", - "code" : "{[[1]]12}", - "nonce" : "0", - "storage" : { - } - } - }, - "transaction" : { - "data" : "{(CALL 60000 0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b 0 0 0 0 0) (MSTORE 0 0x64600c6000556000526005601bf3) (CREATE 0 18 14)}", - "data" : [ - "0x6000600060006000600073c94f5374fce5edbc8e2a8697c15331677e6ebf0b61ea60f1506d64600c6000556000526005601bf3600052600e60126000f0" - ], - "gasLimit" : [ - "160000" - ], - "gasPrice" : "1", - "nonce" : "0", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "", - "value" : [ - "0" - ] - } - } -} diff --git a/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractThatCreateNOTEmptyContractDuiringInit_TransactionFiller.json b/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractThatCreateNOTEmptyContractDuiringInit_TransactionFiller.json deleted file mode 100644 index c1df1d90c..000000000 --- a/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractThatCreateNOTEmptyContractDuiringInit_TransactionFiller.json +++ /dev/null @@ -1,90 +0,0 @@ -{ - "CREATE_EmptyContractThatCreateNOTEmptyContractDuiringInit_Transaction" : { - "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "45678256", - "currentGasLimit" : "10000000", - "currentNumber" : "2675000", - "currentTimestamp" : "1", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" - }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : ["EIP158"], - "result" : { - "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "storage" : { - "0x01" : "12" - } - }, - "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { - "nonce" : "0x02" - }, - "64e2ebd6405af8cb348aec519084d3fff42ebba6" : { - "code" : "0x600c600055" - } - } - }, - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : ["Frontier", "Homestead", "EIP150"], - "result" : { - "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "storage" : { - "0x01" : "12" - } - }, - "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { - "nonce" : "0x01" - }, - "a42676447b7cedfa5fde894d1d3df24aab362701" : { - "code" : "0x600c600055" - } - } - } - ], - "pre" : - { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "1000000000000", - "code" : "", - "nonce" : "0", - "storage" : { - } - }, - "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "1000000000000", - "code" : "This indicates that a call from transaction was initiated", - "code" : "{[[1]]12}", - "nonce" : "0", - "storage" : { - } - } - }, - "transaction" : { - "data" : "{(CALL 60000 0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b 0 0 0 0 0) (MSTORE 0 0x64600c6000556000526005601bf3) (CREATE 0 18 14)}", - "data" : [ - "0x6000600060006000600073c94f5374fce5edbc8e2a8697c15331677e6ebf0b61ea60f1506d64600c6000556000526005601bf3600052600e60126000f0" - ], - "gasLimit" : [ - "600000" - ], - "gasPrice" : "1", - "nonce" : "0", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "", - "value" : [ - "0" - ] - } - } -} diff --git a/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContract_ThenAnotherCALLToNonExistentAccountFiller.json b/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContract_ThenAnotherCALLToNonExistentAccountFiller.json deleted file mode 100644 index 62ae7c306..000000000 --- a/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContract_ThenAnotherCALLToNonExistentAccountFiller.json +++ /dev/null @@ -1,121 +0,0 @@ -{ - "CREATE_EmptyContract_ThenAnotherCALLToNonExistentAccount" : { - "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "45678256", - "currentGasLimit" : "10000000", - "currentNumber" : "2675000", - "currentTimestamp" : "1", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" - }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : ["EIP158"], - "result" : { - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "storage" : { - "0x00" : "0x08d5b6", - "0x01" : "0xf1ecf98489fa9ed60a664fc4998db699cfa39d40", - "0x02" : "0x07bc62", - "0x03" : "0x01", - "0x64" : "0x071d49" - } - }, - "f1ecf98489fa9ed60a664fc4998db699cfa39d40" : { - "nonce" : "1" - }, - "e1ecf98489fa9ed60a664fc4998db699cfa39d40" : { - "shouldnotexist" : "1" - } - } - }, - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : ["Frontier", "Homestead"], - "result" : { - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "storage" : { - "0x00" : "0x08d5b6", - "0x01" : "0xf1ecf98489fa9ed60a664fc4998db699cfa39d40", - "0x02" : "0x07bc62", - "0x03" : "0x01", - "0x64" : "0x06be35" - } - }, - "f1ecf98489fa9ed60a664fc4998db699cfa39d40" : { - "nonce" : "0" - }, - "e1ecf98489fa9ed60a664fc4998db699cfa39d40" : { - "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" : - { - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "1000000000000", - "code" : "", - "nonce" : "0", - "storage" : { - } - }, - "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0", - "nonce" : "0", - "code" : "{ [[0]](GAS) [[1]] (CREATE 0 0 32) [[2]](GAS) [[3]] (CALL 60000 0xe1ecf98489fa9ed60a664fc4998db699cfa39d40 0 0 0 0 0) [[100]] (GAS) }", - "storage": { - } - } - }, - "transaction" : { - "data" : [ - "" - ], - "gasLimit" : [ - "600000" - ], - "gasPrice" : "1", - "nonce" : "0", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", - "value" : [ - "0" - ] - } - } -} diff --git a/src/GeneralStateTestsFiller/stSystemOperationsTest/createNameRegistratorOOG_MemExpansionInsufficientBalanceFiller.json b/src/GeneralStateTestsFiller/stSystemOperationsTest/createNameRegistratorOOG_MemExpansionInsufficientBalanceFiller.json deleted file mode 100644 index 5314b4092..000000000 --- a/src/GeneralStateTestsFiller/stSystemOperationsTest/createNameRegistratorOOG_MemExpansionInsufficientBalanceFiller.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "createNameRegistratorOOG_MemExpansionInsufficientBalance" : { - "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "256", - "currentGasLimit" : "1000000", - "currentNumber" : "0", - "currentTimestamp" : 1, - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" - }, - "expect" : [ - { - "indexes" : { - "data" : -1, - "gas" : -1, - "value" : -1 - }, - "network" : ["Frontier", "Homestead", "EIP150", "EIP158"], - "result" : { - "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { - "nonce" : "0", - "storage" : { - } - } - } - } - ], - "pre" : { - "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { - "balance" : "10000", - "code" : "{ (MSTORE 0 0x601080600c6000396000f3006000355415600957005b60203560003555) [[ 0 ]] (CREATE 11000 3 0xffffffffffffffffffffff) }", - "nonce" : "0", - "storage" : { - } - }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "1000000000000000000", - "code" : "", - "nonce" : "0", - "storage" : { - } - } - }, - "transaction" : { - "data" : [ - "" - ], - "gasLimit" : [ - "300000" - ], - "gasPrice" : "1", - "nonce" : "0", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : [ - "100000" - ] - } - } -} \ No newline at end of file diff --git a/src/GeneralStateTestsFiller/stSystemOperationsTest/createNameRegistratorOOG_MemExpansionOOVFiller.json b/src/GeneralStateTestsFiller/stSystemOperationsTest/createNameRegistratorOOG_MemExpansionOOVFiller.json new file mode 100644 index 000000000..5e94e2aea --- /dev/null +++ b/src/GeneralStateTestsFiller/stSystemOperationsTest/createNameRegistratorOOG_MemExpansionOOVFiller.json @@ -0,0 +1,60 @@ +{ + "createNameRegistratorOOG_MemExpansionOOV" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "256", + "currentGasLimit" : "1000000", + "currentNumber" : "0", + "currentTimestamp" : 1, + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "expect" : [ + { + "indexes" : { + "data" : -1, + "gas" : -1, + "value" : -1 + }, + "network" : ["Frontier", "Homestead", "EIP150", "EIP158"], + "result" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "nonce" : "0", + "storage" : { + } + } + } + } + ], + "pre" : { + "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "10000", + "code" : "{ (MSTORE 0 0x601080600c6000396000f3006000355415600957005b60203560003555) [[ 0 ]] (CREATE 11000 3 0xffffffffffffffffffffff) }", + "nonce" : "0", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000000000000000000", + "code" : "", + "nonce" : "0", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "" + ], + "gasLimit" : [ + "300000" + ], + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", + "value" : [ + "100000" + ] + } + } +} -- cgit v1.2.3