diff options
Diffstat (limited to 'tests/files/StateTests')
-rw-r--r-- | tests/files/StateTests/stCallCreateCallCodeTest.json | 10 | ||||
-rw-r--r-- | tests/files/StateTests/stPreCompiledContracts.json | 73 | ||||
-rw-r--r-- | tests/files/StateTests/stRefundTest.json | 74 | ||||
-rw-r--r-- | tests/files/StateTests/stSpecialTest.json | 57 | ||||
-rw-r--r-- | tests/files/StateTests/stSystemOperationsTest.json | 55 |
5 files changed, 63 insertions, 206 deletions
diff --git a/tests/files/StateTests/stCallCreateCallCodeTest.json b/tests/files/StateTests/stCallCreateCallCodeTest.json index 9f7f73985..47084ff5b 100644 --- a/tests/files/StateTests/stCallCreateCallCodeTest.json +++ b/tests/files/StateTests/stCallCreateCallCodeTest.json @@ -159,7 +159,7 @@ "env" : { "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "0x02b8feb0", - "currentGasLimit" : "0xffffffffffffffffffffffffffffffff", + "currentGasLimit" : "0xffffffffffffffffffffffffffffffffffff", "currentNumber" : "0x00", "currentTimestamp" : "0x01", "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" @@ -169,7 +169,7 @@ "out" : "0x", "post" : { "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0xffffffffffffffffffffeffffffe7ab0", + "balance" : "0x0fffffffffffffffffffffeffffffe7ab0", "code" : "0x", "nonce" : "0x01", "storage" : { @@ -200,10 +200,10 @@ } } }, - "postStateRoot" : "c2d514dec44ee673a4f694d5c5ae7b9e8d3db4a6f288175fd4d3033509b7569e", + "postStateRoot" : "0e28b14b17542dc03eb8e0397c1c658947420a9d95fc96ca2926a38620d593aa", "pre" : { "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0xffffffffffffffffffffffffffffffff", + "balance" : "0x0fffffffffffffffffffffffffffffffff", "code" : "0x", "nonce" : "0x00", "storage" : { @@ -226,7 +226,7 @@ }, "transaction" : { "data" : "", - "gasLimit" : "0xfffffffffffffffffffffffffffffff", + "gasLimit" : "0xffffffffffffffffffffffffffffffff", "gasPrice" : "0x01", "nonce" : "0x00", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", diff --git a/tests/files/StateTests/stPreCompiledContracts.json b/tests/files/StateTests/stPreCompiledContracts.json index 1db3db63f..7af011873 100644 --- a/tests/files/StateTests/stPreCompiledContracts.json +++ b/tests/files/StateTests/stPreCompiledContracts.json @@ -3569,77 +3569,6 @@ "value" : "0x0186a0" } }, - "CallEcrecoverPointAtInfinity" : { - "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "0x0100", - "currentGasLimit" : "0x989680", - "currentNumber" : "0x00", - "currentTimestamp" : "0x01", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" - }, - "logs" : [ - ], - "out" : "0x", - "post" : { - "0000000000000000000000000000000000000001" : { - "balance" : "0x00", - "code" : "0x", - "nonce" : "0x00", - "storage" : { - } - }, - "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { - "balance" : "0x0132b3a0", - "code" : "0x7f3030303030303030303030303030303030303030303030303030303030303030600052601b6020527f54934de9c6d574e3c3483b14fe14aa7d804f8aaf2c6e925b2dbcf4f5ea418bb66040527ff66053ef25bc2fc9583d5ecaaf454a5746c3b2ee74ee6c2ef5998355baf6e113606052602060806080600060006001620493e0f160025560a060020a608051066000556000543214600155", - "nonce" : "0x00", - "storage" : { - "0x00" : "0x00", - "0x02" : "0x01" - } - }, - "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "0x13570", - "code" : "0x", - "nonce" : "0x00", - "storage" : { - } - }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0xde0b6b3a76143f0", - "code" : "0x", - "nonce" : "0x01", - "storage" : { - } - } - }, - "postStateRoot" : "01db8d537ef9c4105f8bdcf498f91d27afab98ebd33970cae678a29d613bfe97", - "pre" : { - "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { - "balance" : "0x01312d00", - "code" : "0x7f3030303030303030303030303030303030303030303030303030303030303030600052601b6020527f54934de9c6d574e3c3483b14fe14aa7d804f8aaf2c6e925b2dbcf4f5ea418bb66040527ff66053ef25bc2fc9583d5ecaaf454a5746c3b2ee74ee6c2ef5998355baf6e113606052602060806080600060006001620493e0f160025560a060020a608051066000556000543214600155", - "nonce" : "0x00", - "storage" : { - } - }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "0x", - "nonce" : "0x00", - "storage" : { - } - } - }, - "transaction" : { - "data" : "", - "gasLimit" : "0x37ba90", - "gasPrice" : "0x01", - "nonce" : "0x00", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0x0186a0" - } - }, "CallEcrecoverR_prefixed0" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", @@ -5852,4 +5781,4 @@ "value" : "0x0186a0" } } -} +}
\ No newline at end of file diff --git a/tests/files/StateTests/stRefundTest.json b/tests/files/StateTests/stRefundTest.json index ee92f9610..932fe239f 100644 --- a/tests/files/StateTests/stRefundTest.json +++ b/tests/files/StateTests/stRefundTest.json @@ -813,78 +813,6 @@ "value" : "0x0a" } }, - "refund_multiple_internal_call_plus_suicide" : { - "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "0x0100", - "currentGasLimit" : "0x989680", - "currentNumber" : "0x00", - "currentTimestamp" : "0x01", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" - }, - "logs" : [ - ], - "out" : "0x", - "post" : { - "aaae7baea6a6c7c4c2dfeb977efac326af552aaa" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "0x73095e7baea6a6c7c4c2dfeb977efac326af552d87ff", - "nonce" : "0x00", - "storage" : { - "0x01" : "0x01" - } - }, - "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "0x2d1a1", - "code" : "0x", - "nonce" : "0x00", - "storage" : { - } - }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0xde0b6a99d572455", - "code" : "0x", - "nonce" : "0x02", - "storage" : { - } - } - }, - "postStateRoot" : "37c66597ede8e84f30922a801be6c54cf985c984352becfd20deb5814598998d", - "pre" : { - "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { - "balance" : "0x", - "code" : "0x60606040526000357c010000000000000000000000000000000000000000000000000000000090048063c6542cdb14610044578063f8b0a0701461005157610042565b005b61004f600450610079565b005b61005c60045061005e565b005b3373ffffffffffffffffffffffffffffffffffffffff16ff5b565b60006000309150600090505b600a8160ff1610156100bc578060ff16600060005082600a81101561000257909001600050819055505b8080600101915050610085565b8173ffffffffffffffffffffffffffffffffffffffff1663f8b0a070604051817c01000000000000000000000000000000000000000000000000000000000281526004018090506000604051808303816000876161da5a03f115610002575050508173ffffffffffffffffffffffffffffffffffffffff1663f8b0a070604051817c01000000000000000000000000000000000000000000000000000000000281526004018090506000604051808303816000876161da5a03f115610002575050508173ffffffffffffffffffffffffffffffffffffffff1663f8b0a070604051817c01000000000000000000000000000000000000000000000000000000000281526004018090506000604051808303816000876161da5a03f115610002575050508173ffffffffffffffffffffffffffffffffffffffff1663f8b0a070604051817c01000000000000000000000000000000000000000000000000000000000281526004018090506000604051808303816000876161da5a03f115610002575050505b505056", - "nonce" : "0x00", - "storage" : { - } - }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "0x", - "nonce" : "0x01", - "storage" : { - } - }, - "aaae7baea6a6c7c4c2dfeb977efac326af552aaa" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "0x73095e7baea6a6c7c4c2dfeb977efac326af552d87ff", - "nonce" : "0x00", - "storage" : { - "0x01" : "0x01" - } - } - }, - "transaction" : { - "data" : "0xc6542cdb", - "gasLimit" : "0x989680", - "gasPrice" : "0x01", - "nonce" : "0x01", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0x0a0a0a0a0a" - } - }, - "refund_NoOOG_1" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", @@ -1266,4 +1194,4 @@ "value" : "0x0a" } } -} +}
\ No newline at end of file diff --git a/tests/files/StateTests/stSpecialTest.json b/tests/files/StateTests/stSpecialTest.json index 2c3db09ef..f9e8c49d2 100644 --- a/tests/files/StateTests/stSpecialTest.json +++ b/tests/files/StateTests/stSpecialTest.json @@ -226,6 +226,61 @@ "value" : "0x01f5" } }, + "StackDepthLimitSEC" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x0100", + "currentGasLimit" : "0x0f4240", + "currentNumber" : "0x00", + "currentTimestamp" : "0x01", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "logs" : [ + ], + "out" : "0x600060006000600060003060405a03f1", + "post" : { + "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { + "balance" : "0x69e8", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + }, + "6295ee1b4f6dd65047762f924ecd367c17eabf8f" : { + "balance" : "0x0a", + "code" : "0x600060006000600060003060405a03f1", + "nonce" : "0x00", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x05f5770e", + "code" : "0x", + "nonce" : "0x01", + "storage" : { + } + } + }, + "postStateRoot" : "00056a5cf74634e496d1eba26e3a027b0d2c679333b923053fad7918e882c9aa", + "pre" : { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x05f5e100", + "code" : "0x", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : "305032503350600460006000396000515060046000600037600051506f600060006000600060003060405a03f160005260106010f3", + "gasLimit" : "0x0f4240", + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : "0x0a" + } + }, "block504980" : { "env" : { "currentCoinbase" : "1cdc8315bdb1362de8b7b2fa9ee75dc873037179", @@ -922,4 +977,4 @@ "value" : "0x0186a0" } } -} +}
\ No newline at end of file diff --git a/tests/files/StateTests/stSystemOperationsTest.json b/tests/files/StateTests/stSystemOperationsTest.json index 94ca013e3..7f7cb1220 100644 --- a/tests/files/StateTests/stSystemOperationsTest.json +++ b/tests/files/StateTests/stSystemOperationsTest.json @@ -18676,61 +18676,6 @@ "value" : "0x0186a0" } }, - "suicideSendEtherPostDeath" : { - "env" : { - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", - "currentDifficulty" : "0x0100", - "currentGasLimit" : "0x989680", - "currentNumber" : "0x00", - "currentTimestamp" : "0x01", - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" - }, - "logs" : [ - ], - "out" : "0x0000000000000000000000000000000000000000000000000000000000000000", - "post" : { - "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : { - "balance" : "0x2aa8", - "code" : "0x", - "nonce" : "0x00", - "storage" : { - } - }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0de0b6b3a7624eb8", - "code" : "0x", - "nonce" : "0x01", - "storage" : { - } - } - }, - "postStateRoot" : "9f3c63ff818c14e4b56e5fa1fc03a76725f598bcac256668185ec51dfc1d7f5f", - "pre" : { - "095e7baea6a6c7c4c2dfeb977efac326af552d87" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "0x60606040526000357c01000000000000000000000000000000000000000000000000000000009004806335f46994146100445780634d536fe31461005157610042565b005b61004f600450610072565b005b61005c60045061008d565b6040518082815260200191505060405180910390f35b3073ffffffffffffffffffffffffffffffffffffffff16ff5b565b600060003073ffffffffffffffffffffffffffffffffffffffff166335f46994604051817c01000000000000000000000000000000000000000000000000000000000281526004018090506000604051808303816000876161da5a03f115610002575050503073ffffffffffffffffffffffffffffffffffffffff163190503373ffffffffffffffffffffffffffffffffffffffff16600082604051809050600060405180830381858888f1935050505050809150610147565b509056", - "nonce" : "0x00", - "storage" : { - } - }, - "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "0x0de0b6b3a7640000", - "code" : "0x", - "nonce" : "0x00", - "storage" : { - } - } - }, - "transaction" : { - "data" : "0x4d536fe3", - "gasLimit" : "0x2dc6c0", - "gasPrice" : "0x01", - "nonce" : "0x00", - "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", - "value" : "0x0186a0" - } - }, "suicideSendEtherToMe" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", |