diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-17 19:02:49 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-17 19:02:49 +0800 |
commit | dffaa678f966f87dcd011671a16b554b29a37549 (patch) | |
tree | e04fe0243a4d239cda9d5436055ff7f49bdefa17 /StateTests/stTransactionTest.json | |
parent | 6051345bc9ab8ccf74a49c43342771e0c2cba588 (diff) | |
download | go-tangerine-dffaa678f966f87dcd011671a16b554b29a37549.tar go-tangerine-dffaa678f966f87dcd011671a16b554b29a37549.tar.gz go-tangerine-dffaa678f966f87dcd011671a16b554b29a37549.tar.bz2 go-tangerine-dffaa678f966f87dcd011671a16b554b29a37549.tar.lz go-tangerine-dffaa678f966f87dcd011671a16b554b29a37549.tar.xz go-tangerine-dffaa678f966f87dcd011671a16b554b29a37549.tar.zst go-tangerine-dffaa678f966f87dcd011671a16b554b29a37549.zip |
Squashed 'tests/files/' changes from 0749546..641ebaa
641ebaa Merge branch 'develop' of https://github.com/ethereum/tests into develop
8e44fd4 possibility to launch more than one machine
5498fd5 2 more python fails
99268f3 update random test simulation files
170485e Merge remote-tracking branch 'origin/develop' into develop
4fcdf8f new python fails
e67b68a Merge branch 'develop' of https://github.com/ethereum/tests into develop
3f45f18 BlockRLPTests block fields prefixed with 0000
9fa9bbd Merge pull request #78 from wanderer/develop
222c2b4 update block tests
9d844dd python fails
05233a4 update blockchaintests
7dc0aa2 update JS_API_Test blockchain
6daf1cc added JS_API_test blockchain
e878f7e consitant address format
0e246ce python fail
57ea9a0 random failures
95934e0 add test for callcode to 0
13b8cd2 new python failures
9e60453 remove empty tests
ca6dfa9 uncle older than 6 generation test
cf7e950 some random failures
282090e update gas limits + uncle generation test
bb4c1f4 cppjit failure
cda9d4c more random failures
31ac17a add calldataload big offset test
f6b8e28 remove seedhash and update blockchain tests
ad69f9d add addmod test in order toc check that nothing get downcasted inbetween
38b7db2 a failing test
b9149b5 Merge remote-tracking branch 'origin/develop' into develop
5bea708 more failing tests
478a07d fix missing comma
6d82797 Merge remote-tracking branch 'origin/develop' into develop
2f380e2 random fails
3cd0ce7 Merge pull request #75 from romanman/develop
afa0a43 Update crypto.json
1b9b7b8 Introduce ECIES crypto test
git-subtree-dir: tests/files
git-subtree-split: 641ebaa3cf257c08838c707bebb481d61e708f95
Diffstat (limited to 'StateTests/stTransactionTest.json')
-rw-r--r-- | StateTests/stTransactionTest.json | 385 |
1 files changed, 345 insertions, 40 deletions
diff --git a/StateTests/stTransactionTest.json b/StateTests/stTransactionTest.json index c11669ea5..d733613d4 100644 --- a/StateTests/stTransactionTest.json +++ b/StateTests/stTransactionTest.json @@ -13,14 +13,14 @@ "out" : "0x", "post" : { "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "8890", + "balance" : "6990", "code" : "0x", "nonce" : "1", "storage" : { } }, "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "21100", + "balance" : "23000", "code" : "0x", "nonce" : "0", "storage" : { @@ -44,7 +44,7 @@ } } }, - "postStateRoot" : "793404d8c0c826f381c5665ddf16db37c3a9cb2f9b2cfd084a363e2f8b46a12a", + "postStateRoot" : "973fe14837533fb9fc4ae1dfe7d050adfc5460a1b565cc8bb69f407f4f1740da", "pre" : { "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "30000", @@ -73,7 +73,7 @@ }, "transaction" : { "data" : "", - "gasLimit" : "21100", + "gasLimit" : "23000", "gasPrice" : "1", "nonce" : "", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", @@ -775,6 +775,47 @@ "out" : "0x", "post" : { "0000000000000000000000000000000000000000" : { + "balance" : "1", + "code" : "0x6000600055600060015560006002556000600355600060045560006005556000600655600060075560006008556000600955", + "nonce" : "0", + "storage" : { + "0x" : "0x0c", + "0x01" : "0x0c", + "0x02" : "0x0c", + "0x03" : "0x0c", + "0x04" : "0x0c", + "0x05" : "0x0c", + "0x06" : "0x0c", + "0x07" : "0x0c", + "0x08" : "0x0c", + "0x09" : "0x0c" + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "929929", + "code" : "0x", + "nonce" : "1", + "storage" : { + } + }, + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "70061", + "code" : "0x", + "nonce" : "0", + "storage" : { + } + }, + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "19", + "code" : "0x600060006000600060016000619c40f1", + "nonce" : "0", + "storage" : { + } + } + }, + "postStateRoot" : "d0aa34048a468667d989682fa1eeaecd7fe7eea4db3cf699ea8f1d1ffbdec901", + "pre" : { + "0000000000000000000000000000000000000000" : { "balance" : "0", "code" : "0x6000600055600060015560006002556000600355600060045560006005556000600655600060075560006008556000600955", "nonce" : "0", @@ -792,28 +833,73 @@ } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "890", + "balance" : "1000000", + "code" : "0x", + "nonce" : "0", + "storage" : { + } + }, + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "10", + "code" : "0x600060006000600060016000619c40f1", + "nonce" : "0", + "storage" : { + } + } + }, + "transaction" : { + "data" : "", + "gasLimit" : "160000", + "gasPrice" : "1", + "nonce" : "", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "c94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10" + } + }, + "InternlCallStoreClearsSucces" : { + "env" : { + "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentDifficulty" : "45678256", + "currentGasLimit" : "1000000", + "currentNumber" : "0", + "currentTimestamp" : 1, + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "logs" : [ + ], + "out" : "0x", + "post" : { + "0000000000000000000000000000000000000000" : { + "balance" : "1", + "code" : "0x6000600055600060015560006002556000600355600060045560006005556000600655600060075560006008556000600955", + "nonce" : "0", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "961079", "code" : "0x", "nonce" : "1", "storage" : { } }, "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "21100", + "balance" : "38911", "code" : "0x", "nonce" : "0", "storage" : { } }, "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "20", - "code" : "0x6000600060006000600160006013f1", + "balance" : "19", + "code" : "0x600060006000600060016000620186a0f1", "nonce" : "0", "storage" : { } } }, - "postStateRoot" : "b6e53f44390775aed1e93c613feae9d7c97a46836f7d345adf5318982507109e", + "postStateRoot" : "2adbd104f00ce42e212bb8d44a4f34c4702a60e7cde64507bba7da169c6dd22a", "pre" : { "0000000000000000000000000000000000000000" : { "balance" : "0", @@ -833,7 +919,7 @@ } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "22000", + "balance" : "1000000", "code" : "0x", "nonce" : "0", "storage" : { @@ -841,7 +927,7 @@ }, "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "10", - "code" : "0x6000600060006000600160006013f1", + "code" : "0x600060006000600060016000620186a0f1", "nonce" : "0", "storage" : { } @@ -849,7 +935,7 @@ }, "transaction" : { "data" : "", - "gasLimit" : "21100", + "gasLimit" : "160000", "gasPrice" : "1", "nonce" : "", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", @@ -953,7 +1039,7 @@ "out" : "0x", "post" : { "0000000000000000000000000000000000000000" : { - "balance" : "0", + "balance" : "1", "code" : "0x6000600055600060015560006002556000600355600060045560006005556000600655600060075560006008556000600955", "nonce" : "0", "storage" : { @@ -970,22 +1056,57 @@ } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "476990", + "balance" : "464947", "code" : "0x", "nonce" : "1", "storage" : { } }, "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "23000", + "balance" : "35043", "code" : "0x", "nonce" : "0", "storage" : { } }, "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "20", - "code" : "0x60006000556000600155600060025560006003556000600060006000600160006013f1", + "balance" : "19", + "code" : "0x6000600055600060015560006002556000600355600060006000600060016000614e20f1", + "nonce" : "0", + "storage" : { + "0x04" : "0x0c" + } + } + }, + "postStateRoot" : "03a393fd160a54289c878c4ab473861d6893feaf2862fc0bda898f4dc0035062", + "pre" : { + "0000000000000000000000000000000000000000" : { + "balance" : "0", + "code" : "0x6000600055600060015560006002556000600355600060045560006005556000600655600060075560006008556000600955", + "nonce" : "0", + "storage" : { + "0x" : "0x0c", + "0x01" : "0x0c", + "0x02" : "0x0c", + "0x03" : "0x0c", + "0x04" : "0x0c", + "0x05" : "0x0c", + "0x06" : "0x0c", + "0x07" : "0x0c", + "0x08" : "0x0c", + "0x09" : "0x0c" + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "500000", + "code" : "0x", + "nonce" : "0", + "storage" : { + } + }, + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "10", + "code" : "0x6000600055600060015560006002556000600355600060006000600060016000614e20f1", "nonce" : "0", "storage" : { "0x" : "0x0c", @@ -996,7 +1117,60 @@ } } }, - "postStateRoot" : "f580bcc1f79a69244550e63f924d04c3d55b1c2cabcf01d7d6f4e6720d26015c", + "transaction" : { + "data" : "", + "gasLimit" : "200000", + "gasPrice" : "1", + "nonce" : "", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "c94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10" + } + }, + "StoreClearsAndInternlCallStoreClearsSuccess" : { + "env" : { + "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentDifficulty" : "45678256", + "currentGasLimit" : "10000000", + "currentNumber" : "0", + "currentTimestamp" : 1, + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "logs" : [ + ], + "out" : "0x", + "post" : { + "0000000000000000000000000000000000000000" : { + "balance" : "1", + "code" : "0x6000600055600060015560006002556000600355600060045560006005556000600655600060075560006008556000600955", + "nonce" : "0", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "451067", + "code" : "0x", + "nonce" : "1", + "storage" : { + } + }, + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "48923", + "code" : "0x", + "nonce" : "0", + "storage" : { + } + }, + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "19", + "code" : "0x600060005560006001556000600255600060035560006000600060006001600061c350f1", + "nonce" : "0", + "storage" : { + "0x04" : "0x0c" + } + } + }, + "postStateRoot" : "b5ae140f33246605ed01f44613b78305993d1edd4b87f62151f09146d9111c24", "pre" : { "0000000000000000000000000000000000000000" : { "balance" : "0", @@ -1024,7 +1198,7 @@ }, "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "10", - "code" : "0x60006000556000600155600060025560006003556000600060006000600160006013f1", + "code" : "0x600060005560006001556000600255600060035560006000600060006001600061c350f1", "nonce" : "0", "storage" : { "0x" : "0x0c", @@ -1037,7 +1211,7 @@ }, "transaction" : { "data" : "", - "gasLimit" : "23000", + "gasLimit" : "200000", "gasPrice" : "1", "nonce" : "", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", @@ -1045,11 +1219,11 @@ "value" : "10" } }, - "SuicidesAndInternlCallSuicides" : { + "SuicidesAndInternlCallSuicidesBonusGasAtCall" : { "env" : { "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", "currentDifficulty" : "45678256", - "currentGasLimit" : "10000000", + "currentGasLimit" : "1000000", "currentNumber" : "0", "currentTimestamp" : 1, "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" @@ -1058,36 +1232,98 @@ ], "out" : "0x", "post" : { - "0000000000000000000000000000000000000000" : { - "balance" : "0", - "code" : "0x6001ff", + "0000000000000000000000000000000000000001" : { + "balance" : "1", + "code" : "0x", "nonce" : "0", "storage" : { } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "949990", + "balance" : "86105", "code" : "0x", "nonce" : "1", "storage" : { } }, "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "50000", + "balance" : "13885", + "code" : "0x", + "nonce" : "0", + "storage" : { + } + } + }, + "postStateRoot" : "9bdb18aab851bd449403247691c69d81c785cf22e6e8a0150c29cbe778e1c8da", + "pre" : { + "0000000000000000000000000000000000000000" : { + "balance" : "0", + "code" : "0x6001ff", + "nonce" : "0", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "100000", "code" : "0x", "nonce" : "0", "storage" : { } }, "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "1010", - "code" : "0x6000600060006000600160006155f0f1506000ff", + "balance" : "10", + "code" : "0x6000600060006000600160006000f1506000ff", "nonce" : "0", "storage" : { } } }, - "postStateRoot" : "0447330f6167e10f97f872b8f9fa9360b0b63030629b416e4dce4fe8a91d924e", + "transaction" : { + "data" : "", + "gasLimit" : "50000", + "gasPrice" : "1", + "nonce" : "", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "c94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10" + } + }, + "SuicidesAndInternlCallSuicidesBonusGasAtCallFailed" : { + "env" : { + "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentDifficulty" : "45678256", + "currentGasLimit" : "1000000", + "currentNumber" : "0", + "currentTimestamp" : 1, + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "logs" : [ + ], + "out" : "0x", + "post" : { + "0000000000000000000000000000000000000000" : { + "balance" : "20", + "code" : "0x6001ff", + "nonce" : "0", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "89457", + "code" : "0x", + "nonce" : "1", + "storage" : { + } + }, + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "10533", + "code" : "0x", + "nonce" : "0", + "storage" : { + } + } + }, + "postStateRoot" : "7437f919a123aec38b460e95dc8d77c33c92d92dc68efc2fd2d541960f4192ad", "pre" : { "0000000000000000000000000000000000000000" : { "balance" : "0", @@ -1097,15 +1333,15 @@ } }, "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "1000000", + "balance" : "100000", "code" : "0x", "nonce" : "0", "storage" : { } }, "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "1000", - "code" : "0x6000600060006000600160006155f0f1506000ff", + "balance" : "10", + "code" : "0x6000600060006000600060006000f1506000ff", "nonce" : "0", "storage" : { } @@ -1157,13 +1393,13 @@ }, "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "20", - "code" : "0x600060006000600060016000614e20f1506000ff", + "code" : "0x6000600060006000600160006155f0f1506000ff", "nonce" : "0", "storage" : { } } }, - "postStateRoot" : "90d9e6f5f1b92e7efb62dc5e65ce3bc977871c046bcf4192eb524feff2c92298", + "postStateRoot" : "a7def0e4d8e1ff3410dc13b755f18d4838067fa7fc1379427a4ed9991202cb1f", "pre" : { "0000000000000000000000000000000000000000" : { "balance" : "0", @@ -1181,7 +1417,7 @@ }, "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "10", - "code" : "0x600060006000600060016000614e20f1506000ff", + "code" : "0x6000600060006000600160006155f0f1506000ff", "nonce" : "0", "storage" : { } @@ -1197,6 +1433,75 @@ "value" : "10" } }, + "SuicidesAndInternlCallSuicidesSuccess" : { + "env" : { + "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "currentDifficulty" : "45678256", + "currentGasLimit" : "10000000", + "currentNumber" : "0", + "currentTimestamp" : 1, + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "logs" : [ + ], + "out" : "0x", + "post" : { + "0000000000000000000000000000000000000001" : { + "balance" : "1", + "code" : "0x", + "nonce" : "0", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "166105", + "code" : "0x", + "nonce" : "1", + "storage" : { + } + }, + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "13885", + "code" : "0x", + "nonce" : "0", + "storage" : { + } + } + }, + "postStateRoot" : "15e7cb19df513ea5c978fb4930bdf7d48af5b87e67243e7d753627bb4e6b95b4", + "pre" : { + "0000000000000000000000000000000000000000" : { + "balance" : "0", + "code" : "0x6001ff", + "nonce" : "0", + "storage" : { + } + }, + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "180000", + "code" : "0x", + "nonce" : "0", + "storage" : { + } + }, + "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "1000", + "code" : "0x6000600060006000600160006155f0f1506000ff", + "nonce" : "0", + "storage" : { + } + } + }, + "transaction" : { + "data" : "", + "gasLimit" : "150000", + "gasPrice" : "1", + "nonce" : "", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "c94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "10" + } + }, "SuicidesAndSendMoneyToItselfEtherDestroyed" : { "env" : { "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b", @@ -1360,7 +1665,7 @@ }, "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "10000", - "code" : "0x6000ff6000600060006000600060006107d0f1", + "code" : "0x6000ff600060006000600060006000617530f1", "nonce" : "0", "storage" : { } @@ -1368,7 +1673,7 @@ }, "transaction" : { "data" : "", - "gasLimit" : "33700", + "gasLimit" : "83700", "gasPrice" : "1", "nonce" : "", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", @@ -1804,7 +2109,7 @@ "gasPrice" : "1", "nonce" : "0", "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", - "to" : "0xffffffffffffffffffffffffffffffffffffffff", + "to" : "ffffffffffffffffffffffffffffffffffffffff", "value" : "100" } }, @@ -2048,4 +2353,4 @@ "value" : "900" } } -}
\ No newline at end of file +} |