diff options
author | winsvega <winsvega@mail.ru> | 2018-09-08 00:16:27 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-08 00:16:27 +0800 |
commit | b87bd584634fd4061d54f7d8dd527d0eb43885e0 (patch) | |
tree | dd0cf4a3b0b15669be32aaf2e0a93771c2e6db70 /src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2callPrecompiles_d0g0v0Filler.json | |
parent | 1b47b2058e7800b17af7e3ff8b9e5377c5d4ff9f (diff) | |
parent | 6699d329912456a409b943c62a6f37673ab425ef (diff) | |
download | dexon-tests-b87bd584634fd4061d54f7d8dd527d0eb43885e0.tar.gz dexon-tests-b87bd584634fd4061d54f7d8dd527d0eb43885e0.tar.zst dexon-tests-b87bd584634fd4061d54f7d8dd527d0eb43885e0.zip |
Merge pull request #499 from ethereum/create2
create2 call precompiles from init code
Diffstat (limited to 'src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2callPrecompiles_d0g0v0Filler.json')
-rw-r--r-- | src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2callPrecompiles_d0g0v0Filler.json | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2callPrecompiles_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2callPrecompiles_d0g0v0Filler.json new file mode 100644 index 000000000..da674fc02 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stCreate2/create2callPrecompiles_d0g0v0Filler.json @@ -0,0 +1,90 @@ +{ + "create2callPrecompiles_d0g0v0" : { + "_info" : { + "comment" : "CALL precompiles during init code of CREATE2 contract " + }, + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0xe8d4a51000", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x6000609980601060003960006000f5007f18c547e4f7b0f325ad1e56f57e26c745b09a3e503d86e00e5255ff7f715d3d1c600052601c6020527f73b1693892219d736caba55bdb67216e485557ea6b6af75f37096c9aa6a5a75f6040527feeb940b1d03b21e36b0e47e79769f095fe2ab855bd91e3a38756b7d75a9c4549606052602060806080600060006001620493e0f160025560a060020a608051066000556000543214600155", + "gasLimit" : "0xe4e1c0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x8508fd37c79f31f0a7139e933173385a13e567ef4de4546d39d2e4f16bfefbb7", + "s" : "0x3c0f160f119ddcd5aab7241b810029c4c6d14ed884e0d75c2bffb392665c66b8", + "to" : "", + "v" : "0x1b", + "value" : "0x01" + } + ], + "uncleHeaders" : [ + ] + } + ], + "expect" : [ + { + "network" : "Constantinople", + "result" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "nonce" : "0x01" + }, + "0xbf9998f0939b248f69a518dce4934ab1a86a31d3" : { + "storage" : { + "0x00" : "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "0x01" : "0x01", + "0x02" : "0x01" + } + } + } + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0xe8d4a51000", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xaddf5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x600035600052602035602052604035604052606035606052604060c860806000600060066207a120f260005560c85160015560e851600255", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x00", + "code" : "0x60003560005260203560205260403560405260603560605260803560805260a03560a05260c03560c052604061012c60806000600060066207a120f2600055604061019060606080600060076207a120f260015561012c51600a5561014c51600b55610190516014556101b051601555601454600a5414600255601554600b5414600355", + "nonce" : "0x00", + "storage" : { + } + } + }, + "sealEngine" : "NoProof" + } +}
\ No newline at end of file |