diff options
author | Jared Wasinger <j-wasinger@hotmail.com> | 2018-04-18 08:31:44 +0800 |
---|---|---|
committer | Jared Wasinger <j-wasinger@hotmail.com> | 2018-04-18 08:31:44 +0800 |
commit | 281cb448ed4fcf034db4d9642af52eff1df36dfa (patch) | |
tree | 6ca596224d91b2243d7f96051b479b6ec26145b2 /GeneralStateTests | |
parent | 477114bbd3cf7211d6bc5023138e9480b1243ad3 (diff) | |
download | dexon-tests-281cb448ed4fcf034db4d9642af52eff1df36dfa.tar.gz dexon-tests-281cb448ed4fcf034db4d9642af52eff1df36dfa.tar.zst dexon-tests-281cb448ed4fcf034db4d9642af52eff1df36dfa.zip |
add test which checks codesize/extcodesize on contract in init
Diffstat (limited to 'GeneralStateTests')
-rw-r--r-- | GeneralStateTests/stCodeSizeLimit/codesizeInit.json | 100 |
1 files changed, 100 insertions, 0 deletions
diff --git a/GeneralStateTests/stCodeSizeLimit/codesizeInit.json b/GeneralStateTests/stCodeSizeLimit/codesizeInit.json new file mode 100644 index 000000000..b37c712ed --- /dev/null +++ b/GeneralStateTests/stCodeSizeLimit/codesizeInit.json @@ -0,0 +1,100 @@ +{ + "codesizeInit" : { + "_info" : { + "comment" : "", + "filledwith" : "cpp-1.3.0+commit.6ae986d2.Linux.g++", + "lllcversion" : "Version: 0.4.19+commit.c4cbbb05.Linux.clang", + "source" : "src/GeneralStateTestsFiller/stCodeSizeLimit/codesizeInitFiller.json", + "sourceHash" : "c24ebd71e99c778df8f92b67e6a2c2ad8250cc5e2fd1e723984eef9df544f527" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x020000", + "currentGasLimit" : "0x01312d00", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "Byzantium" : [ + { + "hash" : "0x451a9e0c1cd10d750ec73170f6e2039e7bdb53be3bd902b93ea05d7dfee80b2f", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "EIP150" : [ + { + "hash" : "0x8c1a5cf588977cb4e3e2dd152c27fe653e9b355b34492d4c611ab57fe1d9c0e3", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "EIP158" : [ + { + "hash" : "0x451a9e0c1cd10d750ec73170f6e2039e7bdb53be3bd902b93ea05d7dfee80b2f", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Frontier" : [ + { + "hash" : "0x10ccd8250f89dcc5dd36c6325eef320ebbe31c5a575a533b8486c92d2fe949a9", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Homestead" : [ + { + "hash" : "0x7c0e7496e3056b38fdad8d1bfe51a38d35414243c343169e9a4d446df56067a2", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ] + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0xe8d4a51000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x38600155303b600255" + ], + "gasLimit" : [ + "0xe4e1c0" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : [ + "0x00" + ] + } + } +}
\ No newline at end of file |