aboutsummaryrefslogtreecommitdiffstats
path: root/src/BlockchainTestsFiller/bcMultiChainTest/CallContractFromNotBestBlockFiller.json
diff options
context:
space:
mode:
authorDimitry <winsvega@mail.ru>2017-07-01 05:04:11 +0800
committerDimitry <winsvega@mail.ru>2017-07-03 21:41:54 +0800
commit7d843b93f034f74efaf1d30a3019cca8700896c3 (patch)
treea32b498bb856b19a02185d55cdcb1a3f0a229eb3 /src/BlockchainTestsFiller/bcMultiChainTest/CallContractFromNotBestBlockFiller.json
parent37d74dfff152154adec9eecd6f7af6bbb14e6a5d (diff)
downloadtangerine-tests-7d843b93f034f74efaf1d30a3019cca8700896c3.tar
tangerine-tests-7d843b93f034f74efaf1d30a3019cca8700896c3.tar.gz
tangerine-tests-7d843b93f034f74efaf1d30a3019cca8700896c3.tar.bz2
tangerine-tests-7d843b93f034f74efaf1d30a3019cca8700896c3.tar.lz
tangerine-tests-7d843b93f034f74efaf1d30a3019cca8700896c3.tar.xz
tangerine-tests-7d843b93f034f74efaf1d30a3019cca8700896c3.tar.zst
tangerine-tests-7d843b93f034f74efaf1d30a3019cca8700896c3.zip
convert more bctests
Diffstat (limited to 'src/BlockchainTestsFiller/bcMultiChainTest/CallContractFromNotBestBlockFiller.json')
-rw-r--r--src/BlockchainTestsFiller/bcMultiChainTest/CallContractFromNotBestBlockFiller.json118
1 files changed, 118 insertions, 0 deletions
diff --git a/src/BlockchainTestsFiller/bcMultiChainTest/CallContractFromNotBestBlockFiller.json b/src/BlockchainTestsFiller/bcMultiChainTest/CallContractFromNotBestBlockFiller.json
new file mode 100644
index 000000000..8cd687883
--- /dev/null
+++ b/src/BlockchainTestsFiller/bcMultiChainTest/CallContractFromNotBestBlockFiller.json
@@ -0,0 +1,118 @@
+{
+ "CallContractFromNotBestBlock" : {
+ "genesisBlockHeader" : {
+ "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
+ "coinbase" : "0x8888f1f195afa192cfee860698584c030f4c9db1",
+ "difficulty" : "131072",
+ "extraData" : "0x42",
+ "gasLimit" : "3141592",
+ "gasUsed" : "0",
+ "number" : "0",
+ "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a",
+ "timestamp" : "0x54c98c81",
+ "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "nonce" : "0x0102030405060708",
+ "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ "expect" : [
+ {
+ "network" : ["ALL"],
+ "result" : {
+ "ec0e71ad0a90ffe1909d27dac207f7680abba42d" : {
+ "balance" : "1",
+ "storage" : {
+ "0x00" : "0x00",
+ "0x01" : "0x00"
+ }
+ },
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "nonce" : "3"
+ }
+ }
+ }
+ ],
+ "pre" : {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "10000000000000",
+ "nonce" : "0",
+ "code" : "",
+ "storage": {}
+ }
+ },
+ "blocks" : [
+ {
+ "chainname" : "A",
+ "blocknumber" : "1",
+ "transactions" : [
+ {
+ "data" : "",
+ "gasLimit" : "314159",
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "095e7baea6a6c7c4c2dfeb977efac326af552d87",
+ "value" : "10"
+ }
+ ],
+ "uncleHeaders" : [
+ ]
+ },
+ {
+ "chainname" : "A",
+ "blocknumber" : "2",
+ "transactions" : [
+ {
+ "data" : "contract main { int a; function run() returns(int) { a = 5; return 5; }}",
+ "data" : "0x6060604052606e8060106000396000f360606040526000357c010000000000000000000000000000000000000000000000000000000090048063c0406226146037576035565b005b60406004506056565b6040518082815260200191505060405180910390f35b6000600560006000508190555060059050606b565b9056",
+ "gasLimit" : "314159",
+ "gasPrice" : "1",
+ "nonce" : "1",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "",
+ "value" : "0"
+ }
+ ],
+ "uncleHeaders" : [
+ ]
+ },
+ {
+ "chainname" : "A",
+ "blocknumber" : "3",
+ "transactions" : [
+ {
+ "data" : "",
+ "gasLimit" : "314159",
+ "gasPrice" : "1",
+ "nonce" : "2",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "ec0e71ad0a90ffe1909d27dac207f7680abba42d",
+ "value" : "1"
+ }
+ ],
+ "uncleHeaders" : [
+ ]
+ },
+ {
+ "chainname" : "A",
+ "blocknumber" : "3",
+ "transactions" : [
+ {
+ "data" : "run()",
+ "data" : "0xc0406226",
+ "gasLimit" : "314159",
+ "gasPrice" : "1",
+ "nonce" : "2",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "ec0e71ad0a90ffe1909d27dac207f7680abba42d",
+ "value" : "2"
+ }
+ ],
+ "uncleHeaders" : [
+ ]
+ }
+ ]
+ }
+}