From f43c911981094f7b296e9426b88ef99613950cbe Mon Sep 17 00:00:00 2001 From: Yoichi Hirai Date: Tue, 10 Oct 2017 21:44:12 +0200 Subject: Add a test case where modexp gets input 0x00000000000000000000000000000000000000000000000000000000000000ff2a1e5300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 --- .../modexp_d36g2v0Filler.json | 62 ++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 src/BlockchainTestsFiller/GeneralStateTests/stPreCompiledContracts/modexp_d36g2v0Filler.json (limited to 'src/BlockchainTestsFiller/GeneralStateTests/stPreCompiledContracts/modexp_d36g2v0Filler.json') diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stPreCompiledContracts/modexp_d36g2v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stPreCompiledContracts/modexp_d36g2v0Filler.json new file mode 100644 index 000000000..0a92ef583 --- /dev/null +++ b/src/BlockchainTestsFiller/GeneralStateTests/stPreCompiledContracts/modexp_d36g2v0Filler.json @@ -0,0 +1,62 @@ +{ + "modexp_d36g2v0" : { + "blocks" : [ + { + "blockHeaderPremine" : { + "difficulty" : "0x020000", + "gasLimit" : "0x02540be400", + "timestamp" : "0x03e8", + "updatePoW" : "1" + }, + "transactions" : [ + { + "data" : "0x00000000000000000000000000000000000000000000000000000000000000ff2a1e5300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "gasLimit" : "0x01adb0", + "gasPrice" : "0x01", + "nonce" : "0x00", + "r" : "0x30943a3b00c38b194c60bc4d3af012147ff1f5cd32719458ef247ebe05baf4c5", + "s" : "0x3838a7266f4f4c86dd57ce8bd936e36ad918c1899fb861118a6190b50d8cfa63", + "to" : "0x1000000000000000000000000000000000000000", + "v" : "0x1c", + "value" : "0x00" + } + ], + "uncleHeaders" : [ + ] + } + ], + "genesisBlockHeader" : { + "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "coinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "difficulty" : "131072", + "extraData" : "0x42", + "gasLimit" : "0x02540be400", + "gasUsed" : "0", + "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "nonce" : "0x0102030405060708", + "number" : "0", + "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", + "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a", + "timestamp" : "0x03b6", + "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", + "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + "pre" : { + "0x1000000000000000000000000000000000000000" : { + "balance" : "0x00", + "code" : "0x36600060003760206103e8366000600060055af26001556103e851600255", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x3635c9adc5dea00000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + } + } + } +} \ No newline at end of file -- cgit v1.2.3