github.com/0xPolygon/supernets2-node@v0.0.0-20230711153321-2fe574524eaa/test/vectors/src/receipt-test-vectors/receipt-vector.json (about) 1 [ 2 { 3 "id": 0, 4 "description": "2 accounts and 1 valid transaction.", 5 "arity": 4, 6 "chainIdSequencer": 1001, 7 "defaultChainId": 1000, 8 "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", 9 "sequencerPvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", 10 "genesis": [ 11 { 12 "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", 13 "nonce": "0", 14 "balance": "100000000000000000000", 15 "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e" 16 }, 17 { 18 "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", 19 "nonce": "0", 20 "balance": "200000000000000000000", 21 "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23" 22 } 23 ], 24 "expectedOldRoot": "0xbdde84a5932a2f0a1a4c6c51f3b64ea265d4f1461749298cfdd09b31122ce0d6", 25 "txs": [ 26 { 27 "id": 0, 28 "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", 29 "to": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", 30 "nonce": 0, 31 "value": "100000000000000000", 32 "gasLimit": 100000, 33 "gasPrice": "1000000000", 34 "chainId": 1001, 35 "rawTx": "0xf86d80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808207f5a01186622d03b6b8da7cf111d1ccba5bb185c56deae6a322cebc6dda0556f3cb979f910c26408b64b51c5da36ba2f38ef55ba1cee719d5a6c01225968799907432", 36 "customRawTx": "0xee80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808203e980801186622d03b6b8da7cf111d1ccba5bb185c56deae6a322cebc6dda0556f3cb9700910c26408b64b51c5da36ba2f38ef55ba1cee719d5a6c012259687999074321b", 37 "reason": "" 38 } 39 ], 40 "expectedNewRoot": "0xc0465433d9caa28474892b15dd2266db120036294da4cf8e4cde9e5e68898935", 41 "expectedNewLeafs": { 42 "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D": { 43 "balance": "99900000000000000000", 44 "nonce": "1" 45 }, 46 "0x4d5Cf5032B2a844602278b01199ED191A86c93ff": { 47 "balance": "200100000000000000000", 48 "nonce": "0" 49 } 50 }, 51 "batchL2Data": "0xee80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808203e980801186622d03b6b8da7cf111d1ccba5bb185c56deae6a322cebc6dda0556f3cb9700910c26408b64b51c5da36ba2f38ef55ba1cee719d5a6c012259687999074321b", 52 "globalExitRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", 53 "newLocalExitRoot": "0x17c04c3760510b48c6012742c540a81aba4bca2f78b9d14bfd2f123e2e53ea3e", 54 "inputHash": "0xa2d6f70384a5211fc6c8cf1698132ee9e8cf83943004448c0065dc727dee5c3a", 55 "batchHashData": "0x3d53e7e5be04b00f66af647512af6d17e4e767a5e41fa1293010b885c9fe06db", 56 "oldLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", 57 "timestamp": 1944498031, 58 "receipts": [ 59 { 60 "txId": 0, 61 "receipt": { 62 "transactionHash": "0x0cc3dd49b941271b19df83ba6733bed4023fb82c28d40e6ef863ca589d4a933a", 63 "transactionIndex": 0, 64 "blockNumber": 0, 65 "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", 66 "to": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", 67 "cumulativeGasUsed": 21000, 68 "gasUsedForTx": 21000, 69 "contractAddress": null, 70 "logs": 0, 71 "logsBloom": 0, 72 "status": 1, 73 "blockHash": "0xd428bcb4a86d605119259aa806372e61a98b210f940d0007a510954ebf01d698" 74 } 75 } 76 ], 77 "blockInfo": { 78 "blockNumber": 0, 79 "gasUsedForTx": 21000, 80 "blockGasLimit": 30000000, 81 "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000", 82 "txHashRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", 83 "receiptRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", 84 "timestamp": 1944498031 85 } 86 }, 87 { 88 "id": 1, 89 "description": "5 accounts. 2 valid tx, 3 invalid tx (same amount as balance, invalid nonce, invalid chain id 3333)", 90 "arity": 4, 91 "chainIdSequencer": 1001, 92 "defaultChainId": 1000, 93 "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", 94 "sequencerPvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", 95 "genesis": [ 96 { 97 "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", 98 "nonce": "0", 99 "balance": "100000000000000000000", 100 "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e" 101 }, 102 { 103 "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", 104 "nonce": "0", 105 "balance": "200000000000000000000", 106 "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23" 107 }, 108 { 109 "address": "0xeB17ce701E9D92724AA2ABAdA7E4B28830597Dd9", 110 "nonce": "0", 111 "balance": "100000000000000000000", 112 "pvtKey": "0x1d0722aff4b29780e9a78e0bf28d5e127fb276cfbb0c3eb6a0e1728401777f17" 113 }, 114 { 115 "address": "0x187Bd40226A7073b49163b1f6c2b73d8F2aa8478", 116 "nonce": "0", 117 "balance": "000000000000000000000", 118 "pvtKey": "0xd049e68efa0d85a3824c0b79f6817a986bb0cb3a075bcc2699118eca881d70ce" 119 }, 120 { 121 "address": "0xabCcEd19d7f290B84608feC510bEe872CC8F5112", 122 "nonce": "0", 123 "balance": "000000000000000000000", 124 "pvtKey": "0x0b929d50d7fda8155539e6befa96ff297e3e9ebce4d908f570310bdf774cb32b" 125 } 126 ], 127 "expectedOldRoot": "0x2c055addfeb8325a51c6f704ae768ee8ecf651e5289c6475159ba41de029bf71", 128 "txs": [ 129 { 130 "id": 0, 131 "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", 132 "to": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", 133 "nonce": 0, 134 "value": "100000000000000000", 135 "gasLimit": 100000, 136 "gasPrice": "1000000000", 137 "chainId": 1001, 138 "rawTx": "0xf86d80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808207f5a01186622d03b6b8da7cf111d1ccba5bb185c56deae6a322cebc6dda0556f3cb979f910c26408b64b51c5da36ba2f38ef55ba1cee719d5a6c01225968799907432", 139 "customRawTx": "0xee80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808203e980801186622d03b6b8da7cf111d1ccba5bb185c56deae6a322cebc6dda0556f3cb9700910c26408b64b51c5da36ba2f38ef55ba1cee719d5a6c012259687999074321b", 140 "reason": "" 141 }, 142 { 143 "id": 1, 144 "from": "0xeB17ce701E9D92724AA2ABAdA7E4B28830597Dd9", 145 "to": "0x187Bd40226A7073b49163b1f6c2b73d8F2aa8478", 146 "nonce": 0, 147 "value": "1000000000000000000000", 148 "gasLimit": 100000, 149 "gasPrice": "1000000000", 150 "chainId": 1001, 151 "rawTx": "0xf86f80843b9aca00830186a094187bd40226a7073b49163b1f6c2b73d8f2aa8478893635c9adc5dea00000808207f5a04c4fbe884ee8912360f4d00199fd189f11b27fa25eca1b9dcfd3ea686e88042ea0113432240c9e7be8de1e8fc0894b68ff4d37528d820814527b5fa2bd034ef38f", 152 "customRawTx": "0xef80843b9aca00830186a094187bd40226a7073b49163b1f6c2b73d8f2aa8478893635c9adc5dea00000808203e980804c4fbe884ee8912360f4d00199fd189f11b27fa25eca1b9dcfd3ea686e88042e113432240c9e7be8de1e8fc0894b68ff4d37528d820814527b5fa2bd034ef38f1b", 153 "reason": "TX INVALID: Not enough funds to pay total transaction cost" 154 }, 155 { 156 "id": 2, 157 "from": "0xeB17ce701E9D92724AA2ABAdA7E4B28830597Dd9", 158 "to": "0x187Bd40226A7073b49163b1f6c2b73d8F2aa8478", 159 "nonce": 0, 160 "value": "1000000000000000000", 161 "gasLimit": 100000, 162 "gasPrice": "1000000000", 163 "chainId": 1000, 164 "rawTx": "0xf86e80843b9aca00830186a094187bd40226a7073b49163b1f6c2b73d8f2aa8478880de0b6b3a7640000808207f4a074ecb6abb3d84c322a4905c60199b8f422b79b940e8a853d580869268009ae31a023fb6caa5b3afc410b79d9b68bf851df1fd46fd6923cc481b3e273aeb92ce67d", 165 "customRawTx": "0xee80843b9aca00830186a094187bd40226a7073b49163b1f6c2b73d8f2aa8478880de0b6b3a7640000808203e8808074ecb6abb3d84c322a4905c60199b8f422b79b940e8a853d580869268009ae3123fb6caa5b3afc410b79d9b68bf851df1fd46fd6923cc481b3e273aeb92ce67d1c", 166 "reason": "" 167 }, 168 { 169 "id": 3, 170 "from": "0xeB17ce701E9D92724AA2ABAdA7E4B28830597Dd9", 171 "to": "0xabCcEd19d7f290B84608feC510bEe872CC8F5112", 172 "nonce": 0, 173 "value": "1000000000000000000", 174 "gasLimit": 100000, 175 "gasPrice": "1000000000", 176 "chainId": 1001, 177 "rawTx": "0xf86e80843b9aca00830186a094abcced19d7f290b84608fec510bee872cc8f5112880de0b6b3a7640000808207f5a0980717290b2314a735dc00db207c20d5a6461f73761c2022986fd78efa7e774da057de08eada05ec67eb78cceaa7be257cb12b5449aa0d7347dca655f94375c967", 178 "customRawTx": "0xee80843b9aca00830186a094abcced19d7f290b84608fec510bee872cc8f5112880de0b6b3a7640000808203e98080980717290b2314a735dc00db207c20d5a6461f73761c2022986fd78efa7e774d57de08eada05ec67eb78cceaa7be257cb12b5449aa0d7347dca655f94375c9671b", 179 "reason": "TX INVALID: Invalid nonce" 180 }, 181 { 182 "id": 4, 183 "from": "0xeB17ce701E9D92724AA2ABAdA7E4B28830597Dd9", 184 "to": "0xabCcEd19d7f290B84608feC510bEe872CC8F5112", 185 "nonce": 0, 186 "value": "1000000000000000000", 187 "gasLimit": 100000, 188 "gasPrice": "1000000000", 189 "chainId": 3333, 190 "rawTx": "0xf86e80843b9aca00830186a094abcced19d7f290b84608fec510bee872cc8f5112880de0b6b3a764000080821a2da0d78fe650ae7e2f7c909ad72f661bfe72aa2d502f9f2bbfad3880a4a7e0abf898a06b98f2a902dd06a89f948baa64f32d301d3ced92d231ccdea79f909a73aa050f", 191 "customRawTx": "0xee80843b9aca00830186a094abcced19d7f290b84608fec510bee872cc8f5112880de0b6b3a764000080820d058080d78fe650ae7e2f7c909ad72f661bfe72aa2d502f9f2bbfad3880a4a7e0abf8986b98f2a902dd06a89f948baa64f32d301d3ced92d231ccdea79f909a73aa050f1b", 192 "reason": "TX INVALID: Chain ID does not match" 193 } 194 ], 195 "expectedNewRoot": "0x3824778990b5600ef5a7da17f7b39df46c5789f99ceb9bad887e42b921721056", 196 "expectedNewLeafs": { 197 "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D": { 198 "balance": "99900021000000000000", 199 "nonce": "1" 200 }, 201 "0x4d5Cf5032B2a844602278b01199ED191A86c93ff": { 202 "balance": "200100000000000000000", 203 "nonce": "0" 204 }, 205 "0xeB17ce701E9D92724AA2ABAdA7E4B28830597Dd9": { 206 "balance": "98999979000000000000", 207 "nonce": "1" 208 }, 209 "0x187Bd40226A7073b49163b1f6c2b73d8F2aa8478": { 210 "balance": "1000000000000000000", 211 "nonce": "0" 212 }, 213 "0xabCcEd19d7f290B84608feC510bEe872CC8F5112": { 214 "balance": "0", 215 "nonce": "0" 216 } 217 }, 218 "batchL2Data": "0xee80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808203e980801186622d03b6b8da7cf111d1ccba5bb185c56deae6a322cebc6dda0556f3cb9700910c26408b64b51c5da36ba2f38ef55ba1cee719d5a6c012259687999074321bef80843b9aca00830186a094187bd40226a7073b49163b1f6c2b73d8f2aa8478893635c9adc5dea00000808203e980804c4fbe884ee8912360f4d00199fd189f11b27fa25eca1b9dcfd3ea686e88042e113432240c9e7be8de1e8fc0894b68ff4d37528d820814527b5fa2bd034ef38f1bee80843b9aca00830186a094187bd40226a7073b49163b1f6c2b73d8f2aa8478880de0b6b3a7640000808203e8808074ecb6abb3d84c322a4905c60199b8f422b79b940e8a853d580869268009ae3123fb6caa5b3afc410b79d9b68bf851df1fd46fd6923cc481b3e273aeb92ce67d1cee80843b9aca00830186a094abcced19d7f290b84608fec510bee872cc8f5112880de0b6b3a7640000808203e98080980717290b2314a735dc00db207c20d5a6461f73761c2022986fd78efa7e774d57de08eada05ec67eb78cceaa7be257cb12b5449aa0d7347dca655f94375c9671bee80843b9aca00830186a094abcced19d7f290b84608fec510bee872cc8f5112880de0b6b3a764000080820d058080d78fe650ae7e2f7c909ad72f661bfe72aa2d502f9f2bbfad3880a4a7e0abf8986b98f2a902dd06a89f948baa64f32d301d3ced92d231ccdea79f909a73aa050f1b", 219 "globalExitRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", 220 "newLocalExitRoot": "0x17c04c3760510b48c6012742c540a81aba4bca2f78b9d14bfd2f123e2e53ea3e", 221 "inputHash": "0xc73f96aeb18f5f2ea748b1d419ea9f54ce14786b808411ff45940c96c4180478", 222 "batchHashData": "0x60f52a72fc8220735aed08989d658d2c8aa1bc3d017752efe8af362ce706accb", 223 "oldLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", 224 "timestamp": 1944498031, 225 "receipts": [ 226 { 227 "txId": 0, 228 "receipt": { 229 "transactionHash": "0x0cc3dd49b941271b19df83ba6733bed4023fb82c28d40e6ef863ca589d4a933a", 230 "transactionIndex": 0, 231 "blockNumber": 0, 232 "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", 233 "to": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", 234 "cumulativeGasUsed": 21000, 235 "gasUsedForTx": 21000, 236 "contractAddress": null, 237 "logs": 0, 238 "logsBloom": 0, 239 "status": 1, 240 "blockHash": "0x32de95cb8e6999c4973e1e9aae4460406ba8ef3549c52780e00daa3f747dcd5c" 241 } 242 }, 243 { 244 "txId": 2, 245 "receipt": { 246 "transactionHash": "0x757a5aa97e795d4742a9b8cd7c8f4b203c380d361635a72f94fd1d0d44544bac", 247 "transactionIndex": 1, 248 "blockNumber": 0, 249 "from": "0xeB17ce701E9D92724AA2ABAdA7E4B28830597Dd9", 250 "to": "0x187Bd40226A7073b49163b1f6c2b73d8F2aa8478", 251 "cumulativeGasUsed": 42000, 252 "gasUsedForTx": 21000, 253 "contractAddress": null, 254 "logs": 0, 255 "logsBloom": 0, 256 "status": 1, 257 "blockHash": "0x32de95cb8e6999c4973e1e9aae4460406ba8ef3549c52780e00daa3f747dcd5c" 258 } 259 } 260 ], 261 "blockInfo": { 262 "blockNumber": 0, 263 "gasUsedForTx": 21000, 264 "blockGasLimit": 30000000, 265 "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000", 266 "txHashRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", 267 "receiptRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", 268 "timestamp": 1944498031 269 } 270 }, 271 { 272 "id": 2, 273 "description": "2 accounts and 1 invalid tx (tx with more value than balance). Old root equals new root.", 274 "arity": 4, 275 "chainIdSequencer": 1001, 276 "defaultChainId": 1000, 277 "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", 278 "sequencerPvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", 279 "genesis": [ 280 { 281 "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", 282 "nonce": "0", 283 "balance": "100000000000000000000", 284 "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e" 285 }, 286 { 287 "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", 288 "nonce": "0", 289 "balance": "200000000000000000000", 290 "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23" 291 } 292 ], 293 "expectedOldRoot": "0xbdde84a5932a2f0a1a4c6c51f3b64ea265d4f1461749298cfdd09b31122ce0d6", 294 "txs": [ 295 { 296 "id": 0, 297 "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", 298 "to": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", 299 "nonce": 0, 300 "value": "10000000000000000000000", 301 "gasLimit": 100000, 302 "gasPrice": "1000000000", 303 "chainId": 1001, 304 "rawTx": "0xf87080843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff8a021e19e0c9bab2400000808207f5a0510a8a10721e65bf2913889751f3b32de1cb4733a667e06b708f122965da598ea075ca7d27cb4c3846490b4c446605d0120b0720b70dfe5a07f865a161c3726322", 305 "customRawTx": "0xf080843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff8a021e19e0c9bab2400000808203e98080510a8a10721e65bf2913889751f3b32de1cb4733a667e06b708f122965da598e75ca7d27cb4c3846490b4c446605d0120b0720b70dfe5a07f865a161c37263221b", 306 "reason": "TX INVALID: Not enough funds to pay total transaction cost" 307 } 308 ], 309 "expectedNewRoot": "0xbdde84a5932a2f0a1a4c6c51f3b64ea265d4f1461749298cfdd09b31122ce0d6", 310 "expectedNewLeafs": { 311 "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D": { 312 "balance": "100000000000000000000", 313 "nonce": "0" 314 }, 315 "0x4d5Cf5032B2a844602278b01199ED191A86c93ff": { 316 "balance": "200000000000000000000", 317 "nonce": "0" 318 } 319 }, 320 "batchL2Data": "0xf080843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff8a021e19e0c9bab2400000808203e98080510a8a10721e65bf2913889751f3b32de1cb4733a667e06b708f122965da598e75ca7d27cb4c3846490b4c446605d0120b0720b70dfe5a07f865a161c37263221b", 321 "globalExitRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", 322 "newLocalExitRoot": "0x17c04c3760510b48c6012742c540a81aba4bca2f78b9d14bfd2f123e2e53ea3e", 323 "inputHash": "0xf2504d451bd3eed2aec077c2f5942de1612a2d4a032fbb06a927dc5dbbc6e73a", 324 "batchHashData": "0x7d828641885688648e7b9d8dd8978c7b2627acf37e4d862a4dc8eca209693560", 325 "oldLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", 326 "timestamp": 1944498031, 327 "receipts": [], 328 "blockInfo": { 329 "blockNumber": 0, 330 "gasUsedForTx": 21000, 331 "blockGasLimit": 30000000, 332 "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000", 333 "txHashRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", 334 "receiptRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", 335 "timestamp": 1944498031 336 } 337 }, 338 { 339 "id": 3, 340 "description": "2 accounts and 2 invalid transactions. Tx with same amount than balance and tx with invalid chain id (different chain id than sequencer). Old root equals new root", 341 "arity": 4, 342 "chainIdSequencer": 1001, 343 "defaultChainId": 1000, 344 "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", 345 "sequencerPvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", 346 "genesis": [ 347 { 348 "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", 349 "nonce": "0", 350 "balance": "100000000000000000000", 351 "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e" 352 }, 353 { 354 "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", 355 "nonce": "0", 356 "balance": "200000000000000000000", 357 "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23" 358 } 359 ], 360 "expectedOldRoot": "0xbdde84a5932a2f0a1a4c6c51f3b64ea265d4f1461749298cfdd09b31122ce0d6", 361 "txs": [ 362 { 363 "id": 0, 364 "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", 365 "to": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", 366 "nonce": 0, 367 "value": "100000000000000000", 368 "gasLimit": 100000, 369 "gasPrice": "1000000000", 370 "chainId": 401, 371 "rawTx": "0xf86e80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a000080820346a06e209c61ca92c2b980d6197e7ac9ccc3f547bf13be6455dfe682aa5dda9655efa016819a7edcc3fefec81ca97c7a6f3d10ec774440e409adbba693ce8b698d41f1", 372 "customRawTx": "0xee80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a00008082019180806e209c61ca92c2b980d6197e7ac9ccc3f547bf13be6455dfe682aa5dda9655ef16819a7edcc3fefec81ca97c7a6f3d10ec774440e409adbba693ce8b698d41f11c", 373 "reason": "TX INVALID: Chain ID does not match" 374 }, 375 { 376 "id": 3, 377 "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", 378 "to": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", 379 "nonce": 0, 380 "value": "100000000000000000000", 381 "gasLimit": 100000, 382 "gasPrice": "1000000000", 383 "chainId": 1001, 384 "rawTx": "0xf86f80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff89056bc75e2d63100000808207f5a0fe1e96b35c836fbebac887681150c5fc9fdae862d747aaaf8c30373c0becf769a01ff0c900aaaac6d1565a603f69b5a45f222ed205f0a36fdc6e4e4c5a7b88d45b", 385 "customRawTx": "0xef80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff89056bc75e2d63100000808203e98080fe1e96b35c836fbebac887681150c5fc9fdae862d747aaaf8c30373c0becf7691ff0c900aaaac6d1565a603f69b5a45f222ed205f0a36fdc6e4e4c5a7b88d45b1b", 386 "reason": "TX INVALID: Not enough funds to pay total transaction cost" 387 } 388 ], 389 "expectedNewRoot": "0xbdde84a5932a2f0a1a4c6c51f3b64ea265d4f1461749298cfdd09b31122ce0d6", 390 "expectedNewLeafs": { 391 "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D": { 392 "balance": "100000000000000000000", 393 "nonce": "0" 394 }, 395 "0x4d5Cf5032B2a844602278b01199ED191A86c93ff": { 396 "balance": "200000000000000000000", 397 "nonce": "0" 398 } 399 }, 400 "batchL2Data": "0xee80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a00008082019180806e209c61ca92c2b980d6197e7ac9ccc3f547bf13be6455dfe682aa5dda9655ef16819a7edcc3fefec81ca97c7a6f3d10ec774440e409adbba693ce8b698d41f11cef80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff89056bc75e2d63100000808203e98080fe1e96b35c836fbebac887681150c5fc9fdae862d747aaaf8c30373c0becf7691ff0c900aaaac6d1565a603f69b5a45f222ed205f0a36fdc6e4e4c5a7b88d45b1b", 401 "globalExitRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", 402 "newLocalExitRoot": "0x17c04c3760510b48c6012742c540a81aba4bca2f78b9d14bfd2f123e2e53ea3e", 403 "inputHash": "0x96e05e9f60038c40c9b91af035e660aec2e2ee604e3a61aab1a31157746645bc", 404 "batchHashData": "0xede443c6a76851cd129176ea5fa92143c892688bd38342d336fc02bd8c252023", 405 "oldLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", 406 "timestamp": 1944498031, 407 "receipts": [], 408 "blockInfo": { 409 "blockNumber": 0, 410 "gasUsedForTx": 21000, 411 "blockGasLimit": 30000000, 412 "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000", 413 "txHashRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", 414 "receiptRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", 415 "timestamp": 1944498031 416 } 417 }, 418 { 419 "id": 4, 420 "description": "2 accounts and 1 invalid transaction. Wrong encode of the tx (invalid signature). Old root equals new root", 421 "arity": 4, 422 "chainIdSequencer": 1001, 423 "defaultChainId": 1000, 424 "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", 425 "sequencerPvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", 426 "genesis": [ 427 { 428 "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", 429 "nonce": "0", 430 "balance": "100000000000000000000", 431 "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e" 432 }, 433 { 434 "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", 435 "nonce": "0", 436 "balance": "200000000000000000000", 437 "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23" 438 } 439 ], 440 "expectedOldRoot": "0xbdde84a5932a2f0a1a4c6c51f3b64ea265d4f1461749298cfdd09b31122ce0d6", 441 "txs": [ 442 { 443 "id": 0, 444 "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", 445 "to": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", 446 "nonce": 0, 447 "value": "100000000000000000", 448 "gasLimit": 100000, 449 "gasPrice": "1000000000", 450 "chainId": 1001, 451 "rawTx": "0xf86e80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808207f5a01186622d03b6b8da7cf111d1ccba5bb185c56deae6a322cebc6dda0556f3cb97a019683074bcc81dba07fad2ac4015cf2eba4807c1aa1a8d291e77317a45fc2023", 452 "overwrite": { 453 "s": "0x19683074bcc81dba07fad2ac4015cf2eba4807c1aa1a8d291e77317a45fc2023" 454 }, 455 "customRawTx": "0xee80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808203e980801186622d03b6b8da7cf111d1ccba5bb185c56deae6a322cebc6dda0556f3cb9719683074bcc81dba07fad2ac4015cf2eba4807c1aa1a8d291e77317a45fc20231b", 456 "reason": "TX INVALID: Not enough funds to pay total transaction cost" 457 } 458 ], 459 "expectedNewRoot": "0xbdde84a5932a2f0a1a4c6c51f3b64ea265d4f1461749298cfdd09b31122ce0d6", 460 "expectedNewLeafs": { 461 "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D": { 462 "balance": "100000000000000000000", 463 "nonce": "0" 464 }, 465 "0x4d5Cf5032B2a844602278b01199ED191A86c93ff": { 466 "balance": "200000000000000000000", 467 "nonce": "0" 468 } 469 }, 470 "batchL2Data": "0xee80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808203e980801186622d03b6b8da7cf111d1ccba5bb185c56deae6a322cebc6dda0556f3cb9719683074bcc81dba07fad2ac4015cf2eba4807c1aa1a8d291e77317a45fc20231b", 471 "globalExitRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", 472 "newLocalExitRoot": "0x17c04c3760510b48c6012742c540a81aba4bca2f78b9d14bfd2f123e2e53ea3e", 473 "inputHash": "0x544971e11c46494b592741b656ad19513f33f1946bff2aadfa8eee1ea3e5ebe9", 474 "batchHashData": "0xb9c0cb7695d04dd27b85bb2a78845f14adeab04d91c3d959b92cde3127b4959f", 475 "oldLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", 476 "timestamp": 1944498031, 477 "receipts": [], 478 "blockInfo": { 479 "blockNumber": 0, 480 "gasUsedForTx": 21000, 481 "blockGasLimit": 30000000, 482 "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000", 483 "txHashRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", 484 "receiptRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", 485 "timestamp": 1944498031 486 } 487 }, 488 { 489 "id": 5, 490 "description": "2 accounts and 3 valid transaction.", 491 "arity": 4, 492 "chainIdSequencer": 1001, 493 "defaultChainId": 1000, 494 "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", 495 "sequencerPvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", 496 "genesis": [ 497 { 498 "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", 499 "nonce": "0", 500 "balance": "100000000000000000000", 501 "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e" 502 }, 503 { 504 "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", 505 "nonce": "0", 506 "balance": "200000000000000000000", 507 "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23" 508 } 509 ], 510 "expectedOldRoot": "0xbdde84a5932a2f0a1a4c6c51f3b64ea265d4f1461749298cfdd09b31122ce0d6", 511 "txs": [ 512 { 513 "id": 0, 514 "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", 515 "to": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", 516 "nonce": 0, 517 "value": "100000000000000000", 518 "gasLimit": 100000, 519 "gasPrice": "1000000000", 520 "chainId": 1001, 521 "rawTx": "0xf86d80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808207f5a01186622d03b6b8da7cf111d1ccba5bb185c56deae6a322cebc6dda0556f3cb979f910c26408b64b51c5da36ba2f38ef55ba1cee719d5a6c01225968799907432", 522 "customRawTx": "0xee80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808203e980801186622d03b6b8da7cf111d1ccba5bb185c56deae6a322cebc6dda0556f3cb9700910c26408b64b51c5da36ba2f38ef55ba1cee719d5a6c012259687999074321b", 523 "reason": "" 524 }, 525 { 526 "id": 1, 527 "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", 528 "to": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", 529 "nonce": 1, 530 "value": "100000000000000000", 531 "gasLimit": 100000, 532 "gasPrice": "1000000000", 533 "chainId": 1001, 534 "rawTx": "0xf86e01843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808207f6a0b09a953b4dccf40c7333ed1a1df6fda10a18d01d7c4320b05f7680b34837b3bda0421af00d0c99bb1b4d346d99f3634f46fba700dbc57908d3bfa647cbfbcb81a3", 535 "customRawTx": "0xee01843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808203e98080b09a953b4dccf40c7333ed1a1df6fda10a18d01d7c4320b05f7680b34837b3bd421af00d0c99bb1b4d346d99f3634f46fba700dbc57908d3bfa647cbfbcb81a31c", 536 "reason": "" 537 }, 538 { 539 "id": 2, 540 "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", 541 "to": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", 542 "nonce": 2, 543 "value": "100000000000000000", 544 "gasLimit": 100000, 545 "gasPrice": "1000000000", 546 "chainId": 1001, 547 "rawTx": "0xf86e02843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808207f6a07d6892a0b642053f641a040c5ba59132983cb41af9887cf01f5b132313d68d0fa03c77a17d738c8d850a27fe7276b2c73e006b0e52938d960d7b6931dff1f49c97", 548 "customRawTx": "0xee02843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808203e980807d6892a0b642053f641a040c5ba59132983cb41af9887cf01f5b132313d68d0f3c77a17d738c8d850a27fe7276b2c73e006b0e52938d960d7b6931dff1f49c971c", 549 "reason": "" 550 } 551 ], 552 "expectedNewRoot": "0xcf833710cbe9ef610c5385b1f950177434e236eb971b771f5ea656fa3fb64216", 553 "expectedNewLeafs": { 554 "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D": { 555 "balance": "99700000000000000000", 556 "nonce": "3" 557 }, 558 "0x4d5Cf5032B2a844602278b01199ED191A86c93ff": { 559 "balance": "200300000000000000000", 560 "nonce": "0" 561 } 562 }, 563 "batchL2Data": "0xee80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808203e980801186622d03b6b8da7cf111d1ccba5bb185c56deae6a322cebc6dda0556f3cb9700910c26408b64b51c5da36ba2f38ef55ba1cee719d5a6c012259687999074321bee01843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808203e98080b09a953b4dccf40c7333ed1a1df6fda10a18d01d7c4320b05f7680b34837b3bd421af00d0c99bb1b4d346d99f3634f46fba700dbc57908d3bfa647cbfbcb81a31cee02843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808203e980807d6892a0b642053f641a040c5ba59132983cb41af9887cf01f5b132313d68d0f3c77a17d738c8d850a27fe7276b2c73e006b0e52938d960d7b6931dff1f49c971c", 564 "globalExitRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", 565 "newLocalExitRoot": "0x17c04c3760510b48c6012742c540a81aba4bca2f78b9d14bfd2f123e2e53ea3e", 566 "inputHash": "0x2b06935c61b3ad0ebbb32aff65e75babc188530573937ffbb10ca7bced6b0b3c", 567 "batchHashData": "0xfe58265c6da0fbbefd3549a2f32914f83fe7314736cc04dd03dd8391f7e739d2", 568 "oldLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", 569 "timestamp": 1944498031, 570 "receipts": [ 571 { 572 "txId": 0, 573 "receipt": { 574 "transactionHash": "0x0cc3dd49b941271b19df83ba6733bed4023fb82c28d40e6ef863ca589d4a933a", 575 "transactionIndex": 0, 576 "blockNumber": 0, 577 "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", 578 "to": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", 579 "cumulativeGasUsed": 21000, 580 "gasUsedForTx": 21000, 581 "contractAddress": null, 582 "logs": 0, 583 "logsBloom": 0, 584 "status": 1, 585 "blockHash": "0xcafe0ae6ebaea4ace5f2e06d0c543b5566ba475f98ac547a3a84d6330bbfc9d9" 586 } 587 }, 588 { 589 "txId": 1, 590 "receipt": { 591 "transactionHash": "0x6ff86864d7ffe1ea333e07e97dfb656bae10e4b704ffea3a9051a0fec0244e27", 592 "transactionIndex": 1, 593 "blockNumber": 0, 594 "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", 595 "to": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", 596 "cumulativeGasUsed": 42000, 597 "gasUsedForTx": 21000, 598 "contractAddress": null, 599 "logs": 0, 600 "logsBloom": 0, 601 "status": 1, 602 "blockHash": "0xcafe0ae6ebaea4ace5f2e06d0c543b5566ba475f98ac547a3a84d6330bbfc9d9" 603 } 604 }, 605 { 606 "txId": 2, 607 "receipt": { 608 "transactionHash": "0x231d86951783072c37976426fcf1609caae799571169f64b3b9c608910dca58c", 609 "transactionIndex": 2, 610 "blockNumber": 0, 611 "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", 612 "to": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", 613 "cumulativeGasUsed": 63000, 614 "gasUsedForTx": 21000, 615 "contractAddress": null, 616 "logs": 0, 617 "logsBloom": 0, 618 "status": 1, 619 "blockHash": "0xcafe0ae6ebaea4ace5f2e06d0c543b5566ba475f98ac547a3a84d6330bbfc9d9" 620 } 621 } 622 ], 623 "blockInfo": { 624 "blockNumber": 0, 625 "gasUsedForTx": 21000, 626 "blockGasLimit": 30000000, 627 "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000", 628 "txHashRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", 629 "receiptRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", 630 "timestamp": 1944498031 631 } 632 }, 633 { 634 "id": 6, 635 "description": "2 accounts and 3 invalid tx (tx with more value than balance). Old root equals new root.", 636 "arity": 4, 637 "chainIdSequencer": 1001, 638 "defaultChainId": 1000, 639 "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", 640 "sequencerPvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", 641 "genesis": [ 642 { 643 "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", 644 "nonce": "0", 645 "balance": "100000000000000000000", 646 "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e" 647 }, 648 { 649 "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", 650 "nonce": "0", 651 "balance": "200000000000000000000", 652 "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23" 653 } 654 ], 655 "expectedOldRoot": "0xbdde84a5932a2f0a1a4c6c51f3b64ea265d4f1461749298cfdd09b31122ce0d6", 656 "txs": [ 657 { 658 "id": 0, 659 "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", 660 "to": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", 661 "nonce": 0, 662 "value": "10000000000000000000000", 663 "gasLimit": 100000, 664 "gasPrice": "1000000000", 665 "chainId": 1001, 666 "rawTx": "0xf87080843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff8a021e19e0c9bab2400000808207f5a0510a8a10721e65bf2913889751f3b32de1cb4733a667e06b708f122965da598ea075ca7d27cb4c3846490b4c446605d0120b0720b70dfe5a07f865a161c3726322", 667 "customRawTx": "0xf080843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff8a021e19e0c9bab2400000808203e98080510a8a10721e65bf2913889751f3b32de1cb4733a667e06b708f122965da598e75ca7d27cb4c3846490b4c446605d0120b0720b70dfe5a07f865a161c37263221b", 668 "reason": "TX INVALID: Not enough funds to pay total transaction cost" 669 }, 670 { 671 "id": 1, 672 "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", 673 "to": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", 674 "nonce": 0, 675 "value": "10000000000000000000000", 676 "gasLimit": 100000, 677 "gasPrice": "1000000000", 678 "chainId": 1001, 679 "rawTx": "0xf87080843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff8a021e19e0c9bab2400000808207f5a0510a8a10721e65bf2913889751f3b32de1cb4733a667e06b708f122965da598ea075ca7d27cb4c3846490b4c446605d0120b0720b70dfe5a07f865a161c3726322", 680 "customRawTx": "0xf080843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff8a021e19e0c9bab2400000808203e98080510a8a10721e65bf2913889751f3b32de1cb4733a667e06b708f122965da598e75ca7d27cb4c3846490b4c446605d0120b0720b70dfe5a07f865a161c37263221b", 681 "reason": "TX INVALID: Not enough funds to pay total transaction cost" 682 }, 683 { 684 "id": 2, 685 "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", 686 "to": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", 687 "nonce": 0, 688 "value": "10000000000000000000000", 689 "gasLimit": 100000, 690 "gasPrice": "1000000000", 691 "chainId": 1001, 692 "rawTx": "0xf87080843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff8a021e19e0c9bab2400000808207f5a0510a8a10721e65bf2913889751f3b32de1cb4733a667e06b708f122965da598ea075ca7d27cb4c3846490b4c446605d0120b0720b70dfe5a07f865a161c3726322", 693 "customRawTx": "0xf080843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff8a021e19e0c9bab2400000808203e98080510a8a10721e65bf2913889751f3b32de1cb4733a667e06b708f122965da598e75ca7d27cb4c3846490b4c446605d0120b0720b70dfe5a07f865a161c37263221b", 694 "reason": "TX INVALID: Not enough funds to pay total transaction cost" 695 } 696 ], 697 "expectedNewRoot": "0xbdde84a5932a2f0a1a4c6c51f3b64ea265d4f1461749298cfdd09b31122ce0d6", 698 "expectedNewLeafs": { 699 "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D": { 700 "balance": "100000000000000000000", 701 "nonce": "0" 702 }, 703 "0x4d5Cf5032B2a844602278b01199ED191A86c93ff": { 704 "balance": "200000000000000000000", 705 "nonce": "0" 706 } 707 }, 708 "batchL2Data": "0xf080843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff8a021e19e0c9bab2400000808203e98080510a8a10721e65bf2913889751f3b32de1cb4733a667e06b708f122965da598e75ca7d27cb4c3846490b4c446605d0120b0720b70dfe5a07f865a161c37263221bf080843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff8a021e19e0c9bab2400000808203e98080510a8a10721e65bf2913889751f3b32de1cb4733a667e06b708f122965da598e75ca7d27cb4c3846490b4c446605d0120b0720b70dfe5a07f865a161c37263221bf080843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff8a021e19e0c9bab2400000808203e98080510a8a10721e65bf2913889751f3b32de1cb4733a667e06b708f122965da598e75ca7d27cb4c3846490b4c446605d0120b0720b70dfe5a07f865a161c37263221b", 709 "globalExitRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", 710 "newLocalExitRoot": "0x17c04c3760510b48c6012742c540a81aba4bca2f78b9d14bfd2f123e2e53ea3e", 711 "inputHash": "0x899b298f322ba7d5c81e9e175ad2f752ee8de0aa04dbf1427bf107b8a51bc6b0", 712 "batchHashData": "0xe3de819937586c66bb4ff7f2f5e5eff66aab5050e32ef03fcc3a8015869c700f", 713 "oldLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", 714 "timestamp": 1944498031, 715 "receipts": [], 716 "blockInfo": { 717 "blockNumber": 0, 718 "gasUsedForTx": 21000, 719 "blockGasLimit": 30000000, 720 "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000", 721 "txHashRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", 722 "receiptRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", 723 "timestamp": 1944498031 724 } 725 }, 726 { 727 "id": 7, 728 "description": "2 accounts and 0 txs. Old root equals new root.", 729 "arity": 4, 730 "chainIdSequencer": 1001, 731 "defaultChainId": 1000, 732 "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", 733 "sequencerPvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", 734 "genesis": [ 735 { 736 "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", 737 "nonce": "0", 738 "balance": "100000000000000000000", 739 "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e" 740 }, 741 { 742 "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", 743 "nonce": "0", 744 "balance": "200000000000000000000", 745 "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23" 746 } 747 ], 748 "expectedOldRoot": "0xbdde84a5932a2f0a1a4c6c51f3b64ea265d4f1461749298cfdd09b31122ce0d6", 749 "txs": [], 750 "expectedNewRoot": "0xbdde84a5932a2f0a1a4c6c51f3b64ea265d4f1461749298cfdd09b31122ce0d6", 751 "expectedNewLeafs": { 752 "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D": { 753 "balance": "100000000000000000000", 754 "nonce": "0" 755 }, 756 "0x4d5Cf5032B2a844602278b01199ED191A86c93ff": { 757 "balance": "200000000000000000000", 758 "nonce": "0" 759 } 760 }, 761 "batchL2Data": "0x", 762 "globalExitRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", 763 "newLocalExitRoot": "0x17c04c3760510b48c6012742c540a81aba4bca2f78b9d14bfd2f123e2e53ea3e", 764 "inputHash": "0xaf9400acdf7fa66e70a6dcfed831bbd9e66f7452f28c06209adc4e6ada5a74b4", 765 "batchHashData": "0x75aad5d25c5617c0a33a3d0831c48d429c6d394bf31a58ebeff3640e8f235a92", 766 "oldLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", 767 "timestamp": 1944498031, 768 "receipts": [], 769 "blockInfo": { 770 "blockNumber": 0, 771 "gasUsedForTx": 21000, 772 "blockGasLimit": 30000000, 773 "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000", 774 "txHashRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", 775 "receiptRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", 776 "timestamp": 1944498031 777 } 778 } 779 ]