Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blake2f test vectors #619

Merged
merged 20 commits into from
Sep 23, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4,773 changes: 4,773 additions & 0 deletions BlockchainTests/GeneralStateTests/stPreCompiledContracts2/CALLBlake2f.json

Large diffs are not rendered by default.

4,773 changes: 4,773 additions & 0 deletions BlockchainTests/GeneralStateTests/stPreCompiledContracts2/CALLCODEBlake2f.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
{
"CALLBlake2f_MaxRounds_d0g0v0_Istanbul" : {
"_info" : {
"comment" : "",
"filling-rpc-server" : "besu/v1.2.4-dev-adb54d67/osx-x86_64/corretto-java-11",
"filling-tool-version" : "retesteth-0.0.1+commit.ec77a361.Darwin.appleclang",
"lllcversion" : "Version: 0.5.12-develop.2019.9.16+commit.2d601a4f.Darwin.appleclang",
"source" : "src/GeneralStateTestsFiller/stTimeConsuming/CALLBlake2f_MaxRoundsFiller.json",
"sourceHash" : "b543c09e6eda17e1d157c0bea241304f7b59eff8d5844edd82e0fbfa5804b3a5"
},
"genesisBlockHeader" : {
"bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"difficulty" : "0x20000",
"extraData" : "0x00",
"gasLimit" : "0x2540be400",
"gasUsed" : "0x0",
"hash" : "0x22a7c84270c2cef72c952411f880acd8356994f939c5bebf29cb89634d51e5ed",
"mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"nonce" : "0x0000000000000000",
"number" : "0x0",
"parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"stateRoot" : "0xb63994ea8f196ddd4bb61ed8133205c9d24b5c5b56b0f4961cc59fd0fcfd294d",
"timestamp" : "0x0",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
},
"pre" : {
"0x1000000000000000000000000000000000000000" : {
"balance" : "0x00",
"code" : "0x36600060003760406103e8366000600060095af16001556103e8516002556104085160035500",
"nonce" : "0x00",
"storage" : {
}
},
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0x3635c9adc5dea00000",
"code" : "0x",
"nonce" : "0x00",
"storage" : {
}
}
},
"postState" : {
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"code" : "0x",
"nonce" : "0x01",
"balance" : "0x3635c9adc4de9eb96d",
"storage" : {
}
},
"0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
"code" : "0x",
"nonce" : "0x00",
"balance" : "0x1bc16d684ec94693",
"storage" : {
}
},
"0x1000000000000000000000000000000000000000" : {
"code" : "0x36600060003760406103e8366000600060095af16001556103e8516002556104085160035500",
"nonce" : "0x00",
"balance" : "0x00",
"storage" : {
"0x02" : "0xfc59093aafa9ab43daae0e914c57635c5402d8e3d2130eb9b3cc181de7f0ecf9",
"0x01" : "0x01",
"0x03" : "0xb22bf99a7815ce16419e200e01846e6b5df8cc7703041bbceb571de6631d2615"
}
}
},
"network" : "Istanbul",
"sealEngine" : "NoProof",
"lastblockhash" : "0x750481d6a470ef769f14556c64513e5ef7e8f306a6b4061e8443766fbfa26521",
"genesisRLP" : "0xf901faf901f5a00000000000000000000000000000000000000000000000000000000000000000a01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0b63994ea8f196ddd4bb61ed8133205c9d24b5c5b56b0f4961cc59fd0fcfd294da056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421a056e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421b901000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000083020000808502540be400808000a00000000000000000000000000000000000000000000000000000000000000000880000000000000000c0c0",
"blocks" : [
{
"rlp" : "0xf9033ef901fca022a7c84270c2cef72c952411f880acd8356994f939c5bebf29cb89634d51e5eda01dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347942adc25665018aa1fe0e6bc666dac8fc2697ff9baa0fe2b6606b604dc3e1f7788308eb49d09cc1106acab44774beebc907b30508902a0a2c4ba09763ee6066982c79b2f67b6894e55952e6aaea4c913d7c0036cbbae1da06c0b2cc2ad95d15e9b7664f926b59099726294852934a481d5836975fecfe5bdb901000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000083020000018502540be4008501000146938203e880a00000000000000000000000000000000000000000000000000000000000000000880000000000000000f9013bf9013880018502540be40094100000000000000000000000000000000000000080b8d5ffffffff48c9bdf267e6096a3ba7ca8485ae67bb2bf894fe72f36e3cf1361d5f3af54fa5d182e6ad7f520e511f6c3e2b8c68059b6bbd41fbabd9831f79217e1319cde05b616263000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000011ba03bff8839e588672f973a61236ab0ea19d1c6c35208e60df3b9cd191511626bc8a0644da1c3792d84b4f900303af8d1f452130c548829d564703989686f7c24a665c0",
"blockHeader" : {
"bloom" : "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"coinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"difficulty" : "0x20000",
"extraData" : "0x",
"gasLimit" : "0x2540be400",
"gasUsed" : "0x100014693",
"hash" : "0x750481d6a470ef769f14556c64513e5ef7e8f306a6b4061e8443766fbfa26521",
"mixHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"nonce" : "0x0000000000000000",
"number" : "0x1",
"parentHash" : "0x22a7c84270c2cef72c952411f880acd8356994f939c5bebf29cb89634d51e5ed",
"receiptTrie" : "0x6c0b2cc2ad95d15e9b7664f926b59099726294852934a481d5836975fecfe5bd",
"stateRoot" : "0xfe2b6606b604dc3e1f7788308eb49d09cc1106acab44774beebc907b30508902",
"timestamp" : "0x3e8",
"transactionsTrie" : "0xa2c4ba09763ee6066982c79b2f67b6894e55952e6aaea4c913d7c0036cbbae1d",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
},
"transactions" : [
{
"data" : "0xffffffff48c9bdf267e6096a3ba7ca8485ae67bb2bf894fe72f36e3cf1361d5f3af54fa5d182e6ad7f520e511f6c3e2b8c68059b6bbd41fbabd9831f79217e1319cde05b61626300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000001",
"gasLimit" : "0x02540be400",
"gasPrice" : "0x01",
"nonce" : "0x00",
"to" : "0x1000000000000000000000000000000000000000",
"value" : "0x00",
"v" : "0x1b",
"r" : "0x3bff8839e588672f973a61236ab0ea19d1c6c35208e60df3b9cd191511626bc8",
"s" : "0x644da1c3792d84b4f900303af8d1f452130c548829d564703989686f7c24a665"
}
]
}
]
}
}
Loading