Skip to content

Commit

Permalink
integration test: add rsp with API with tx blob info (#244)
Browse files Browse the repository at this point in the history
  • Loading branch information
lupin012 authored Sep 4, 2024
1 parent e9f4f5b commit 9a61d02
Show file tree
Hide file tree
Showing 20 changed files with 7,807 additions and 16 deletions.
29 changes: 28 additions & 1 deletion integration/mainnet/debug_accountRange/test_01.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,34 @@
"response": {
"id": 1,
"jsonrpc": "2.0",
"result": null
"result": {
"accounts": {
"0x79a4d725b13d240a2c00bc853747e9b669dc3c23": {
"balance": "0",
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nonce": 3,
"root": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
},
"0x79a4d7d3b799ef0c495cfe6d83d145155d2491be": {
"balance": "0",
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nonce": 4,
"root": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
},
"0x79a4d87e4a7a11f0376850a271d15ada7b6ee41c": {
"balance": "0",
"code": "0x606060405236156100495763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416636ea056a98114610052578063c0ee0b8a14610092575b6100505b5b565b005b341561005a57fe5b61007e73ffffffffffffffffffffffffffffffffffffffff60043516602435610104565b604080519115158252519081900360200190f35b341561009a57fe5b604080516020600460443581810135601f810184900484028501840190955284845261005094823573ffffffffffffffffffffffffffffffffffffffff169460248035956064949293919092019181908401838280828437509496506101ef95505050505050565b005b6000805460408051602090810184905281517f3c18d31800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff878116600483015292519290931692633c18d318926024808301939282900301818787803b151561017b57fe5b6102c65a03f1151561018957fe5b5050506040518051905073ffffffffffffffffffffffffffffffffffffffff1660003660006040516020015260405180838380828437820191505092505050602060405180830381856102c65a03f415156101e057fe5b50506040515190505b92915050565b5b5050505600a165627a7a723058204cdd69fdcf3cf6cbee9677fe380fa5f044048aa9e060ec5619a21ca5a5bd4cd10029",
"codeHash": "0xce33220d5c7f0d09d75ceff76c05863c5e7d6e801c70dfe7d5d45d4c44e80654",
"nonce": 1,
"root": "0x06b487d15c028b6df56c3ebb9b7086965eba3a240857a647faece2ff13269f2b",
"storage": {
"0x0000000000000000000000000000000000000000000000000000000000000000": "a3c1e324ca1ce40db73ed6026c4a177f099b5770"
}
}
},
"next": "eaTYmi6Cf0jDCXZA95pDWP2I6zg=",
"root": "0xf5e61ba094cb38b1ddd2f6a2ad932524fe7a63516ada1cc94c0526e4333b15a8"
}
}
}
]
25 changes: 24 additions & 1 deletion integration/mainnet/debug_accountRange/test_02.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,30 @@
"response": {
"id": 1,
"jsonrpc": "2.0",
"result": null
"result": {
"accounts": {
"0x76b495a3b2137024f3dc03b1c1a062cf3a49a0de": {
"balance": "4992",
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nonce": 1,
"root": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
},
"0x76b496121573236da5197220633f8f3dcd6a83b9": {
"balance": "0",
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nonce": 1,
"root": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
},
"0x76b4974fb180f3973109f849e31adb058e60eba2": {
"balance": "1000000000000000",
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nonce": 0,
"root": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
}
},
"next": "drSYuNkt+HjHLUAzIQAqELOBhB0=",
"root": "0x0a5cd37405eebff8010da1659026b2e8461ae3b68e19528c4208c9578c1a1a9d"
}
}
}
]
25 changes: 24 additions & 1 deletion integration/mainnet/debug_accountRange/test_03.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,30 @@
"response": {
"id": 1,
"jsonrpc": "2.0",
"result": null
"result": {
"accounts": {
"0x92025a23870a6df3fcdf999b1eb961e1be58a731": {
"balance": "0",
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nonce": 4,
"root": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
},
"0x92025a7710204f144a091c151b2645b2cf550c13": {
"balance": "21100000000000",
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nonce": 9,
"root": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
},
"0x92025b14dbaf298ba059e7be72b9a627d0da2020": {
"balance": "0",
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nonce": 3,
"root": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
}
},
"next": "kgJbMcbPazu6cpCLpEuAGPufsDM=",
"root": "0x26585bdb8482c990cf169d37e300eb17d7fd123f1d12597d07b79bf5d329ca4a"
}
}
}
]
43 changes: 42 additions & 1 deletion integration/mainnet/debug_accountRange/test_04.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,48 @@
"response": {
"id": 1,
"jsonrpc": "2.0",
"result": null
"result": {
"accounts": {
"0x79a4d435acff3ec167c2c40a6a04d9feed6bdea9": {
"balance": "0",
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nonce": 1,
"root": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
},
"0x79a4d4bbbfab971ffc0c38f3ee40852d894d4b0e": {
"balance": "1",
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nonce": 8,
"root": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
},
"0x79a4d5b8b3964cb7aa08651810c7be01b20a1c71": {
"balance": "0",
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nonce": 3,
"root": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
},
"0x79a4d5bec39320deec9779b2ceb2cde83b33761c": {
"balance": "92496000000000",
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nonce": 1,
"root": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
},
"0x79a4d5d7f6126b0d9c0e50cd96bbc30e74a21a61": {
"balance": "150000000000000",
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nonce": 1,
"root": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
},
"0x79a4d6ed97671495ecf26220fcee5becf8ef08ad": {
"balance": "0",
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nonce": 1,
"root": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
}
},
"next": "eaTW90ekisn7b8iQTgERv3/0ieo=",
"root": "0xb33e49ddc4557064c0ffb09647352ee91fb276da9c6e969311688d2cace9c348"
}
}
}
]
37 changes: 36 additions & 1 deletion integration/mainnet/debug_accountRange/test_05.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,42 @@
"response": {
"id": 1,
"jsonrpc": "2.0",
"result": null
"result": {
"accounts": {
"0xb2959a777af54346deeb73ad1f7cb3d54c251361": {
"balance": "779267136363636398000",
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nonce": 3,
"root": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
},
"0xb29674b983b2cd7b8008978fa5418d6637dcc416": {
"balance": "12000580000000000",
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nonce": 0,
"root": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
},
"0xb2968f7d35f208871631c6687b3f3daeabc6616c": {
"balance": "34679320489077336",
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nonce": 1,
"root": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
},
"0xb29ad859a2132142db3e9a08ce9824cc08691427": {
"balance": "402975550000000000000",
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nonce": 0,
"root": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
},
"0xb29b8e85582cee78869e351dc2819b5664a3a8ee": {
"balance": "105873120000000000",
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nonce": 2,
"root": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
}
},
"next": "sp1ROtb0YM6cPASEb+wo66wAbLc=",
"root": "0x0e066f3c2297a5cb300593052617d1bca5946f0caa0635fdb1b85ac7e5236f34"
}
}
}
]
14 changes: 13 additions & 1 deletion integration/mainnet/debug_accountRange/test_06.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,19 @@
"response": {
"id": 1,
"jsonrpc": "2.0",
"result": null
"result": {
"accounts": {
"0xece701c76bd00d1c3f96410a0c69ea8dfcf5f34e": {
"balance": "1868317402361629371210",
"codeHash": "0x5ffee6f38fc3aecdd6a03f92fb6f05b24f10a5c91a5653e731c359819bb4acc6",
"nonce": 1,
"root": "0x0000000000000000000000000000000000000000000000000000000000000000"
}
},
"next": "7OcC3AyXISBGb05hUw3j4nvSuiE=",
"root": "0xab9325d81b9e613fe175173dfb03b5a3cad9cc86492237e9b71b18dc3d6d67a1"
}

}
}
]
43 changes: 42 additions & 1 deletion integration/mainnet/debug_accountRange/test_07.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,48 @@
"response": {
"id": 1,
"jsonrpc": "2.0",
"result": null
"result": {
"accounts": {
"0xece701c76bd00d1c3f96410a0c69ea8dfcf5f34e": {
"balance": "1868317402361629371210",
"codeHash": "0x5ffee6f38fc3aecdd6a03f92fb6f05b24f10a5c91a5653e731c359819bb4acc6",
"nonce": 1,
"root": "0x0000000000000000000000000000000000000000000000000000000000000000"
},
"0xece702dc0c972120466f4e61530de3e27bd2ba21": {
"balance": "200000000200000",
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nonce": 1,
"root": "0x0000000000000000000000000000000000000000000000000000000000000000"
},
"0xece70a1e2dc03beff168edb17b7134cb157def19": {
"balance": "289118000000000000",
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nonce": 1,
"root": "0x0000000000000000000000000000000000000000000000000000000000000000"
},
"0xece70fb711aa073da1838a2d10e243b75c697f27": {
"balance": "44494037897103591",
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nonce": 29,
"root": "0x0000000000000000000000000000000000000000000000000000000000000000"
},
"0xece711fa31fed51bcb5aa0bae95d51e1f86c2b1d": {
"balance": "5000000000000000000",
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nonce": 0,
"root": "0x0000000000000000000000000000000000000000000000000000000000000000"
},
"0xece71361960d310a91844669ca2e0abb0e5c10d5": {
"balance": "0",
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nonce": 4,
"root": "0x0000000000000000000000000000000000000000000000000000000000000000"
}
},
"next": "7OcVQmfdV7fmE+ojJgJaVh0Rr4o=",
"root": "0xab9325d81b9e613fe175173dfb03b5a3cad9cc86492237e9b71b18dc3d6d67a1"
}

}
}
Expand Down
15 changes: 14 additions & 1 deletion integration/mainnet/debug_accountRange/test_08.json

Large diffs are not rendered by default.

Binary file modified integration/mainnet/debug_accountRange/test_09.tar
Binary file not shown.
15 changes: 13 additions & 2 deletions integration/mainnet/debug_accountRange/test_10.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,18 @@
"response": {
"id": 1,
"jsonrpc": "2.0",
"result": null
}
"result": {
"accounts": {
"0xece702dc0c972120466f4e61530de3e27bd2ba21": {
"balance": "200000000200000",
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nonce": 1,
"root": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
}
},
"next": "7OcKHi3AO+/xaO2xe3E0yxV97xk=",
"root": "0xab9325d81b9e613fe175173dfb03b5a3cad9cc86492237e9b71b18dc3d6d67a1"
}
}
}
]
70 changes: 69 additions & 1 deletion integration/mainnet/debug_accountRange/test_11.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,75 @@
"response": {
"id": 1,
"jsonrpc": "2.0",
"result": null
"result": {
"accounts": {
"0xece702dc0c972120466f4e61530de3e27bd2ba21": {
"balance": "200000000200000",
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nonce": 1,
"root": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
},
"0xece70a1e2dc03beff168edb17b7134cb157def19": {
"balance": "289118000000000000",
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nonce": 1,
"root": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
},
"0xece70fb711aa073da1838a2d10e243b75c697f27": {
"balance": "44494037897103591",
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nonce": 29,
"root": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
},
"0xece711fa31fed51bcb5aa0bae95d51e1f86c2b1d": {
"balance": "5000000000000000000",
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nonce": 0,
"root": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
},
"0xece71361960d310a91844669ca2e0abb0e5c10d5": {
"balance": "0",
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nonce": 4,
"root": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
},
"0xece7154267dd57b7e613ea2326025a561d11af8a": {
"balance": "0",
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nonce": 1,
"root": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
},
"0xece71866b378cc1f8c4ca9b18e615b26d7a342c3": {
"balance": "0",
"codeHash": "0x1c2edb66afc46f3d7732d88b3286980bf426164634944c81db0b284382654a9a",
"nonce": 1,
"root": "0x36cef5dd09519db2743dc1d3df22625080dd9ab4d79840e3a3483e9f83f3f260",
"storage": {
"0x0000000000000000000000000000000000000000000000000000000000000000": "b2dccc685011c59927999480000d07161ecad10d"
}
},
"0xece718c7b4252893d6390e569d7f127e4d4a8a12": {
"balance": "350017160000000000000",
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nonce": 2,
"root": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
},
"0xece719ee3604fae9e3ad0e72213bcf6cd1daa435": {
"balance": "10000000000000",
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nonce": 1,
"root": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
},
"0xece71bf683c32df4158b3c74f52eca43a4fa4251": {
"balance": "0",
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
"nonce": 1,
"root": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"
}
},
"next": "7OccHV8SY/H0OL8pFdGA2HHH7Go=",
"root": "0xab9325d81b9e613fe175173dfb03b5a3cad9cc86492237e9b71b18dc3d6d67a1"
}
}
}
]
Binary file modified integration/mainnet/debug_accountRange/test_12.tar
Binary file not shown.
Loading

0 comments on commit 9a61d02

Please sign in to comment.