diff options
author | winsvega <winsvega@mail.ru> | 2015-02-20 22:07:51 +0800 |
---|---|---|
committer | winsvega <winsvega@mail.ru> | 2015-02-20 22:07:51 +0800 |
commit | c1d415fba19d359b8b875a87cf6499c8fedb3f90 (patch) | |
tree | 2a8b8de13e4a02624cf0e8aa95263c310604a008 /stInitCodeTestFiller.json | |
parent | 853cf07e43c2ce331f2b2327fc4d585bd69c9f7e (diff) | |
download | dexon-solidity-c1d415fba19d359b8b875a87cf6499c8fedb3f90.tar dexon-solidity-c1d415fba19d359b8b875a87cf6499c8fedb3f90.tar.gz dexon-solidity-c1d415fba19d359b8b875a87cf6499c8fedb3f90.tar.bz2 dexon-solidity-c1d415fba19d359b8b875a87cf6499c8fedb3f90.tar.lz dexon-solidity-c1d415fba19d359b8b875a87cf6499c8fedb3f90.tar.xz dexon-solidity-c1d415fba19d359b8b875a87cf6499c8fedb3f90.tar.zst dexon-solidity-c1d415fba19d359b8b875a87cf6499c8fedb3f90.zip |
New Solidity Tests
Diffstat (limited to 'stInitCodeTestFiller.json')
-rw-r--r-- | stInitCodeTestFiller.json | 80 |
1 files changed, 79 insertions, 1 deletions
diff --git a/stInitCodeTestFiller.json b/stInitCodeTestFiller.json index 134d7519..ea5467df 100644 --- a/stInitCodeTestFiller.json +++ b/stInitCodeTestFiller.json @@ -267,7 +267,7 @@ { "095e7baea6a6c7c4c2dfeb977efac326af552d87": { "balance": "0", - "nonce": "0", + "nonce": "40", "code": "{[[ 2 ]](ADDRESS)(CODECOPY 0 0 32)(CREATE 0 0 32)}", "storage": {} }, @@ -489,5 +489,83 @@ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87", "value" : "0" } + }, + + "ReturnTest" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "45678256", + "currentGasLimit" : "10000000", + "currentNumber" : "0", + "currentTimestamp" : 1, + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "pre" : + { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "100000", + "code" : "{(CALL 2000 0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b 0 30 1 31 1) (RETURN 30 2)}", + "nonce" : "0", + "storage" : { + } + }, + + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "100000", + "code" : "{(MSTORE 0 0x15) (RETURN 31 1)}", + "nonce" : "0", + "storage" : { + } + } + }, + "transaction" : + { + "data" : "", + "gasLimit" : "5000", + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "a94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "1" + } + }, + + "ReturnTest2" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "45678256", + "currentGasLimit" : "100000000", + "currentNumber" : "0", + "currentTimestamp" : 1, + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "pre" : + { + "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "100000", + "code" : "{(MSTORE 0 0x15)(CALL 7000 0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b 0 0 32 32 32) (RETURN 0 64)}", + "nonce" : "0", + "storage" : { + } + }, + + "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "100000", + "code" : "{(MSTORE 0 (MUL 3 (CALLDATALOAD 0)))(RETURN 0 32)}", + "nonce" : "0", + "storage" : { + } + } + }, + "transaction" : + { + "data" : "", + "gasLimit" : "15000", + "gasPrice" : "1", + "nonce" : "0", + "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "a94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : "1" + } } } |