diff options
author | winsvega <winsvega@mail.ru> | 2018-11-15 07:45:04 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-15 07:45:04 +0800 |
commit | f9ce066e38f2cf68547faee183ec2028a36f2b66 (patch) | |
tree | 726f78072ee044e963729f586ab3cd1f35652a50 /src/BlockchainTestsFiller/GeneralStateTests/stExtCodeHash/extCodeHashPrecompiles_d8g0v0Filler.json | |
parent | b251481890bb9b5a38882c628666bb367a93285e (diff) | |
parent | f28ffe620e14fd15a76ea9920ec2d0e4e474d228 (diff) | |
download | dexon-tests-f9ce066e38f2cf68547faee183ec2028a36f2b66.tar.gz dexon-tests-f9ce066e38f2cf68547faee183ec2028a36f2b66.tar.zst dexon-tests-f9ce066e38f2cf68547faee183ec2028a36f2b66.zip |
Merge pull request #542 from hugo-dc/extcodehash-hdc
new EXTCODEHASH tests
Diffstat (limited to 'src/BlockchainTestsFiller/GeneralStateTests/stExtCodeHash/extCodeHashPrecompiles_d8g0v0Filler.json')
-rw-r--r-- | src/BlockchainTestsFiller/GeneralStateTests/stExtCodeHash/extCodeHashPrecompiles_d8g0v0Filler.json | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stExtCodeHash/extCodeHashPrecompiles_d8g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stExtCodeHash/extCodeHashPrecompiles_d8g0v0Filler.json new file mode 100644 index 000000000..fc35b0474 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stExtCodeHash/extCodeHashPrecompiles_d8g0v0Filler.json @@ -0,0 +1,76 @@ +{ + "extCodeHashPrecompiles_d8g0v0" : { + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x0f4240", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x0000000000000000000000000000000000000008", + "gasLimit" : "0x061a80", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x16b2a9cbf29dc55dd2e29d8900c79ba0182b0cf8b3fedb919e3edcd2789dc5ea", + "s" : "0x766875e589dd81bdcb7b857d9c54681a0d243fbe5aa985cb807f5c5548970907", + "to" : "0x095e7baea6a6c7c4c2dfeb977efac326af552d87", + "v" : "0x1b", + "value" : "0x01" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a7640001", + "storage" : { + } + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x0f4240", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0x095e7baea6a6c7c4c2dfeb977efac326af552d87" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "0x60146000600c376000513f6000556000513b600155", + "nonce" : "0x00", + "storage" : { + "0x00" : "0xab" + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file |