aboutsummaryrefslogtreecommitdiffstats
path: root/src/BlockchainTestsFiller/GeneralStateTests
diff options
context:
space:
mode:
authorYoichi Hirai <i@yoichihirai.com>2018-03-30 03:48:12 +0800
committerYoichi Hirai <i@yoichihirai.com>2018-03-30 03:48:12 +0800
commit7a788d6200a3ab35df7cd311ed1c529eafff0152 (patch)
tree877bcee4656742eb5c1b0ce087de2751541c2949 /src/BlockchainTestsFiller/GeneralStateTests
parent79ee13d1c8fcce5b785188980d02d2753fef29c9 (diff)
downloaddexon-tests-7a788d6200a3ab35df7cd311ed1c529eafff0152.tar
dexon-tests-7a788d6200a3ab35df7cd311ed1c529eafff0152.tar.gz
dexon-tests-7a788d6200a3ab35df7cd311ed1c529eafff0152.tar.bz2
dexon-tests-7a788d6200a3ab35df7cd311ed1c529eafff0152.tar.lz
dexon-tests-7a788d6200a3ab35df7cd311ed1c529eafff0152.tar.xz
dexon-tests-7a788d6200a3ab35df7cd311ed1c529eafff0152.tar.zst
dexon-tests-7a788d6200a3ab35df7cd311ed1c529eafff0152.zip
Fill identity_to_small test
Diffstat (limited to 'src/BlockchainTestsFiller/GeneralStateTests')
-rw-r--r--src/BlockchainTestsFiller/GeneralStateTests/stPreCompiledContracts/identity_to_smaller_d0g0v0Filler.json86
1 files changed, 86 insertions, 0 deletions
diff --git a/src/BlockchainTestsFiller/GeneralStateTests/stPreCompiledContracts/identity_to_smaller_d0g0v0Filler.json b/src/BlockchainTestsFiller/GeneralStateTests/stPreCompiledContracts/identity_to_smaller_d0g0v0Filler.json
new file mode 100644
index 000000000..545e8ec6d
--- /dev/null
+++ b/src/BlockchainTestsFiller/GeneralStateTests/stPreCompiledContracts/identity_to_smaller_d0g0v0Filler.json
@@ -0,0 +1,86 @@
+{
+ "identity_to_smaller_d0g0v0" : {
+ "blocks" : [
+ {
+ "blockHeaderPremine" : {
+ "difficulty" : "0x020000",
+ "gasLimit" : "0x05f5e100",
+ "timestamp" : "0x03e8",
+ "updatePoW" : "1"
+ },
+ "transactions" : [
+ {
+ "data" : "0x",
+ "gasLimit" : "0x030d40",
+ "gasPrice" : "0x01",
+ "nonce" : "0x01",
+ "r" : "0x5082ac608c80290af68a18d44edf0526a3abc6ea3652ab46f63e8953eb813b57",
+ "s" : "0x6b1bc1f0b9eb8de1e19d159c9efb8607c2f24643982b112c98ade3e28af22722",
+ "to" : "0xc305c901078781c232a2a521c2af7980f8385ee9",
+ "v" : "0x1b",
+ "value" : "0x00"
+ }
+ ],
+ "uncleHeaders" : [
+ ]
+ }
+ ],
+ "expect" : [
+ {
+ "network" : "Byzantium",
+ "result" : {
+ "0xc305c901078781c232a2a521c2af7980f8385ee9" : {
+ "balance" : "0x00",
+ "storage" : {
+ "0x00" : "0x20"
+ }
+ }
+ }
+ },
+ {
+ "network" : "Constantinople",
+ "result" : {
+ "0xc305c901078781c232a2a521c2af7980f8385ee9" : {
+ "balance" : "0x00",
+ "storage" : {
+ "0x00" : "0x20"
+ }
+ }
+ }
+ }
+ ],
+ "genesisBlockHeader" : {
+ "bloom" : "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
+ "coinbase" : "3535353535353535353535353535353535353535",
+ "difficulty" : "131072",
+ "extraData" : "0x42",
+ "gasLimit" : "0x05f5e100",
+ "gasUsed" : "0",
+ "mixHash" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "nonce" : "0x0102030405060708",
+ "number" : "0",
+ "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
+ "receiptTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "stateRoot" : "0xf99eb1626cfa6db435c0836235942d7ccaa935f1ae247d3f1c21e495685f903a",
+ "timestamp" : "0x03b6",
+ "transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
+ "uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ "pre" : {
+ "0x82a978b3f5962a5b0957d9ee9eef472ee55b42f1" : {
+ "balance" : "0x0de0b6b3a761fe12",
+ "code" : "",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ },
+ "0xc305c901078781c232a2a521c2af7980f8385ee9" : {
+ "balance" : "0x00",
+ "code" : "0x7f112233445566778899aabbccddeeff00112233445566778899aabbccddeeff00600052601060106020600060006004620186a0f1503d600055",
+ "nonce" : "0x21",
+ "storage" : {
+ }
+ }
+ }
+ }
+} \ No newline at end of file