aboutsummaryrefslogtreecommitdiffstats
path: root/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractWithBalanceFiller.json
diff options
context:
space:
mode:
authorDimitry <winsvega@mail.ru>2016-12-15 01:46:21 +0800
committerDimitry <winsvega@mail.ru>2016-12-15 01:46:21 +0800
commitda5bd1d9b6ff3aa48d653d7c2f26c2d481e5d19b (patch)
treecdcb540903aa2dd6241135f8a49a841804bd52cc /src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractWithBalanceFiller.json
parented484d96c8cfacd6a0591ef60a25370e75a599ee (diff)
downloadtangerine-tests-da5bd1d9b6ff3aa48d653d7c2f26c2d481e5d19b.tar
tangerine-tests-da5bd1d9b6ff3aa48d653d7c2f26c2d481e5d19b.tar.gz
tangerine-tests-da5bd1d9b6ff3aa48d653d7c2f26c2d481e5d19b.tar.bz2
tangerine-tests-da5bd1d9b6ff3aa48d653d7c2f26c2d481e5d19b.tar.lz
tangerine-tests-da5bd1d9b6ff3aa48d653d7c2f26c2d481e5d19b.tar.xz
tangerine-tests-da5bd1d9b6ff3aa48d653d7c2f26c2d481e5d19b.tar.zst
tangerine-tests-da5bd1d9b6ff3aa48d653d7c2f26c2d481e5d19b.zip
eip158 to general state - eip special tests
Diffstat (limited to 'src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractWithBalanceFiller.json')
-rw-r--r--src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractWithBalanceFiller.json66
1 files changed, 66 insertions, 0 deletions
diff --git a/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractWithBalanceFiller.json b/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractWithBalanceFiller.json
new file mode 100644
index 000000000..379cde81a
--- /dev/null
+++ b/src/GeneralStateTestsFiller/stCreateTest/CREATE_EmptyContractWithBalanceFiller.json
@@ -0,0 +1,66 @@
+{
+ "CREATE_EmptyContractWithBalance" : {
+ "env" : {
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "45678256",
+ "currentGasLimit" : "10000000",
+ "currentNumber" : "2675000",
+ "currentTimestamp" : "1",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "expect" : [
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : ["ALL"],
+ "result" : {
+ "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "storage" : {
+ "0x00" : "0x08d5b6",
+ "0x01" : "0xf1ecf98489fa9ed60a664fc4998db699cfa39d40",
+ "0x64" : "0x07bc62"
+ }
+ },
+ "f1ecf98489fa9ed60a664fc4998db699cfa39d40" : {
+ "balance" : "0x01"
+ }
+ }
+ }
+ ],
+ "pre" :
+ {
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "1000000000000",
+ "code" : "",
+ "nonce" : "0",
+ "storage" : {
+ }
+ },
+ "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "1",
+ "nonce" : "0",
+ "code" : "{ [[0]](GAS) [[1]] (CREATE 1 0 32) [[100]] (GAS) }",
+ "storage": {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ ""
+ ],
+ "gasLimit" : [
+ "600000"
+ ],
+ "gasPrice" : "1",
+ "nonce" : "0",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : [
+ "0"
+ ]
+ }
+ }
+}