diff --git a/core/vm/virtual_counters_util.go b/core/vm/virtual_counters_util.go index e84969f88c2..2250a96c9b8 100644 --- a/core/vm/virtual_counters_util.go +++ b/core/vm/virtual_counters_util.go @@ -5,18 +5,11 @@ import ( "math/big" ) -var BASE = new(big.Int).Lsh(big.NewInt(1), 256) - func expectedModExpCounters(lenB, lenE, lenM int, B *big.Int, E *big.Int, M *big.Int) (*big.Int, *big.Int, *big.Int) { q_b_m := big.NewInt(0).Div(B, M) r_b_m := big.NewInt(0).Mod(B, M) - bsq := big.NewInt(0).Mul(B, B) - nz_bsq := newInt(0).SetUint64(uint64(2*lenB - computeLenThisBase(bsq))) - q_bsq_m := big.NewInt(0).Div(bsq, M) - r_bsq_m := big.NewInt(0).Mod(bsq, M) - bm := big.NewInt(0).Mul(B, M) - e2 := newInt(0).SetUint64(uint64(math.Floor(float64(lenE) / 2))) + lenQE2 := newInt(0).SetUint64(uint64(math.Floor(float64(lenE) / 2))) base := big.NewInt(0) nTimesOdd := big.NewInt(0) @@ -26,9 +19,9 @@ func expectedModExpCounters(lenB, lenE, lenM int, B *big.Int, E *big.Int, M *big } nTimesEven := big.NewInt(0).Mul(big.NewInt(0).SetUint64(uint64(lenE)), big.NewInt(256)) - stepFirstDiv, binaryFirstDiv, arithFirstDiv := setupAndFirstDivCounters(lenB, lenM, q_b_m, r_b_m, B, M) - stepHalfLoop, binaryHalfLoop, arithHalfLoop := halfLoopCounters(lenB, lenM, lenE, e2, q_bsq_m, r_bsq_m, bsq, M, nz_bsq) - stepFullLoop, binaryFullLoop, arithFullLoop := fullLoopCounters(lenB, lenM, lenE, e2, q_bsq_m, r_bsq_m, bm, M, bsq, nz_bsq) + stepFirstDiv, binaryFirstDiv, arithFirstDiv := setupAndFirstDivCounters(lenB, lenM, q_b_m, r_b_m) + stepHalfLoop, binaryHalfLoop, arithHalfLoop := halfLoopCounters(lenB, lenM, lenE, lenQE2) + stepFullLoop, binaryFullLoop, arithFullLoop := fullLoopCounters(lenB, lenM, lenE, lenQE2) steps := combineResults(nTimesOdd, nTimesEven, stepFirstDiv, stepHalfLoop, stepFullLoop) binary := combineResults(nTimesOdd, nTimesEven, binaryFirstDiv, binaryHalfLoop, binaryFullLoop) @@ -65,101 +58,64 @@ func computeLenThisBase(x *big.Int) int { return length } -func setupAndFirstDivCounters(lenB, lenM int, q_b_m, r_b_m, B, M *big.Int) (*big.Int, *big.Int, *big.Int) { - steps := newInt(218) - steps.Add(steps, newMul(newInt(39), newInt(lenB))) - steps.Add(steps, newMul(newInt(45), newInt(lenM))) - steps.Add(steps, newMul(newInt(computeLenThisBase(q_b_m)), newInt(30*30*lenM))) - steps.Add(steps, newMul(newInt(17), newInt(computeLenThisBase(r_b_m)))) - steps.Sub(steps, newMul(newInt(14), newInt(firstDiffChunk(B, M)))) - steps.Sub(steps, newMul(newInt(7), newInt(firstDiffChunk(M, r_b_m)))) - - binaries := newInt(12) - binaries.Add(binaries, newMul(newInt(6), newInt(lenB))) - binaries.Add(binaries, newMul(newInt(3), newInt(lenM))) - binaries.Add(binaries, newMul(newInt(computeLenThisBase(q_b_m)), newInt(1+4*lenM))) +func setupAndFirstDivCounters(lenB, lenM int, q_b_m, r_b_m *big.Int) (*big.Int, *big.Int, *big.Int) { + steps := newInt(84) + steps.Add(steps, newInt(2)) + steps.Add(steps, newMul(newInt(10), newInt(lenB))) + steps.Add(steps, newMul(newInt(3), newInt(lenM))) + steps.Add(steps, newMul(newInt(8+19*lenM), newInt(computeLenThisBase(q_b_m)))) + steps.Add(steps, newMul(newInt(12), newInt(computeLenThisBase(r_b_m)))) + + binaries := newInt(4) + binaries.Sub(binaries, newInt(lenM)) binaries.Add(binaries, newInt(computeLenThisBase(r_b_m))) - binaries.Sub(binaries, newMul(newInt(4), newInt(firstDiffChunk(B, M)))) - binaries.Sub(binaries, newMul(newInt(2), newInt(firstDiffChunk(M, r_b_m)))) + binaries.Add(binaries, newMul(newInt(2), newInt(computeLenThisBase(q_b_m)), newInt(lenM))) - ariths := newInt(1) - ariths.Add(ariths, newMul(newInt(computeLenThisBase(q_b_m)), newInt(lenM))) + ariths := newInt(lenM * computeLenThisBase(q_b_m)) return steps, binaries, ariths } -func halfLoopCounters(lenB, lenM, lenE int, E2, q_bsq_m, r_bsq_m, bsq, M, nz_bsq *big.Int) (*big.Int, *big.Int, *big.Int) { - steps := newInt(399) - steps.Add(steps, newMul(newInt(100), newInt(lenB))) - steps.Add(steps, newMul(newInt(61), newInt((lenB*(lenB+1))/2))) - steps.Add(steps, newMul(newInt(48), newInt(lenM))) - steps.Add(steps, newMul(newInt(19), newInt(lenE))) - steps.Add(steps, newMul(newInt(44), E2)) - steps.Add(steps, newMul(newInt(computeLenThisBase(q_bsq_m)), newInt(30*30*lenM))) - steps.Add(steps, newMul(newInt(14), newInt(computeLenThisBase(r_bsq_m)))) - steps.Add(steps, newMul(newInt(14), newInt(firstDiffChunk(bsq, M)))) - steps.Sub(steps, newMul(newInt(14), newInt(firstDiffChunk(bsq, M)))) - steps.Sub(steps, newMul(newInt(7), newInt(firstDiffChunk(M, r_bsq_m)))) - steps.Sub(steps, newMul(newInt(5), nz_bsq)) - - binaries := newInt(23) - binaries.Add(binaries, newMul(newInt(14), newInt(lenB))) - binaries.Add(binaries, newMul(newInt(9), newInt((lenB*(lenB+1))/2))) - binaries.Add(binaries, newMul(newInt(3), newInt(lenM))) - binaries.Add(binaries, newMul(newInt(2), newInt(lenE))) - binaries.Add(binaries, newMul(newInt(3), E2)) - binaries.Add(binaries, newMul(newInt(computeLenThisBase(q_bsq_m)), newInt(1+4+lenM))) - binaries.Add(binaries, newInt(computeLenThisBase(r_bsq_m))) - binaries.Sub(binaries, newMul(newInt(4), newInt(firstDiffChunk(bsq, M)))) - binaries.Sub(binaries, newMul(newInt(2), newInt(firstDiffChunk(M, r_bsq_m)))) - binaries.Sub(binaries, nz_bsq) - - ariths := newInt(2) - ariths.Add(ariths, newInt(lenB)) - ariths.Add(ariths, newInt((lenB*(lenB+1))/2)) - ariths.Add(ariths, E2) - ariths.Add(ariths, newMul(newInt(computeLenThisBase(q_bsq_m)), newInt(lenM))) +func halfLoopCounters(lenB, lenM, lenE int, lenQE2 *big.Int) (*big.Int, *big.Int, *big.Int) { + steps := newInt(153) + steps.Add(steps, newMul(newInt(82), newInt(lenM))) + steps.Add(steps, newMul(newInt(6), newInt(lenE))) + steps.Add(steps, newInt((80*lenM*(lenM-1))/2)) + steps.Add(steps, newMul(newInt(19), newInt(lenM*lenM))) + steps.Add(steps, newMul(newInt(25), lenQE2)) + + binaries := newInt(9) + binaries.Add(binaries, newMul(newInt(6), newInt(lenM))) + binaries.Add(binaries, newInt((23*lenM*(lenM-1))/2)) + binaries.Add(binaries, newMul(newInt(2), newInt(lenM*lenM))) + binaries.Add(binaries, newMul(newInt(3), lenQE2)) + + ariths := newInt(-1) + ariths.Add(ariths, newMul(newInt(2), newInt(lenM))) + ariths.Add(ariths, newInt((2*lenM*(lenM-1))/2)) + ariths.Add(ariths, newInt(lenM*lenM)) return steps, binaries, ariths } -func fullLoopCounters(lenB, lenM, lenE int, E2, q_bsq_m, r_bsq_m, BM, M, bsq, nz_bsq *big.Int) (*big.Int, *big.Int, *big.Int) { - steps := newInt(674) - steps.Add(steps, newMul(newInt(180), newInt(lenB))) - steps.Add(steps, newMul(newInt(61), newInt((lenB*(lenB+1))/2))) - steps.Add(steps, newMul(newInt(149), newInt(lenM))) - steps.Add(steps, newMul(newInt(19), newInt(lenE))) - steps.Add(steps, newMul(newInt(44), E2)) - steps.Add(steps, newMul(newInt(66), newInt(lenB), newInt(lenM))) - steps.Add(steps, newMul(newInt(computeLenThisBase(q_bsq_m)), newInt(30*30*lenM))) - steps.Add(steps, newMul(newInt(14), newInt(computeLenThisBase(r_bsq_m)))) - steps.Sub(steps, newMul(newInt(14), newInt(firstDiffChunk(BM, M)))) - steps.Sub(steps, newMul(newInt(14), newInt(firstDiffChunk(bsq, M)))) - steps.Sub(steps, newMul(newInt(7), newInt(firstDiffChunk(M, newInt(0))))) - steps.Sub(steps, newMul(newInt(7), newInt(firstDiffChunk(M, r_bsq_m)))) - steps.Sub(steps, newMul(newInt(5), nz_bsq)) - - binaries := newInt(36) - binaries.Add(binaries, newMul(newInt(21), newInt(lenB))) - binaries.Add(binaries, newMul(newInt(9), newInt((lenB*(lenB+1))/2))) - binaries.Add(binaries, newMul(newInt(12), newInt(lenM))) - binaries.Add(binaries, newMul(newInt(2), newInt(lenE))) - binaries.Add(binaries, newMul(newInt(3), E2)) - binaries.Add(binaries, newMul(newInt(8), newInt(lenB), newInt(lenM))) - binaries.Add(binaries, newMul(newInt(computeLenThisBase(q_bsq_m)), newInt(1+4*lenM))) - binaries.Add(binaries, newInt(computeLenThisBase(r_bsq_m))) - binaries.Sub(binaries, newMul(newInt(4), newInt(firstDiffChunk(BM, M)))) - binaries.Sub(binaries, newMul(newInt(4), newInt(firstDiffChunk(bsq, M)))) - binaries.Sub(binaries, newMul(newInt(2), newInt(firstDiffChunk(M, newInt(0))))) - binaries.Sub(binaries, newMul(newInt(2), newInt(firstDiffChunk(M, r_bsq_m)))) - binaries.Sub(binaries, nz_bsq) - - ariths := newInt(4) - ariths.Add(ariths, newInt(lenB)) - ariths.Add(ariths, newInt((lenB*(lenB+1))/2)) - ariths.Add(ariths, E2) - ariths.Add(ariths, newMul(newInt(2), newInt(lenB), newInt(lenM))) - ariths.Add(ariths, newMul(newInt(computeLenThisBase(q_bsq_m)), newInt(lenM))) +func fullLoopCounters(lenB, lenM, lenE int, lenQE2 *big.Int) (*big.Int, *big.Int, *big.Int) { + steps := newInt(263) + steps.Add(steps, newMul(newInt(114), newInt(lenM))) + steps.Add(steps, newMul(newInt(6), newInt(lenE))) + steps.Add(steps, newInt((80*lenM*(lenM-1))/2)) + steps.Add(steps, newMul(newInt(57), newInt(lenM*lenM))) + steps.Add(steps, newMul(newInt(25), lenQE2)) + + binaries := newInt(17) + binaries.Add(binaries, newMul(newInt(3), newInt(lenM))) + binaries.Add(binaries, newInt((23*lenM*(lenM-1))/2)) + binaries.Add(binaries, newMul(newInt(6), newInt(lenM*lenM))) + binaries.Add(binaries, newMul(newInt(3), lenQE2)) + + ariths := newInt(-1) + ariths.Add(ariths, newMul(newInt(2), newInt(lenM))) + ariths.Add(ariths, newInt((2*lenM*(lenM-1))/2)) + ariths.Add(ariths, newMul(newInt(3), newInt(lenM*lenM))) return steps, binaries, ariths } @@ -175,24 +131,3 @@ func newMul(x *big.Int, vals ...*big.Int) *big.Int { } return res } - -func firstDiffChunk(x, y *big.Int) int { - xLen := computeLenThisBase(x) - yLen := computeLenThisBase(y) - - if xLen != yLen { - return xLen - } - - i := xLen - 1 - mask := new(big.Int).SetBytes([]byte{0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff}) - for ; i >= 0; i-- { - xShifted := new(big.Int).Rsh(x, uint(i)*256) - yShifted := new(big.Int).Rsh(y, uint(i)*256) - if new(big.Int).And(xShifted, mask).Cmp(new(big.Int).And(yShifted, mask)) != 0 { - break - } - } - - return i + 1 -} diff --git a/zk/tests/testdata/benchmark-keccaks-fork13.json b/zk/tests/testdata/benchmark-keccaks-fork13.json new file mode 100644 index 00000000000..fcdd0d45f98 --- /dev/null +++ b/zk/tests/testdata/benchmark-keccaks-fork13.json @@ -0,0 +1,121 @@ +[ + { + "id": 0, + "description": "Tx for keccaks benchmarks", + "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "sequencerPvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "genesis": [ + { + "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "nonce": "0", + "balance": "100000000000000000000", + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e" + }, + { + "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": "0", + "balance": "200000000000000000000", + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23" + }, + { + "address": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "1", + "balance": "0", + "bytecode": "0x608060405234801561001057600080fd5b506004361061002b5760003560e01c8063c1171f2314610030575b600080fd5b61004a600480360381019061004591906100f1565b610060565b6040516100579190610137565b60405180910390f35b6000806040518060600160405280604081526020016101cb604091399050600080600090505b848110156100ab578280519060200120915080806100a390610181565b915050610086565b508092505050919050565b600080fd5b6000819050919050565b6100ce816100bb565b81146100d957600080fd5b50565b6000813590506100eb816100c5565b92915050565b600060208284031215610107576101066100b6565b5b6000610115848285016100dc565b91505092915050565b6000819050919050565b6101318161011e565b82525050565b600060208201905061014c6000830184610128565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061018c826100bb565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156101bf576101be610152565b5b60018201905091905056fe68656c6c6f776f726c6468656c6c6f776f726c6468656c6c6f776f726c6468656c6c6f776f726c6468656c6c6f776f726c6468656c6c6f776f726c6431323334a2646970667358221220b269f4e4dcbb2fa953e2720742d09c9128810d3666ea6c4875ef091f392267be64736f6c63430008090033", + "abi": [ + { + "inputs": [ + { + "internalType": "uint256", + "name": "count", + "type": "uint256" + } + ], + "name": "testKeccak256Hash", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function" + } + ], + "storage": {} + } + ], + "expectedOldRoot": "0x900b1009adeb5c278d0aceac46f41a107d41349b74852fb9159e7df0ba3df7b6", + "txs": [ + { + "type": 11, + "deltaTimestamp": "1944498031", + "l1Info": { + "globalExitRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "blockHash": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb", + "timestamp": "42" + }, + "indexL1InfoTree": 0 + }, + { + "from": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "0", + "value": "0", + "data": "0xc1171f23000000000000000000000000000000000000000000000000000000000000000a", + "gasLimit": 1000000, + "gasPrice": "1", + "chainId": 1000 + } + ], + "expectedNewRoot": "0x08f118bed2c658f4ac5133a247ae825fbff95edf5126d98c407eb97e23fa31ed", + "expectedNewLeafs": { + "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D": { + "balance": "100000000000000024345", + "nonce": "0", + "storage": null + }, + "0x4d5Cf5032B2a844602278b01199ED191A86c93ff": { + "balance": "199999999999999975655", + "nonce": "1", + "storage": null + }, + "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98": { + "balance": "0", + "nonce": "1", + "storage": {}, + "hashBytecode": "0xeb6089487fdd09def5002ce37d81574ad6a96c66f126a647491055c5ab81ad8f", + "bytecodeLength": 576 + }, + "0x000000000000000000000000000000005ca1ab1e": { + "balance": "0", + "nonce": "0", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x73e6af6f", + "0xa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49": "0x900b1009adeb5c278d0aceac46f41a107d41349b74852fb9159e7df0ba3df7b6", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0x567d6301f8bf5156f715832895cfbc343ad055db28fdaa7c399aef6f6171382b" + } + } + }, + "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "batchHashData": "0x75fb978203dbdebe3bb79964cd075475493f6daec52a0feb64e5f9b87b19aec8", + "batchL2Data": "0x0b73e6af6f00000000f8468001830f4240941275fbb540c8efc58b812ba83b0d0b8b9917ae9880a4c1171f23000000000000000000000000000000000000000000000000000000000000000a8203e880800d9e6d7a26b75d607d384f9ae58bc4ad92e092a5af9efc768c114ef8ebaab9f655b4cfd61939e4b838508e2f73baba13e4efc6d5af032c034070ad7128ec147f1bff", + "forkID": 13, + "l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "timestampLimit": "1944498031", + "chainID": 1000, + "oldAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "virtualCounters": { + "steps": 48968, + "arith": 949, + "binary": 2177, + "memAlign": 117, + "keccaks": 20, + "padding": 23, + "poseidon": 921, + "sha256": 0 + } + } +] diff --git a/zk/tests/testdata/block-info-fork13.json b/zk/tests/testdata/block-info-fork13.json new file mode 100644 index 00000000000..1f7244a837c --- /dev/null +++ b/zk/tests/testdata/block-info-fork13.json @@ -0,0 +1,227 @@ +[ + { + "id": 0, + "description": "Get timestamp", + "chainID": 1000, + "forkID": 13, + "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "sequencerPvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "genesis": [ + { + "balance": "0", + "nonce": "0", + "address": "0x0000000000000000000000000000000000000000" + }, + { + "balance": "0", + "nonce": "0", + "address": "0xAE4bB80bE56B819606589DE61d5ec3b522EEB032" + }, + { + "balance": "100000000000000000000", + "nonce": "1", + "address": "0x617b3a3528f9cdd6630fd3301b9c8911f7bf063d", + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e" + }, + { + "balance": "0", + "nonce": "1", + "address": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "bytecode": "0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c80637e773d9d1161008c578063b6baffe311610066578063b6baffe3146101cb578063d1123dde146101d5578063d1a82a9d146101f3578063e9413d38146101fd576100ea565b80637e773d9d14610171578063ab8fd80c1461018f578063ad357661146101ad576100ea565b80633e7ff47d116100c85780633e7ff47d1461010d57806346f223841461012b5780636d6516c014610149578063773a54d014610153576100ea565b8063188ec356146100ef5780631a93d1c3146100f95780633408e47014610103575b600080fd5b6100f7610219565b005b610101610222565b005b61010b61022b565b005b610115610234565b6040516101229190610380565b60405180910390f35b61013361023a565b6040516101409190610380565b60405180910390f35b610151610240565b005b61015b610249565b604051610168919061034a565b60405180910390f35b61017961026d565b6040516101869190610380565b60405180910390f35b610197610273565b6040516101a49190610365565b60405180910390f35b6101b5610279565b6040516101c29190610380565b60405180910390f35b6101d361027f565b005b6101dd610288565b6040516101ea9190610380565b60405180910390f35b6101fb61028e565b005b610217600480360381019061021291906102f0565b6102d0565b005b42600281905550565b45600581905550565b46600681905550565b60065481565b60045481565b43600381905550565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60025481565b60015481565b60035481565b44600481905550565b60055481565b416000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b804060018190555050565b6000813590506102ea816103e6565b92915050565b600060208284031215610306576103056103e1565b5b6000610314848285016102db565b91505092915050565b6103268161039b565b82525050565b610335816103ad565b82525050565b610344816103d7565b82525050565b600060208201905061035f600083018461031d565b92915050565b600060208201905061037a600083018461032c565b92915050565b6000602082019050610395600083018461033b565b92915050565b60006103a6826103b7565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600080fd5b6103ef816103d7565b81146103fa57600080fd5b5056fea2646970667358221220f4bfc35d30f87a35fe2ea61a310a6a573fb75dd9533185535fefecae7354d46764736f6c63430008070033", + "storage": {}, + "contractName": "BlockInfo" + }, + { + "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23", + "balance": "200000000000000000000", + "nonce": "0" + } + ], + "expectedOldRoot": "0xf5c30bbb2b8a1bdd2b881cc575b2acbd13578c7cd64250fe8b6770fa95f915b3", + "txs": [ + { + "type": 11, + "deltaTimestamp": "1944498031", + "l1Info": { + "globalExitRoot": "0x16994edfddddb9480667b64174fc00d3b6da7290d37b8db3a16571b4ddf0789f", + "blockHash": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb", + "timestamp": "42" + }, + "indexL1InfoTree": 0, + "reason": "", + "customRawTx": "0x0b73e6af6f00000000" + }, + { + "from": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": 0, + "value": "0", + "contractName": "BlockInfo", + "function": "getTimestamp", + "params": [], + "chainId": 1000, + "reason": "", + "gasLimit": 100000, + "gasPrice": "1000000000", + "data": "0x188ec356", + "customRawTx": "0xea80843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae988084188ec3568203e880800a62ce9876e027f7a954f96c485c63c9bf043bd1fe1012c5634cf959bf7743190a601eedbcfef58146bdda9845fea5d9356b09d667010d557c73f83353a119a61cff", + "rawTx": "0xf86a80843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae988084188ec3568207f4a00a62ce9876e027f7a954f96c485c63c9bf043bd1fe1012c5634cf959bf774319a00a601eedbcfef58146bdda9845fea5d9356b09d667010d557c73f83353a119a6" + }, + { + "from": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": 1, + "value": "0", + "contractName": "BlockInfo", + "function": "getCoinbase", + "params": [], + "chainId": 1000, + "reason": "", + "gasLimit": 100000, + "gasPrice": "1000000000", + "data": "0xd1a82a9d", + "customRawTx": "0xea01843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae988084d1a82a9d8203e880803c696d27506eebe00e52cd1c327eefd2ebb8c7a5d5309118ad18381630b2a5d47971958df81d8daa0d393daddb17a250c294452078db34b22d9e5ee85d2482e81bff", + "rawTx": "0xf86a01843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae988084d1a82a9d8207f3a03c696d27506eebe00e52cd1c327eefd2ebb8c7a5d5309118ad18381630b2a5d4a07971958df81d8daa0d393daddb17a250c294452078db34b22d9e5ee85d2482e8" + }, + { + "from": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": 2, + "value": "0", + "contractName": "BlockInfo", + "function": "getBatchNumber", + "params": [], + "chainId": 1000, + "reason": "", + "gasLimit": 100000, + "gasPrice": "1000000000", + "data": "0x6d6516c0", + "customRawTx": "0xea02843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae9880846d6516c08203e88080db91fc325e867faa9625a5c7c152dfaf207a992b6eea855fcabe264f489b043a431f20ba77bd0269a6aedb6287118d383305d0dd677478209e60f6d3af3b17201cff", + "rawTx": "0xf86a02843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae9880846d6516c08207f4a0db91fc325e867faa9625a5c7c152dfaf207a992b6eea855fcabe264f489b043aa0431f20ba77bd0269a6aedb6287118d383305d0dd677478209e60f6d3af3b1720" + }, + { + "from": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": 3, + "value": "0", + "contractName": "BlockInfo", + "function": "getDifficulty", + "params": [], + "chainId": 1000, + "reason": "", + "gasLimit": 100000, + "gasPrice": "1000000000", + "data": "0xb6baffe3", + "customRawTx": "0xea03843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae988084b6baffe38203e88080e0c0469634b096c3b190713c8a8faa9c4fccc8b2d83cc8da056a897a28a616277c5bf403ce3a4c77cb0c6ca14cdd24d8fa785b4a0bde1500abba55db7df7483a1bff", + "rawTx": "0xf86a03843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae988084b6baffe38207f3a0e0c0469634b096c3b190713c8a8faa9c4fccc8b2d83cc8da056a897a28a61627a07c5bf403ce3a4c77cb0c6ca14cdd24d8fa785b4a0bde1500abba55db7df7483a" + }, + { + "from": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": 4, + "value": "0", + "contractName": "BlockInfo", + "function": "getGasLimit", + "params": [], + "chainId": 1000, + "reason": "", + "gasLimit": 100000, + "gasPrice": "1000000000", + "data": "0x1a93d1c3", + "customRawTx": "0xea04843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae9880841a93d1c38203e8808057c7bfa7288275d862a91776d6d05c2290058a42840f08108b8b157f139120ce565bc8d0b5291e949c1c87e2f829b76d6a5d15e767e61716d1095dcc7cb5b44d1cff", + "rawTx": "0xf86a04843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae9880841a93d1c38207f4a057c7bfa7288275d862a91776d6d05c2290058a42840f08108b8b157f139120cea0565bc8d0b5291e949c1c87e2f829b76d6a5d15e767e61716d1095dcc7cb5b44d" + }, + { + "from": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": 5, + "value": "0", + "contractName": "BlockInfo", + "function": "getChainId", + "params": [], + "chainId": 1000, + "reason": "", + "gasLimit": 100000, + "gasPrice": "1000000000", + "data": "0x3408e470", + "customRawTx": "0xea05843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae9880843408e4708203e88080e255f868a61169a2330cb539671e1a66ee846bc06cc888ea8fcd7ae51cdc62940c6dec27e6f756dd84923bcebb1f85db125299c0b622eaa8d5722cb3dace239d1cff", + "rawTx": "0xf86a05843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae9880843408e4708207f4a0e255f868a61169a2330cb539671e1a66ee846bc06cc888ea8fcd7ae51cdc6294a00c6dec27e6f756dd84923bcebb1f85db125299c0b622eaa8d5722cb3dace239d" + } + ], + "expectedNewRoot": "0xc0977690cbf20eb6572fbb5e985645202d11ff2a72eb4de0f8f27681d5a66286", + "expectedNewLeafs": { + "0x0000000000000000000000000000000000000000": { + "balance": "0", + "nonce": "0", + "storage": null, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + }, + "0xae4bb80be56b819606589de61d5ec3b522eeb032": { + "balance": "0", + "nonce": "0", + "storage": null, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + }, + "0x617b3a3528f9cdd6630fd3301b9c8911f7bf063d": { + "balance": "100000240372000000000", + "nonce": "1", + "storage": null, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + }, + "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98": { + "balance": "0", + "nonce": "1", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x617b3a3528f9cdd6630fd3301b9c8911f7bf063d", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x73e6af6f", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000005": "0x04000000000000", + "0x0000000000000000000000000000000000000000000000000000000000000006": "0x03e8" + }, + "hashBytecode": "0x3683afc3f35fba06b75ccdf2603d9a3c09f9dbda7b17994fc6cfc3e5f3cf40ef", + "bytecodeLength": 1075 + }, + "0x4d5cf5032b2a844602278b01199ed191a86c93ff": { + "balance": "199999759628000000000", + "nonce": "6", + "storage": null, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + }, + "0x000000000000000000000000000000005ca1ab1e": { + "balance": "0", + "nonce": "0", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x73e6af6f", + "0xa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49": "0xf5c30bbb2b8a1bdd2b881cc575b2acbd13578c7cd64250fe8b6770fa95f915b3", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0x81cc6788f89024054025830f27649b2aad385ce3b2dc5ee3dd29ee5c7811afaf" + }, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + } + }, + "batchL2Data": "0x0b73e6af6f00000000ea80843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae988084188ec3568203e880800a62ce9876e027f7a954f96c485c63c9bf043bd1fe1012c5634cf959bf7743190a601eedbcfef58146bdda9845fea5d9356b09d667010d557c73f83353a119a61cffea01843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae988084d1a82a9d8203e880803c696d27506eebe00e52cd1c327eefd2ebb8c7a5d5309118ad18381630b2a5d47971958df81d8daa0d393daddb17a250c294452078db34b22d9e5ee85d2482e81bffea02843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae9880846d6516c08203e88080db91fc325e867faa9625a5c7c152dfaf207a992b6eea855fcabe264f489b043a431f20ba77bd0269a6aedb6287118d383305d0dd677478209e60f6d3af3b17201cffea03843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae988084b6baffe38203e88080e0c0469634b096c3b190713c8a8faa9c4fccc8b2d83cc8da056a897a28a616277c5bf403ce3a4c77cb0c6ca14cdd24d8fa785b4a0bde1500abba55db7df7483a1bffea04843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae9880841a93d1c38203e8808057c7bfa7288275d862a91776d6d05c2290058a42840f08108b8b157f139120ce565bc8d0b5291e949c1c87e2f829b76d6a5d15e767e61716d1095dcc7cb5b44d1cffea05843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae9880843408e4708203e88080e255f868a61169a2330cb539671e1a66ee846bc06cc888ea8fcd7ae51cdc62940c6dec27e6f756dd84923bcebb1f85db125299c0b622eaa8d5722cb3dace239d1cff", + "l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "batchHashData": "0xf6ced0774d84715c392244ff96ab55692c027ff921296d6c3d05392099857c18", + "oldLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "oldAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "timestampLimit": 1944498031, + "expectedNewAccInputHash": "0x23883a7c55dd510280c50fa07b2faf5de5aeb12aed037bc93c7112c427f6941c", + "virtualCounters": { + "steps": 71310, + "arith": 3529, + "binary": 4596, + "memAlign": 12, + "keccaks": 27, + "padding": 186, + "poseidon": 4447, + "sha256": 0 + } + } +] diff --git a/zk/tests/testdata/geth-ecmul-fork13.json b/zk/tests/testdata/geth-ecmul-fork13.json new file mode 100644 index 00000000000..dc85d0dd12a --- /dev/null +++ b/zk/tests/testdata/geth-ecmul-fork13.json @@ -0,0 +1,3140 @@ +[ + { + "id": 0, + "description": "ecMul output is 64 bytes", + "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "sequencerPvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "genesis": [ + { + "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "nonce": "0", + "balance": "100000000000000000000", + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e" + }, + { + "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": "0", + "balance": "200000000000000000000", + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23" + }, + { + "address": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "1", + "balance": "0", + "bytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c806304772c1d146100515780631c43010f1461006d5780639cf9cfc814610089578063fe989d48146100a5575b600080fd5b61006b60048036038101906100669190610328565b6100c1565b005b61008760048036038101906100829190610328565b610136565b005b6100a3600480360381019061009e9190610328565b6101ab565b005b6100bf60048036038101906100ba9190610328565b610220565b005b6100c9610295565b60808183516020850160015afa80600055503d806001555060005b602081101561013157818160208110610100576100ff610489565b5b60200201516002826020811061011957610118610489565b5b0181905550808061012990610411565b9150506100e4565b505050565b61013e610295565b60408183516020850160085afa80600055503d806001555060005b60208110156101a65781816020811061017557610174610489565b5b60200201516002826020811061018e5761018d610489565b5b0181905550808061019e90610411565b915050610159565b505050565b6101b3610295565b60808183516020850160065afa80600055503d806001555060005b602081101561021b578181602081106101ea576101e9610489565b5b60200201516002826020811061020357610202610489565b5b0181905550808061021390610411565b9150506101ce565b505050565b610228610295565b60808183516020850160075afa80600055503d806001555060005b60208110156102905781816020811061025f5761025e610489565b5b60200201516002826020811061027857610277610489565b5b0181905550808061028890610411565b915050610243565b505050565b604051806104000160405280602090602082028036833780820191505090505090565b60006102cb6102c684610396565b610371565b9050828152602081018484840111156102e7576102e66104ec565b5b6102f28482856103d1565b509392505050565b600082601f83011261030f5761030e6104e7565b5b813561031f8482602086016102b8565b91505092915050565b60006020828403121561033e5761033d6104f6565b5b600082013567ffffffffffffffff81111561035c5761035b6104f1565b5b610368848285016102fa565b91505092915050565b600061037b61038c565b905061038782826103e0565b919050565b6000604051905090565b600067ffffffffffffffff8211156103b1576103b06104b8565b5b6103ba826104fb565b9050602081019050919050565b6000819050919050565b82818337600083830152505050565b6103e9826104fb565b810181811067ffffffffffffffff82111715610408576104076104b8565b5b80604052505050565b600061041c826103c7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561044f5761044e61045a565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f830116905091905056fea26469706673582212202966d4738303338a726cbf4b16a53f1282d8575e1c7ed1749fea9289c9a6756b64736f6c63430008070033", + "abi": [ + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecAdd", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecMul", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecPairingGeneric", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecRecover", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "storage": {} + } + ], + "expectedOldRoot": "0x72d36f85e07d0cd9fc75567db9ca40e81410921ea9e16c76172a301ddcb97e0e", + "txs": [ + { + "type": 11, + "deltaTimestamp": "1944498031", + "l1Info": { + "globalExitRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "blockHash": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb", + "timestamp": "42" + }, + "indexL1InfoTree": 0 + }, + { + "from": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "0", + "value": "0", + "data": "0xfe989d48000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000602bd3e6d0f3b142924f5ca7b49ce5b9d54c4703d7ae5648e61d02268b1a0a9fb721611ce0a6af85915e2f1d70300909ce2e49dfad4a4619c8390cae66cefdb20400000000000000000000000000000000000000000000000011138ce750fa15c2", + "gasLimit": 30000000, + "gasPrice": "0", + "chainId": 1000 + } + ], + "expectedNewRoot": "0x19275c111a31bc53f0a46468b0bf82bd111dcca67ee933282c300ffdd4c827bd", + "expectedNewLeafs": { + "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D": { + "balance": "100000000000000000000", + "nonce": "0", + "storage": null + }, + "0x4d5Cf5032B2a844602278b01199ED191A86c93ff": { + "balance": "200000000000000000000", + "nonce": "1", + "storage": null + }, + "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98": { + "balance": "0", + "nonce": "1", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000001": "0x40", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x070a8d6a982153cae4be29d434e8faef8a47b274a053f5a4ee2a6c9c13c31e5c", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0x031b8ce914eba3a9ffb989f9cdd5b0f01943074bf4f0f315690ec3cec6981afc" + }, + "hashBytecode": "0x6d842ee3d5b0df0b761ad7b684cdfbf4fef99f95f773165bc3f671e8b86995da", + "bytecodeLength": 1346 + }, + "0x000000000000000000000000000000005ca1ab1e": { + "balance": "0", + "nonce": "0", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x73e6af6f", + "0xa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49": "0x72d36f85e07d0cd9fc75567db9ca40e81410921ea9e16c76172a301ddcb97e0e", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0x2e584fadad7b55959c4ebbe26d1f867431682a3ff6a618d8862b5899c89ac568" + } + } + }, + "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "batchHashData": "0x783dc233c0f4f066966aaeb0d9b224f27e34029f8577fdcbbecd7b683774291e", + "batchL2Data": "0x0b73e6af6f00000000f8c880808401c9c380941275fbb540c8efc58b812ba83b0d0b8b9917ae9880b8a4fe989d48000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000602bd3e6d0f3b142924f5ca7b49ce5b9d54c4703d7ae5648e61d02268b1a0a9fb721611ce0a6af85915e2f1d70300909ce2e49dfad4a4619c8390cae66cefdb20400000000000000000000000000000000000000000000000011138ce750fa15c28203e88080daef4b994231ec595c329e8e04ea1c30325b6021594bb036d2dc279dda125aaf44a757a55f2558541b0523db0eb7a2b82a8d356c809ea33e714d509e8e6f28121bff", + "chainID": 1000, + "oldAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "forkID": 13, + "l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "timestampLimit": "1944498031", + "virtualCounters": { + "steps": 308451, + "arith": 21726, + "binary": 25173, + "memAlign": 127, + "keccaks": 11, + "padding": 41, + "poseidon": 4601, + "sha256": 0 + } + }, + { + "id": 1, + "description": "ecMul output is 64 bytes", + "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "sequencerPvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "genesis": [ + { + "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "nonce": "0", + "balance": "100000000000000000000", + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e" + }, + { + "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": "0", + "balance": "200000000000000000000", + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23" + }, + { + "address": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "1", + "balance": "0", + "bytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c806304772c1d146100515780631c43010f1461006d5780639cf9cfc814610089578063fe989d48146100a5575b600080fd5b61006b60048036038101906100669190610328565b6100c1565b005b61008760048036038101906100829190610328565b610136565b005b6100a3600480360381019061009e9190610328565b6101ab565b005b6100bf60048036038101906100ba9190610328565b610220565b005b6100c9610295565b60808183516020850160015afa80600055503d806001555060005b602081101561013157818160208110610100576100ff610489565b5b60200201516002826020811061011957610118610489565b5b0181905550808061012990610411565b9150506100e4565b505050565b61013e610295565b60408183516020850160085afa80600055503d806001555060005b60208110156101a65781816020811061017557610174610489565b5b60200201516002826020811061018e5761018d610489565b5b0181905550808061019e90610411565b915050610159565b505050565b6101b3610295565b60808183516020850160065afa80600055503d806001555060005b602081101561021b578181602081106101ea576101e9610489565b5b60200201516002826020811061020357610202610489565b5b0181905550808061021390610411565b9150506101ce565b505050565b610228610295565b60808183516020850160075afa80600055503d806001555060005b60208110156102905781816020811061025f5761025e610489565b5b60200201516002826020811061027857610277610489565b5b0181905550808061028890610411565b915050610243565b505050565b604051806104000160405280602090602082028036833780820191505090505090565b60006102cb6102c684610396565b610371565b9050828152602081018484840111156102e7576102e66104ec565b5b6102f28482856103d1565b509392505050565b600082601f83011261030f5761030e6104e7565b5b813561031f8482602086016102b8565b91505092915050565b60006020828403121561033e5761033d6104f6565b5b600082013567ffffffffffffffff81111561035c5761035b6104f1565b5b610368848285016102fa565b91505092915050565b600061037b61038c565b905061038782826103e0565b919050565b6000604051905090565b600067ffffffffffffffff8211156103b1576103b06104b8565b5b6103ba826104fb565b9050602081019050919050565b6000819050919050565b82818337600083830152505050565b6103e9826104fb565b810181811067ffffffffffffffff82111715610408576104076104b8565b5b80604052505050565b600061041c826103c7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561044f5761044e61045a565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f830116905091905056fea26469706673582212202966d4738303338a726cbf4b16a53f1282d8575e1c7ed1749fea9289c9a6756b64736f6c63430008070033", + "abi": [ + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecAdd", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecMul", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecPairingGeneric", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecRecover", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "storage": {} + } + ], + "expectedOldRoot": "0x72d36f85e07d0cd9fc75567db9ca40e81410921ea9e16c76172a301ddcb97e0e", + "txs": [ + { + "type": 11, + "deltaTimestamp": "1944498031", + "l1Info": { + "globalExitRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "blockHash": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb", + "timestamp": "42" + }, + "indexL1InfoTree": 0 + }, + { + "from": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "0", + "value": "0", + "data": "0xfe989d4800000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060070a8d6a982153cae4be29d434e8faef8a47b274a053f5a4ee2a6c9c13c31e5c031b8ce914eba3a9ffb989f9cdd5b0f01943074bf4f0f315690ec3cec6981afc30644e72e131a029b85045b68181585d97816a916871ca8d3c208c16d87cfd46", + "gasLimit": 30000000, + "gasPrice": "0", + "chainId": 1000 + } + ], + "expectedNewRoot": "0x7eb4bf447a41e7e58ae64d889a6de29ea5dd57d1bba255a4a3687c2ebedea216", + "expectedNewLeafs": { + "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D": { + "balance": "100000000000000000000", + "nonce": "0", + "storage": null + }, + "0x4d5Cf5032B2a844602278b01199ED191A86c93ff": { + "balance": "200000000000000000000", + "nonce": "1", + "storage": null + }, + "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98": { + "balance": "0", + "nonce": "1", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000001": "0x40", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x025a6f4181d2b4ea8b724290ffb40156eb0adb514c688556eb79cdea0752c2bb", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0x2eff3f31dea215f1eb86023a133a996eb6300b44da664d64251d05381bb8a02e" + }, + "hashBytecode": "0x6d842ee3d5b0df0b761ad7b684cdfbf4fef99f95f773165bc3f671e8b86995da", + "bytecodeLength": 1346 + }, + "0x000000000000000000000000000000005ca1ab1e": { + "balance": "0", + "nonce": "0", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x73e6af6f", + "0xa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49": "0x72d36f85e07d0cd9fc75567db9ca40e81410921ea9e16c76172a301ddcb97e0e", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0xf461254f4c7cf126bb8ae85305940345d3eb9e31b0a47c1b9023093b44a78cb1" + } + } + }, + "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "batchHashData": "0xd947b8bd48c430d35c401a6f189c54bde4265283e69f6ef573e133557d63c36f", + "batchL2Data": "0x0b73e6af6f00000000f8c880808401c9c380941275fbb540c8efc58b812ba83b0d0b8b9917ae9880b8a4fe989d4800000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060070a8d6a982153cae4be29d434e8faef8a47b274a053f5a4ee2a6c9c13c31e5c031b8ce914eba3a9ffb989f9cdd5b0f01943074bf4f0f315690ec3cec6981afc30644e72e131a029b85045b68181585d97816a916871ca8d3c208c16d87cfd468203e8808033f361279aeadc3fbe45914a2488e3bccf4bf84f728e649b661ad4722dd8fc2a20dcf7169ef535dbed468a546f8c41aed792d1f3e57abbcbfddd967d67985ab01bff", + "chainID": 1000, + "oldAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "forkID": 13, + "l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "timestampLimit": "1944498031", + "virtualCounters": { + "steps": 308451, + "arith": 21726, + "binary": 25173, + "memAlign": 127, + "keccaks": 11, + "padding": 41, + "poseidon": 4601, + "sha256": 0 + } + }, + { + "id": 2, + "description": "ecMul output is 64 bytes", + "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "sequencerPvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "genesis": [ + { + "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "nonce": "0", + "balance": "100000000000000000000", + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e" + }, + { + "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": "0", + "balance": "200000000000000000000", + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23" + }, + { + "address": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "1", + "balance": "0", + "bytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c806304772c1d146100515780631c43010f1461006d5780639cf9cfc814610089578063fe989d48146100a5575b600080fd5b61006b60048036038101906100669190610328565b6100c1565b005b61008760048036038101906100829190610328565b610136565b005b6100a3600480360381019061009e9190610328565b6101ab565b005b6100bf60048036038101906100ba9190610328565b610220565b005b6100c9610295565b60808183516020850160015afa80600055503d806001555060005b602081101561013157818160208110610100576100ff610489565b5b60200201516002826020811061011957610118610489565b5b0181905550808061012990610411565b9150506100e4565b505050565b61013e610295565b60408183516020850160085afa80600055503d806001555060005b60208110156101a65781816020811061017557610174610489565b5b60200201516002826020811061018e5761018d610489565b5b0181905550808061019e90610411565b915050610159565b505050565b6101b3610295565b60808183516020850160065afa80600055503d806001555060005b602081101561021b578181602081106101ea576101e9610489565b5b60200201516002826020811061020357610202610489565b5b0181905550808061021390610411565b9150506101ce565b505050565b610228610295565b60808183516020850160075afa80600055503d806001555060005b60208110156102905781816020811061025f5761025e610489565b5b60200201516002826020811061027857610277610489565b5b0181905550808061028890610411565b915050610243565b505050565b604051806104000160405280602090602082028036833780820191505090505090565b60006102cb6102c684610396565b610371565b9050828152602081018484840111156102e7576102e66104ec565b5b6102f28482856103d1565b509392505050565b600082601f83011261030f5761030e6104e7565b5b813561031f8482602086016102b8565b91505092915050565b60006020828403121561033e5761033d6104f6565b5b600082013567ffffffffffffffff81111561035c5761035b6104f1565b5b610368848285016102fa565b91505092915050565b600061037b61038c565b905061038782826103e0565b919050565b6000604051905090565b600067ffffffffffffffff8211156103b1576103b06104b8565b5b6103ba826104fb565b9050602081019050919050565b6000819050919050565b82818337600083830152505050565b6103e9826104fb565b810181811067ffffffffffffffff82111715610408576104076104b8565b5b80604052505050565b600061041c826103c7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561044f5761044e61045a565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f830116905091905056fea26469706673582212202966d4738303338a726cbf4b16a53f1282d8575e1c7ed1749fea9289c9a6756b64736f6c63430008070033", + "abi": [ + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecAdd", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecMul", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecPairingGeneric", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecRecover", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "storage": {} + } + ], + "expectedOldRoot": "0x72d36f85e07d0cd9fc75567db9ca40e81410921ea9e16c76172a301ddcb97e0e", + "txs": [ + { + "type": 11, + "deltaTimestamp": "1944498031", + "l1Info": { + "globalExitRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "blockHash": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb", + "timestamp": "42" + }, + "indexL1InfoTree": 0 + }, + { + "from": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "0", + "value": "0", + "data": "0xfe989d4800000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060025a6f4181d2b4ea8b724290ffb40156eb0adb514c688556eb79cdea0752c2bb2eff3f31dea215f1eb86023a133a996eb6300b44da664d64251d05381bb8a02e183227397098d014dc2822db40c0ac2ecbc0b548b438e5469e10460b6c3e7ea3", + "gasLimit": 30000000, + "gasPrice": "0", + "chainId": 1000 + } + ], + "expectedNewRoot": "0xeb035702d0b2f1b0666d2101a8c4190a69f909a4dad47f9130a4b0fcfcfc6d34", + "expectedNewLeafs": { + "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D": { + "balance": "100000000000000000000", + "nonce": "0", + "storage": null + }, + "0x4d5Cf5032B2a844602278b01199ED191A86c93ff": { + "balance": "200000000000000000000", + "nonce": "1", + "storage": null + }, + "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98": { + "balance": "0", + "nonce": "1", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000001": "0x40", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x14789d0d4a730b354403b5fac948113739e276c23e0258d8596ee72f9cd9d323", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0x0af18a63153e0ec25ff9f2951dd3fa90ed0197bfef6e2a1a62b5095b9d2b4a27" + }, + "hashBytecode": "0x6d842ee3d5b0df0b761ad7b684cdfbf4fef99f95f773165bc3f671e8b86995da", + "bytecodeLength": 1346 + }, + "0x000000000000000000000000000000005ca1ab1e": { + "balance": "0", + "nonce": "0", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x73e6af6f", + "0xa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49": "0x72d36f85e07d0cd9fc75567db9ca40e81410921ea9e16c76172a301ddcb97e0e", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0x91057479c2ceae2909b4989f6691907d7c0246a4ffa0efcefa26f50b76573eb5" + } + } + }, + "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "batchHashData": "0x2cbaa5630b8855e9985573ede57b107ac4fd3c75cc772c877ab8d47f5decb2cb", + "batchL2Data": "0x0b73e6af6f00000000f8c880808401c9c380941275fbb540c8efc58b812ba83b0d0b8b9917ae9880b8a4fe989d4800000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060025a6f4181d2b4ea8b724290ffb40156eb0adb514c688556eb79cdea0752c2bb2eff3f31dea215f1eb86023a133a996eb6300b44da664d64251d05381bb8a02e183227397098d014dc2822db40c0ac2ecbc0b548b438e5469e10460b6c3e7ea38203e88080211a2687e2ef2b852b6831b0710456ccdbe587701b8cb221978fab6d62d8009630a67b296cb72d29f033c07379bc807c2710a7988a4a9436c9bd016e561070bc1cff", + "chainID": 1000, + "oldAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "forkID": 13, + "l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "timestampLimit": "1944498031", + "virtualCounters": { + "steps": 308451, + "arith": 21726, + "binary": 25173, + "memAlign": 127, + "keccaks": 11, + "padding": 41, + "poseidon": 4601, + "sha256": 0 + } + }, + { + "id": 3, + "description": "ecMul output is 64 bytes", + "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "sequencerPvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "genesis": [ + { + "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "nonce": "0", + "balance": "100000000000000000000", + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e" + }, + { + "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": "0", + "balance": "200000000000000000000", + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23" + }, + { + "address": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "1", + "balance": "0", + "bytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c806304772c1d146100515780631c43010f1461006d5780639cf9cfc814610089578063fe989d48146100a5575b600080fd5b61006b60048036038101906100669190610328565b6100c1565b005b61008760048036038101906100829190610328565b610136565b005b6100a3600480360381019061009e9190610328565b6101ab565b005b6100bf60048036038101906100ba9190610328565b610220565b005b6100c9610295565b60808183516020850160015afa80600055503d806001555060005b602081101561013157818160208110610100576100ff610489565b5b60200201516002826020811061011957610118610489565b5b0181905550808061012990610411565b9150506100e4565b505050565b61013e610295565b60408183516020850160085afa80600055503d806001555060005b60208110156101a65781816020811061017557610174610489565b5b60200201516002826020811061018e5761018d610489565b5b0181905550808061019e90610411565b915050610159565b505050565b6101b3610295565b60808183516020850160065afa80600055503d806001555060005b602081101561021b578181602081106101ea576101e9610489565b5b60200201516002826020811061020357610202610489565b5b0181905550808061021390610411565b9150506101ce565b505050565b610228610295565b60808183516020850160075afa80600055503d806001555060005b60208110156102905781816020811061025f5761025e610489565b5b60200201516002826020811061027857610277610489565b5b0181905550808061028890610411565b915050610243565b505050565b604051806104000160405280602090602082028036833780820191505090505090565b60006102cb6102c684610396565b610371565b9050828152602081018484840111156102e7576102e66104ec565b5b6102f28482856103d1565b509392505050565b600082601f83011261030f5761030e6104e7565b5b813561031f8482602086016102b8565b91505092915050565b60006020828403121561033e5761033d6104f6565b5b600082013567ffffffffffffffff81111561035c5761035b6104f1565b5b610368848285016102fa565b91505092915050565b600061037b61038c565b905061038782826103e0565b919050565b6000604051905090565b600067ffffffffffffffff8211156103b1576103b06104b8565b5b6103ba826104fb565b9050602081019050919050565b6000819050919050565b82818337600083830152505050565b6103e9826104fb565b810181811067ffffffffffffffff82111715610408576104076104b8565b5b80604052505050565b600061041c826103c7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561044f5761044e61045a565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f830116905091905056fea26469706673582212202966d4738303338a726cbf4b16a53f1282d8575e1c7ed1749fea9289c9a6756b64736f6c63430008070033", + "abi": [ + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecAdd", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecMul", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecPairingGeneric", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecRecover", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "storage": {} + } + ], + "expectedOldRoot": "0x72d36f85e07d0cd9fc75567db9ca40e81410921ea9e16c76172a301ddcb97e0e", + "txs": [ + { + "type": 11, + "deltaTimestamp": "1944498031", + "l1Info": { + "globalExitRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "blockHash": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb", + "timestamp": "42" + }, + "indexL1InfoTree": 0 + }, + { + "from": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "0", + "value": "0", + "data": "0xfe989d48000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000601a87b0584ce92f4593d161480614f2989035225609f08058ccfa3d0f940febe31a2f3c951f6dadcc7ee9007dff81504b0fcd6d7cf59996efdc33d92bf7f9f8f6ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", + "gasLimit": 30000000, + "gasPrice": "0", + "chainId": 1000 + } + ], + "expectedNewRoot": "0xb56942bd24d94dc3992401fe20f398a57cab246102af2726274195e844035562", + "expectedNewLeafs": { + "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D": { + "balance": "100000000000000000000", + "nonce": "0", + "storage": null + }, + "0x4d5Cf5032B2a844602278b01199ED191A86c93ff": { + "balance": "200000000000000000000", + "nonce": "1", + "storage": null + }, + "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98": { + "balance": "0", + "nonce": "1", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000001": "0x40", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x2cde5879ba6f13c0b5aa4ef627f159a3347df9722efce88a9afbb20b763b4c41", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0x1aa7e43076f6aee272755a7f9b84832e71559ba0d2e0b17d5f9f01755e5b0d11" + }, + "hashBytecode": "0x6d842ee3d5b0df0b761ad7b684cdfbf4fef99f95f773165bc3f671e8b86995da", + "bytecodeLength": 1346 + }, + "0x000000000000000000000000000000005ca1ab1e": { + "balance": "0", + "nonce": "0", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x73e6af6f", + "0xa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49": "0x72d36f85e07d0cd9fc75567db9ca40e81410921ea9e16c76172a301ddcb97e0e", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0x8ce296c6ebad6a716c98cfd2ebcb8b79378ab9c7b4a5f334eee3dce534e9054f" + } + } + }, + "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "batchHashData": "0xb7f978c64a14b5644557c20de2383971eb3dd0f823a007371cf4ef092df1fd86", + "batchL2Data": "0x0b73e6af6f00000000f8c880808401c9c380941275fbb540c8efc58b812ba83b0d0b8b9917ae9880b8a4fe989d48000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000601a87b0584ce92f4593d161480614f2989035225609f08058ccfa3d0f940febe31a2f3c951f6dadcc7ee9007dff81504b0fcd6d7cf59996efdc33d92bf7f9f8f6ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203e88080fbd3d522a633be4bd39afe8bb2b18276479ada3fc98d1df1a993fb745f1bcab31ab59efdf8c471232e563e46fc9dd81fed05da8402bae7958a078224e4fc8add1bff", + "chainID": 1000, + "oldAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "forkID": 13, + "l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "timestampLimit": "1944498031", + "virtualCounters": { + "steps": 308451, + "arith": 21726, + "binary": 25173, + "memAlign": 127, + "keccaks": 11, + "padding": 41, + "poseidon": 4601, + "sha256": 0 + } + }, + { + "id": 4, + "description": "ecMul output is 64 bytes", + "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "sequencerPvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "genesis": [ + { + "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "nonce": "0", + "balance": "100000000000000000000", + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e" + }, + { + "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": "0", + "balance": "200000000000000000000", + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23" + }, + { + "address": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "1", + "balance": "0", + "bytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c806304772c1d146100515780631c43010f1461006d5780639cf9cfc814610089578063fe989d48146100a5575b600080fd5b61006b60048036038101906100669190610328565b6100c1565b005b61008760048036038101906100829190610328565b610136565b005b6100a3600480360381019061009e9190610328565b6101ab565b005b6100bf60048036038101906100ba9190610328565b610220565b005b6100c9610295565b60808183516020850160015afa80600055503d806001555060005b602081101561013157818160208110610100576100ff610489565b5b60200201516002826020811061011957610118610489565b5b0181905550808061012990610411565b9150506100e4565b505050565b61013e610295565b60408183516020850160085afa80600055503d806001555060005b60208110156101a65781816020811061017557610174610489565b5b60200201516002826020811061018e5761018d610489565b5b0181905550808061019e90610411565b915050610159565b505050565b6101b3610295565b60808183516020850160065afa80600055503d806001555060005b602081101561021b578181602081106101ea576101e9610489565b5b60200201516002826020811061020357610202610489565b5b0181905550808061021390610411565b9150506101ce565b505050565b610228610295565b60808183516020850160075afa80600055503d806001555060005b60208110156102905781816020811061025f5761025e610489565b5b60200201516002826020811061027857610277610489565b5b0181905550808061028890610411565b915050610243565b505050565b604051806104000160405280602090602082028036833780820191505090505090565b60006102cb6102c684610396565b610371565b9050828152602081018484840111156102e7576102e66104ec565b5b6102f28482856103d1565b509392505050565b600082601f83011261030f5761030e6104e7565b5b813561031f8482602086016102b8565b91505092915050565b60006020828403121561033e5761033d6104f6565b5b600082013567ffffffffffffffff81111561035c5761035b6104f1565b5b610368848285016102fa565b91505092915050565b600061037b61038c565b905061038782826103e0565b919050565b6000604051905090565b600067ffffffffffffffff8211156103b1576103b06104b8565b5b6103ba826104fb565b9050602081019050919050565b6000819050919050565b82818337600083830152505050565b6103e9826104fb565b810181811067ffffffffffffffff82111715610408576104076104b8565b5b80604052505050565b600061041c826103c7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561044f5761044e61045a565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f830116905091905056fea26469706673582212202966d4738303338a726cbf4b16a53f1282d8575e1c7ed1749fea9289c9a6756b64736f6c63430008070033", + "abi": [ + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecAdd", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecMul", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecPairingGeneric", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecRecover", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "storage": {} + } + ], + "expectedOldRoot": "0x72d36f85e07d0cd9fc75567db9ca40e81410921ea9e16c76172a301ddcb97e0e", + "txs": [ + { + "type": 11, + "deltaTimestamp": "1944498031", + "l1Info": { + "globalExitRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "blockHash": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb", + "timestamp": "42" + }, + "indexL1InfoTree": 0 + }, + { + "from": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "0", + "value": "0", + "data": "0xfe989d48000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000601a87b0584ce92f4593d161480614f2989035225609f08058ccfa3d0f940febe31a2f3c951f6dadcc7ee9007dff81504b0fcd6d7cf59996efdc33d92bf7f9f8f630644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000000", + "gasLimit": 30000000, + "gasPrice": "0", + "chainId": 1000 + } + ], + "expectedNewRoot": "0xcfda0a0766179f81ee5cdde1e970615ee6c352fa86ae5c3f0ca201c9ad98ea15", + "expectedNewLeafs": { + "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D": { + "balance": "100000000000000000000", + "nonce": "0", + "storage": null + }, + "0x4d5Cf5032B2a844602278b01199ED191A86c93ff": { + "balance": "200000000000000000000", + "nonce": "1", + "storage": null + }, + "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98": { + "balance": "0", + "nonce": "1", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000001": "0x40", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x1a87b0584ce92f4593d161480614f2989035225609f08058ccfa3d0f940febe3", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0x163511ddc1c3f25d396745388200081287b3fd1472d8339d5fecb2eae0830451" + }, + "hashBytecode": "0x6d842ee3d5b0df0b761ad7b684cdfbf4fef99f95f773165bc3f671e8b86995da", + "bytecodeLength": 1346 + }, + "0x000000000000000000000000000000005ca1ab1e": { + "balance": "0", + "nonce": "0", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x73e6af6f", + "0xa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49": "0x72d36f85e07d0cd9fc75567db9ca40e81410921ea9e16c76172a301ddcb97e0e", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0xf82f4f1aa5d0355e4b1194e006e1e0609e540bddba93faa79b933ca7260ce92b" + } + } + }, + "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "batchHashData": "0xd220b3ba7cd216ad3b14ebed275ca004cbf68582db5602750013d543da1d7e4f", + "batchL2Data": "0x0b73e6af6f00000000f8c880808401c9c380941275fbb540c8efc58b812ba83b0d0b8b9917ae9880b8a4fe989d48000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000601a87b0584ce92f4593d161480614f2989035225609f08058ccfa3d0f940febe31a2f3c951f6dadcc7ee9007dff81504b0fcd6d7cf59996efdc33d92bf7f9f8f630644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000008203e8808046b14cf790791b2c7c5cb512fe264ac04a04491558c54cc5df0740c2bc28843977149e26ed984f450929783fa3f9896f66b170006c43b8adfbf3d7fe6b5588e21bff", + "chainID": 1000, + "oldAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "forkID": 13, + "l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "timestampLimit": "1944498031", + "virtualCounters": { + "steps": 308451, + "arith": 21726, + "binary": 25173, + "memAlign": 127, + "keccaks": 11, + "padding": 41, + "poseidon": 4601, + "sha256": 0 + } + }, + { + "id": 5, + "description": "ecMul output is 64 bytes", + "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "sequencerPvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "genesis": [ + { + "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "nonce": "0", + "balance": "100000000000000000000", + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e" + }, + { + "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": "0", + "balance": "200000000000000000000", + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23" + }, + { + "address": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "1", + "balance": "0", + "bytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c806304772c1d146100515780631c43010f1461006d5780639cf9cfc814610089578063fe989d48146100a5575b600080fd5b61006b60048036038101906100669190610328565b6100c1565b005b61008760048036038101906100829190610328565b610136565b005b6100a3600480360381019061009e9190610328565b6101ab565b005b6100bf60048036038101906100ba9190610328565b610220565b005b6100c9610295565b60808183516020850160015afa80600055503d806001555060005b602081101561013157818160208110610100576100ff610489565b5b60200201516002826020811061011957610118610489565b5b0181905550808061012990610411565b9150506100e4565b505050565b61013e610295565b60408183516020850160085afa80600055503d806001555060005b60208110156101a65781816020811061017557610174610489565b5b60200201516002826020811061018e5761018d610489565b5b0181905550808061019e90610411565b915050610159565b505050565b6101b3610295565b60808183516020850160065afa80600055503d806001555060005b602081101561021b578181602081106101ea576101e9610489565b5b60200201516002826020811061020357610202610489565b5b0181905550808061021390610411565b9150506101ce565b505050565b610228610295565b60808183516020850160075afa80600055503d806001555060005b60208110156102905781816020811061025f5761025e610489565b5b60200201516002826020811061027857610277610489565b5b0181905550808061028890610411565b915050610243565b505050565b604051806104000160405280602090602082028036833780820191505090505090565b60006102cb6102c684610396565b610371565b9050828152602081018484840111156102e7576102e66104ec565b5b6102f28482856103d1565b509392505050565b600082601f83011261030f5761030e6104e7565b5b813561031f8482602086016102b8565b91505092915050565b60006020828403121561033e5761033d6104f6565b5b600082013567ffffffffffffffff81111561035c5761035b6104f1565b5b610368848285016102fa565b91505092915050565b600061037b61038c565b905061038782826103e0565b919050565b6000604051905090565b600067ffffffffffffffff8211156103b1576103b06104b8565b5b6103ba826104fb565b9050602081019050919050565b6000819050919050565b82818337600083830152505050565b6103e9826104fb565b810181811067ffffffffffffffff82111715610408576104076104b8565b5b80604052505050565b600061041c826103c7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561044f5761044e61045a565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f830116905091905056fea26469706673582212202966d4738303338a726cbf4b16a53f1282d8575e1c7ed1749fea9289c9a6756b64736f6c63430008070033", + "abi": [ + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecAdd", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecMul", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecPairingGeneric", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecRecover", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "storage": {} + } + ], + "expectedOldRoot": "0x72d36f85e07d0cd9fc75567db9ca40e81410921ea9e16c76172a301ddcb97e0e", + "txs": [ + { + "type": 11, + "deltaTimestamp": "1944498031", + "l1Info": { + "globalExitRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "blockHash": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb", + "timestamp": "42" + }, + "indexL1InfoTree": 0 + }, + { + "from": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "0", + "value": "0", + "data": "0xfe989d48000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000601a87b0584ce92f4593d161480614f2989035225609f08058ccfa3d0f940febe31a2f3c951f6dadcc7ee9007dff81504b0fcd6d7cf59996efdc33d92bf7f9f8f60000000000000000000000000000000100000000000000000000000000000000", + "gasLimit": 30000000, + "gasPrice": "0", + "chainId": 1000 + } + ], + "expectedNewRoot": "0x4bf1b7a9f4dc36551c9af0e12d3cd2b15884ea383cfd6d20bf87175f7be9fb11", + "expectedNewLeafs": { + "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D": { + "balance": "100000000000000000000", + "nonce": "0", + "storage": null + }, + "0x4d5Cf5032B2a844602278b01199ED191A86c93ff": { + "balance": "200000000000000000000", + "nonce": "1", + "storage": null + }, + "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98": { + "balance": "0", + "nonce": "1", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000001": "0x40", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x1051acb0700ec6d42a88215852d582efbaef31529b6fcbc3277b5c1b300f5cf0", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0x135b2394bb45ab04b8bd7611bd2dfe1de6a4e6e2ccea1ea1955f577cd66af85b" + }, + "hashBytecode": "0x6d842ee3d5b0df0b761ad7b684cdfbf4fef99f95f773165bc3f671e8b86995da", + "bytecodeLength": 1346 + }, + "0x000000000000000000000000000000005ca1ab1e": { + "balance": "0", + "nonce": "0", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x73e6af6f", + "0xa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49": "0x72d36f85e07d0cd9fc75567db9ca40e81410921ea9e16c76172a301ddcb97e0e", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0xe696e6f26bc796543a8aa38e5ee8ad66a88dcf96df035c49a3c896c3fce044cb" + } + } + }, + "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "batchHashData": "0x09288618a6598203523cb56b80d77d8fd4e99250a0c072530922b32fecff4bc9", + "batchL2Data": "0x0b73e6af6f00000000f8c880808401c9c380941275fbb540c8efc58b812ba83b0d0b8b9917ae9880b8a4fe989d48000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000601a87b0584ce92f4593d161480614f2989035225609f08058ccfa3d0f940febe31a2f3c951f6dadcc7ee9007dff81504b0fcd6d7cf59996efdc33d92bf7f9f8f600000000000000000000000000000001000000000000000000000000000000008203e88080fb0eeb7f27275be7bb847933be475705572fac394043c13f529c2fd8bfd3c04b40bed329917631015d21a4939e1b915ec382b7b9971261df23e93aef157f07e91bff", + "chainID": 1000, + "oldAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "forkID": 13, + "l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "timestampLimit": "1944498031", + "virtualCounters": { + "steps": 308451, + "arith": 21726, + "binary": 25173, + "memAlign": 127, + "keccaks": 11, + "padding": 41, + "poseidon": 4601, + "sha256": 0 + } + }, + { + "id": 6, + "description": "ecMul output is 64 bytes", + "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "sequencerPvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "genesis": [ + { + "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "nonce": "0", + "balance": "100000000000000000000", + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e" + }, + { + "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": "0", + "balance": "200000000000000000000", + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23" + }, + { + "address": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "1", + "balance": "0", + "bytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c806304772c1d146100515780631c43010f1461006d5780639cf9cfc814610089578063fe989d48146100a5575b600080fd5b61006b60048036038101906100669190610328565b6100c1565b005b61008760048036038101906100829190610328565b610136565b005b6100a3600480360381019061009e9190610328565b6101ab565b005b6100bf60048036038101906100ba9190610328565b610220565b005b6100c9610295565b60808183516020850160015afa80600055503d806001555060005b602081101561013157818160208110610100576100ff610489565b5b60200201516002826020811061011957610118610489565b5b0181905550808061012990610411565b9150506100e4565b505050565b61013e610295565b60408183516020850160085afa80600055503d806001555060005b60208110156101a65781816020811061017557610174610489565b5b60200201516002826020811061018e5761018d610489565b5b0181905550808061019e90610411565b915050610159565b505050565b6101b3610295565b60808183516020850160065afa80600055503d806001555060005b602081101561021b578181602081106101ea576101e9610489565b5b60200201516002826020811061020357610202610489565b5b0181905550808061021390610411565b9150506101ce565b505050565b610228610295565b60808183516020850160075afa80600055503d806001555060005b60208110156102905781816020811061025f5761025e610489565b5b60200201516002826020811061027857610277610489565b5b0181905550808061028890610411565b915050610243565b505050565b604051806104000160405280602090602082028036833780820191505090505090565b60006102cb6102c684610396565b610371565b9050828152602081018484840111156102e7576102e66104ec565b5b6102f28482856103d1565b509392505050565b600082601f83011261030f5761030e6104e7565b5b813561031f8482602086016102b8565b91505092915050565b60006020828403121561033e5761033d6104f6565b5b600082013567ffffffffffffffff81111561035c5761035b6104f1565b5b610368848285016102fa565b91505092915050565b600061037b61038c565b905061038782826103e0565b919050565b6000604051905090565b600067ffffffffffffffff8211156103b1576103b06104b8565b5b6103ba826104fb565b9050602081019050919050565b6000819050919050565b82818337600083830152505050565b6103e9826104fb565b810181811067ffffffffffffffff82111715610408576104076104b8565b5b80604052505050565b600061041c826103c7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561044f5761044e61045a565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f830116905091905056fea26469706673582212202966d4738303338a726cbf4b16a53f1282d8575e1c7ed1749fea9289c9a6756b64736f6c63430008070033", + "abi": [ + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecAdd", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecMul", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecPairingGeneric", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecRecover", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "storage": {} + } + ], + "expectedOldRoot": "0x72d36f85e07d0cd9fc75567db9ca40e81410921ea9e16c76172a301ddcb97e0e", + "txs": [ + { + "type": 11, + "deltaTimestamp": "1944498031", + "l1Info": { + "globalExitRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "blockHash": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb", + "timestamp": "42" + }, + "indexL1InfoTree": 0 + }, + { + "from": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "0", + "value": "0", + "data": "0xfe989d48000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000601a87b0584ce92f4593d161480614f2989035225609f08058ccfa3d0f940febe31a2f3c951f6dadcc7ee9007dff81504b0fcd6d7cf59996efdc33d92bf7f9f8f60000000000000000000000000000000000000000000000000000000000000009", + "gasLimit": 30000000, + "gasPrice": "0", + "chainId": 1000 + } + ], + "expectedNewRoot": "0xec812a35dc3eae58733f43913924bac38f1d41bce187bbf6bf9eb1710c3a5a89", + "expectedNewLeafs": { + "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D": { + "balance": "100000000000000000000", + "nonce": "0", + "storage": null + }, + "0x4d5Cf5032B2a844602278b01199ED191A86c93ff": { + "balance": "200000000000000000000", + "nonce": "1", + "storage": null + }, + "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98": { + "balance": "0", + "nonce": "1", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000001": "0x40", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x1dbad7d39dbc56379f78fac1bca147dc8e66de1b9d183c7b167351bfe0aeab74", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0x2cd757d51289cd8dbd0acf9e673ad67d0f0a89f912af47ed1be53664f5692575" + }, + "hashBytecode": "0x6d842ee3d5b0df0b761ad7b684cdfbf4fef99f95f773165bc3f671e8b86995da", + "bytecodeLength": 1346 + }, + "0x000000000000000000000000000000005ca1ab1e": { + "balance": "0", + "nonce": "0", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x73e6af6f", + "0xa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49": "0x72d36f85e07d0cd9fc75567db9ca40e81410921ea9e16c76172a301ddcb97e0e", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0xea54fbc120dc5842189bb53498d2307446f403aa69917ad17a5b80547c8d34aa" + } + } + }, + "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "batchHashData": "0x62943d6ccba85626cc4911000062c08486e665d3f8c6765f0e8ca476b591b392", + "batchL2Data": "0x0b73e6af6f00000000f8c880808401c9c380941275fbb540c8efc58b812ba83b0d0b8b9917ae9880b8a4fe989d48000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000601a87b0584ce92f4593d161480614f2989035225609f08058ccfa3d0f940febe31a2f3c951f6dadcc7ee9007dff81504b0fcd6d7cf59996efdc33d92bf7f9f8f600000000000000000000000000000000000000000000000000000000000000098203e8808083a064ab11c2a0dc9de6e46d6ec5cd57e391895a03e6e01bcfaca5b913c2dcb61b3ab469783750ed55d86242b2782609ae2472d4f5c12d1b5048fecc4b81022c1bff", + "chainID": 1000, + "oldAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "forkID": 13, + "l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "timestampLimit": "1944498031", + "virtualCounters": { + "steps": 308451, + "arith": 21726, + "binary": 25173, + "memAlign": 127, + "keccaks": 11, + "padding": 41, + "poseidon": 4601, + "sha256": 0 + } + }, + { + "id": 7, + "description": "ecMul output is 64 bytes", + "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "sequencerPvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "genesis": [ + { + "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "nonce": "0", + "balance": "100000000000000000000", + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e" + }, + { + "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": "0", + "balance": "200000000000000000000", + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23" + }, + { + "address": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "1", + "balance": "0", + "bytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c806304772c1d146100515780631c43010f1461006d5780639cf9cfc814610089578063fe989d48146100a5575b600080fd5b61006b60048036038101906100669190610328565b6100c1565b005b61008760048036038101906100829190610328565b610136565b005b6100a3600480360381019061009e9190610328565b6101ab565b005b6100bf60048036038101906100ba9190610328565b610220565b005b6100c9610295565b60808183516020850160015afa80600055503d806001555060005b602081101561013157818160208110610100576100ff610489565b5b60200201516002826020811061011957610118610489565b5b0181905550808061012990610411565b9150506100e4565b505050565b61013e610295565b60408183516020850160085afa80600055503d806001555060005b60208110156101a65781816020811061017557610174610489565b5b60200201516002826020811061018e5761018d610489565b5b0181905550808061019e90610411565b915050610159565b505050565b6101b3610295565b60808183516020850160065afa80600055503d806001555060005b602081101561021b578181602081106101ea576101e9610489565b5b60200201516002826020811061020357610202610489565b5b0181905550808061021390610411565b9150506101ce565b505050565b610228610295565b60808183516020850160075afa80600055503d806001555060005b60208110156102905781816020811061025f5761025e610489565b5b60200201516002826020811061027857610277610489565b5b0181905550808061028890610411565b915050610243565b505050565b604051806104000160405280602090602082028036833780820191505090505090565b60006102cb6102c684610396565b610371565b9050828152602081018484840111156102e7576102e66104ec565b5b6102f28482856103d1565b509392505050565b600082601f83011261030f5761030e6104e7565b5b813561031f8482602086016102b8565b91505092915050565b60006020828403121561033e5761033d6104f6565b5b600082013567ffffffffffffffff81111561035c5761035b6104f1565b5b610368848285016102fa565b91505092915050565b600061037b61038c565b905061038782826103e0565b919050565b6000604051905090565b600067ffffffffffffffff8211156103b1576103b06104b8565b5b6103ba826104fb565b9050602081019050919050565b6000819050919050565b82818337600083830152505050565b6103e9826104fb565b810181811067ffffffffffffffff82111715610408576104076104b8565b5b80604052505050565b600061041c826103c7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561044f5761044e61045a565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f830116905091905056fea26469706673582212202966d4738303338a726cbf4b16a53f1282d8575e1c7ed1749fea9289c9a6756b64736f6c63430008070033", + "abi": [ + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecAdd", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecMul", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecPairingGeneric", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecRecover", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "storage": {} + } + ], + "expectedOldRoot": "0x72d36f85e07d0cd9fc75567db9ca40e81410921ea9e16c76172a301ddcb97e0e", + "txs": [ + { + "type": 11, + "deltaTimestamp": "1944498031", + "l1Info": { + "globalExitRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "blockHash": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb", + "timestamp": "42" + }, + "indexL1InfoTree": 0 + }, + { + "from": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "0", + "value": "0", + "data": "0xfe989d48000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000601a87b0584ce92f4593d161480614f2989035225609f08058ccfa3d0f940febe31a2f3c951f6dadcc7ee9007dff81504b0fcd6d7cf59996efdc33d92bf7f9f8f60000000000000000000000000000000000000000000000000000000000000001", + "gasLimit": 30000000, + "gasPrice": "0", + "chainId": 1000 + } + ], + "expectedNewRoot": "0x4f7ebd78085f0544ba41fde7167d22a01c76fdff44dd92dc3b6a0f71d5b5bc97", + "expectedNewLeafs": { + "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D": { + "balance": "100000000000000000000", + "nonce": "0", + "storage": null + }, + "0x4d5Cf5032B2a844602278b01199ED191A86c93ff": { + "balance": "200000000000000000000", + "nonce": "1", + "storage": null + }, + "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98": { + "balance": "0", + "nonce": "1", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000001": "0x40", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x1a87b0584ce92f4593d161480614f2989035225609f08058ccfa3d0f940febe3", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0x1a2f3c951f6dadcc7ee9007dff81504b0fcd6d7cf59996efdc33d92bf7f9f8f6" + }, + "hashBytecode": "0x6d842ee3d5b0df0b761ad7b684cdfbf4fef99f95f773165bc3f671e8b86995da", + "bytecodeLength": 1346 + }, + "0x000000000000000000000000000000005ca1ab1e": { + "balance": "0", + "nonce": "0", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x73e6af6f", + "0xa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49": "0x72d36f85e07d0cd9fc75567db9ca40e81410921ea9e16c76172a301ddcb97e0e", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0x13eb7184cbe0f1662c805ea86e7c3ec6cb65bb133184c19c0abee25b3e3245a5" + } + } + }, + "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "batchHashData": "0xfcbd61ad2865e4f392687180d555a792c2e6cf505a7ca8a001021ad301114ef6", + "batchL2Data": "0x0b73e6af6f00000000f8c880808401c9c380941275fbb540c8efc58b812ba83b0d0b8b9917ae9880b8a4fe989d48000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000601a87b0584ce92f4593d161480614f2989035225609f08058ccfa3d0f940febe31a2f3c951f6dadcc7ee9007dff81504b0fcd6d7cf59996efdc33d92bf7f9f8f600000000000000000000000000000000000000000000000000000000000000018203e88080ea50adad84cd9c826d57a4c8cc49314a50bd79ac6b18bc1bcc5cec09d6fb32e70ebddee3a15d74dd994f49932acaaf90ad0f40f345a60d719aa49e0671f69d6a1cff", + "chainID": 1000, + "oldAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "forkID": 13, + "l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "timestampLimit": "1944498031", + "virtualCounters": { + "steps": 308451, + "arith": 21726, + "binary": 25173, + "memAlign": 127, + "keccaks": 11, + "padding": 41, + "poseidon": 4601, + "sha256": 0 + } + }, + { + "id": 8, + "description": "ecMul output is 64 bytes", + "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "sequencerPvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "genesis": [ + { + "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "nonce": "0", + "balance": "100000000000000000000", + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e" + }, + { + "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": "0", + "balance": "200000000000000000000", + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23" + }, + { + "address": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "1", + "balance": "0", + "bytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c806304772c1d146100515780631c43010f1461006d5780639cf9cfc814610089578063fe989d48146100a5575b600080fd5b61006b60048036038101906100669190610328565b6100c1565b005b61008760048036038101906100829190610328565b610136565b005b6100a3600480360381019061009e9190610328565b6101ab565b005b6100bf60048036038101906100ba9190610328565b610220565b005b6100c9610295565b60808183516020850160015afa80600055503d806001555060005b602081101561013157818160208110610100576100ff610489565b5b60200201516002826020811061011957610118610489565b5b0181905550808061012990610411565b9150506100e4565b505050565b61013e610295565b60408183516020850160085afa80600055503d806001555060005b60208110156101a65781816020811061017557610174610489565b5b60200201516002826020811061018e5761018d610489565b5b0181905550808061019e90610411565b915050610159565b505050565b6101b3610295565b60808183516020850160065afa80600055503d806001555060005b602081101561021b578181602081106101ea576101e9610489565b5b60200201516002826020811061020357610202610489565b5b0181905550808061021390610411565b9150506101ce565b505050565b610228610295565b60808183516020850160075afa80600055503d806001555060005b60208110156102905781816020811061025f5761025e610489565b5b60200201516002826020811061027857610277610489565b5b0181905550808061028890610411565b915050610243565b505050565b604051806104000160405280602090602082028036833780820191505090505090565b60006102cb6102c684610396565b610371565b9050828152602081018484840111156102e7576102e66104ec565b5b6102f28482856103d1565b509392505050565b600082601f83011261030f5761030e6104e7565b5b813561031f8482602086016102b8565b91505092915050565b60006020828403121561033e5761033d6104f6565b5b600082013567ffffffffffffffff81111561035c5761035b6104f1565b5b610368848285016102fa565b91505092915050565b600061037b61038c565b905061038782826103e0565b919050565b6000604051905090565b600067ffffffffffffffff8211156103b1576103b06104b8565b5b6103ba826104fb565b9050602081019050919050565b6000819050919050565b82818337600083830152505050565b6103e9826104fb565b810181811067ffffffffffffffff82111715610408576104076104b8565b5b80604052505050565b600061041c826103c7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561044f5761044e61045a565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f830116905091905056fea26469706673582212202966d4738303338a726cbf4b16a53f1282d8575e1c7ed1749fea9289c9a6756b64736f6c63430008070033", + "abi": [ + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecAdd", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecMul", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecPairingGeneric", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecRecover", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "storage": {} + } + ], + "expectedOldRoot": "0x72d36f85e07d0cd9fc75567db9ca40e81410921ea9e16c76172a301ddcb97e0e", + "txs": [ + { + "type": 11, + "deltaTimestamp": "1944498031", + "l1Info": { + "globalExitRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "blockHash": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb", + "timestamp": "42" + }, + "indexL1InfoTree": 0 + }, + { + "from": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "0", + "value": "0", + "data": "0xfe989d480000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000006017c139df0efee0f766bc0204762b774362e4ded88953a39ce849a8a7fa163fa901e0559bacb160664764a357af8a9fe70baa9258e0b959273ffc5718c6d4cc7cffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", + "gasLimit": 30000000, + "gasPrice": "0", + "chainId": 1000 + } + ], + "expectedNewRoot": "0xc1c5eeedbca6ce7758e6a4afab23e8b008e58a57671d5b25041e3bea780d0c27", + "expectedNewLeafs": { + "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D": { + "balance": "100000000000000000000", + "nonce": "0", + "storage": null + }, + "0x4d5Cf5032B2a844602278b01199ED191A86c93ff": { + "balance": "200000000000000000000", + "nonce": "1", + "storage": null + }, + "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98": { + "balance": "0", + "nonce": "1", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000001": "0x40", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x29e587aadd7c06722aabba753017c093f70ba7eb1f1c0104ec0564e7e3e21f60", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0x22b1143f6a41008e7755c71c3d00b6b915d386de21783ef590486d8afa8453b1" + }, + "hashBytecode": "0x6d842ee3d5b0df0b761ad7b684cdfbf4fef99f95f773165bc3f671e8b86995da", + "bytecodeLength": 1346 + }, + "0x000000000000000000000000000000005ca1ab1e": { + "balance": "0", + "nonce": "0", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x73e6af6f", + "0xa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49": "0x72d36f85e07d0cd9fc75567db9ca40e81410921ea9e16c76172a301ddcb97e0e", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0xe4d9511821378eb16ed21c1069fcb5aa7e05e5fc694b191a3f43e3e0c1130b4b" + } + } + }, + "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "batchHashData": "0x79631551f1baa19418bb2639c54d86b68bc06032f2c4217ce98a039d907c43d4", + "batchL2Data": "0x0b73e6af6f00000000f8c880808401c9c380941275fbb540c8efc58b812ba83b0d0b8b9917ae9880b8a4fe989d480000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000006017c139df0efee0f766bc0204762b774362e4ded88953a39ce849a8a7fa163fa901e0559bacb160664764a357af8a9fe70baa9258e0b959273ffc5718c6d4cc7cffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203e8808095038c4e874c53daba0dda11025f3537433fbbc2626145cd3d38f725a1648d687de68d1547c5d293bbf3449c13f11d8ac83e7167cbad8cef9e46de16bb0800241bff", + "chainID": 1000, + "oldAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "forkID": 13, + "l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "timestampLimit": "1944498031", + "virtualCounters": { + "steps": 308451, + "arith": 21726, + "binary": 25173, + "memAlign": 127, + "keccaks": 11, + "padding": 41, + "poseidon": 4601, + "sha256": 0 + } + }, + { + "id": 9, + "description": "ecMul output is 64 bytes", + "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "sequencerPvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "genesis": [ + { + "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "nonce": "0", + "balance": "100000000000000000000", + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e" + }, + { + "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": "0", + "balance": "200000000000000000000", + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23" + }, + { + "address": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "1", + "balance": "0", + "bytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c806304772c1d146100515780631c43010f1461006d5780639cf9cfc814610089578063fe989d48146100a5575b600080fd5b61006b60048036038101906100669190610328565b6100c1565b005b61008760048036038101906100829190610328565b610136565b005b6100a3600480360381019061009e9190610328565b6101ab565b005b6100bf60048036038101906100ba9190610328565b610220565b005b6100c9610295565b60808183516020850160015afa80600055503d806001555060005b602081101561013157818160208110610100576100ff610489565b5b60200201516002826020811061011957610118610489565b5b0181905550808061012990610411565b9150506100e4565b505050565b61013e610295565b60408183516020850160085afa80600055503d806001555060005b60208110156101a65781816020811061017557610174610489565b5b60200201516002826020811061018e5761018d610489565b5b0181905550808061019e90610411565b915050610159565b505050565b6101b3610295565b60808183516020850160065afa80600055503d806001555060005b602081101561021b578181602081106101ea576101e9610489565b5b60200201516002826020811061020357610202610489565b5b0181905550808061021390610411565b9150506101ce565b505050565b610228610295565b60808183516020850160075afa80600055503d806001555060005b60208110156102905781816020811061025f5761025e610489565b5b60200201516002826020811061027857610277610489565b5b0181905550808061028890610411565b915050610243565b505050565b604051806104000160405280602090602082028036833780820191505090505090565b60006102cb6102c684610396565b610371565b9050828152602081018484840111156102e7576102e66104ec565b5b6102f28482856103d1565b509392505050565b600082601f83011261030f5761030e6104e7565b5b813561031f8482602086016102b8565b91505092915050565b60006020828403121561033e5761033d6104f6565b5b600082013567ffffffffffffffff81111561035c5761035b6104f1565b5b610368848285016102fa565b91505092915050565b600061037b61038c565b905061038782826103e0565b919050565b6000604051905090565b600067ffffffffffffffff8211156103b1576103b06104b8565b5b6103ba826104fb565b9050602081019050919050565b6000819050919050565b82818337600083830152505050565b6103e9826104fb565b810181811067ffffffffffffffff82111715610408576104076104b8565b5b80604052505050565b600061041c826103c7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561044f5761044e61045a565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f830116905091905056fea26469706673582212202966d4738303338a726cbf4b16a53f1282d8575e1c7ed1749fea9289c9a6756b64736f6c63430008070033", + "abi": [ + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecAdd", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecMul", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecPairingGeneric", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecRecover", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "storage": {} + } + ], + "expectedOldRoot": "0x72d36f85e07d0cd9fc75567db9ca40e81410921ea9e16c76172a301ddcb97e0e", + "txs": [ + { + "type": 11, + "deltaTimestamp": "1944498031", + "l1Info": { + "globalExitRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "blockHash": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb", + "timestamp": "42" + }, + "indexL1InfoTree": 0 + }, + { + "from": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "0", + "value": "0", + "data": "0xfe989d480000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000006017c139df0efee0f766bc0204762b774362e4ded88953a39ce849a8a7fa163fa901e0559bacb160664764a357af8a9fe70baa9258e0b959273ffc5718c6d4cc7c30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000000", + "gasLimit": 30000000, + "gasPrice": "0", + "chainId": 1000 + } + ], + "expectedNewRoot": "0x3acd19a9cbab6f27f23adbc4cb34feb0b08cf22bfbe1ef9fa3cf97868c4b826d", + "expectedNewLeafs": { + "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D": { + "balance": "100000000000000000000", + "nonce": "0", + "storage": null + }, + "0x4d5Cf5032B2a844602278b01199ED191A86c93ff": { + "balance": "200000000000000000000", + "nonce": "1", + "storage": null + }, + "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98": { + "balance": "0", + "nonce": "1", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000001": "0x40", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x17c139df0efee0f766bc0204762b774362e4ded88953a39ce849a8a7fa163fa9", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0x2e83f8d734803fc370eba25ed1f6b8768bd6d83887b87165fc2434fe11a830cb" + }, + "hashBytecode": "0x6d842ee3d5b0df0b761ad7b684cdfbf4fef99f95f773165bc3f671e8b86995da", + "bytecodeLength": 1346 + }, + "0x000000000000000000000000000000005ca1ab1e": { + "balance": "0", + "nonce": "0", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x73e6af6f", + "0xa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49": "0x72d36f85e07d0cd9fc75567db9ca40e81410921ea9e16c76172a301ddcb97e0e", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0xe9104d5bb7f1862a3f7f4abd447c29eccb216dd91ea55e9dcb41f1d6a6c7a1ad" + } + } + }, + "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "batchHashData": "0xa3d6d05de23efbfc37114c7ab7029971b77df845508c2fdc0df3efd622c0aef3", + "batchL2Data": "0x0b73e6af6f00000000f8c880808401c9c380941275fbb540c8efc58b812ba83b0d0b8b9917ae9880b8a4fe989d480000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000006017c139df0efee0f766bc0204762b774362e4ded88953a39ce849a8a7fa163fa901e0559bacb160664764a357af8a9fe70baa9258e0b959273ffc5718c6d4cc7c30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000008203e88080b27e0ec288c0de51d141bc12a31170deb92cf2ea76ac2864f153ff5f05fae38f3cf2650cecc37f7d14bdf98608a411032d705b52160392700e6134d4ae31cc471cff", + "chainID": 1000, + "oldAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "forkID": 13, + "l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "timestampLimit": "1944498031", + "virtualCounters": { + "steps": 308451, + "arith": 21726, + "binary": 25173, + "memAlign": 127, + "keccaks": 11, + "padding": 41, + "poseidon": 4601, + "sha256": 0 + } + }, + { + "id": 10, + "description": "ecMul output is 64 bytes", + "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "sequencerPvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "genesis": [ + { + "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "nonce": "0", + "balance": "100000000000000000000", + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e" + }, + { + "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": "0", + "balance": "200000000000000000000", + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23" + }, + { + "address": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "1", + "balance": "0", + "bytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c806304772c1d146100515780631c43010f1461006d5780639cf9cfc814610089578063fe989d48146100a5575b600080fd5b61006b60048036038101906100669190610328565b6100c1565b005b61008760048036038101906100829190610328565b610136565b005b6100a3600480360381019061009e9190610328565b6101ab565b005b6100bf60048036038101906100ba9190610328565b610220565b005b6100c9610295565b60808183516020850160015afa80600055503d806001555060005b602081101561013157818160208110610100576100ff610489565b5b60200201516002826020811061011957610118610489565b5b0181905550808061012990610411565b9150506100e4565b505050565b61013e610295565b60408183516020850160085afa80600055503d806001555060005b60208110156101a65781816020811061017557610174610489565b5b60200201516002826020811061018e5761018d610489565b5b0181905550808061019e90610411565b915050610159565b505050565b6101b3610295565b60808183516020850160065afa80600055503d806001555060005b602081101561021b578181602081106101ea576101e9610489565b5b60200201516002826020811061020357610202610489565b5b0181905550808061021390610411565b9150506101ce565b505050565b610228610295565b60808183516020850160075afa80600055503d806001555060005b60208110156102905781816020811061025f5761025e610489565b5b60200201516002826020811061027857610277610489565b5b0181905550808061028890610411565b915050610243565b505050565b604051806104000160405280602090602082028036833780820191505090505090565b60006102cb6102c684610396565b610371565b9050828152602081018484840111156102e7576102e66104ec565b5b6102f28482856103d1565b509392505050565b600082601f83011261030f5761030e6104e7565b5b813561031f8482602086016102b8565b91505092915050565b60006020828403121561033e5761033d6104f6565b5b600082013567ffffffffffffffff81111561035c5761035b6104f1565b5b610368848285016102fa565b91505092915050565b600061037b61038c565b905061038782826103e0565b919050565b6000604051905090565b600067ffffffffffffffff8211156103b1576103b06104b8565b5b6103ba826104fb565b9050602081019050919050565b6000819050919050565b82818337600083830152505050565b6103e9826104fb565b810181811067ffffffffffffffff82111715610408576104076104b8565b5b80604052505050565b600061041c826103c7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561044f5761044e61045a565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f830116905091905056fea26469706673582212202966d4738303338a726cbf4b16a53f1282d8575e1c7ed1749fea9289c9a6756b64736f6c63430008070033", + "abi": [ + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecAdd", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecMul", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecPairingGeneric", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecRecover", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "storage": {} + } + ], + "expectedOldRoot": "0x72d36f85e07d0cd9fc75567db9ca40e81410921ea9e16c76172a301ddcb97e0e", + "txs": [ + { + "type": 11, + "deltaTimestamp": "1944498031", + "l1Info": { + "globalExitRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "blockHash": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb", + "timestamp": "42" + }, + "indexL1InfoTree": 0 + }, + { + "from": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "0", + "value": "0", + "data": "0xfe989d480000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000006017c139df0efee0f766bc0204762b774362e4ded88953a39ce849a8a7fa163fa901e0559bacb160664764a357af8a9fe70baa9258e0b959273ffc5718c6d4cc7c0000000000000000000000000000000100000000000000000000000000000000", + "gasLimit": 30000000, + "gasPrice": "0", + "chainId": 1000 + } + ], + "expectedNewRoot": "0x56b04b47f151a7b01880b88a03eefadd5562d6d800b58915e86c92e080894101", + "expectedNewLeafs": { + "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D": { + "balance": "100000000000000000000", + "nonce": "0", + "storage": null + }, + "0x4d5Cf5032B2a844602278b01199ED191A86c93ff": { + "balance": "200000000000000000000", + "nonce": "1", + "storage": null + }, + "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98": { + "balance": "0", + "nonce": "1", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000001": "0x40", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x221a3577763877920d0d14a91cd59b9479f83b87a653bb41f82a3f6f120cea7c", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0x2752c7f64cdd7f0e494bff7b60419f242210f2026ed2ec70f89f78a4c56a1f15" + }, + "hashBytecode": "0x6d842ee3d5b0df0b761ad7b684cdfbf4fef99f95f773165bc3f671e8b86995da", + "bytecodeLength": 1346 + }, + "0x000000000000000000000000000000005ca1ab1e": { + "balance": "0", + "nonce": "0", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x73e6af6f", + "0xa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49": "0x72d36f85e07d0cd9fc75567db9ca40e81410921ea9e16c76172a301ddcb97e0e", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0x31b6adbf07bd0779f416cc96887f5bac430baca07056722f3355337bc4ec0fe0" + } + } + }, + "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "batchHashData": "0x46de72223309784ce10f5c770c16eb4483adcc2fc4bae4a308bc7ff3d982eccd", + "batchL2Data": "0x0b73e6af6f00000000f8c880808401c9c380941275fbb540c8efc58b812ba83b0d0b8b9917ae9880b8a4fe989d480000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000006017c139df0efee0f766bc0204762b774362e4ded88953a39ce849a8a7fa163fa901e0559bacb160664764a357af8a9fe70baa9258e0b959273ffc5718c6d4cc7c00000000000000000000000000000001000000000000000000000000000000008203e8808070b9a3431dcc90ba029e256dddbb86dd9846437fd2daf6af1afc47392b718ff65f5ea8682e9fc0690d3f4b2c0d83806615f1423e1e6b696f602c15e95121d7e21bff", + "chainID": 1000, + "oldAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "forkID": 13, + "l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "timestampLimit": "1944498031", + "virtualCounters": { + "steps": 308451, + "arith": 21726, + "binary": 25173, + "memAlign": 127, + "keccaks": 11, + "padding": 41, + "poseidon": 4601, + "sha256": 0 + } + }, + { + "id": 11, + "description": "ecMul output is 64 bytes", + "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "sequencerPvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "genesis": [ + { + "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "nonce": "0", + "balance": "100000000000000000000", + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e" + }, + { + "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": "0", + "balance": "200000000000000000000", + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23" + }, + { + "address": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "1", + "balance": "0", + "bytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c806304772c1d146100515780631c43010f1461006d5780639cf9cfc814610089578063fe989d48146100a5575b600080fd5b61006b60048036038101906100669190610328565b6100c1565b005b61008760048036038101906100829190610328565b610136565b005b6100a3600480360381019061009e9190610328565b6101ab565b005b6100bf60048036038101906100ba9190610328565b610220565b005b6100c9610295565b60808183516020850160015afa80600055503d806001555060005b602081101561013157818160208110610100576100ff610489565b5b60200201516002826020811061011957610118610489565b5b0181905550808061012990610411565b9150506100e4565b505050565b61013e610295565b60408183516020850160085afa80600055503d806001555060005b60208110156101a65781816020811061017557610174610489565b5b60200201516002826020811061018e5761018d610489565b5b0181905550808061019e90610411565b915050610159565b505050565b6101b3610295565b60808183516020850160065afa80600055503d806001555060005b602081101561021b578181602081106101ea576101e9610489565b5b60200201516002826020811061020357610202610489565b5b0181905550808061021390610411565b9150506101ce565b505050565b610228610295565b60808183516020850160075afa80600055503d806001555060005b60208110156102905781816020811061025f5761025e610489565b5b60200201516002826020811061027857610277610489565b5b0181905550808061028890610411565b915050610243565b505050565b604051806104000160405280602090602082028036833780820191505090505090565b60006102cb6102c684610396565b610371565b9050828152602081018484840111156102e7576102e66104ec565b5b6102f28482856103d1565b509392505050565b600082601f83011261030f5761030e6104e7565b5b813561031f8482602086016102b8565b91505092915050565b60006020828403121561033e5761033d6104f6565b5b600082013567ffffffffffffffff81111561035c5761035b6104f1565b5b610368848285016102fa565b91505092915050565b600061037b61038c565b905061038782826103e0565b919050565b6000604051905090565b600067ffffffffffffffff8211156103b1576103b06104b8565b5b6103ba826104fb565b9050602081019050919050565b6000819050919050565b82818337600083830152505050565b6103e9826104fb565b810181811067ffffffffffffffff82111715610408576104076104b8565b5b80604052505050565b600061041c826103c7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561044f5761044e61045a565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f830116905091905056fea26469706673582212202966d4738303338a726cbf4b16a53f1282d8575e1c7ed1749fea9289c9a6756b64736f6c63430008070033", + "abi": [ + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecAdd", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecMul", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecPairingGeneric", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecRecover", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "storage": {} + } + ], + "expectedOldRoot": "0x72d36f85e07d0cd9fc75567db9ca40e81410921ea9e16c76172a301ddcb97e0e", + "txs": [ + { + "type": 11, + "deltaTimestamp": "1944498031", + "l1Info": { + "globalExitRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "blockHash": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb", + "timestamp": "42" + }, + "indexL1InfoTree": 0 + }, + { + "from": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "0", + "value": "0", + "data": "0xfe989d480000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000006017c139df0efee0f766bc0204762b774362e4ded88953a39ce849a8a7fa163fa901e0559bacb160664764a357af8a9fe70baa9258e0b959273ffc5718c6d4cc7c0000000000000000000000000000000000000000000000000000000000000009", + "gasLimit": 30000000, + "gasPrice": "0", + "chainId": 1000 + } + ], + "expectedNewRoot": "0x099ac25ab395105db567b5442b2a23ce53ce0e22decb88b5f5c1bba5c8816d6d", + "expectedNewLeafs": { + "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D": { + "balance": "100000000000000000000", + "nonce": "0", + "storage": null + }, + "0x4d5Cf5032B2a844602278b01199ED191A86c93ff": { + "balance": "200000000000000000000", + "nonce": "1", + "storage": null + }, + "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98": { + "balance": "0", + "nonce": "1", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000001": "0x40", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x228e687a379ba154554040f8821f4e41ee2be287c201aa9c3bc02c9dd12f1e69", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0x1e0fd6ee672d04cfd924ed8fdc7ba5f2d06c53c1edc30f65f2af5a5b97f0a76a" + }, + "hashBytecode": "0x6d842ee3d5b0df0b761ad7b684cdfbf4fef99f95f773165bc3f671e8b86995da", + "bytecodeLength": 1346 + }, + "0x000000000000000000000000000000005ca1ab1e": { + "balance": "0", + "nonce": "0", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x73e6af6f", + "0xa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49": "0x72d36f85e07d0cd9fc75567db9ca40e81410921ea9e16c76172a301ddcb97e0e", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0xbac8586fb4db33da63a64a771827f3c0a10eb596ead659dc1de552df44afd3c3" + } + } + }, + "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "batchHashData": "0x844024a156c5cfbcafbfce88076a0e73774a6bd57089d3a21c88c2836866dc3c", + "batchL2Data": "0x0b73e6af6f00000000f8c880808401c9c380941275fbb540c8efc58b812ba83b0d0b8b9917ae9880b8a4fe989d480000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000006017c139df0efee0f766bc0204762b774362e4ded88953a39ce849a8a7fa163fa901e0559bacb160664764a357af8a9fe70baa9258e0b959273ffc5718c6d4cc7c00000000000000000000000000000000000000000000000000000000000000098203e880801a5a1f5de3f2d338c5082feb2a1fefc137b87c064f5750a608d6374cfe6ebe52748c8a5fce77b475d952893723c16cc71da54f141df4bc51ca740924dbee4a6d1cff", + "chainID": 1000, + "oldAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "forkID": 13, + "l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "timestampLimit": "1944498031", + "virtualCounters": { + "steps": 308451, + "arith": 21726, + "binary": 25173, + "memAlign": 127, + "keccaks": 11, + "padding": 41, + "poseidon": 4601, + "sha256": 0 + } + }, + { + "id": 12, + "description": "ecMul output is 64 bytes", + "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "sequencerPvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "genesis": [ + { + "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "nonce": "0", + "balance": "100000000000000000000", + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e" + }, + { + "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": "0", + "balance": "200000000000000000000", + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23" + }, + { + "address": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "1", + "balance": "0", + "bytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c806304772c1d146100515780631c43010f1461006d5780639cf9cfc814610089578063fe989d48146100a5575b600080fd5b61006b60048036038101906100669190610328565b6100c1565b005b61008760048036038101906100829190610328565b610136565b005b6100a3600480360381019061009e9190610328565b6101ab565b005b6100bf60048036038101906100ba9190610328565b610220565b005b6100c9610295565b60808183516020850160015afa80600055503d806001555060005b602081101561013157818160208110610100576100ff610489565b5b60200201516002826020811061011957610118610489565b5b0181905550808061012990610411565b9150506100e4565b505050565b61013e610295565b60408183516020850160085afa80600055503d806001555060005b60208110156101a65781816020811061017557610174610489565b5b60200201516002826020811061018e5761018d610489565b5b0181905550808061019e90610411565b915050610159565b505050565b6101b3610295565b60808183516020850160065afa80600055503d806001555060005b602081101561021b578181602081106101ea576101e9610489565b5b60200201516002826020811061020357610202610489565b5b0181905550808061021390610411565b9150506101ce565b505050565b610228610295565b60808183516020850160075afa80600055503d806001555060005b60208110156102905781816020811061025f5761025e610489565b5b60200201516002826020811061027857610277610489565b5b0181905550808061028890610411565b915050610243565b505050565b604051806104000160405280602090602082028036833780820191505090505090565b60006102cb6102c684610396565b610371565b9050828152602081018484840111156102e7576102e66104ec565b5b6102f28482856103d1565b509392505050565b600082601f83011261030f5761030e6104e7565b5b813561031f8482602086016102b8565b91505092915050565b60006020828403121561033e5761033d6104f6565b5b600082013567ffffffffffffffff81111561035c5761035b6104f1565b5b610368848285016102fa565b91505092915050565b600061037b61038c565b905061038782826103e0565b919050565b6000604051905090565b600067ffffffffffffffff8211156103b1576103b06104b8565b5b6103ba826104fb565b9050602081019050919050565b6000819050919050565b82818337600083830152505050565b6103e9826104fb565b810181811067ffffffffffffffff82111715610408576104076104b8565b5b80604052505050565b600061041c826103c7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561044f5761044e61045a565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f830116905091905056fea26469706673582212202966d4738303338a726cbf4b16a53f1282d8575e1c7ed1749fea9289c9a6756b64736f6c63430008070033", + "abi": [ + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecAdd", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecMul", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecPairingGeneric", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecRecover", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "storage": {} + } + ], + "expectedOldRoot": "0x72d36f85e07d0cd9fc75567db9ca40e81410921ea9e16c76172a301ddcb97e0e", + "txs": [ + { + "type": 11, + "deltaTimestamp": "1944498031", + "l1Info": { + "globalExitRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "blockHash": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb", + "timestamp": "42" + }, + "indexL1InfoTree": 0 + }, + { + "from": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "0", + "value": "0", + "data": "0xfe989d480000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000006017c139df0efee0f766bc0204762b774362e4ded88953a39ce849a8a7fa163fa901e0559bacb160664764a357af8a9fe70baa9258e0b959273ffc5718c6d4cc7c0000000000000000000000000000000000000000000000000000000000000001", + "gasLimit": 30000000, + "gasPrice": "0", + "chainId": 1000 + } + ], + "expectedNewRoot": "0x5fffb9f377c61ab2f8c1497a25823b7ee862b4e9b33cadb02959603bf9f29b5a", + "expectedNewLeafs": { + "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D": { + "balance": "100000000000000000000", + "nonce": "0", + "storage": null + }, + "0x4d5Cf5032B2a844602278b01199ED191A86c93ff": { + "balance": "200000000000000000000", + "nonce": "1", + "storage": null + }, + "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98": { + "balance": "0", + "nonce": "1", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000001": "0x40", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x17c139df0efee0f766bc0204762b774362e4ded88953a39ce849a8a7fa163fa9", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0x01e0559bacb160664764a357af8a9fe70baa9258e0b959273ffc5718c6d4cc7c" + }, + "hashBytecode": "0x6d842ee3d5b0df0b761ad7b684cdfbf4fef99f95f773165bc3f671e8b86995da", + "bytecodeLength": 1346 + }, + "0x000000000000000000000000000000005ca1ab1e": { + "balance": "0", + "nonce": "0", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x73e6af6f", + "0xa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49": "0x72d36f85e07d0cd9fc75567db9ca40e81410921ea9e16c76172a301ddcb97e0e", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0x415ef3651fc1fd3ecb5132dca04e68cf523349fc62057548f7f0237237936cef" + } + } + }, + "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "batchHashData": "0x937d9b69b0b354cd8b16d31a4e945bbb342639459a977594518c0eb2ac096eb8", + "batchL2Data": "0x0b73e6af6f00000000f8c880808401c9c380941275fbb540c8efc58b812ba83b0d0b8b9917ae9880b8a4fe989d480000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000006017c139df0efee0f766bc0204762b774362e4ded88953a39ce849a8a7fa163fa901e0559bacb160664764a357af8a9fe70baa9258e0b959273ffc5718c6d4cc7c00000000000000000000000000000000000000000000000000000000000000018203e88080ddba6e2c1c1923d0c3ce918fb3886ee69e294a3e2be3f9085be5585539393f9648629cf13e52d07d697fae47451fbc2c097d2283c7bb1888da9f20d74944cc2e1bff", + "chainID": 1000, + "oldAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "forkID": 13, + "l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "timestampLimit": "1944498031", + "virtualCounters": { + "steps": 308451, + "arith": 21726, + "binary": 25173, + "memAlign": 127, + "keccaks": 11, + "padding": 41, + "poseidon": 4601, + "sha256": 0 + } + }, + { + "id": 13, + "description": "ecMul output is 64 bytes", + "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "sequencerPvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "genesis": [ + { + "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "nonce": "0", + "balance": "100000000000000000000", + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e" + }, + { + "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": "0", + "balance": "200000000000000000000", + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23" + }, + { + "address": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "1", + "balance": "0", + "bytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c806304772c1d146100515780631c43010f1461006d5780639cf9cfc814610089578063fe989d48146100a5575b600080fd5b61006b60048036038101906100669190610328565b6100c1565b005b61008760048036038101906100829190610328565b610136565b005b6100a3600480360381019061009e9190610328565b6101ab565b005b6100bf60048036038101906100ba9190610328565b610220565b005b6100c9610295565b60808183516020850160015afa80600055503d806001555060005b602081101561013157818160208110610100576100ff610489565b5b60200201516002826020811061011957610118610489565b5b0181905550808061012990610411565b9150506100e4565b505050565b61013e610295565b60408183516020850160085afa80600055503d806001555060005b60208110156101a65781816020811061017557610174610489565b5b60200201516002826020811061018e5761018d610489565b5b0181905550808061019e90610411565b915050610159565b505050565b6101b3610295565b60808183516020850160065afa80600055503d806001555060005b602081101561021b578181602081106101ea576101e9610489565b5b60200201516002826020811061020357610202610489565b5b0181905550808061021390610411565b9150506101ce565b505050565b610228610295565b60808183516020850160075afa80600055503d806001555060005b60208110156102905781816020811061025f5761025e610489565b5b60200201516002826020811061027857610277610489565b5b0181905550808061028890610411565b915050610243565b505050565b604051806104000160405280602090602082028036833780820191505090505090565b60006102cb6102c684610396565b610371565b9050828152602081018484840111156102e7576102e66104ec565b5b6102f28482856103d1565b509392505050565b600082601f83011261030f5761030e6104e7565b5b813561031f8482602086016102b8565b91505092915050565b60006020828403121561033e5761033d6104f6565b5b600082013567ffffffffffffffff81111561035c5761035b6104f1565b5b610368848285016102fa565b91505092915050565b600061037b61038c565b905061038782826103e0565b919050565b6000604051905090565b600067ffffffffffffffff8211156103b1576103b06104b8565b5b6103ba826104fb565b9050602081019050919050565b6000819050919050565b82818337600083830152505050565b6103e9826104fb565b810181811067ffffffffffffffff82111715610408576104076104b8565b5b80604052505050565b600061041c826103c7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561044f5761044e61045a565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f830116905091905056fea26469706673582212202966d4738303338a726cbf4b16a53f1282d8575e1c7ed1749fea9289c9a6756b64736f6c63430008070033", + "abi": [ + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecAdd", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecMul", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecPairingGeneric", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecRecover", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "storage": {} + } + ], + "expectedOldRoot": "0x72d36f85e07d0cd9fc75567db9ca40e81410921ea9e16c76172a301ddcb97e0e", + "txs": [ + { + "type": 11, + "deltaTimestamp": "1944498031", + "l1Info": { + "globalExitRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "blockHash": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb", + "timestamp": "42" + }, + "indexL1InfoTree": 0 + }, + { + "from": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "0", + "value": "0", + "data": "0xfe989d4800000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060039730ea8dff1254c0fee9c0ea777d29a9c710b7e616683f194f18c43b43b869073a5ffcc6fc7a28c30723d6e58ce577356982d65b833a5a5c15bf9024b43d98ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", + "gasLimit": 30000000, + "gasPrice": "0", + "chainId": 1000 + } + ], + "expectedNewRoot": "0x4d0e05d3aef1a4a24b9cfc6441612d7eb720dcfa91376d098d755f07b59c24ab", + "expectedNewLeafs": { + "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D": { + "balance": "100000000000000000000", + "nonce": "0", + "storage": null + }, + "0x4d5Cf5032B2a844602278b01199ED191A86c93ff": { + "balance": "200000000000000000000", + "nonce": "1", + "storage": null + }, + "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98": { + "balance": "0", + "nonce": "1", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000001": "0x40", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0xa1a234d08efaa2616607e31eca1980128b00b415c845ff25bba3afcb81dc00", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0x242077290ed33906aeb8e42fd98c41bcb9057ba03421af3f2d08cfc441186024" + }, + "hashBytecode": "0x6d842ee3d5b0df0b761ad7b684cdfbf4fef99f95f773165bc3f671e8b86995da", + "bytecodeLength": 1346 + }, + "0x000000000000000000000000000000005ca1ab1e": { + "balance": "0", + "nonce": "0", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x73e6af6f", + "0xa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49": "0x72d36f85e07d0cd9fc75567db9ca40e81410921ea9e16c76172a301ddcb97e0e", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0x17a77862cd3abddcf5595421ddba3efc36525d5acbab73e20ca93bba5379033c" + } + } + }, + "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "batchHashData": "0xfd68582094f9b82656bb844f31a920ffce7ee25c724431962e16c596f34f5a59", + "batchL2Data": "0x0b73e6af6f00000000f8c880808401c9c380941275fbb540c8efc58b812ba83b0d0b8b9917ae9880b8a4fe989d4800000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060039730ea8dff1254c0fee9c0ea777d29a9c710b7e616683f194f18c43b43b869073a5ffcc6fc7a28c30723d6e58ce577356982d65b833a5a5c15bf9024b43d98ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203e88080df013d636fe8d65034c862b687fa8601f1bc5bd4cdedcda8035f2a2f59fd3dd858ce77f2aaa7e09bd616ebd5de690588db7b4d002e4f809fddbb398ecdda1b0b1bff", + "chainID": 1000, + "oldAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "forkID": 13, + "l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "timestampLimit": "1944498031", + "virtualCounters": { + "steps": 308451, + "arith": 21726, + "binary": 25173, + "memAlign": 127, + "keccaks": 11, + "padding": 41, + "poseidon": 4601, + "sha256": 0 + } + }, + { + "id": 14, + "description": "ecMul output is 64 bytes", + "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "sequencerPvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "genesis": [ + { + "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "nonce": "0", + "balance": "100000000000000000000", + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e" + }, + { + "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": "0", + "balance": "200000000000000000000", + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23" + }, + { + "address": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "1", + "balance": "0", + "bytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c806304772c1d146100515780631c43010f1461006d5780639cf9cfc814610089578063fe989d48146100a5575b600080fd5b61006b60048036038101906100669190610328565b6100c1565b005b61008760048036038101906100829190610328565b610136565b005b6100a3600480360381019061009e9190610328565b6101ab565b005b6100bf60048036038101906100ba9190610328565b610220565b005b6100c9610295565b60808183516020850160015afa80600055503d806001555060005b602081101561013157818160208110610100576100ff610489565b5b60200201516002826020811061011957610118610489565b5b0181905550808061012990610411565b9150506100e4565b505050565b61013e610295565b60408183516020850160085afa80600055503d806001555060005b60208110156101a65781816020811061017557610174610489565b5b60200201516002826020811061018e5761018d610489565b5b0181905550808061019e90610411565b915050610159565b505050565b6101b3610295565b60808183516020850160065afa80600055503d806001555060005b602081101561021b578181602081106101ea576101e9610489565b5b60200201516002826020811061020357610202610489565b5b0181905550808061021390610411565b9150506101ce565b505050565b610228610295565b60808183516020850160075afa80600055503d806001555060005b60208110156102905781816020811061025f5761025e610489565b5b60200201516002826020811061027857610277610489565b5b0181905550808061028890610411565b915050610243565b505050565b604051806104000160405280602090602082028036833780820191505090505090565b60006102cb6102c684610396565b610371565b9050828152602081018484840111156102e7576102e66104ec565b5b6102f28482856103d1565b509392505050565b600082601f83011261030f5761030e6104e7565b5b813561031f8482602086016102b8565b91505092915050565b60006020828403121561033e5761033d6104f6565b5b600082013567ffffffffffffffff81111561035c5761035b6104f1565b5b610368848285016102fa565b91505092915050565b600061037b61038c565b905061038782826103e0565b919050565b6000604051905090565b600067ffffffffffffffff8211156103b1576103b06104b8565b5b6103ba826104fb565b9050602081019050919050565b6000819050919050565b82818337600083830152505050565b6103e9826104fb565b810181811067ffffffffffffffff82111715610408576104076104b8565b5b80604052505050565b600061041c826103c7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561044f5761044e61045a565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f830116905091905056fea26469706673582212202966d4738303338a726cbf4b16a53f1282d8575e1c7ed1749fea9289c9a6756b64736f6c63430008070033", + "abi": [ + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecAdd", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecMul", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecPairingGeneric", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecRecover", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "storage": {} + } + ], + "expectedOldRoot": "0x72d36f85e07d0cd9fc75567db9ca40e81410921ea9e16c76172a301ddcb97e0e", + "txs": [ + { + "type": 11, + "deltaTimestamp": "1944498031", + "l1Info": { + "globalExitRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "blockHash": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb", + "timestamp": "42" + }, + "indexL1InfoTree": 0 + }, + { + "from": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "0", + "value": "0", + "data": "0xfe989d4800000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060039730ea8dff1254c0fee9c0ea777d29a9c710b7e616683f194f18c43b43b869073a5ffcc6fc7a28c30723d6e58ce577356982d65b833a5a5c15bf9024b43d9830644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000000", + "gasLimit": 30000000, + "gasPrice": "0", + "chainId": 1000 + } + ], + "expectedNewRoot": "0x18d66de5837a7f87c8b5211acba446dcddadc039beff8821b34c5846fbcfb9c6", + "expectedNewLeafs": { + "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D": { + "balance": "100000000000000000000", + "nonce": "0", + "storage": null + }, + "0x4d5Cf5032B2a844602278b01199ED191A86c93ff": { + "balance": "200000000000000000000", + "nonce": "1", + "storage": null + }, + "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98": { + "balance": "0", + "nonce": "1", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000001": "0x40", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x039730ea8dff1254c0fee9c0ea777d29a9c710b7e616683f194f18c43b43b869", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0x2929ee761a352600f54921df9bf472e66217e7bb0cee9032e00acc86b3c8bfaf" + }, + "hashBytecode": "0x6d842ee3d5b0df0b761ad7b684cdfbf4fef99f95f773165bc3f671e8b86995da", + "bytecodeLength": 1346 + }, + "0x000000000000000000000000000000005ca1ab1e": { + "balance": "0", + "nonce": "0", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x73e6af6f", + "0xa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49": "0x72d36f85e07d0cd9fc75567db9ca40e81410921ea9e16c76172a301ddcb97e0e", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0xdd941e1ac411271b92a3574851a53e12058e781cf3465c17d025cce1f10ee115" + } + } + }, + "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "batchHashData": "0x8f2e37d18d3afb4f1903fe07d6f40470f0d0d2b87acfc4beebd9c6d12bd86c50", + "batchL2Data": "0x0b73e6af6f00000000f8c880808401c9c380941275fbb540c8efc58b812ba83b0d0b8b9917ae9880b8a4fe989d4800000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060039730ea8dff1254c0fee9c0ea777d29a9c710b7e616683f194f18c43b43b869073a5ffcc6fc7a28c30723d6e58ce577356982d65b833a5a5c15bf9024b43d9830644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000008203e88080cc60a0bd25dab19aa15820f4287fc0ff48da0d34faf9fbcaf93d1894883d644d5426461ea920cbc037b99c41eea2a7cf91ae0d9fe4829428c3dabf8c437223bc1bff", + "chainID": 1000, + "oldAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "forkID": 13, + "l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "timestampLimit": "1944498031", + "virtualCounters": { + "steps": 308451, + "arith": 21726, + "binary": 25173, + "memAlign": 127, + "keccaks": 11, + "padding": 41, + "poseidon": 4601, + "sha256": 0 + } + }, + { + "id": 15, + "description": "ecMul output is 64 bytes", + "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "sequencerPvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "genesis": [ + { + "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "nonce": "0", + "balance": "100000000000000000000", + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e" + }, + { + "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": "0", + "balance": "200000000000000000000", + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23" + }, + { + "address": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "1", + "balance": "0", + "bytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c806304772c1d146100515780631c43010f1461006d5780639cf9cfc814610089578063fe989d48146100a5575b600080fd5b61006b60048036038101906100669190610328565b6100c1565b005b61008760048036038101906100829190610328565b610136565b005b6100a3600480360381019061009e9190610328565b6101ab565b005b6100bf60048036038101906100ba9190610328565b610220565b005b6100c9610295565b60808183516020850160015afa80600055503d806001555060005b602081101561013157818160208110610100576100ff610489565b5b60200201516002826020811061011957610118610489565b5b0181905550808061012990610411565b9150506100e4565b505050565b61013e610295565b60408183516020850160085afa80600055503d806001555060005b60208110156101a65781816020811061017557610174610489565b5b60200201516002826020811061018e5761018d610489565b5b0181905550808061019e90610411565b915050610159565b505050565b6101b3610295565b60808183516020850160065afa80600055503d806001555060005b602081101561021b578181602081106101ea576101e9610489565b5b60200201516002826020811061020357610202610489565b5b0181905550808061021390610411565b9150506101ce565b505050565b610228610295565b60808183516020850160075afa80600055503d806001555060005b60208110156102905781816020811061025f5761025e610489565b5b60200201516002826020811061027857610277610489565b5b0181905550808061028890610411565b915050610243565b505050565b604051806104000160405280602090602082028036833780820191505090505090565b60006102cb6102c684610396565b610371565b9050828152602081018484840111156102e7576102e66104ec565b5b6102f28482856103d1565b509392505050565b600082601f83011261030f5761030e6104e7565b5b813561031f8482602086016102b8565b91505092915050565b60006020828403121561033e5761033d6104f6565b5b600082013567ffffffffffffffff81111561035c5761035b6104f1565b5b610368848285016102fa565b91505092915050565b600061037b61038c565b905061038782826103e0565b919050565b6000604051905090565b600067ffffffffffffffff8211156103b1576103b06104b8565b5b6103ba826104fb565b9050602081019050919050565b6000819050919050565b82818337600083830152505050565b6103e9826104fb565b810181811067ffffffffffffffff82111715610408576104076104b8565b5b80604052505050565b600061041c826103c7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561044f5761044e61045a565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f830116905091905056fea26469706673582212202966d4738303338a726cbf4b16a53f1282d8575e1c7ed1749fea9289c9a6756b64736f6c63430008070033", + "abi": [ + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecAdd", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecMul", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecPairingGeneric", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecRecover", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "storage": {} + } + ], + "expectedOldRoot": "0x72d36f85e07d0cd9fc75567db9ca40e81410921ea9e16c76172a301ddcb97e0e", + "txs": [ + { + "type": 11, + "deltaTimestamp": "1944498031", + "l1Info": { + "globalExitRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "blockHash": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb", + "timestamp": "42" + }, + "indexL1InfoTree": 0 + }, + { + "from": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "0", + "value": "0", + "data": "0xfe989d4800000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060039730ea8dff1254c0fee9c0ea777d29a9c710b7e616683f194f18c43b43b869073a5ffcc6fc7a28c30723d6e58ce577356982d65b833a5a5c15bf9024b43d980000000000000000000000000000000100000000000000000000000000000000", + "gasLimit": 30000000, + "gasPrice": "0", + "chainId": 1000 + } + ], + "expectedNewRoot": "0x11ac1a6fa4cfd545452c53afb5cda0ee7460b8a5da98dcf414d9910bfcba77a2", + "expectedNewLeafs": { + "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D": { + "balance": "100000000000000000000", + "nonce": "0", + "storage": null + }, + "0x4d5Cf5032B2a844602278b01199ED191A86c93ff": { + "balance": "200000000000000000000", + "nonce": "1", + "storage": null + }, + "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98": { + "balance": "0", + "nonce": "1", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000001": "0x40", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x1071b63011e8c222c5a771dfa03c2e11aac9666dd097f2c620852c3951a4376a", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0x2f46fe2f73e1cf310a168d56baa5575a8319389d7bfa6b29ee2d908305791434" + }, + "hashBytecode": "0x6d842ee3d5b0df0b761ad7b684cdfbf4fef99f95f773165bc3f671e8b86995da", + "bytecodeLength": 1346 + }, + "0x000000000000000000000000000000005ca1ab1e": { + "balance": "0", + "nonce": "0", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x73e6af6f", + "0xa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49": "0x72d36f85e07d0cd9fc75567db9ca40e81410921ea9e16c76172a301ddcb97e0e", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0xb6a90412b255c6ae9fa65b96f7e4cf7ec133f40d67f0f2b74f946a5a8a65ca7d" + } + } + }, + "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "batchHashData": "0x866e2aeb4e3bf130a67ab344a3acd7c37dc40a2d165616e952d3397fbc89ca69", + "batchL2Data": "0x0b73e6af6f00000000f8c880808401c9c380941275fbb540c8efc58b812ba83b0d0b8b9917ae9880b8a4fe989d4800000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060039730ea8dff1254c0fee9c0ea777d29a9c710b7e616683f194f18c43b43b869073a5ffcc6fc7a28c30723d6e58ce577356982d65b833a5a5c15bf9024b43d9800000000000000000000000000000001000000000000000000000000000000008203e88080f3dc566ac27c210e4acf928c8335d8026c3fbefcfbac11cb5b7d316c4812c55b3397d73dfbffc2b6085395c9da0090245d147eaa678b7dd466ba8e6bd2aa993f1cff", + "chainID": 1000, + "oldAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "forkID": 13, + "l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "timestampLimit": "1944498031", + "virtualCounters": { + "steps": 308451, + "arith": 21726, + "binary": 25173, + "memAlign": 127, + "keccaks": 11, + "padding": 41, + "poseidon": 4601, + "sha256": 0 + } + }, + { + "id": 16, + "description": "ecMul output is 64 bytes", + "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "sequencerPvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "genesis": [ + { + "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "nonce": "0", + "balance": "100000000000000000000", + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e" + }, + { + "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": "0", + "balance": "200000000000000000000", + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23" + }, + { + "address": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "1", + "balance": "0", + "bytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c806304772c1d146100515780631c43010f1461006d5780639cf9cfc814610089578063fe989d48146100a5575b600080fd5b61006b60048036038101906100669190610328565b6100c1565b005b61008760048036038101906100829190610328565b610136565b005b6100a3600480360381019061009e9190610328565b6101ab565b005b6100bf60048036038101906100ba9190610328565b610220565b005b6100c9610295565b60808183516020850160015afa80600055503d806001555060005b602081101561013157818160208110610100576100ff610489565b5b60200201516002826020811061011957610118610489565b5b0181905550808061012990610411565b9150506100e4565b505050565b61013e610295565b60408183516020850160085afa80600055503d806001555060005b60208110156101a65781816020811061017557610174610489565b5b60200201516002826020811061018e5761018d610489565b5b0181905550808061019e90610411565b915050610159565b505050565b6101b3610295565b60808183516020850160065afa80600055503d806001555060005b602081101561021b578181602081106101ea576101e9610489565b5b60200201516002826020811061020357610202610489565b5b0181905550808061021390610411565b9150506101ce565b505050565b610228610295565b60808183516020850160075afa80600055503d806001555060005b60208110156102905781816020811061025f5761025e610489565b5b60200201516002826020811061027857610277610489565b5b0181905550808061028890610411565b915050610243565b505050565b604051806104000160405280602090602082028036833780820191505090505090565b60006102cb6102c684610396565b610371565b9050828152602081018484840111156102e7576102e66104ec565b5b6102f28482856103d1565b509392505050565b600082601f83011261030f5761030e6104e7565b5b813561031f8482602086016102b8565b91505092915050565b60006020828403121561033e5761033d6104f6565b5b600082013567ffffffffffffffff81111561035c5761035b6104f1565b5b610368848285016102fa565b91505092915050565b600061037b61038c565b905061038782826103e0565b919050565b6000604051905090565b600067ffffffffffffffff8211156103b1576103b06104b8565b5b6103ba826104fb565b9050602081019050919050565b6000819050919050565b82818337600083830152505050565b6103e9826104fb565b810181811067ffffffffffffffff82111715610408576104076104b8565b5b80604052505050565b600061041c826103c7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561044f5761044e61045a565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f830116905091905056fea26469706673582212202966d4738303338a726cbf4b16a53f1282d8575e1c7ed1749fea9289c9a6756b64736f6c63430008070033", + "abi": [ + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecAdd", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecMul", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecPairingGeneric", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecRecover", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "storage": {} + } + ], + "expectedOldRoot": "0x72d36f85e07d0cd9fc75567db9ca40e81410921ea9e16c76172a301ddcb97e0e", + "txs": [ + { + "type": 11, + "deltaTimestamp": "1944498031", + "l1Info": { + "globalExitRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "blockHash": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb", + "timestamp": "42" + }, + "indexL1InfoTree": 0 + }, + { + "from": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "0", + "value": "0", + "data": "0xfe989d4800000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060039730ea8dff1254c0fee9c0ea777d29a9c710b7e616683f194f18c43b43b869073a5ffcc6fc7a28c30723d6e58ce577356982d65b833a5a5c15bf9024b43d980000000000000000000000000000000000000000000000000000000000000009", + "gasLimit": 30000000, + "gasPrice": "0", + "chainId": 1000 + } + ], + "expectedNewRoot": "0x49b3ff95ee987dff042df49425fb49ed4555357ed855804f405494b4e6590b9b", + "expectedNewLeafs": { + "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D": { + "balance": "100000000000000000000", + "nonce": "0", + "storage": null + }, + "0x4d5Cf5032B2a844602278b01199ED191A86c93ff": { + "balance": "200000000000000000000", + "nonce": "1", + "storage": null + }, + "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98": { + "balance": "0", + "nonce": "1", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000001": "0x40", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x19f75b9dd68c080a688774a6213f131e3052bd353a304a189d7a2ee367e3c258", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0x2612f545fb9fc89fde80fd81c68fc7dcb27fea5fc124eeda69433cf5c46d2d7f" + }, + "hashBytecode": "0x6d842ee3d5b0df0b761ad7b684cdfbf4fef99f95f773165bc3f671e8b86995da", + "bytecodeLength": 1346 + }, + "0x000000000000000000000000000000005ca1ab1e": { + "balance": "0", + "nonce": "0", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x73e6af6f", + "0xa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49": "0x72d36f85e07d0cd9fc75567db9ca40e81410921ea9e16c76172a301ddcb97e0e", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0xd6a1d3718c50de2d5b756099bc98a5aa726ad89b854e2b5f9b8f91651c897b08" + } + } + }, + "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "batchHashData": "0xc8fe804bc4dd036e1896b228079df723f50ebd81c96679707355f8078cca4039", + "batchL2Data": "0x0b73e6af6f00000000f8c880808401c9c380941275fbb540c8efc58b812ba83b0d0b8b9917ae9880b8a4fe989d4800000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060039730ea8dff1254c0fee9c0ea777d29a9c710b7e616683f194f18c43b43b869073a5ffcc6fc7a28c30723d6e58ce577356982d65b833a5a5c15bf9024b43d9800000000000000000000000000000000000000000000000000000000000000098203e8808062a4da078fdadc1a7284c3b5a757021d64596adb3357bde680913c78e3b2b0c337efd89b74718b191807988d08fd34e587fabb228db017885c9c52a34c8f1a7c1bff", + "chainID": 1000, + "oldAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "forkID": 13, + "l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "timestampLimit": "1944498031", + "virtualCounters": { + "steps": 308451, + "arith": 21726, + "binary": 25173, + "memAlign": 127, + "keccaks": 11, + "padding": 41, + "poseidon": 4601, + "sha256": 0 + } + }, + { + "id": 17, + "description": "ecMul output is 64 bytes", + "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "sequencerPvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "genesis": [ + { + "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "nonce": "0", + "balance": "100000000000000000000", + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e" + }, + { + "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": "0", + "balance": "200000000000000000000", + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23" + }, + { + "address": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "1", + "balance": "0", + "bytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c806304772c1d146100515780631c43010f1461006d5780639cf9cfc814610089578063fe989d48146100a5575b600080fd5b61006b60048036038101906100669190610328565b6100c1565b005b61008760048036038101906100829190610328565b610136565b005b6100a3600480360381019061009e9190610328565b6101ab565b005b6100bf60048036038101906100ba9190610328565b610220565b005b6100c9610295565b60808183516020850160015afa80600055503d806001555060005b602081101561013157818160208110610100576100ff610489565b5b60200201516002826020811061011957610118610489565b5b0181905550808061012990610411565b9150506100e4565b505050565b61013e610295565b60408183516020850160085afa80600055503d806001555060005b60208110156101a65781816020811061017557610174610489565b5b60200201516002826020811061018e5761018d610489565b5b0181905550808061019e90610411565b915050610159565b505050565b6101b3610295565b60808183516020850160065afa80600055503d806001555060005b602081101561021b578181602081106101ea576101e9610489565b5b60200201516002826020811061020357610202610489565b5b0181905550808061021390610411565b9150506101ce565b505050565b610228610295565b60808183516020850160075afa80600055503d806001555060005b60208110156102905781816020811061025f5761025e610489565b5b60200201516002826020811061027857610277610489565b5b0181905550808061028890610411565b915050610243565b505050565b604051806104000160405280602090602082028036833780820191505090505090565b60006102cb6102c684610396565b610371565b9050828152602081018484840111156102e7576102e66104ec565b5b6102f28482856103d1565b509392505050565b600082601f83011261030f5761030e6104e7565b5b813561031f8482602086016102b8565b91505092915050565b60006020828403121561033e5761033d6104f6565b5b600082013567ffffffffffffffff81111561035c5761035b6104f1565b5b610368848285016102fa565b91505092915050565b600061037b61038c565b905061038782826103e0565b919050565b6000604051905090565b600067ffffffffffffffff8211156103b1576103b06104b8565b5b6103ba826104fb565b9050602081019050919050565b6000819050919050565b82818337600083830152505050565b6103e9826104fb565b810181811067ffffffffffffffff82111715610408576104076104b8565b5b80604052505050565b600061041c826103c7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561044f5761044e61045a565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f830116905091905056fea26469706673582212202966d4738303338a726cbf4b16a53f1282d8575e1c7ed1749fea9289c9a6756b64736f6c63430008070033", + "abi": [ + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecAdd", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecMul", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecPairingGeneric", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecRecover", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "storage": {} + } + ], + "expectedOldRoot": "0x72d36f85e07d0cd9fc75567db9ca40e81410921ea9e16c76172a301ddcb97e0e", + "txs": [ + { + "type": 11, + "deltaTimestamp": "1944498031", + "l1Info": { + "globalExitRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "blockHash": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb", + "timestamp": "42" + }, + "indexL1InfoTree": 0 + }, + { + "from": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "0", + "value": "0", + "data": "0xfe989d4800000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060039730ea8dff1254c0fee9c0ea777d29a9c710b7e616683f194f18c43b43b869073a5ffcc6fc7a28c30723d6e58ce577356982d65b833a5a5c15bf9024b43d980000000000000000000000000000000000000000000000000000000000000001", + "gasLimit": 30000000, + "gasPrice": "0", + "chainId": 1000 + } + ], + "expectedNewRoot": "0x8003d17426b22713f38b45b770d7aa2b9585d33e3d660f89f3821fdb94148933", + "expectedNewLeafs": { + "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D": { + "balance": "100000000000000000000", + "nonce": "0", + "storage": null + }, + "0x4d5Cf5032B2a844602278b01199ED191A86c93ff": { + "balance": "200000000000000000000", + "nonce": "1", + "storage": null + }, + "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98": { + "balance": "0", + "nonce": "1", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000001": "0x40", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x039730ea8dff1254c0fee9c0ea777d29a9c710b7e616683f194f18c43b43b869", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0x073a5ffcc6fc7a28c30723d6e58ce577356982d65b833a5a5c15bf9024b43d98" + }, + "hashBytecode": "0x6d842ee3d5b0df0b761ad7b684cdfbf4fef99f95f773165bc3f671e8b86995da", + "bytecodeLength": 1346 + }, + "0x000000000000000000000000000000005ca1ab1e": { + "balance": "0", + "nonce": "0", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x73e6af6f", + "0xa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49": "0x72d36f85e07d0cd9fc75567db9ca40e81410921ea9e16c76172a301ddcb97e0e", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0x2f09d3874a9c2fadf99769184d93a4c3334a4f6d0c11052432d3b205b9282459" + } + } + }, + "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "batchHashData": "0x24d814ea67496be0b10fb6065f7028a267c876c330b3d8008c60b9abb6449154", + "batchL2Data": "0x0b73e6af6f00000000f8c880808401c9c380941275fbb540c8efc58b812ba83b0d0b8b9917ae9880b8a4fe989d4800000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060039730ea8dff1254c0fee9c0ea777d29a9c710b7e616683f194f18c43b43b869073a5ffcc6fc7a28c30723d6e58ce577356982d65b833a5a5c15bf9024b43d9800000000000000000000000000000000000000000000000000000000000000018203e88080be15f8bd315d1c598a8b4e0b41c798e4f16902a4f438969f8539a0605b55982f14bef992a4d711f47f64d990d3bc36a3925fc2f0a8d3efc3731295fee3cc785a1cff", + "chainID": 1000, + "oldAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "forkID": 13, + "l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "timestampLimit": "1944498031", + "virtualCounters": { + "steps": 308451, + "arith": 21726, + "binary": 25173, + "memAlign": 127, + "keccaks": 11, + "padding": 41, + "poseidon": 4601, + "sha256": 0 + } + }, + { + "id": 18, + "description": "ecMul output is 64 bytes", + "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "sequencerPvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "genesis": [ + { + "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "nonce": "0", + "balance": "100000000000000000000", + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e" + }, + { + "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": "0", + "balance": "200000000000000000000", + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23" + }, + { + "address": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "1", + "balance": "0", + "bytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c806304772c1d146100515780631c43010f1461006d5780639cf9cfc814610089578063fe989d48146100a5575b600080fd5b61006b60048036038101906100669190610328565b6100c1565b005b61008760048036038101906100829190610328565b610136565b005b6100a3600480360381019061009e9190610328565b6101ab565b005b6100bf60048036038101906100ba9190610328565b610220565b005b6100c9610295565b60808183516020850160015afa80600055503d806001555060005b602081101561013157818160208110610100576100ff610489565b5b60200201516002826020811061011957610118610489565b5b0181905550808061012990610411565b9150506100e4565b505050565b61013e610295565b60408183516020850160085afa80600055503d806001555060005b60208110156101a65781816020811061017557610174610489565b5b60200201516002826020811061018e5761018d610489565b5b0181905550808061019e90610411565b915050610159565b505050565b6101b3610295565b60808183516020850160065afa80600055503d806001555060005b602081101561021b578181602081106101ea576101e9610489565b5b60200201516002826020811061020357610202610489565b5b0181905550808061021390610411565b9150506101ce565b505050565b610228610295565b60808183516020850160075afa80600055503d806001555060005b60208110156102905781816020811061025f5761025e610489565b5b60200201516002826020811061027857610277610489565b5b0181905550808061028890610411565b915050610243565b505050565b604051806104000160405280602090602082028036833780820191505090505090565b60006102cb6102c684610396565b610371565b9050828152602081018484840111156102e7576102e66104ec565b5b6102f28482856103d1565b509392505050565b600082601f83011261030f5761030e6104e7565b5b813561031f8482602086016102b8565b91505092915050565b60006020828403121561033e5761033d6104f6565b5b600082013567ffffffffffffffff81111561035c5761035b6104f1565b5b610368848285016102fa565b91505092915050565b600061037b61038c565b905061038782826103e0565b919050565b6000604051905090565b600067ffffffffffffffff8211156103b1576103b06104b8565b5b6103ba826104fb565b9050602081019050919050565b6000819050919050565b82818337600083830152505050565b6103e9826104fb565b810181811067ffffffffffffffff82111715610408576104076104b8565b5b80604052505050565b600061041c826103c7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561044f5761044e61045a565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f830116905091905056fea26469706673582212202966d4738303338a726cbf4b16a53f1282d8575e1c7ed1749fea9289c9a6756b64736f6c63430008070033", + "abi": [ + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecAdd", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecMul", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecPairingGeneric", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecRecover", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "storage": {} + } + ], + "expectedOldRoot": "0x72d36f85e07d0cd9fc75567db9ca40e81410921ea9e16c76172a301ddcb97e0e", + "txs": [ + { + "type": 11, + "deltaTimestamp": "1944498031", + "l1Info": { + "globalExitRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "blockHash": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb", + "timestamp": "42" + }, + "indexL1InfoTree": 0 + }, + { + "from": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "0", + "value": "0", + "data": "0xfe989d4800000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060039730ea8dff1254c0fee9c0ea777d29a9c710b7e616683f194f18c43b43b869073a5ffcc6fc7a28c30723d6e58ce577356982d65b833a5a5c15bf9024b43d980000000000000000000000000000000000000000000000000000000000000000", + "gasLimit": 30000000, + "gasPrice": "0", + "chainId": 1000 + } + ], + "expectedNewRoot": "0x0b2b389aaecd03e2b0d13bd60e5177b594bced4b9569056c63245729f9714dbe", + "expectedNewLeafs": { + "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D": { + "balance": "100000000000000000000", + "nonce": "0", + "storage": null + }, + "0x4d5Cf5032B2a844602278b01199ED191A86c93ff": { + "balance": "200000000000000000000", + "nonce": "1", + "storage": null + }, + "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98": { + "balance": "0", + "nonce": "1", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000001": "0x40" + }, + "hashBytecode": "0x6d842ee3d5b0df0b761ad7b684cdfbf4fef99f95f773165bc3f671e8b86995da", + "bytecodeLength": 1346 + }, + "0x000000000000000000000000000000005ca1ab1e": { + "balance": "0", + "nonce": "0", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x73e6af6f", + "0xa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49": "0x72d36f85e07d0cd9fc75567db9ca40e81410921ea9e16c76172a301ddcb97e0e", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0x57811bf59097f4b5bbc5e377a247013db2e8913326c7c7454a493918f03e655d" + } + } + }, + "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "batchHashData": "0x3ff8521fbddd546d1231a4ec04c1a24341797d7b3893b6d4b3b00ae1ed2a99b8", + "batchL2Data": "0x0b73e6af6f00000000f8c880808401c9c380941275fbb540c8efc58b812ba83b0d0b8b9917ae9880b8a4fe989d4800000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060039730ea8dff1254c0fee9c0ea777d29a9c710b7e616683f194f18c43b43b869073a5ffcc6fc7a28c30723d6e58ce577356982d65b833a5a5c15bf9024b43d9800000000000000000000000000000000000000000000000000000000000000008203e88080ad1f139c0695dd35cda0c7041a1e870b062ad96de095fc0bde48905bcd32cc74758f7f138030e2912ab48f614ac96a85a85c2278f50e0a6eefb2c787aed6b3851cff", + "chainID": 1000, + "oldAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "forkID": 13, + "l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "timestampLimit": "1944498031", + "virtualCounters": { + "steps": 308451, + "arith": 21726, + "binary": 25173, + "memAlign": 127, + "keccaks": 11, + "padding": 41, + "poseidon": 4601, + "sha256": 0 + } + }, + { + "id": 19, + "description": "ecMul output is 64 bytes", + "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "sequencerPvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "genesis": [ + { + "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "nonce": "0", + "balance": "100000000000000000000", + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e" + }, + { + "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": "0", + "balance": "200000000000000000000", + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23" + }, + { + "address": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "1", + "balance": "0", + "bytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c806304772c1d146100515780631c43010f1461006d5780639cf9cfc814610089578063fe989d48146100a5575b600080fd5b61006b60048036038101906100669190610328565b6100c1565b005b61008760048036038101906100829190610328565b610136565b005b6100a3600480360381019061009e9190610328565b6101ab565b005b6100bf60048036038101906100ba9190610328565b610220565b005b6100c9610295565b60808183516020850160015afa80600055503d806001555060005b602081101561013157818160208110610100576100ff610489565b5b60200201516002826020811061011957610118610489565b5b0181905550808061012990610411565b9150506100e4565b505050565b61013e610295565b60408183516020850160085afa80600055503d806001555060005b60208110156101a65781816020811061017557610174610489565b5b60200201516002826020811061018e5761018d610489565b5b0181905550808061019e90610411565b915050610159565b505050565b6101b3610295565b60808183516020850160065afa80600055503d806001555060005b602081101561021b578181602081106101ea576101e9610489565b5b60200201516002826020811061020357610202610489565b5b0181905550808061021390610411565b9150506101ce565b505050565b610228610295565b60808183516020850160075afa80600055503d806001555060005b60208110156102905781816020811061025f5761025e610489565b5b60200201516002826020811061027857610277610489565b5b0181905550808061028890610411565b915050610243565b505050565b604051806104000160405280602090602082028036833780820191505090505090565b60006102cb6102c684610396565b610371565b9050828152602081018484840111156102e7576102e66104ec565b5b6102f28482856103d1565b509392505050565b600082601f83011261030f5761030e6104e7565b5b813561031f8482602086016102b8565b91505092915050565b60006020828403121561033e5761033d6104f6565b5b600082013567ffffffffffffffff81111561035c5761035b6104f1565b5b610368848285016102fa565b91505092915050565b600061037b61038c565b905061038782826103e0565b919050565b6000604051905090565b600067ffffffffffffffff8211156103b1576103b06104b8565b5b6103ba826104fb565b9050602081019050919050565b6000819050919050565b82818337600083830152505050565b6103e9826104fb565b810181811067ffffffffffffffff82111715610408576104076104b8565b5b80604052505050565b600061041c826103c7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561044f5761044e61045a565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f830116905091905056fea26469706673582212202966d4738303338a726cbf4b16a53f1282d8575e1c7ed1749fea9289c9a6756b64736f6c63430008070033", + "abi": [ + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecAdd", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecMul", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecPairingGeneric", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "ecRecover", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "storage": {} + } + ], + "expectedOldRoot": "0x72d36f85e07d0cd9fc75567db9ca40e81410921ea9e16c76172a301ddcb97e0e", + "txs": [ + { + "type": 11, + "deltaTimestamp": "1944498031", + "l1Info": { + "globalExitRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "blockHash": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb", + "timestamp": "42" + }, + "indexL1InfoTree": 0 + }, + { + "from": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "0", + "value": "0", + "data": "0xfe989d4800000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000021fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", + "gasLimit": 30000000, + "gasPrice": "0", + "chainId": 1000 + } + ], + "expectedNewRoot": "0x97b5fd0b875f2091cfe97ae69c42ccca3f50a15ea43d08db8573250b277779d6", + "expectedNewLeafs": { + "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D": { + "balance": "100000000000000000000", + "nonce": "0", + "storage": null + }, + "0x4d5Cf5032B2a844602278b01199ED191A86c93ff": { + "balance": "200000000000000000000", + "nonce": "1", + "storage": null + }, + "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98": { + "balance": "0", + "nonce": "1", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000001": "0x40", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x08446f97806fb9eaeb3507fe8f706c8b880393d61dad6b6cb264bc63f714e688", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0x2874c9307843aa76f44e0ce0a4654fe4045769f20e051fbf5711a4555fb1dfa6" + }, + "hashBytecode": "0x6d842ee3d5b0df0b761ad7b684cdfbf4fef99f95f773165bc3f671e8b86995da", + "bytecodeLength": 1346 + }, + "0x000000000000000000000000000000005ca1ab1e": { + "balance": "0", + "nonce": "0", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x73e6af6f", + "0xa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49": "0x72d36f85e07d0cd9fc75567db9ca40e81410921ea9e16c76172a301ddcb97e0e", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0xf6291ad060abfb0fb0fdd2a63230f38ab66f854eb5ec0f1ea6b386744d254068" + } + } + }, + "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "batchHashData": "0xbff742838e6a07857bdcf00a7a193d7a34d0f86ac2c22f0c653e5dc12fa73b35", + "batchL2Data": "0x0b73e6af6f00000000f8c880808401c9c380941275fbb540c8efc58b812ba83b0d0b8b9917ae9880b8a4fe989d4800000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000021fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203e88080c9d61ab86425956f9598f4a9ccc64e5b487dba9c516c7594beaa96f7a263d51b3b0eba205310771737e5c1e5b84ce7bcf6cb7449c817bcc7daf43f16c126867d1cff", + "chainID": 1000, + "oldAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "forkID": 13, + "l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "timestampLimit": "1944498031", + "virtualCounters": { + "steps": 308451, + "arith": 21726, + "binary": 25173, + "memAlign": 127, + "keccaks": 11, + "padding": 41, + "poseidon": 4601, + "sha256": 0 + } + } +] diff --git a/zk/tests/testdata/selfdestruct-fork13.json b/zk/tests/testdata/selfdestruct-fork13.json new file mode 100644 index 00000000000..025b53acebe --- /dev/null +++ b/zk/tests/testdata/selfdestruct-fork13.json @@ -0,0 +1,1014 @@ +[ + { + "id": 0, + "description": "opSELFDESTRUCT non-empty receiver", + "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "sequencerPvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "genesis": [ + { + "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "nonce": "0", + "balance": "100000000000000000000", + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e" + }, + { + "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": "0", + "balance": "200000000000000000000", + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23" + }, + { + "address": "0xEEEeF5032B2A844602278B01199ED191a86cEEeE", + "nonce": "1", + "balance": "0" + }, + { + "address": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "1", + "balance": "0", + "bytecode": "0x6080604052600436106100555760003560e01c80632b68b9c61461005a5780633fa4f245146100715780635cfb28e71461009c578063718da7ee146100a6578063cc5fe89a146100cf578063d0a4c6c5146100e6575b600080fd5b34801561006657600080fd5b5061006f6100fd565b005b34801561007d57600080fd5b50610086610136565b6040516100939190610276565b60405180910390f35b6100a461013c565b005b3480156100b257600080fd5b506100cd60048036038101906100c8919061023a565b610145565b005b3480156100db57600080fd5b506100e4610188565b005b3480156100f257600080fd5b506100fb6101e7565b005b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16ff5b60015481565b34600181905550565b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16ff5b600260015560008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16ff5b600081359050610234816102d2565b92915050565b6000602082840312156102505761024f6102cd565b5b600061025e84828501610225565b91505092915050565b610270816102c3565b82525050565b600060208201905061028b6000830184610267565b92915050565b600061029c826102a3565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600080fd5b6102db81610291565b81146102e657600080fd5b5056fea2646970667358221220f7dde72a870fb23bcf1d7cb6d170574acaada5acb5a7c6aed3af90a43606d2a264736f6c63430008070033", + "abi": [ + { + "inputs": [], + "name": "destruct", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "destructWarm", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_receiver", + "type": "address" + } + ], + "name": "setReceiver", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "setVal", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "sstoreDestruct", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "value", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "storage": {} + } + ], + "expectedOldRoot": "0xae09dbba9e740e4f3e324add0a28d0aee4ff128ef0c8a258c42f010aaa65d8de", + "txs": [ + { + "type": 11, + "deltaTimestamp": "1944498031", + "l1Info": { + "globalExitRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "blockHash": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb", + "timestamp": "42" + }, + "indexL1InfoTree": 0 + }, + { + "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "0", + "value": "0", + "data": "0x718da7ee000000000000000000000000eeeef5032b2a844602278b01199ed191a86ceeee", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000 + }, + { + "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "1", + "value": "123456789", + "data": "0x5cfb28e7", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000 + }, + { + "from": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "0", + "value": "0", + "data": "0x2b68b9c6", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000 + } + ], + "expectedNewRoot": "0xd41583f024fccac29f0e74892494c9341ab1aaa634a84f4bb01a1eab828440be", + "expectedNewLeafs": { + "0x0000000000000000000000000000000000000000": { + "balance": "0", + "nonce": "0", + "storage": null + }, + "0xAE4bB80bE56B819606589DE61d5ec3b522EEB032": { + "balance": "0", + "nonce": "0", + "storage": null + }, + "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98": { + "balance": "0", + "nonce": "1", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0xeeeef5032b2a844602278b01199ed191a86ceeee", + "0x0000000000000000000000000000000000000000000000000000000000000001": "0x075bcd15" + }, + "hashBytecode": "0xbde1ea4873bc308f0de7850db0b690b54145e35f8e185dc353b1151d3b68408d", + "bytecodeLength": 799 + }, + "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D": { + "balance": "100000030918876543211", + "nonce": "2", + "storage": null + }, + "0x4d5Cf5032B2a844602278b01199ED191A86c93ff": { + "balance": "199999969081000000000", + "nonce": "1", + "storage": null + }, + "0xEEEeF5032B2A844602278B01199ED191a86cEEeE": { + "balance": "123456789", + "nonce": "1", + "storage": null + }, + "0x000000000000000000000000000000005ca1ab1e": { + "balance": "0", + "nonce": "0", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x73e6af6f", + "0xa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49": "0xae09dbba9e740e4f3e324add0a28d0aee4ff128ef0c8a258c42f010aaa65d8de", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0x409d122ba8110ef301c2e8a1645e185f67b47a8e5dfc9a33cbe8509f7311992c" + } + } + }, + "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "batchHashData": "0xaeff4c87a0befa0ceefd208b1e5427a19f95c0bb874519d8dd7fe3534edaf17a", + "batchL2Data": "0x0b73e6af6f00000000f84a80843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae9880a4718da7ee000000000000000000000000eeeef5032b2a844602278b01199ed191a86ceeee8203e88080f575c21921ce2d8fb27d7706563bf605e7ac616156380e71bae93bc0e77367e151cce11879fd46346b92536449bf3bd1b8f7a8110978fcb4f8ea4499c988f79a1bffee01843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae9884075bcd15845cfb28e78203e88080753bcbcaec2a03e928e96c7e951e585511acc85ab44ea1ef5344cc727879469923f9591354e24a495186a960957fa25fde99ab8f515a775c1d1947b8f8c7516b1cffea80843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae9880842b68b9c68203e88080b506d57844ffec75125ca857d7a7d2ce4cfc505f6628794ea3fcddc4a8d4e80e1e8c47bdcd2ab62b3add73b01cac019e2437979d808c6a2635dc6a3f4c5fba271bff", + "chainID": 1000, + "oldAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "forkID": 13, + "l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "timestampLimit": "1944498031", + "virtualCounters": { + "steps": 44342, + "arith": 1892, + "binary": 2692, + "memAlign": 7, + "keccaks": 17, + "padding": 80, + "poseidon": 2565, + "sha256": 0 + } + }, + { + "id": 1, + "description": "opSELFDESTRUCT empty receiver", + "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "sequencerPvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "genesis": [ + { + "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "nonce": "0", + "balance": "100000000000000000000", + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e" + }, + { + "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": "0", + "balance": "200000000000000000000", + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23" + }, + { + "address": "0xEEEeF5032B2A844602278B01199ED191a86cEEeE", + "nonce": "0", + "balance": "0" + }, + { + "address": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "1", + "balance": "0", + "bytecode": "0x6080604052600436106100555760003560e01c80632b68b9c61461005a5780633fa4f245146100715780635cfb28e71461009c578063718da7ee146100a6578063cc5fe89a146100cf578063d0a4c6c5146100e6575b600080fd5b34801561006657600080fd5b5061006f6100fd565b005b34801561007d57600080fd5b50610086610136565b6040516100939190610276565b60405180910390f35b6100a461013c565b005b3480156100b257600080fd5b506100cd60048036038101906100c8919061023a565b610145565b005b3480156100db57600080fd5b506100e4610188565b005b3480156100f257600080fd5b506100fb6101e7565b005b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16ff5b60015481565b34600181905550565b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16ff5b600260015560008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16ff5b600081359050610234816102d2565b92915050565b6000602082840312156102505761024f6102cd565b5b600061025e84828501610225565b91505092915050565b610270816102c3565b82525050565b600060208201905061028b6000830184610267565b92915050565b600061029c826102a3565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600080fd5b6102db81610291565b81146102e657600080fd5b5056fea2646970667358221220f7dde72a870fb23bcf1d7cb6d170574acaada5acb5a7c6aed3af90a43606d2a264736f6c63430008070033", + "abi": [ + { + "inputs": [], + "name": "destruct", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "destructWarm", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_receiver", + "type": "address" + } + ], + "name": "setReceiver", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "setVal", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "sstoreDestruct", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "value", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "storage": {} + } + ], + "expectedOldRoot": "0x8f72947c576edccd3d14976f3907cec13511af77ca7d93e5544e30ba764a85e5", + "txs": [ + { + "type": 11, + "deltaTimestamp": "1944498031", + "l1Info": { + "globalExitRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "blockHash": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb", + "timestamp": "42" + }, + "indexL1InfoTree": 0 + }, + { + "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "0", + "value": "0", + "data": "0x718da7ee000000000000000000000000eeeef5032b2a844602278b01199ed191a86ceeee", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000 + }, + { + "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "1", + "value": "123456789", + "data": "0x5cfb28e7", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000 + }, + { + "from": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "0", + "value": "0", + "data": "0x2b68b9c6", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000 + } + ], + "expectedNewRoot": "0x020d61339a9fc8cf5c9e279ad11799ad2b76e8ca4213b44ad5a712551db48e7d", + "expectedNewLeafs": { + "0x0000000000000000000000000000000000000000": { + "balance": "0", + "nonce": "0", + "storage": null + }, + "0xAE4bB80bE56B819606589DE61d5ec3b522EEB032": { + "balance": "0", + "nonce": "0", + "storage": null + }, + "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98": { + "balance": "0", + "nonce": "1", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0xeeeef5032b2a844602278b01199ed191a86ceeee", + "0x0000000000000000000000000000000000000000000000000000000000000001": "0x075bcd15" + }, + "hashBytecode": "0xbde1ea4873bc308f0de7850db0b690b54145e35f8e185dc353b1151d3b68408d", + "bytecodeLength": 799 + }, + "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D": { + "balance": "100000055918876543211", + "nonce": "2", + "storage": null + }, + "0x4d5Cf5032B2a844602278b01199ED191A86c93ff": { + "balance": "199999944081000000000", + "nonce": "1", + "storage": null + }, + "0xEEEeF5032B2A844602278B01199ED191a86cEEeE": { + "balance": "123456789", + "nonce": "0", + "storage": null + }, + "0x000000000000000000000000000000005ca1ab1e": { + "balance": "0", + "nonce": "0", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x73e6af6f", + "0xa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49": "0x8f72947c576edccd3d14976f3907cec13511af77ca7d93e5544e30ba764a85e5", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0x5de0124993668051d7f5b106ef03dd7545dcc57670e51a99f1a9ba85f9e60333" + } + } + }, + "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "batchHashData": "0xaeff4c87a0befa0ceefd208b1e5427a19f95c0bb874519d8dd7fe3534edaf17a", + "batchL2Data": "0x0b73e6af6f00000000f84a80843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae9880a4718da7ee000000000000000000000000eeeef5032b2a844602278b01199ed191a86ceeee8203e88080f575c21921ce2d8fb27d7706563bf605e7ac616156380e71bae93bc0e77367e151cce11879fd46346b92536449bf3bd1b8f7a8110978fcb4f8ea4499c988f79a1bffee01843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae9884075bcd15845cfb28e78203e88080753bcbcaec2a03e928e96c7e951e585511acc85ab44ea1ef5344cc727879469923f9591354e24a495186a960957fa25fde99ab8f515a775c1d1947b8f8c7516b1cffea80843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae9880842b68b9c68203e88080b506d57844ffec75125ca857d7a7d2ce4cfc505f6628794ea3fcddc4a8d4e80e1e8c47bdcd2ab62b3add73b01cac019e2437979d808c6a2635dc6a3f4c5fba271bff", + "chainID": 1000, + "oldAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "forkID": 13, + "l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "timestampLimit": "1944498031", + "virtualCounters": { + "steps": 44342, + "arith": 1892, + "binary": 2692, + "memAlign": 7, + "keccaks": 17, + "padding": 80, + "poseidon": 2565, + "sha256": 0 + } + }, + { + "id": 2, + "description": "opSELFDESTRUCT non-empty cold receiver", + "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "sequencerPvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "genesis": [ + { + "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "nonce": "0", + "balance": "100000000000000000000", + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e" + }, + { + "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": "0", + "balance": "200000000000000000000", + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23" + }, + { + "address": "0xEEEeF5032B2A844602278B01199ED191a86cEEeE", + "nonce": "0", + "balance": "0" + }, + { + "address": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "1", + "balance": "0", + "bytecode": "0x6080604052600436106100555760003560e01c80632b68b9c61461005a5780633fa4f245146100715780635cfb28e71461009c578063718da7ee146100a6578063cc5fe89a146100cf578063d0a4c6c5146100e6575b600080fd5b34801561006657600080fd5b5061006f6100fd565b005b34801561007d57600080fd5b50610086610136565b6040516100939190610276565b60405180910390f35b6100a461013c565b005b3480156100b257600080fd5b506100cd60048036038101906100c8919061023a565b610145565b005b3480156100db57600080fd5b506100e4610188565b005b3480156100f257600080fd5b506100fb6101e7565b005b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16ff5b60015481565b34600181905550565b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16ff5b600260015560008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16ff5b600081359050610234816102d2565b92915050565b6000602082840312156102505761024f6102cd565b5b600061025e84828501610225565b91505092915050565b610270816102c3565b82525050565b600060208201905061028b6000830184610267565b92915050565b600061029c826102a3565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600080fd5b6102db81610291565b81146102e657600080fd5b5056fea2646970667358221220f7dde72a870fb23bcf1d7cb6d170574acaada5acb5a7c6aed3af90a43606d2a264736f6c63430008070033", + "abi": [ + { + "inputs": [], + "name": "destruct", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "destructWarm", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_receiver", + "type": "address" + } + ], + "name": "setReceiver", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "setVal", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "sstoreDestruct", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "value", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "storage": {} + } + ], + "expectedOldRoot": "0x8f72947c576edccd3d14976f3907cec13511af77ca7d93e5544e30ba764a85e5", + "txs": [ + { + "type": 11, + "deltaTimestamp": "1944498031", + "l1Info": { + "globalExitRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "blockHash": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb", + "timestamp": "42" + }, + "indexL1InfoTree": 0 + }, + { + "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "0", + "value": "0", + "data": "0x718da7ee000000000000000000000000eeeef5032b2a844602278b01199ed191a86ceeee", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000 + }, + { + "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "1", + "value": "123456789", + "data": "0x5cfb28e7", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000 + }, + { + "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "to": "0xEEEeF5032B2A844602278B01199ED191a86cEEeE", + "nonce": "2", + "value": "3", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000 + }, + { + "from": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "0", + "value": "0", + "data": "0x2b68b9c6", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000 + } + ], + "expectedNewRoot": "0x796a8185ea29686e1ff86b7c56711aa118bea91b77eab2c1d23b757e022ce7b2", + "expectedNewLeafs": { + "0x0000000000000000000000000000000000000000": { + "balance": "0", + "nonce": "0", + "storage": null + }, + "0xAE4bB80bE56B819606589DE61d5ec3b522EEB032": { + "balance": "0", + "nonce": "0", + "storage": null + }, + "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98": { + "balance": "0", + "nonce": "1", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0xeeeef5032b2a844602278b01199ed191a86ceeee", + "0x0000000000000000000000000000000000000000000000000000000000000001": "0x075bcd15" + }, + "hashBytecode": "0xbde1ea4873bc308f0de7850db0b690b54145e35f8e185dc353b1151d3b68408d", + "bytecodeLength": 799 + }, + "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D": { + "balance": "100000030918876543208", + "nonce": "3", + "storage": null + }, + "0x4d5Cf5032B2a844602278b01199ED191A86c93ff": { + "balance": "199999969081000000000", + "nonce": "1", + "storage": null + }, + "0xEEEeF5032B2A844602278B01199ED191a86cEEeE": { + "balance": "123456792", + "nonce": "0", + "storage": null + }, + "0x000000000000000000000000000000005ca1ab1e": { + "balance": "0", + "nonce": "0", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x73e6af6f", + "0xa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49": "0x8f72947c576edccd3d14976f3907cec13511af77ca7d93e5544e30ba764a85e5", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0x025a9e1b30325f6e48cce58f5b7fcd01ecb869ef73fae004c053cc1d5f78b844" + } + } + }, + "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "batchHashData": "0xd37adfea952304c59ca02093b88e04b785dc42f71d6a30a1da29cec73ae21b7e", + "batchL2Data": "0x0b73e6af6f00000000f84a80843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae9880a4718da7ee000000000000000000000000eeeef5032b2a844602278b01199ed191a86ceeee8203e88080f575c21921ce2d8fb27d7706563bf605e7ac616156380e71bae93bc0e77367e151cce11879fd46346b92536449bf3bd1b8f7a8110978fcb4f8ea4499c988f79a1bffee01843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae9884075bcd15845cfb28e78203e88080753bcbcaec2a03e928e96c7e951e585511acc85ab44ea1ef5344cc727879469923f9591354e24a495186a960957fa25fde99ab8f515a775c1d1947b8f8c7516b1cffe602843b9aca00830186a094eeeef5032b2a844602278b01199ed191a86ceeee03808203e88080d051fe638181b4a417fb38ab7db717d97ebd8f74daef6134fe5f8fdf45d88b9759c5811954b33e0b171dd59af635f6c166cb503b8ab9a415749b5bdb059664821bffea80843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae9880842b68b9c68203e88080b506d57844ffec75125ca857d7a7d2ce4cfc505f6628794ea3fcddc4a8d4e80e1e8c47bdcd2ab62b3add73b01cac019e2437979d808c6a2635dc6a3f4c5fba271bff", + "chainID": 1000, + "oldAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "forkID": 13, + "l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "timestampLimit": "1944498031", + "virtualCounters": { + "steps": 53503, + "arith": 2458, + "binary": 3354, + "memAlign": 7, + "keccaks": 21, + "padding": 92, + "poseidon": 3113, + "sha256": 0 + } + }, + { + "id": 3, + "description": "opSELFDESTRUCT non-empty warm receiver", + "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "sequencerPvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "genesis": [ + { + "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "nonce": "0", + "balance": "100000000000000000000", + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e" + }, + { + "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": "0", + "balance": "200000000000000000000", + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23" + }, + { + "address": "0xEEEeF5032B2A844602278B01199ED191a86cEEeE", + "nonce": "0", + "balance": "0" + }, + { + "address": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "1", + "balance": "0", + "bytecode": "0x6080604052600436106100555760003560e01c80632b68b9c61461005a5780633fa4f245146100715780635cfb28e71461009c578063718da7ee146100a6578063cc5fe89a146100cf578063d0a4c6c5146100e6575b600080fd5b34801561006657600080fd5b5061006f6100fd565b005b34801561007d57600080fd5b50610086610136565b6040516100939190610276565b60405180910390f35b6100a461013c565b005b3480156100b257600080fd5b506100cd60048036038101906100c8919061023a565b610145565b005b3480156100db57600080fd5b506100e4610188565b005b3480156100f257600080fd5b506100fb6101e7565b005b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16ff5b60015481565b34600181905550565b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16ff5b600260015560008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16ff5b600081359050610234816102d2565b92915050565b6000602082840312156102505761024f6102cd565b5b600061025e84828501610225565b91505092915050565b610270816102c3565b82525050565b600060208201905061028b6000830184610267565b92915050565b600061029c826102a3565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600080fd5b6102db81610291565b81146102e657600080fd5b5056fea2646970667358221220f7dde72a870fb23bcf1d7cb6d170574acaada5acb5a7c6aed3af90a43606d2a264736f6c63430008070033", + "abi": [ + { + "inputs": [], + "name": "destruct", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "destructWarm", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_receiver", + "type": "address" + } + ], + "name": "setReceiver", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "setVal", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "sstoreDestruct", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "value", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "storage": {} + } + ], + "expectedOldRoot": "0x8f72947c576edccd3d14976f3907cec13511af77ca7d93e5544e30ba764a85e5", + "txs": [ + { + "type": 11, + "deltaTimestamp": "1944498031", + "l1Info": { + "globalExitRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "blockHash": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb", + "timestamp": "42" + }, + "indexL1InfoTree": 0 + }, + { + "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "0", + "value": "0", + "data": "0x718da7ee000000000000000000000000eeeef5032b2a844602278b01199ed191a86ceeee", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000 + }, + { + "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "1", + "value": "123456789", + "data": "0x5cfb28e7", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000 + }, + { + "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "to": "0xEEEeF5032B2A844602278B01199ED191a86cEEeE", + "nonce": "2", + "value": "3", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000 + }, + { + "from": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "0", + "value": "0", + "data": "0xcc5fe89a", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000 + } + ], + "expectedNewRoot": "0x4ac01bd9b72b3d17985e33fdb45a8ad72689653a34d719e600836332c9a7d240", + "expectedNewLeafs": { + "0x0000000000000000000000000000000000000000": { + "balance": "0", + "nonce": "0", + "storage": null + }, + "0xAE4bB80bE56B819606589DE61d5ec3b522EEB032": { + "balance": "0", + "nonce": "0", + "storage": null + }, + "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98": { + "balance": "0", + "nonce": "1", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0xeeeef5032b2a844602278b01199ed191a86ceeee", + "0x0000000000000000000000000000000000000000000000000000000000000001": "0x075bcd15" + }, + "hashBytecode": "0xbde1ea4873bc308f0de7850db0b690b54145e35f8e185dc353b1151d3b68408d", + "bytecodeLength": 799 + }, + "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D": { + "balance": "100000031153876543208", + "nonce": "3", + "storage": null + }, + "0x4d5Cf5032B2a844602278b01199ED191A86c93ff": { + "balance": "199999968846000000000", + "nonce": "1", + "storage": null + }, + "0xEEEeF5032B2A844602278B01199ED191a86cEEeE": { + "balance": "123456792", + "nonce": "0", + "storage": null + }, + "0x000000000000000000000000000000005ca1ab1e": { + "balance": "0", + "nonce": "0", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x73e6af6f", + "0xa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49": "0x8f72947c576edccd3d14976f3907cec13511af77ca7d93e5544e30ba764a85e5", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0xe3b2c09dcd1a4f14dea823ffb602229e5da2ad5b1ff15093d74465249550f36b" + } + } + }, + "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "batchHashData": "0x094f00221a89b78acc1c89bd9ec6a45579efddb154f6886308b8ebb440a6848d", + "batchL2Data": "0x0b73e6af6f00000000f84a80843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae9880a4718da7ee000000000000000000000000eeeef5032b2a844602278b01199ed191a86ceeee8203e88080f575c21921ce2d8fb27d7706563bf605e7ac616156380e71bae93bc0e77367e151cce11879fd46346b92536449bf3bd1b8f7a8110978fcb4f8ea4499c988f79a1bffee01843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae9884075bcd15845cfb28e78203e88080753bcbcaec2a03e928e96c7e951e585511acc85ab44ea1ef5344cc727879469923f9591354e24a495186a960957fa25fde99ab8f515a775c1d1947b8f8c7516b1cffe602843b9aca00830186a094eeeef5032b2a844602278b01199ed191a86ceeee03808203e88080d051fe638181b4a417fb38ab7db717d97ebd8f74daef6134fe5f8fdf45d88b9759c5811954b33e0b171dd59af635f6c166cb503b8ab9a415749b5bdb059664821bffea80843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae988084cc5fe89a8203e88080f4297a8ca0e63388f19879997cc13d21b64f3d69ec0143f0842c472ae6a9e13276a1677a51b72b02d6594ba2facf04b00e21bbc6b5c1af2b47c0ebdbe00834341cff", + "chainID": 1000, + "oldAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "forkID": 13, + "l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "timestampLimit": "1944498031", + "virtualCounters": { + "steps": 56016, + "arith": 2493, + "binary": 3467, + "memAlign": 7, + "keccaks": 21, + "padding": 92, + "poseidon": 3178, + "sha256": 0 + } + }, + { + "id": 4, + "description": "opSELFDESTRUCT non-empty cold receiver & sstore", + "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "sequencerPvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "genesis": [ + { + "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "nonce": "0", + "balance": "100000000000000000000", + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e" + }, + { + "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": "0", + "balance": "200000000000000000000", + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23" + }, + { + "address": "0xEEEeF5032B2A844602278B01199ED191a86cEEeE", + "nonce": "0", + "balance": "0" + }, + { + "address": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "1", + "balance": "0", + "bytecode": "0x6080604052600436106100555760003560e01c80632b68b9c61461005a5780633fa4f245146100715780635cfb28e71461009c578063718da7ee146100a6578063cc5fe89a146100cf578063d0a4c6c5146100e6575b600080fd5b34801561006657600080fd5b5061006f6100fd565b005b34801561007d57600080fd5b50610086610136565b6040516100939190610276565b60405180910390f35b6100a461013c565b005b3480156100b257600080fd5b506100cd60048036038101906100c8919061023a565b610145565b005b3480156100db57600080fd5b506100e4610188565b005b3480156100f257600080fd5b506100fb6101e7565b005b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16ff5b60015481565b34600181905550565b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16ff5b600260015560008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16ff5b600081359050610234816102d2565b92915050565b6000602082840312156102505761024f6102cd565b5b600061025e84828501610225565b91505092915050565b610270816102c3565b82525050565b600060208201905061028b6000830184610267565b92915050565b600061029c826102a3565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600080fd5b6102db81610291565b81146102e657600080fd5b5056fea2646970667358221220f7dde72a870fb23bcf1d7cb6d170574acaada5acb5a7c6aed3af90a43606d2a264736f6c63430008070033", + "abi": [ + { + "inputs": [], + "name": "destruct", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "destructWarm", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_receiver", + "type": "address" + } + ], + "name": "setReceiver", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "setVal", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "sstoreDestruct", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "value", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "storage": {} + } + ], + "expectedOldRoot": "0x8f72947c576edccd3d14976f3907cec13511af77ca7d93e5544e30ba764a85e5", + "txs": [ + { + "type": 11, + "deltaTimestamp": "1944498031", + "l1Info": { + "globalExitRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "blockHash": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb", + "timestamp": "42" + }, + "indexL1InfoTree": 0 + }, + { + "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "0", + "value": "0", + "data": "0x718da7ee000000000000000000000000eeeef5032b2a844602278b01199ed191a86ceeee", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000 + }, + { + "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "1", + "value": "123456789", + "data": "0x5cfb28e7", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000 + }, + { + "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "to": "0xEEEeF5032B2A844602278B01199ED191a86cEEeE", + "nonce": "2", + "value": "3", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000 + }, + { + "from": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": "0", + "value": "0", + "data": "0xd0a4c6c5", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000 + } + ], + "expectedNewRoot": "0xe6a77139ff98f25c264ee813bead641682629fbdcbe3d5d2f98a5801922f32fe", + "expectedNewLeafs": { + "0x0000000000000000000000000000000000000000": { + "balance": "0", + "nonce": "0", + "storage": null + }, + "0xAE4bB80bE56B819606589DE61d5ec3b522EEB032": { + "balance": "0", + "nonce": "0", + "storage": null + }, + "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98": { + "balance": "0", + "nonce": "1", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0xeeeef5032b2a844602278b01199ed191a86ceeee", + "0x0000000000000000000000000000000000000000000000000000000000000001": "0x02" + }, + "hashBytecode": "0xbde1ea4873bc308f0de7850db0b690b54145e35f8e185dc353b1151d3b68408d", + "bytecodeLength": 799 + }, + "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D": { + "balance": "100000036034876543208", + "nonce": "3", + "storage": null + }, + "0x4d5Cf5032B2a844602278b01199ED191A86c93ff": { + "balance": "199999963965000000000", + "nonce": "1", + "storage": null + }, + "0xEEEeF5032B2A844602278B01199ED191a86cEEeE": { + "balance": "123456792", + "nonce": "0", + "storage": null + }, + "0x000000000000000000000000000000005ca1ab1e": { + "balance": "0", + "nonce": "0", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x73e6af6f", + "0xa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49": "0x8f72947c576edccd3d14976f3907cec13511af77ca7d93e5544e30ba764a85e5", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0x06a72b8995b8d05d14ee20ac848a60385072f7bcbad5c9a565261081e62b3647" + } + } + }, + "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "batchHashData": "0x5a3cbd2372f4c9d89ecd993da791e79b4dd00065025a83ab45007cc896b075ca", + "batchL2Data": "0x0b73e6af6f00000000f84a80843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae9880a4718da7ee000000000000000000000000eeeef5032b2a844602278b01199ed191a86ceeee8203e88080f575c21921ce2d8fb27d7706563bf605e7ac616156380e71bae93bc0e77367e151cce11879fd46346b92536449bf3bd1b8f7a8110978fcb4f8ea4499c988f79a1bffee01843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae9884075bcd15845cfb28e78203e88080753bcbcaec2a03e928e96c7e951e585511acc85ab44ea1ef5344cc727879469923f9591354e24a495186a960957fa25fde99ab8f515a775c1d1947b8f8c7516b1cffe602843b9aca00830186a094eeeef5032b2a844602278b01199ed191a86ceeee03808203e88080d051fe638181b4a417fb38ab7db717d97ebd8f74daef6134fe5f8fdf45d88b9759c5811954b33e0b171dd59af635f6c166cb503b8ab9a415749b5bdb059664821bffea80843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae988084d0a4c6c58203e88080ecdbe42e2da2f7b5792175e76580c16f0e5214ac13517c1b4f038c73dd3272807dc566258a3a9ad76b1faa88da736e6db415215f18086eb994e81d2548c934a81cff", + "chainID": 1000, + "oldAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "forkID": 13, + "l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "timestampLimit": "1944498031", + "virtualCounters": { + "steps": 54297, + "arith": 2458, + "binary": 3378, + "memAlign": 7, + "keccaks": 21, + "padding": 92, + "poseidon": 3216, + "sha256": 0 + } + } +] diff --git a/zk/tests/testdata/state-transition-e2e-fork13.json b/zk/tests/testdata/state-transition-e2e-fork13.json new file mode 100644 index 00000000000..44b036f0863 --- /dev/null +++ b/zk/tests/testdata/state-transition-e2e-fork13.json @@ -0,0 +1,380 @@ +[ + { + "id": 1, + "description": "Test end to end", + "bridgeDeployed": true, + "chainID": 1000, + "forkID": 13, + "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "sequencerPvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "genesis": [ + { + "contractName": "PolygonZkEVMDeployer", + "balance": "0", + "nonce": "4", + "address": "0xe900A3ffe6b2a6BA66dcdd8509b504c91f6530e1", + "bytecode": "0x6080604052600436106100705760003560e01c8063715018a61161004e578063715018a6146100e65780638da5cb5b146100fb578063e11ae6cb14610126578063f2fde38b1461013957600080fd5b80632b79805a146100755780634a94d4871461008a5780636d07dbf81461009d575b600080fd5b610088610083366004610927565b610159565b005b6100886100983660046109c7565b6101cb565b3480156100a957600080fd5b506100bd6100b8366004610a1e565b61020d565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b3480156100f257600080fd5b50610088610220565b34801561010757600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff166100bd565b610088610134366004610a40565b610234565b34801561014557600080fd5b50610088610154366004610a90565b61029b565b610161610357565b600061016e8585856103d8565b905061017a8183610537565b5060405173ffffffffffffffffffffffffffffffffffffffff821681527fba82f25fed02cd2a23d9f5d11c2ef588d22af5437cbf23bfe61d87257c480e4c9060200160405180910390a15050505050565b6101d3610357565b6101de83838361057b565b506040517f25adb19089b6a549831a273acdf7908cff8b7ee5f551f8d1d37996cf01c5df5b90600090a1505050565b600061021983836105a9565b9392505050565b610228610357565b61023260006105b6565b565b61023c610357565b60006102498484846103d8565b60405173ffffffffffffffffffffffffffffffffffffffff821681529091507fba82f25fed02cd2a23d9f5d11c2ef588d22af5437cbf23bfe61d87257c480e4c9060200160405180910390a150505050565b6102a3610357565b73ffffffffffffffffffffffffffffffffffffffff811661034b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b610354816105b6565b50565b60005473ffffffffffffffffffffffffffffffffffffffff163314610232576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610342565b600083471015610444576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f437265617465323a20696e73756666696369656e742062616c616e63650000006044820152606401610342565b81516000036104af576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f437265617465323a2062797465636f6465206c656e677468206973207a65726f6044820152606401610342565b8282516020840186f5905073ffffffffffffffffffffffffffffffffffffffff8116610219576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f437265617465323a204661696c6564206f6e206465706c6f79000000000000006044820152606401610342565b6060610219838360006040518060400160405280601e81526020017f416464726573733a206c6f772d6c6576656c2063616c6c206661696c6564000081525061062b565b60606105a1848484604051806060016040528060298152602001610b3d6029913961062b565b949350505050565b6000610219838330610744565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6060824710156106bd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610342565b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516106e69190610acf565b60006040518083038185875af1925050503d8060008114610723576040519150601f19603f3d011682016040523d82523d6000602084013e610728565b606091505b50915091506107398783838761076e565b979650505050505050565b6000604051836040820152846020820152828152600b8101905060ff815360559020949350505050565b606083156108045782516000036107fd5773ffffffffffffffffffffffffffffffffffffffff85163b6107fd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610342565b50816105a1565b6105a183838151156108195781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103429190610aeb565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600082601f83011261088d57600080fd5b813567ffffffffffffffff808211156108a8576108a861084d565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019082821181831017156108ee576108ee61084d565b8160405283815286602085880101111561090757600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000806080858703121561093d57600080fd5b8435935060208501359250604085013567ffffffffffffffff8082111561096357600080fd5b61096f8883890161087c565b9350606087013591508082111561098557600080fd5b506109928782880161087c565b91505092959194509250565b803573ffffffffffffffffffffffffffffffffffffffff811681146109c257600080fd5b919050565b6000806000606084860312156109dc57600080fd5b6109e58461099e565b9250602084013567ffffffffffffffff811115610a0157600080fd5b610a0d8682870161087c565b925050604084013590509250925092565b60008060408385031215610a3157600080fd5b50508035926020909101359150565b600080600060608486031215610a5557600080fd5b8335925060208401359150604084013567ffffffffffffffff811115610a7a57600080fd5b610a868682870161087c565b9150509250925092565b600060208284031215610aa257600080fd5b6102198261099e565b60005b83811015610ac6578181015183820152602001610aae565b50506000910152565b60008251610ae1818460208701610aab565b9190910192915050565b6020815260008251806020840152610b0a816040850160208701610aab565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fe416464726573733a206c6f772d6c6576656c2063616c6c20776974682076616c7565206661696c6564a26469706673582212200b8e3cd6bd762444a7eeff86e1cfcd7e1ce9524b715dcb70b2a4c2b70fd5188464736f6c63430008110033", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x0000000000000000000000000cae25c8623761783fe4ce241c9b428126a7612a" + } + }, + { + "contractName": "ProxyAdmin", + "balance": "0", + "nonce": "1", + "address": "0x89880e9266B1aBE973187F65f1b16a0d98bD92Ad", + "bytecode": "0x60806040526004361061007b5760003560e01c80639623609d1161004e5780639623609d1461012b57806399a88ec41461013e578063f2fde38b1461015e578063f3b7dead1461017e57600080fd5b8063204e1c7a14610080578063715018a6146100c95780637eff275e146100e05780638da5cb5b14610100575b600080fd5b34801561008c57600080fd5b506100a061009b366004610608565b61019e565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b3480156100d557600080fd5b506100de610255565b005b3480156100ec57600080fd5b506100de6100fb36600461062c565b610269565b34801561010c57600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff166100a0565b6100de610139366004610694565b6102f7565b34801561014a57600080fd5b506100de61015936600461062c565b61038c565b34801561016a57600080fd5b506100de610179366004610608565b6103e8565b34801561018a57600080fd5b506100a0610199366004610608565b6104a4565b60008060008373ffffffffffffffffffffffffffffffffffffffff166040516101ea907f5c60da1b00000000000000000000000000000000000000000000000000000000815260040190565b600060405180830381855afa9150503d8060008114610225576040519150601f19603f3d011682016040523d82523d6000602084013e61022a565b606091505b50915091508161023957600080fd5b8080602001905181019061024d9190610788565b949350505050565b61025d6104f0565b6102676000610571565b565b6102716104f0565b6040517f8f28397000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8281166004830152831690638f283970906024015b600060405180830381600087803b1580156102db57600080fd5b505af11580156102ef573d6000803e3d6000fd5b505050505050565b6102ff6104f0565b6040517f4f1ef28600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff841690634f1ef28690349061035590869086906004016107a5565b6000604051808303818588803b15801561036e57600080fd5b505af1158015610382573d6000803e3d6000fd5b5050505050505050565b6103946104f0565b6040517f3659cfe600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8281166004830152831690633659cfe6906024016102c1565b6103f06104f0565b73ffffffffffffffffffffffffffffffffffffffff8116610498576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6104a181610571565b50565b60008060008373ffffffffffffffffffffffffffffffffffffffff166040516101ea907ff851a44000000000000000000000000000000000000000000000000000000000815260040190565b60005473ffffffffffffffffffffffffffffffffffffffff163314610267576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161048f565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b73ffffffffffffffffffffffffffffffffffffffff811681146104a157600080fd5b60006020828403121561061a57600080fd5b8135610625816105e6565b9392505050565b6000806040838503121561063f57600080fd5b823561064a816105e6565b9150602083013561065a816105e6565b809150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000806000606084860312156106a957600080fd5b83356106b4816105e6565b925060208401356106c4816105e6565b9150604084013567ffffffffffffffff808211156106e157600080fd5b818601915086601f8301126106f557600080fd5b81358181111561070757610707610665565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190838211818310171561074d5761074d610665565b8160405282815289602084870101111561076657600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b60006020828403121561079a57600080fd5b8151610625816105e6565b73ffffffffffffffffffffffffffffffffffffffff8316815260006020604081840152835180604085015260005b818110156107ef578581018301518582016060015282016107d3565b5060006060828601015260607fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011685010192505050939250505056fea2646970667358221220babd4ff1f5daee002b96cc86d8bb6c2c2c210ae3132df5ea384713352f7f15fe64736f6c63430008110033", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x000000000000000000000000dead72fd97a579e98aef2f9eb190066e1858d15a" + } + }, + { + "contractName": "PolygonZkEVMBridge implementation", + "balance": "0", + "nonce": "1", + "address": "0x15D50Fa9623bDd20603E9e2C48e470636c8633c2", + "bytecode": "0x6080604052600436106200019f5760003560e01c8063647c576c11620000e7578063be5831c71162000089578063dbc169761162000060578063dbc169761462000639578063ee25560b1462000651578063fb570834146200068257600080fd5b8063be5831c714620005ae578063cd58657914620005ea578063d02103ca146200060157600080fd5b80639e34070f11620000be5780639e34070f146200050a578063aaa13cc2146200054f578063bab161bf146200057457600080fd5b8063647c576c146200048657806379e2cf9714620004ab57806381b1c17414620004c357600080fd5b80632d2c9d94116200015157806334ac9cf2116200012857806334ac9cf2146200034b5780633ae05047146200037a5780633e197043146200039257600080fd5b80632d2c9d9414620002765780632dfdf0b5146200029b578063318aee3d14620002c257600080fd5b806322e95f2c116200018657806322e95f2c14620001ef578063240ff378146200023a5780632cffd02e146200025157600080fd5b806315064c9614620001a45780632072f6c514620001d5575b600080fd5b348015620001b157600080fd5b50606854620001c09060ff1681565b60405190151581526020015b60405180910390f35b348015620001e257600080fd5b50620001ed620006a7565b005b348015620001fc57600080fd5b50620002146200020e366004620032db565b62000705565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001620001cc565b620001ed6200024b36600462003372565b620007a8565b3480156200025e57600080fd5b50620001ed6200027036600462003409565b620009d0565b3480156200028357600080fd5b50620001ed6200029536600462003409565b62000f74565b348015620002a857600080fd5b50620002b360535481565b604051908152602001620001cc565b348015620002cf57600080fd5b5062000319620002e1366004620034ef565b606b6020526000908152604090205463ffffffff811690640100000000900473ffffffffffffffffffffffffffffffffffffffff1682565b6040805163ffffffff909316835273ffffffffffffffffffffffffffffffffffffffff909116602083015201620001cc565b3480156200035857600080fd5b50606c54620002149073ffffffffffffffffffffffffffffffffffffffff1681565b3480156200038757600080fd5b50620002b362001178565b3480156200039f57600080fd5b50620002b3620003b136600462003526565b6040517fff0000000000000000000000000000000000000000000000000000000000000060f889901b1660208201527fffffffff0000000000000000000000000000000000000000000000000000000060e088811b821660218401527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606089811b821660258601529188901b909216603984015285901b16603d8201526051810183905260718101829052600090609101604051602081830303815290604052805190602001209050979650505050505050565b3480156200049357600080fd5b50620001ed620004a5366004620035b0565b6200125e565b348015620004b857600080fd5b50620001ed620014ad565b348015620004d057600080fd5b5062000214620004e236600462003600565b606a6020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b3480156200051757600080fd5b50620001c06200052936600462003600565b600881901c600090815260696020526040902054600160ff9092169190911b9081161490565b3480156200055c57600080fd5b50620002146200056e3660046200361a565b620014e7565b3480156200058157600080fd5b506068546200059890610100900463ffffffff1681565b60405163ffffffff9091168152602001620001cc565b348015620005bb57600080fd5b506068546200059890790100000000000000000000000000000000000000000000000000900463ffffffff1681565b620001ed620005fb366004620036ce565b620016d3565b3480156200060e57600080fd5b50606854620002149065010000000000900473ffffffffffffffffffffffffffffffffffffffff1681565b3480156200064657600080fd5b50620001ed62001c37565b3480156200065e57600080fd5b50620002b36200067036600462003600565b60696020526000908152604090205481565b3480156200068f57600080fd5b50620001c0620006a136600462003770565b62001c93565b606c5473ffffffffffffffffffffffffffffffffffffffff163314620006f9576040517fe2e8106b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6200070362001d7c565b565b6040805160e084901b7fffffffff0000000000000000000000000000000000000000000000000000000016602080830191909152606084901b7fffffffffffffffffffffffffffffffffffffffff00000000000000000000000016602483015282516018818403018152603890920183528151918101919091206000908152606a909152205473ffffffffffffffffffffffffffffffffffffffff165b92915050565b60685460ff1615620007e6576040517f2f0047fc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60685463ffffffff8681166101009092041614806200080c5750600263ffffffff861610155b1562000844576040517f0595ea2e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f501781209a1f8899323b96b4ef08b168df93e0a90c673d1e4cce39366cb62f9b6001606860019054906101000a900463ffffffff163388883488886053546040516200089a9998979695949392919062003806565b60405180910390a1620009b8620009b26001606860019054906101000a900463ffffffff16338989348989604051620008d592919062003881565b60405180910390206040517fff0000000000000000000000000000000000000000000000000000000000000060f889901b1660208201527fffffffff0000000000000000000000000000000000000000000000000000000060e088811b821660218401527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606089811b821660258601529188901b909216603984015285901b16603d8201526051810183905260718101829052600090609101604051602081830303815290604052805190602001209050979650505050505050565b62001e10565b8215620009c957620009c962001f27565b5050505050565b60685460ff161562000a0e576040517f2f0047fc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b62000a258b8b8b8b8b8b8b8b8b8b8b600062001ffc565b73ffffffffffffffffffffffffffffffffffffffff861662000b01576040805160008082526020820190925273ffffffffffffffffffffffffffffffffffffffff861690859060405162000a7a9190620038e6565b60006040518083038185875af1925050503d806000811462000ab9576040519150601f19603f3d011682016040523d82523d6000602084013e62000abe565b606091505b505090508062000afa576040517f6747a28800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5062000efc565b60685463ffffffff61010090910481169088160362000b435762000b3d73ffffffffffffffffffffffffffffffffffffffff87168585620021ed565b62000efc565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e089901b1660208201527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606088901b166024820152600090603801604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815291815281516020928301206000818152606a90935291205490915073ffffffffffffffffffffffffffffffffffffffff168062000e6e576000808062000c1886880188620039fb565b92509250925060008584848460405162000c329062003292565b62000c409392919062003abd565b8190604051809103906000f590508015801562000c61573d6000803e3d6000fd5b506040517f40c10f1900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8c81166004830152602482018c9052919250908216906340c10f1990604401600060405180830381600087803b15801562000cd757600080fd5b505af115801562000cec573d6000803e3d6000fd5b5050505080606a600088815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060405180604001604052808e63ffffffff1681526020018d73ffffffffffffffffffffffffffffffffffffffff16815250606b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a81548163ffffffff021916908363ffffffff16021790555060208201518160000160046101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509050507f490e59a1701b938786ac72570a1efeac994a3dbe96e2e883e19e902ace6e6a398d8d838b8b60405162000e5c95949392919062003afa565b60405180910390a15050505062000ef9565b6040517f40c10f1900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8781166004830152602482018790528216906340c10f1990604401600060405180830381600087803b15801562000edf57600080fd5b505af115801562000ef4573d6000803e3d6000fd5b505050505b50505b6040805163ffffffff8c811682528916602082015273ffffffffffffffffffffffffffffffffffffffff88811682840152861660608201526080810185905290517f25308c93ceeed162da955b3f7ce3e3f93606579e40fb92029faa9efe275459839181900360a00190a15050505050505050505050565b60685460ff161562000fb2576040517f2f0047fc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b62000fc98b8b8b8b8b8b8b8b8b8b8b600162001ffc565b60008473ffffffffffffffffffffffffffffffffffffffff1684888a868660405160240162000ffc949392919062003b42565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f1806b5f200000000000000000000000000000000000000000000000000000000179052516200107f9190620038e6565b60006040518083038185875af1925050503d8060008114620010be576040519150601f19603f3d011682016040523d82523d6000602084013e620010c3565b606091505b5050905080620010ff576040517f37e391c300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040805163ffffffff8d811682528a16602082015273ffffffffffffffffffffffffffffffffffffffff89811682840152871660608201526080810186905290517f25308c93ceeed162da955b3f7ce3e3f93606579e40fb92029faa9efe275459839181900360a00190a1505050505050505050505050565b605354600090819081805b602081101562001255578083901c600116600103620011e65760338160208110620011b257620011b262003b8a565b0154604080516020810192909252810185905260600160405160208183030381529060405280519060200120935062001213565b60408051602081018690529081018390526060016040516020818303038152906040528051906020012093505b604080516020810184905290810183905260600160405160208183030381529060405280519060200120915080806200124c9062003be8565b91505062001183565b50919392505050565b600054610100900460ff16158080156200127f5750600054600160ff909116105b806200129b5750303b1580156200129b575060005460ff166001145b6200132d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084015b60405180910390fd5b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905580156200138c57600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b606880547fffffffffffffff000000000000000000000000000000000000000000000000ff1661010063ffffffff8716027fffffffffffffff0000000000000000000000000000000000000000ffffffffff16176501000000000073ffffffffffffffffffffffffffffffffffffffff8681169190910291909117909155606c80547fffffffffffffffffffffffff00000000000000000000000000000000000000001691841691909117905562001443620022c3565b8015620014a757600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50505050565b605354606854790100000000000000000000000000000000000000000000000000900463ffffffff16101562000703576200070362001f27565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e089901b1660208201527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606088901b1660248201526000908190603801604051602081830303815290604052805190602001209050600060ff60f81b3083604051806020016200157d9062003292565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe082820381018352601f909101166040819052620015c8908d908d908d908d908d9060200162003c23565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529082905262001606929160200162003c64565b604051602081830303815290604052805190602001206040516020016200168f94939291907fff0000000000000000000000000000000000000000000000000000000000000094909416845260609290921b7fffffffffffffffffffffffffffffffffffffffff0000000000000000000000001660018401526015830152603582015260550190565b604080518083037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe001815291905280516020909101209a9950505050505050505050565b60685460ff161562001711576040517f2f0047fc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6200171b62002366565b60685463ffffffff888116610100909204161480620017415750600263ffffffff881610155b1562001779576040517f0595ea2e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060608773ffffffffffffffffffffffffffffffffffffffff8816620017df57883414620017d5576040517fb89240f500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000925062001ad9565b341562001818576040517f798ee6f100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8089166000908152606b602090815260409182902082518084019093525463ffffffff811683526401000000009004909216918101829052901562001908576040517f9dc29fac000000000000000000000000000000000000000000000000000000008152336004820152602481018b905273ffffffffffffffffffffffffffffffffffffffff8a1690639dc29fac90604401600060405180830381600087803b158015620018db57600080fd5b505af1158015620018f0573d6000803e3d6000fd5b50505050806020015194508060000151935062001ad7565b85156200191d576200191d898b8989620023db565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009073ffffffffffffffffffffffffffffffffffffffff8b16906370a0823190602401602060405180830381865afa1580156200198b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620019b1919062003c97565b9050620019d773ffffffffffffffffffffffffffffffffffffffff8b1633308e620028f9565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009073ffffffffffffffffffffffffffffffffffffffff8c16906370a0823190602401602060405180830381865afa15801562001a45573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001a6b919062003c97565b905062001a79828262003cb1565b6068548c9850610100900463ffffffff169650935062001a998762002959565b62001aa48c62002a71565b62001aaf8d62002b7e565b60405160200162001ac39392919062003abd565b604051602081830303815290604052945050505b505b7f501781209a1f8899323b96b4ef08b168df93e0a90c673d1e4cce39366cb62f9b600084868e8e868860535460405162001b1b98979695949392919062003cc7565b60405180910390a162001c0f620009b2600085878f8f8789805190602001206040517fff0000000000000000000000000000000000000000000000000000000000000060f889901b1660208201527fffffffff0000000000000000000000000000000000000000000000000000000060e088811b821660218401527fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606089811b821660258601529188901b909216603984015285901b16603d8201526051810183905260718101829052600090609101604051602081830303815290604052805190602001209050979650505050505050565b861562001c205762001c2062001f27565b5050505062001c2e60018055565b50505050505050565b606c5473ffffffffffffffffffffffffffffffffffffffff16331462001c89576040517fe2e8106b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6200070362002c80565b600084815b602081101562001d6e57600163ffffffff8616821c8116900362001d0a5785816020811062001ccb5762001ccb62003b8a565b60200201358260405160200162001cec929190918252602082015260400190565b60405160208183030381529060405280519060200120915062001d59565b8186826020811062001d205762001d2062003b8a565b602002013560405160200162001d40929190918252602082015260400190565b6040516020818303038152906040528051906020012091505b8062001d658162003be8565b91505062001c98565b50821490505b949350505050565b60685460ff161562001dba576040517f2f0047fc00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b606880547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790556040517f2261efe5aef6fedc1fd1550b25facc9181745623049c7901287030b9ad1a549790600090a1565b80600162001e216020600262003e79565b62001e2d919062003cb1565b6053541062001e68576040517fef5ccf6600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060536000815462001e7b9062003be8565b9182905550905060005b602081101562001f17578082901c60011660010362001ebd57826033826020811062001eb55762001eb562003b8a565b015550505050565b6033816020811062001ed35762001ed362003b8a565b01546040805160208101929092528101849052606001604051602081830303815290604052805190602001209250808062001f0e9062003be8565b91505062001e85565b5062001f2262003e87565b505050565b6053546068805463ffffffff909216790100000000000000000000000000000000000000000000000000027fffffff00000000ffffffffffffffffffffffffffffffffffffffffffffffffff909216919091179081905573ffffffffffffffffffffffffffffffffffffffff65010000000000909104166333d6247d62001fad62001178565b6040518263ffffffff1660e01b815260040162001fcc91815260200190565b600060405180830381600087803b15801562001fe757600080fd5b505af1158015620014a7573d6000803e3d6000fd5b6200200d8b63ffffffff1662002d10565b6068546040805160208082018e90528183018d9052825180830384018152606083019384905280519101207f257b363200000000000000000000000000000000000000000000000000000000909252606481019190915260009165010000000000900473ffffffffffffffffffffffffffffffffffffffff169063257b3632906084016020604051808303816000875af1158015620020b0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620020d6919062003c97565b90508060000362002112576040517e2f6fad00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60685463ffffffff88811661010090920416146200215c576040517f0595ea2e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b606854600090610100900463ffffffff166200217a5750896200217d565b508a5b620021a66200219d848c8c8c8c8c8c8c604051620008d592919062003881565b8f8f8462001c93565b620021dd576040517fe0417cec00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050505050505050505050505050565b60405173ffffffffffffffffffffffffffffffffffffffff831660248201526044810182905262001f229084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009093169290921790915262002d75565b600054610100900460ff166200235c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840162001324565b6200070362002e88565b600260015403620023d4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640162001324565b6002600155565b6000620023ec600482848662003eb6565b620023f79162003ee2565b90507f2afa5331000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000821601620026765760008080808080806200245a896004818d62003eb6565b81019062002469919062003f2b565b96509650965096509650965096503373ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff1614620024dd576040517f912ecce700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff861630146200252d576040517f750643af00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8a851462002567576040517f03fffc4b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040805173ffffffffffffffffffffffffffffffffffffffff89811660248301528881166044830152606482018890526084820187905260ff861660a483015260c4820185905260e48083018590528351808403909101815261010490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fd505accf000000000000000000000000000000000000000000000000000000001790529151918e1691620026229190620038e6565b6000604051808303816000865af19150503d806000811462002661576040519150601f19603f3d011682016040523d82523d6000602084013e62002666565b606091505b50505050505050505050620009c9565b7fffffffff0000000000000000000000000000000000000000000000000000000081167f8fcbaf0c0000000000000000000000000000000000000000000000000000000014620026f2576040517fe282c0ba00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000808080808080806200270a8a6004818e62003eb6565b81019062002719919062003f86565b975097509750975097509750975097503373ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff16146200278f576040517f912ecce700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff87163014620027df576040517f750643af00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040805173ffffffffffffffffffffffffffffffffffffffff8a811660248301528981166044830152606482018990526084820188905286151560a483015260ff861660c483015260e482018590526101048083018590528351808403909101815261012490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f8fcbaf0c000000000000000000000000000000000000000000000000000000001790529151918f1691620028a39190620038e6565b6000604051808303816000865af19150503d8060008114620028e2576040519150601f19603f3d011682016040523d82523d6000602084013e620028e7565b606091505b50505050505050505050505050505050565b60405173ffffffffffffffffffffffffffffffffffffffff80851660248301528316604482015260648101829052620014a79085907f23b872dd000000000000000000000000000000000000000000000000000000009060840162002240565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f06fdde03000000000000000000000000000000000000000000000000000000001790529051606091600091829173ffffffffffffffffffffffffffffffffffffffff861691620029dd9190620038e6565b600060405180830381855afa9150503d806000811462002a1a576040519150601f19603f3d011682016040523d82523d6000602084013e62002a1f565b606091505b50915091508162002a66576040518060400160405280600781526020017f4e4f5f4e414d450000000000000000000000000000000000000000000000000081525062001d74565b62001d748162002f21565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f95d89b41000000000000000000000000000000000000000000000000000000001790529051606091600091829173ffffffffffffffffffffffffffffffffffffffff86169162002af59190620038e6565b600060405180830381855afa9150503d806000811462002b32576040519150601f19603f3d011682016040523d82523d6000602084013e62002b37565b606091505b50915091508162002a66576040518060400160405280600981526020017f4e4f5f53594d424f4c000000000000000000000000000000000000000000000081525062001d74565b60408051600481526024810182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f313ce5670000000000000000000000000000000000000000000000000000000017905290516000918291829173ffffffffffffffffffffffffffffffffffffffff86169162002c019190620038e6565b600060405180830381855afa9150503d806000811462002c3e576040519150601f19603f3d011682016040523d82523d6000602084013e62002c43565b606091505b509150915081801562002c57575080516020145b62002c6457601262001d74565b8080602001905181019062001d74919062004012565b60018055565b60685460ff1662002cbd576040517f5386698100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b606880547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690556040517f1e5e34eea33501aecf2ebec9fe0e884a40804275ea7fe10b2ba084c8374308b390600090a1565b600881901c60008181526069602052604081208054600160ff861690811b91821892839055929091908183169003620009c9576040517f646cf55800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600062002dd9826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16620031119092919063ffffffff16565b80519091501562001f22578080602001905181019062002dfa919062004032565b62001f22576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f74207375636365656400000000000000000000000000000000000000000000606482015260840162001324565b600054610100900460ff1662002c7a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e67000000000000000000000000000000000000000000606482015260840162001324565b6060604082511062002f435781806020019051810190620007a2919062004052565b8151602003620030d35760005b60208110801562002f9b575082818151811062002f715762002f7162003b8a565b01602001517fff000000000000000000000000000000000000000000000000000000000000001615155b1562002fb6578062002fad8162003be8565b91505062002f50565b8060000362002ffa57505060408051808201909152601281527f4e4f545f56414c49445f454e434f44494e4700000000000000000000000000006020820152919050565b60008167ffffffffffffffff81111562003018576200301862003891565b6040519080825280601f01601f19166020018201604052801562003043576020820181803683370190505b50905060005b82811015620030cb5784818151811062003067576200306762003b8a565b602001015160f81c60f81b82828151811062003087576200308762003b8a565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535080620030c28162003be8565b91505062003049565b509392505050565b505060408051808201909152601281527f4e4f545f56414c49445f454e434f44494e470000000000000000000000000000602082015290565b919050565b606062001d748484600085856000808673ffffffffffffffffffffffffffffffffffffffff168587604051620031489190620038e6565b60006040518083038185875af1925050503d806000811462003187576040519150601f19603f3d011682016040523d82523d6000602084013e6200318c565b606091505b50915091506200319f87838387620031aa565b979650505050505050565b60608315620032455782516000036200323d5773ffffffffffffffffffffffffffffffffffffffff85163b6200323d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640162001324565b508162001d74565b62001d7483838151156200325c5781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620013249190620040d2565b611b6680620040e883390190565b803563ffffffff811681146200310c57600080fd5b73ffffffffffffffffffffffffffffffffffffffff81168114620032d857600080fd5b50565b60008060408385031215620032ef57600080fd5b620032fa83620032a0565b915060208301356200330c81620032b5565b809150509250929050565b8015158114620032d857600080fd5b60008083601f8401126200333957600080fd5b50813567ffffffffffffffff8111156200335257600080fd5b6020830191508360208285010111156200336b57600080fd5b9250929050565b6000806000806000608086880312156200338b57600080fd5b6200339686620032a0565b94506020860135620033a881620032b5565b93506040860135620033ba8162003317565b9250606086013567ffffffffffffffff811115620033d757600080fd5b620033e58882890162003326565b969995985093965092949392505050565b806104008101831015620007a257600080fd5b60008060008060008060008060008060006105208c8e0312156200342c57600080fd5b620034388d8d620033f6565b9a50620034496104008d01620032a0565b99506104208c013598506104408c013597506200346a6104608d01620032a0565b96506104808c01356200347d81620032b5565b95506200348e6104a08d01620032a0565b94506104c08c0135620034a181620032b5565b93506104e08c013592506105008c013567ffffffffffffffff811115620034c757600080fd5b620034d58e828f0162003326565b915080935050809150509295989b509295989b9093969950565b6000602082840312156200350257600080fd5b81356200350f81620032b5565b9392505050565b60ff81168114620032d857600080fd5b600080600080600080600060e0888a0312156200354257600080fd5b87356200354f8162003516565b96506200355f60208901620032a0565b955060408801356200357181620032b5565b94506200358160608901620032a0565b935060808801356200359381620032b5565b9699959850939692959460a0840135945060c09093013592915050565b600080600060608486031215620035c657600080fd5b620035d184620032a0565b92506020840135620035e381620032b5565b91506040840135620035f581620032b5565b809150509250925092565b6000602082840312156200361357600080fd5b5035919050565b600080600080600080600060a0888a0312156200363657600080fd5b6200364188620032a0565b965060208801356200365381620032b5565b9550604088013567ffffffffffffffff808211156200367157600080fd5b6200367f8b838c0162003326565b909750955060608a01359150808211156200369957600080fd5b50620036a88a828b0162003326565b9094509250506080880135620036be8162003516565b8091505092959891949750929550565b600080600080600080600060c0888a031215620036ea57600080fd5b620036f588620032a0565b965060208801356200370781620032b5565b95506040880135945060608801356200372081620032b5565b93506080880135620037328162003317565b925060a088013567ffffffffffffffff8111156200374f57600080fd5b6200375d8a828b0162003326565b989b979a50959850939692959293505050565b60008060008061046085870312156200378857600080fd5b843593506200379b8660208701620033f6565b9250620037ac6104208601620032a0565b939692955092936104400135925050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b600061010060ff8c16835263ffffffff808c16602085015273ffffffffffffffffffffffffffffffffffffffff808c166040860152818b166060860152808a166080860152508760a08501528160c0850152620038678285018789620037bd565b925080851660e085015250509a9950505050505050505050565b8183823760009101908152919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60005b83811015620038dd578181015183820152602001620038c3565b50506000910152565b60008251620038fa818460208701620038c0565b9190910192915050565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156200394e576200394e62003891565b604052919050565b600067ffffffffffffffff82111562003973576200397362003891565b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b600082601f830112620039b157600080fd5b8135620039c8620039c28262003956565b62003904565b818152846020838601011115620039de57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060006060848603121562003a1157600080fd5b833567ffffffffffffffff8082111562003a2a57600080fd5b62003a38878388016200399f565b9450602086013591508082111562003a4f57600080fd5b5062003a5e868287016200399f565b9250506040840135620035f58162003516565b6000815180845262003a8b816020860160208601620038c0565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60608152600062003ad2606083018662003a71565b828103602084015262003ae6818662003a71565b91505060ff83166040830152949350505050565b63ffffffff86168152600073ffffffffffffffffffffffffffffffffffffffff8087166020840152808616604084015250608060608301526200319f608083018486620037bd565b73ffffffffffffffffffffffffffffffffffffffff8516815263ffffffff8416602082015260606040820152600062003b80606083018486620037bd565b9695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820362003c1c5762003c1c62003bb9565b5060010190565b60608152600062003c39606083018789620037bd565b828103602084015262003c4e818688620037bd565b91505060ff831660408301529695505050505050565b6000835162003c78818460208801620038c0565b83519083019062003c8e818360208801620038c0565b01949350505050565b60006020828403121562003caa57600080fd5b5051919050565b81810381811115620007a257620007a262003bb9565b600061010060ff8b16835263ffffffff808b16602085015273ffffffffffffffffffffffffffffffffffffffff808b166040860152818a1660608601528089166080860152508660a08501528160c085015262003d278285018762003a71565b925080851660e085015250509998505050505050505050565b600181815b8085111562003d9f57817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0482111562003d835762003d8362003bb9565b8085161562003d9157918102915b93841c939080029062003d45565b509250929050565b60008262003db857506001620007a2565b8162003dc757506000620007a2565b816001811462003de0576002811462003deb5762003e0b565b6001915050620007a2565b60ff84111562003dff5762003dff62003bb9565b50506001821b620007a2565b5060208310610133831016604e8410600b841016171562003e30575081810a620007a2565b62003e3c838362003d40565b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0482111562003e715762003e7162003bb9565b029392505050565b60006200350f838362003da7565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b6000808585111562003ec757600080fd5b8386111562003ed557600080fd5b5050820193919092039150565b7fffffffff00000000000000000000000000000000000000000000000000000000813581811691600485101562003f235780818660040360031b1b83161692505b505092915050565b600080600080600080600060e0888a03121562003f4757600080fd5b873562003f5481620032b5565b9650602088013562003f6681620032b5565b955060408801359450606088013593506080880135620035938162003516565b600080600080600080600080610100898b03121562003fa457600080fd5b883562003fb181620032b5565b9750602089013562003fc381620032b5565b96506040890135955060608901359450608089013562003fe38162003317565b935060a089013562003ff58162003516565b979a969950949793969295929450505060c08201359160e0013590565b6000602082840312156200402557600080fd5b81516200350f8162003516565b6000602082840312156200404557600080fd5b81516200350f8162003317565b6000602082840312156200406557600080fd5b815167ffffffffffffffff8111156200407d57600080fd5b8201601f810184136200408f57600080fd5b8051620040a0620039c28262003956565b818152856020838501011115620040b657600080fd5b620040c9826020830160208601620038c0565b95945050505050565b6020815260006200350f602083018462003a7156fe6101006040523480156200001257600080fd5b5060405162001b6638038062001b6683398101604081905262000035916200028d565b82826003620000458382620003a1565b506004620000548282620003a1565b50503360c0525060ff811660e052466080819052620000739062000080565b60a052506200046d915050565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f620000ad6200012e565b805160209182012060408051808201825260018152603160f81b90840152805192830193909352918101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc66060820152608081018390523060a082015260c001604051602081830303815290604052805190602001209050919050565b6060600380546200013f9062000312565b80601f01602080910402602001604051908101604052809291908181526020018280546200016d9062000312565b8015620001be5780601f106200019257610100808354040283529160200191620001be565b820191906000526020600020905b815481529060010190602001808311620001a057829003601f168201915b5050505050905090565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620001f057600080fd5b81516001600160401b03808211156200020d576200020d620001c8565b604051601f8301601f19908116603f01168101908282118183101715620002385762000238620001c8565b816040528381526020925086838588010111156200025557600080fd5b600091505b838210156200027957858201830151818301840152908201906200025a565b600093810190920192909252949350505050565b600080600060608486031215620002a357600080fd5b83516001600160401b0380821115620002bb57600080fd5b620002c987838801620001de565b94506020860151915080821115620002e057600080fd5b50620002ef86828701620001de565b925050604084015160ff811681146200030757600080fd5b809150509250925092565b600181811c908216806200032757607f821691505b6020821081036200034857634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200039c57600081815260208120601f850160051c81016020861015620003775750805b601f850160051c820191505b81811015620003985782815560010162000383565b5050505b505050565b81516001600160401b03811115620003bd57620003bd620001c8565b620003d581620003ce845462000312565b846200034e565b602080601f8311600181146200040d5760008415620003f45750858301515b600019600386901b1c1916600185901b17855562000398565b600085815260208120601f198616915b828110156200043e578886015182559484019460019091019084016200041d565b50858210156200045d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a05160c05160e0516116aa620004bc6000396000610237015260008181610307015281816105c001526106a70152600061053a015260008181610379015261050401526116aa6000f3fe608060405234801561001057600080fd5b50600436106101775760003560e01c806370a08231116100d8578063a457c2d71161008c578063d505accf11610066578063d505accf1461039b578063dd62ed3e146103ae578063ffa1ad74146103f457600080fd5b8063a457c2d71461034e578063a9059cbb14610361578063cd0d00961461037457600080fd5b806395d89b41116100bd57806395d89b41146102e75780639dc29fac146102ef578063a3c573eb1461030257600080fd5b806370a08231146102915780637ecebe00146102c757600080fd5b806330adf81f1161012f5780633644e515116101145780633644e51514610261578063395093511461026957806340c10f191461027c57600080fd5b806330adf81f14610209578063313ce5671461023057600080fd5b806318160ddd1161016057806318160ddd146101bd57806320606b70146101cf57806323b872dd146101f657600080fd5b806306fdde031461017c578063095ea7b31461019a575b600080fd5b610184610430565b60405161019191906113e4565b60405180910390f35b6101ad6101a8366004611479565b6104c2565b6040519015158152602001610191565b6002545b604051908152602001610191565b6101c17f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81565b6101ad6102043660046114a3565b6104dc565b6101c17f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60405160ff7f0000000000000000000000000000000000000000000000000000000000000000168152602001610191565b6101c1610500565b6101ad610277366004611479565b61055c565b61028f61028a366004611479565b6105a8565b005b6101c161029f3660046114df565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6101c16102d53660046114df565b60056020526000908152604090205481565b610184610680565b61028f6102fd366004611479565b61068f565b6103297f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610191565b6101ad61035c366004611479565b61075e565b6101ad61036f366004611479565b61082f565b6101c17f000000000000000000000000000000000000000000000000000000000000000081565b61028f6103a9366004611501565b61083d565b6101c16103bc366004611574565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b6101846040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b60606003805461043f906115a7565b80601f016020809104026020016040519081016040528092919081815260200182805461046b906115a7565b80156104b85780601f1061048d576101008083540402835291602001916104b8565b820191906000526020600020905b81548152906001019060200180831161049b57829003601f168201915b5050505050905090565b6000336104d0818585610b73565b60019150505b92915050565b6000336104ea858285610d27565b6104f5858585610dfe565b506001949350505050565b60007f00000000000000000000000000000000000000000000000000000000000000004614610537576105324661106d565b905090565b507f000000000000000000000000000000000000000000000000000000000000000090565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906104d090829086906105a3908790611629565b610b73565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610672576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f546f6b656e577261707065643a3a6f6e6c794272696467653a204e6f7420506f60448201527f6c79676f6e5a6b45564d4272696467650000000000000000000000000000000060648201526084015b60405180910390fd5b61067c8282611135565b5050565b60606004805461043f906115a7565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614610754576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603060248201527f546f6b656e577261707065643a3a6f6e6c794272696467653a204e6f7420506f60448201527f6c79676f6e5a6b45564d427269646765000000000000000000000000000000006064820152608401610669565b61067c8282611228565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff8716845290915281205490919083811015610822576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610669565b6104f58286868403610b73565b6000336104d0818585610dfe565b834211156108cc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f546f6b656e577261707065643a3a7065726d69743a204578706972656420706560448201527f726d6974000000000000000000000000000000000000000000000000000000006064820152608401610669565b73ffffffffffffffffffffffffffffffffffffffff8716600090815260056020526040812080547f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9918a918a918a9190866109268361163c565b9091555060408051602081019690965273ffffffffffffffffffffffffffffffffffffffff94851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000610991610500565b6040517f19010000000000000000000000000000000000000000000000000000000000006020820152602281019190915260428101839052606201604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181528282528051602091820120600080855291840180845281905260ff89169284019290925260608301879052608083018690529092509060019060a0016020604051602081039080840390855afa158015610a55573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff811615801590610ad057508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b610b5c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f546f6b656e577261707065643a3a7065726d69743a20496e76616c696420736960448201527f676e6174757265000000000000000000000000000000000000000000000000006064820152608401610669565b610b678a8a8a610b73565b50505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff8316610c15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610669565b73ffffffffffffffffffffffffffffffffffffffff8216610cb8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610669565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610df85781811015610deb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610669565b610df88484848403610b73565b50505050565b73ffffffffffffffffffffffffffffffffffffffff8316610ea1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610669565b73ffffffffffffffffffffffffffffffffffffffff8216610f44576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610669565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610ffa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610669565b73ffffffffffffffffffffffffffffffffffffffff848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610df8565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f611098610430565b8051602091820120604080518082018252600181527f310000000000000000000000000000000000000000000000000000000000000090840152805192830193909352918101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc66060820152608081018390523060a082015260c001604051602081830303815290604052805190602001209050919050565b73ffffffffffffffffffffffffffffffffffffffff82166111b2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610669565b80600260008282546111c49190611629565b909155505073ffffffffffffffffffffffffffffffffffffffff8216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b73ffffffffffffffffffffffffffffffffffffffff82166112cb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610669565b73ffffffffffffffffffffffffffffffffffffffff821660009081526020819052604090205481811015611381576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610669565b73ffffffffffffffffffffffffffffffffffffffff83166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610d1a565b600060208083528351808285015260005b81811015611411578581018301518582016040015282016113f5565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461147457600080fd5b919050565b6000806040838503121561148c57600080fd5b61149583611450565b946020939093013593505050565b6000806000606084860312156114b857600080fd5b6114c184611450565b92506114cf60208501611450565b9150604084013590509250925092565b6000602082840312156114f157600080fd5b6114fa82611450565b9392505050565b600080600080600080600060e0888a03121561151c57600080fd5b61152588611450565b965061153360208901611450565b95506040880135945060608801359350608088013560ff8116811461155757600080fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561158757600080fd5b61159083611450565b915061159e60208401611450565b90509250929050565b600181811c908216806115bb57607f821691505b6020821081036115f4577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b808201808211156104d6576104d66115fa565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361166d5761166d6115fa565b506001019056fea26469706673582212208d88fee561cff7120d381c345cfc534cef8229a272dc5809d4bbb685ad67141164736f6c63430008110033a2646970667358221220addfd62f466d34ee002afbb4ae37b6be56ad421fe773f800badeb4ce1025089864736f6c63430008110033" + }, + { + "contractName": "PolygonZkEVMBridge proxy", + "balance": "200000000000000000000000000", + "nonce": "1", + "address": "0xcFA773Cc48FBde3CA4D24eeCb19D224d697026b2", + "bytecode": "0x60806040526004361061005e5760003560e01c80635c60da1b116100435780635c60da1b146100a85780638f283970146100e6578063f851a440146101065761006d565b80633659cfe6146100755780634f1ef286146100955761006d565b3661006d5761006b61011b565b005b61006b61011b565b34801561008157600080fd5b5061006b61009036600461088b565b610135565b61006b6100a33660046108a6565b61017f565b3480156100b457600080fd5b506100bd6101f3565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b3480156100f257600080fd5b5061006b61010136600461088b565b610231565b34801561011257600080fd5b506100bd61025e565b6101236102d4565b61013361012e6103ab565b6103b5565b565b61013d6103d9565b73ffffffffffffffffffffffffffffffffffffffff1633036101775761017481604051806020016040528060008152506000610419565b50565b61017461011b565b6101876103d9565b73ffffffffffffffffffffffffffffffffffffffff1633036101eb576101e68383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525060019250610419915050565b505050565b6101e661011b565b60006101fd6103d9565b73ffffffffffffffffffffffffffffffffffffffff163303610226576102216103ab565b905090565b61022e61011b565b90565b6102396103d9565b73ffffffffffffffffffffffffffffffffffffffff1633036101775761017481610444565b60006102686103d9565b73ffffffffffffffffffffffffffffffffffffffff163303610226576102216103d9565b60606102b183836040518060600160405280602781526020016109bb602791396104a5565b9392505050565b73ffffffffffffffffffffffffffffffffffffffff163b151590565b6102dc6103d9565b73ffffffffffffffffffffffffffffffffffffffff163303610133576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152604260248201527f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60448201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f7879207461726760648201527f6574000000000000000000000000000000000000000000000000000000000000608482015260a4015b60405180910390fd5b600061022161052a565b3660008037600080366000845af43d6000803e8080156103d4573d6000f35b3d6000fd5b60007fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b5473ffffffffffffffffffffffffffffffffffffffff16919050565b61042283610552565b60008251118061042f5750805b156101e65761043e838361028c565b50505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f61046d6103d9565b6040805173ffffffffffffffffffffffffffffffffffffffff928316815291841660208301520160405180910390a16101748161059f565b60606000808573ffffffffffffffffffffffffffffffffffffffff16856040516104cf919061094d565b600060405180830381855af49150503d806000811461050a576040519150601f19603f3d011682016040523d82523d6000602084013e61050f565b606091505b5091509150610520868383876106ab565b9695505050505050565b60007f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc6103fd565b61055b81610753565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b73ffffffffffffffffffffffffffffffffffffffff8116610642576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016103a2565b807fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9290921691909117905550565b6060831561074157825160000361073a5773ffffffffffffffffffffffffffffffffffffffff85163b61073a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016103a2565b508161074b565b61074b838361081e565b949350505050565b73ffffffffffffffffffffffffffffffffffffffff81163b6107f7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201527f6f74206120636f6e74726163740000000000000000000000000000000000000060648201526084016103a2565b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc610665565b81511561082e5781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103a29190610969565b803573ffffffffffffffffffffffffffffffffffffffff8116811461088657600080fd5b919050565b60006020828403121561089d57600080fd5b6102b182610862565b6000806000604084860312156108bb57600080fd5b6108c484610862565b9250602084013567ffffffffffffffff808211156108e157600080fd5b818601915086601f8301126108f557600080fd5b81358181111561090457600080fd5b87602082850101111561091657600080fd5b6020830194508093505050509250925092565b60005b8381101561094457818101518382015260200161092c565b50506000910152565b6000825161095f818460208701610929565b9190910192915050565b6020815260008251806020840152610988816040850160208701610929565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220a1af0d6cb4f1e31496a4c5c1448913bce4bd6ad3a39e47c6f7190c114d6f9bf464736f6c63430008110033", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x0000000000000000000000000000000000000000000000000000000000000001", + "0x0000000000000000000000000000000000000000000000000000000000000001": "0x0000000000000000000000000000000000000000000000000000000000000001", + "0x0000000000000000000000000000000000000000000000000000000000000068": "0x00000000000000a40d5f56745a118d0906a34e69aec8c0db1cb8fa0000000100", + "0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103": "0x00000000000000000000000089880e9266b1abe973187f65f1b16a0d98bd92ad", + "0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc": "0x00000000000000000000000015d50fa9623bdd20603e9e2c48e470636c8633c2" + } + }, + { + "contractName": "PolygonZkEVMGlobalExitRootL2 implementation", + "balance": "0", + "nonce": "1", + "address": "0xE641334b752d435a5133f64c6DBAB34431A9B9DC", + "bytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c806301fd904414610051578063257b36321461006d57806333d6247d1461008d578063a3c573eb146100a2575b600080fd5b61005a60015481565b6040519081526020015b60405180910390f35b61005a61007b366004610162565b60006020819052908152604090205481565b6100a061009b366004610162565b6100ee565b005b6100c97f000000000000000000000000cfa773cc48fbde3ca4d24eecb19d224d697026b281565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610064565b3373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000cfa773cc48fbde3ca4d24eecb19d224d697026b2161461015d576040517fb49365dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600155565b60006020828403121561017457600080fd5b503591905056fea2646970667358221220a187fc278346c1b61c449ea3641002b6eac2bda3351a122a12c35099f933696864736f6c63430008110033" + }, + { + "contractName": "PolygonZkEVMGlobalExitRootL2 proxy", + "balance": "0", + "nonce": "1", + "address": "0xa40d5f56745a118d0906a34e69aec8c0db1cb8fa", + "bytecode": "0x60806040526004361061004e5760003560e01c80633659cfe6146100655780634f1ef286146100855780635c60da1b146100985780638f283970146100c9578063f851a440146100e95761005d565b3661005d5761005b6100fe565b005b61005b6100fe565b34801561007157600080fd5b5061005b6100803660046106ca565b610118565b61005b6100933660046106e5565b61015f565b3480156100a457600080fd5b506100ad6101d0565b6040516001600160a01b03909116815260200160405180910390f35b3480156100d557600080fd5b5061005b6100e43660046106ca565b61020b565b3480156100f557600080fd5b506100ad610235565b610106610292565b610116610111610331565b61033b565b565b61012061035f565b6001600160a01b0316336001600160a01b031614156101575761015481604051806020016040528060008152506000610392565b50565b6101546100fe565b61016761035f565b6001600160a01b0316336001600160a01b031614156101c8576101c38383838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525060019250610392915050565b505050565b6101c36100fe565b60006101da61035f565b6001600160a01b0316336001600160a01b03161415610200576101fb610331565b905090565b6102086100fe565b90565b61021361035f565b6001600160a01b0316336001600160a01b0316141561015757610154816103f1565b600061023f61035f565b6001600160a01b0316336001600160a01b03161415610200576101fb61035f565b606061028583836040518060600160405280602781526020016107e460279139610445565b9392505050565b3b151590565b61029a61035f565b6001600160a01b0316336001600160a01b031614156101165760405162461bcd60e51b815260206004820152604260248201527f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60448201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f78792074617267606482015261195d60f21b608482015260a4015b60405180910390fd5b60006101fb610519565b3660008037600080366000845af43d6000803e80801561035a573d6000f35b3d6000fd5b60007fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b546001600160a01b0316919050565b61039b83610541565b6040516001600160a01b038416907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a26000825111806103dc5750805b156101c3576103eb8383610260565b50505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f61041a61035f565b604080516001600160a01b03928316815291841660208301520160405180910390a1610154816105e9565b6060833b6104a45760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401610328565b600080856001600160a01b0316856040516104bf9190610794565b600060405180830381855af49150503d80600081146104fa576040519150601f19603f3d011682016040523d82523d6000602084013e6104ff565b606091505b509150915061050f828286610675565b9695505050505050565b60007f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc610383565b803b6105a55760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401610328565b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b6001600160a01b03811661064e5760405162461bcd60e51b815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201526564647265737360d01b6064820152608401610328565b807fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61036105c8565b60608315610684575081610285565b8251156106945782518084602001fd5b8160405162461bcd60e51b815260040161032891906107b0565b80356001600160a01b03811681146106c557600080fd5b919050565b6000602082840312156106dc57600080fd5b610285826106ae565b6000806000604084860312156106fa57600080fd5b610703846106ae565b9250602084013567ffffffffffffffff8082111561072057600080fd5b818601915086601f83011261073457600080fd5b81358181111561074357600080fd5b87602082850101111561075557600080fd5b6020830194508093505050509250925092565b60005b8381101561078357818101518382015260200161076b565b838111156103eb5750506000910152565b600082516107a6818460208701610768565b9190910192915050565b60208152600082518060208401526107cf816040850160208701610768565b601f01601f1916919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212204675187caf3a43285d9a2c1844a981e977bd52a85ff073e7fc649f73847d70a464736f6c63430008090033", + "storage": { + "0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103": "0x00000000000000000000000089880e9266b1abe973187f65f1b16a0d98bd92ad", + "0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc": "0x000000000000000000000000e641334b752d435a5133f64c6dbab34431a9b9dc" + } + }, + { + "contractName": "PolygonZkEVMTimelock", + "balance": "0", + "nonce": "1", + "address": "0xDEAd72Fd97a579E98AEF2F9EB190066E1858D15a", + "bytecode": "0x6080604052600436106101c65760003560e01c806364d62353116100f7578063b1c5f42711610095578063d547741f11610064578063d547741f14610661578063e38335e514610681578063f23a6e6114610694578063f27a0c92146106d957600080fd5b8063b1c5f427146105af578063bc197c81146105cf578063c4d252f514610614578063d45c44351461063457600080fd5b80638f61f4f5116100d15780638f61f4f5146104e157806391d1485414610515578063a217fddf14610566578063b08e51c01461057b57600080fd5b806364d62353146104815780638065657f146104a15780638f2a0bb0146104c157600080fd5b8063248a9ca31161016457806331d507501161013e57806331d50750146103c857806336568abe146103e85780633a6aae7214610408578063584b153e1461046157600080fd5b8063248a9ca3146103475780632ab0f529146103775780632f2ff15d146103a857600080fd5b80630d3cf6fc116101a05780630d3cf6fc1461026b578063134008d31461029f57806313bc9f20146102b2578063150b7a02146102d257600080fd5b806301d5062a146101d257806301ffc9a7146101f457806307bd02651461022957600080fd5b366101cd57005b600080fd5b3480156101de57600080fd5b506101f26101ed366004611c12565b6106ee565b005b34801561020057600080fd5b5061021461020f366004611c87565b610783565b60405190151581526020015b60405180910390f35b34801561023557600080fd5b5061025d7fd8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e6381565b604051908152602001610220565b34801561027757600080fd5b5061025d7f5f58e3a2316349923ce3780f8d587db2d72378aed66a8261c916544fa6846ca581565b6101f26102ad366004611cc9565b6107df565b3480156102be57600080fd5b506102146102cd366004611d35565b6108d7565b3480156102de57600080fd5b506103166102ed366004611e5a565b7f150b7a0200000000000000000000000000000000000000000000000000000000949350505050565b6040517fffffffff000000000000000000000000000000000000000000000000000000009091168152602001610220565b34801561035357600080fd5b5061025d610362366004611d35565b60009081526020819052604090206001015490565b34801561038357600080fd5b50610214610392366004611d35565b6000908152600160208190526040909120541490565b3480156103b457600080fd5b506101f26103c3366004611ec2565b6108fd565b3480156103d457600080fd5b506102146103e3366004611d35565b610927565b3480156103f457600080fd5b506101f2610403366004611ec2565b610940565b34801561041457600080fd5b5061043c7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610220565b34801561046d57600080fd5b5061021461047c366004611d35565b6109f8565b34801561048d57600080fd5b506101f261049c366004611d35565b610a0e565b3480156104ad57600080fd5b5061025d6104bc366004611cc9565b610ade565b3480156104cd57600080fd5b506101f26104dc366004611f33565b610b1d565b3480156104ed57600080fd5b5061025d7fb09aa5aeb3702cfd50b6b62bc4532604938f21248a27a1d5ca736082b6819cc181565b34801561052157600080fd5b50610214610530366004611ec2565b60009182526020828152604080842073ffffffffffffffffffffffffffffffffffffffff93909316845291905290205460ff1690565b34801561057257600080fd5b5061025d600081565b34801561058757600080fd5b5061025d7ffd643c72710c63c0180259aba6b2d05451e3591a24e58b62239378085726f78381565b3480156105bb57600080fd5b5061025d6105ca366004611fe5565b610d4f565b3480156105db57600080fd5b506103166105ea36600461210e565b7fbc197c810000000000000000000000000000000000000000000000000000000095945050505050565b34801561062057600080fd5b506101f261062f366004611d35565b610d94565b34801561064057600080fd5b5061025d61064f366004611d35565b60009081526001602052604090205490565b34801561066d57600080fd5b506101f261067c366004611ec2565b610e8f565b6101f261068f366004611fe5565b610eb4565b3480156106a057600080fd5b506103166106af3660046121b8565b7ff23a6e610000000000000000000000000000000000000000000000000000000095945050505050565b3480156106e557600080fd5b5061025d611161565b7fb09aa5aeb3702cfd50b6b62bc4532604938f21248a27a1d5ca736082b6819cc161071881611204565b6000610728898989898989610ade565b90506107348184611211565b6000817f4cf4410cc57040e44862ef0f45f3dd5a5e02db8eb8add648d4b0e236f1d07dca8b8b8b8b8b8a60405161077096959493929190612266565b60405180910390a3505050505050505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f4e2312e00000000000000000000000000000000000000000000000000000000014806107d957506107d98261135e565b92915050565b600080527fdae2aa361dfd1ca020a396615627d436107c35eff9fe7738a3512819782d70696020527f5ba6852781629bcdcd4bdaa6de76d786f1c64b16acdac474e55bebc0ea157951547fd8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e639060ff1661085c5761085c81336113f5565b600061086c888888888888610ade565b905061087881856114ad565b610884888888886115ea565b6000817fc2617efa69bab66782fa219543714338489c4e9e178271560a91b82c3f612b588a8a8a8a6040516108bc94939291906122b1565b60405180910390a36108cd816116ee565b5050505050505050565b6000818152600160205260408120546001811180156108f65750428111155b9392505050565b60008281526020819052604090206001015461091881611204565b6109228383611797565b505050565b60008181526001602052604081205481905b1192915050565b73ffffffffffffffffffffffffffffffffffffffff811633146109ea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c66000000000000000000000000000000000060648201526084015b60405180910390fd5b6109f48282611887565b5050565b6000818152600160208190526040822054610939565b333014610a9d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f54696d656c6f636b436f6e74726f6c6c65723a2063616c6c6572206d7573742060448201527f62652074696d656c6f636b00000000000000000000000000000000000000000060648201526084016109e1565b60025460408051918252602082018390527f11c24f4ead16507c69ac467fbd5e4eed5fb5c699626d2cc6d66421df253886d5910160405180910390a1600255565b6000868686868686604051602001610afb96959493929190612266565b6040516020818303038152906040528051906020012090509695505050505050565b7fb09aa5aeb3702cfd50b6b62bc4532604938f21248a27a1d5ca736082b6819cc1610b4781611204565b888714610bd6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f54696d656c6f636b436f6e74726f6c6c65723a206c656e677468206d69736d6160448201527f746368000000000000000000000000000000000000000000000000000000000060648201526084016109e1565b888514610c65576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f54696d656c6f636b436f6e74726f6c6c65723a206c656e677468206d69736d6160448201527f746368000000000000000000000000000000000000000000000000000000000060648201526084016109e1565b6000610c778b8b8b8b8b8b8b8b610d4f565b9050610c838184611211565b60005b8a811015610d415780827f4cf4410cc57040e44862ef0f45f3dd5a5e02db8eb8add648d4b0e236f1d07dca8e8e85818110610cc357610cc36122f1565b9050602002016020810190610cd89190612320565b8d8d86818110610cea57610cea6122f1565b905060200201358c8c87818110610d0357610d036122f1565b9050602002810190610d15919061233b565b8c8b604051610d2996959493929190612266565b60405180910390a3610d3a816123cf565b9050610c86565b505050505050505050505050565b60008888888888888888604051602001610d709897969594939291906124b7565b60405160208183030381529060405280519060200120905098975050505050505050565b7ffd643c72710c63c0180259aba6b2d05451e3591a24e58b62239378085726f783610dbe81611204565b610dc7826109f8565b610e53576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f54696d656c6f636b436f6e74726f6c6c65723a206f7065726174696f6e20636160448201527f6e6e6f742062652063616e63656c6c656400000000000000000000000000000060648201526084016109e1565b6000828152600160205260408082208290555183917fbaa1eb22f2a492ba1a5fea61b8df4d27c6c8b5f3971e63bb58fa14ff72eedb7091a25050565b600082815260208190526040902060010154610eaa81611204565b6109228383611887565b600080527fdae2aa361dfd1ca020a396615627d436107c35eff9fe7738a3512819782d70696020527f5ba6852781629bcdcd4bdaa6de76d786f1c64b16acdac474e55bebc0ea157951547fd8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e639060ff16610f3157610f3181336113f5565b878614610fc0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f54696d656c6f636b436f6e74726f6c6c65723a206c656e677468206d69736d6160448201527f746368000000000000000000000000000000000000000000000000000000000060648201526084016109e1565b87841461104f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f54696d656c6f636b436f6e74726f6c6c65723a206c656e677468206d69736d6160448201527f746368000000000000000000000000000000000000000000000000000000000060648201526084016109e1565b60006110618a8a8a8a8a8a8a8a610d4f565b905061106d81856114ad565b60005b8981101561114b5760008b8b8381811061108c5761108c6122f1565b90506020020160208101906110a19190612320565b905060008a8a848181106110b7576110b76122f1565b9050602002013590503660008a8a868181106110d5576110d56122f1565b90506020028101906110e7919061233b565b915091506110f7848484846115ea565b84867fc2617efa69bab66782fa219543714338489c4e9e178271560a91b82c3f612b588686868660405161112e94939291906122b1565b60405180910390a35050505080611144906123cf565b9050611070565b50611155816116ee565b50505050505050505050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166315064c966040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111f2919061257e565b156111fd5750600090565b5060025490565b61120e81336113f5565b50565b61121a82610927565b156112a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f54696d656c6f636b436f6e74726f6c6c65723a206f7065726174696f6e20616c60448201527f7265616479207363686564756c6564000000000000000000000000000000000060648201526084016109e1565b6112af611161565b81101561133e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f54696d656c6f636b436f6e74726f6c6c65723a20696e73756666696369656e7460448201527f2064656c6179000000000000000000000000000000000000000000000000000060648201526084016109e1565b61134881426125a0565b6000928352600160205260409092209190915550565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f7965db0b0000000000000000000000000000000000000000000000000000000014806107d957507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316146107d9565b60008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff166109f4576114338161193e565b61143e83602061195d565b60405160200161144f9291906125d7565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152908290527f08c379a00000000000000000000000000000000000000000000000000000000082526109e191600401612658565b6114b6826108d7565b611542576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f54696d656c6f636b436f6e74726f6c6c65723a206f7065726174696f6e20697360448201527f206e6f742072656164790000000000000000000000000000000000000000000060648201526084016109e1565b80158061155e5750600081815260016020819052604090912054145b6109f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f54696d656c6f636b436f6e74726f6c6c65723a206d697373696e67206465706560448201527f6e64656e6379000000000000000000000000000000000000000000000000000060648201526084016109e1565b60008473ffffffffffffffffffffffffffffffffffffffff168484846040516116149291906126a9565b60006040518083038185875af1925050503d8060008114611651576040519150601f19603f3d011682016040523d82523d6000602084013e611656565b606091505b50509050806116e7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603360248201527f54696d656c6f636b436f6e74726f6c6c65723a20756e6465726c79696e67207460448201527f72616e73616374696f6e2072657665727465640000000000000000000000000060648201526084016109e1565b5050505050565b6116f7816108d7565b611783576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f54696d656c6f636b436f6e74726f6c6c65723a206f7065726174696f6e20697360448201527f206e6f742072656164790000000000000000000000000000000000000000000060648201526084016109e1565b600090815260016020819052604090912055565b60008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff166109f45760008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff85168452909152902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790556118293390565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff16156109f45760008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516808552925280832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60606107d973ffffffffffffffffffffffffffffffffffffffff831660145b6060600061196c8360026126b9565b6119779060026125a0565b67ffffffffffffffff81111561198f5761198f611d4e565b6040519080825280601f01601f1916602001820160405280156119b9576020820181803683370190505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106119f0576119f06122f1565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110611a5357611a536122f1565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000611a8f8460026126b9565b611a9a9060016125a0565b90505b6001811115611b37577f303132333435363738396162636465660000000000000000000000000000000085600f1660108110611adb57611adb6122f1565b1a60f81b828281518110611af157611af16122f1565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060049490941c93611b30816126d0565b9050611a9d565b5083156108f6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016109e1565b803573ffffffffffffffffffffffffffffffffffffffff81168114611bc457600080fd5b919050565b60008083601f840112611bdb57600080fd5b50813567ffffffffffffffff811115611bf357600080fd5b602083019150836020828501011115611c0b57600080fd5b9250929050565b600080600080600080600060c0888a031215611c2d57600080fd5b611c3688611ba0565b965060208801359550604088013567ffffffffffffffff811115611c5957600080fd5b611c658a828b01611bc9565b989b979a50986060810135976080820135975060a09091013595509350505050565b600060208284031215611c9957600080fd5b81357fffffffff00000000000000000000000000000000000000000000000000000000811681146108f657600080fd5b60008060008060008060a08789031215611ce257600080fd5b611ceb87611ba0565b955060208701359450604087013567ffffffffffffffff811115611d0e57600080fd5b611d1a89828a01611bc9565b979a9699509760608101359660809091013595509350505050565b600060208284031215611d4757600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715611dc457611dc4611d4e565b604052919050565b600082601f830112611ddd57600080fd5b813567ffffffffffffffff811115611df757611df7611d4e565b611e2860207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f84011601611d7d565b818152846020838601011115611e3d57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060808587031215611e7057600080fd5b611e7985611ba0565b9350611e8760208601611ba0565b925060408501359150606085013567ffffffffffffffff811115611eaa57600080fd5b611eb687828801611dcc565b91505092959194509250565b60008060408385031215611ed557600080fd5b82359150611ee560208401611ba0565b90509250929050565b60008083601f840112611f0057600080fd5b50813567ffffffffffffffff811115611f1857600080fd5b6020830191508360208260051b8501011115611c0b57600080fd5b600080600080600080600080600060c08a8c031215611f5157600080fd5b893567ffffffffffffffff80821115611f6957600080fd5b611f758d838e01611eee565b909b50995060208c0135915080821115611f8e57600080fd5b611f9a8d838e01611eee565b909950975060408c0135915080821115611fb357600080fd5b50611fc08c828d01611eee565b9a9d999c50979a969997986060880135976080810135975060a0013595509350505050565b60008060008060008060008060a0898b03121561200157600080fd5b883567ffffffffffffffff8082111561201957600080fd5b6120258c838d01611eee565b909a50985060208b013591508082111561203e57600080fd5b61204a8c838d01611eee565b909850965060408b013591508082111561206357600080fd5b506120708b828c01611eee565b999c989b509699959896976060870135966080013595509350505050565b600082601f83011261209f57600080fd5b8135602067ffffffffffffffff8211156120bb576120bb611d4e565b8160051b6120ca828201611d7d565b92835284810182019282810190878511156120e457600080fd5b83870192505b84831015612103578235825291830191908301906120ea565b979650505050505050565b600080600080600060a0868803121561212657600080fd5b61212f86611ba0565b945061213d60208701611ba0565b9350604086013567ffffffffffffffff8082111561215a57600080fd5b61216689838a0161208e565b9450606088013591508082111561217c57600080fd5b61218889838a0161208e565b9350608088013591508082111561219e57600080fd5b506121ab88828901611dcc565b9150509295509295909350565b600080600080600060a086880312156121d057600080fd5b6121d986611ba0565b94506121e760208701611ba0565b93506040860135925060608601359150608086013567ffffffffffffffff81111561221157600080fd5b6121ab88828901611dcc565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b73ffffffffffffffffffffffffffffffffffffffff8716815285602082015260a06040820152600061229c60a08301868861221d565b60608301949094525060800152949350505050565b73ffffffffffffffffffffffffffffffffffffffff851681528360208201526060604082015260006122e760608301848661221d565b9695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006020828403121561233257600080fd5b6108f682611ba0565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261237057600080fd5b83018035915067ffffffffffffffff82111561238b57600080fd5b602001915036819003821315611c0b57600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612400576124006123a0565b5060010190565b81835260006020808501808196508560051b810191508460005b878110156124aa57828403895281357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe188360301811261246057600080fd5b8701858101903567ffffffffffffffff81111561247c57600080fd5b80360382131561248b57600080fd5b61249686828461221d565b9a87019a9550505090840190600101612421565b5091979650505050505050565b60a0808252810188905260008960c08301825b8b8110156125055773ffffffffffffffffffffffffffffffffffffffff6124f084611ba0565b168252602092830192909101906001016124ca565b5083810360208501528881527f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff89111561253e57600080fd5b8860051b9150818a602083013701828103602090810160408501526125669082018789612407565b60608401959095525050608001529695505050505050565b60006020828403121561259057600080fd5b815180151581146108f657600080fd5b808201808211156107d9576107d96123a0565b60005b838110156125ce5781810151838201526020016125b6565b50506000910152565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161260f8160178501602088016125b3565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000601791840191820152835161264c8160288401602088016125b3565b01602801949350505050565b60208152600082518060208401526126778160408501602087016125b3565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b8183823760009101908152919050565b80820281158282048414176107d9576107d96123a0565b6000816126df576126df6123a0565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff019056fea2646970667358221220288c3dd40a2ba96edf066502722584177809ebdb47c0cf9ee8df6f07954c373064736f6c63430008110033", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x000000000000000000000000000000000000000000000000000000000000000a", + "0xa35b5405ab15b96b03cc591647476727d852994a412b5030df6fc27d6663ae98": "0x0000000000000000000000000000000000000000000000000000000000000001", + "0x3068bd570ea4e7d974748b6421609a672ffc2752a61ba3a01cab0651ae1ac36d": "0x0000000000000000000000000000000000000000000000000000000000000001", + "0x64494413541ff93b31aa309254e3fed72a7456e9845988b915b4c7a7ceba8814": "0x5f58e3a2316349923ce3780f8d587db2d72378aed66a8261c916544fa6846ca5", + "0x555ccfd2adedd3617807cc741088518e69e1b40eeadcc863c31e3de2eeb454dd": "0x0000000000000000000000000000000000000000000000000000000000000001", + "0x3412d5605ac6cd444957cedb533e5dacad6378b4bc819ebe3652188a665066d6": "0x5f58e3a2316349923ce3780f8d587db2d72378aed66a8261c916544fa6846ca5", + "0xba259d66f4dd33fbb3dec88075da2b4d0684440fd415c1f24df79a0258ca9e62": "0x0000000000000000000000000000000000000000000000000000000000000001", + "0xdae2aa361dfd1ca020a396615627d436107c35eff9fe7738a3512819782d706a": "0x5f58e3a2316349923ce3780f8d587db2d72378aed66a8261c916544fa6846ca5", + "0xd449b9dacab93eed6e33b971a4f75b09702709f5b92088a7d361838e246a3556": "0x0000000000000000000000000000000000000000000000000000000000000001", + "0xc3ad33e20b0c56a223ad5104fff154aa010f8715b9c981fd38fdc60a4d1a52fc": "0x5f58e3a2316349923ce3780f8d587db2d72378aed66a8261c916544fa6846ca5" + } + }, + { + "accountName": "keyless Deployer", + "balance": "0", + "nonce": "1", + "address": "0x5F8ac8E93c27136121f3Dd834aDd135E7fBC4EC6" + }, + { + "accountName": "deployer", + "balance": "0", + "nonce": "8", + "address": "0x0cae25c8623761783Fe4CE241C9b428126A7612A" + }, + { + "balance": "0", + "nonce": "3", + "address": "0xc949254d682d8c9ad5682521675b8f43b102aec4", + "pvtKey": "0xdfd01798f92667dbf91df722434e8fbe96af0211d4d1b82bbbbc8f1def7a814f" + } + ], + "expectedOldRoot": "0x24c02821c526d801fd1d6d99afd57fdf862f4d3e2109fc36eb85bd5e2f5c508e", + "txs": [ + { + "type": 11, + "deltaTimestamp": "1944498031", + "l1Info": { + "globalExitRoot": "0x772a7e7f901e350a1943a7204f9bcc5da04bcb804d3b37c4debda567b05b13c4", + "blockHash": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb", + "timestamp": "42", + "smtProof": [ + "0x3cac317908c699fe873a7f6ee4e8cd63fbe9918b2315c97be91585590168e301", + "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5", + "0xb4c11951957c6f8f642c4af61cd6b24640fec6dc7fc607ee8206a99e92410d30", + "0x21ddb9a356815c3fac1026b6dec5df3124afbadb485c9ba5a3e3398a04b7ba85", + "0xe58769b32a1beaf1ea27375a44095a0d1fb664ce2dd358e7fcbfb78c26a19344", + "0x0eb01ebfc9ed27500cd4dfc979272d1f0913cc9f66540d7e8005811109e1cf2d", + "0x887c22bd8750d34016ac3c66b5ff102dacdd73f6b014e710b51e8022af9a1968", + "0xffd70157e48063fc33c97a050f7f640233bf646cc98d9524c6b92bcf3ab56f83", + "0x9867cc5f7f196b93bae1e27e6320742445d290f2263827498b54fec539f756af", + "0xcefad4e508c098b9a7e1d8feb19955fb02ba9675585078710969d3440f5054e0", + "0xf9dc3e7fe016e050eff260334f18a5d4fe391d82092319f5964f2e2eb7c1c3a5", + "0xf8b13a49e282f609c317a833fb8d976d11517c571d1221a265d25af778ecf892", + "0x3490c6ceeb450aecdc82e28293031d10c7d73bf85e57bf041a97360aa2c5d99c", + "0xc1df82d9c4b87413eae2ef048f94b4d3554cea73d92b0f7af96e0271c691e2bb", + "0x5c67add7c6caf302256adedf7ab114da0acfe870d449a3a489f781d659e8becc", + "0xda7bce9f4e8618b6bd2f4132ce798cdc7a60e7e1460a7299e3c6342a579626d2", + "0x2733e50f526ec2fa19a22b31e8ed50f23cd1fdf94c9154ed3a7609a2f1ff981f", + "0xe1d3b5c807b281e4683cc6d6315cf95b9ade8641defcb32372f1c126e398ef7a", + "0x5a2dce0a8a7f68bb74560f8f71837c2c2ebbcbf7fffb42ae1896f13f7c7479a0", + "0xb46a28b6f55540f89444f63de0378e3d121be09e06cc9ded1c20e65876d36aa0", + "0xc65e9645644786b620e2dd2ad648ddfcbf4a7e5b1a3a4ecfe7f64667a3f0b7e2", + "0xf4418588ed35a2458cffeb39b93d26f18d2ab13bdce6aee58e7b99359ec2dfd9", + "0x5a9c16dc00d6ef18b7933a6f8dc65ccb55667138776f7dea101070dc8796e377", + "0x4df84f40ae0c8229d0d6069e5c8f39a7c299677a09d367fc7b05e3bc380ee652", + "0xcdc72595f74c7b1043d0e1ffbab734648c838dfb0527d971b602bc216c9619ef", + "0x0abf5ac974a1ed57f4050aa510dd9c74f508277b39d7973bb2dfccc5eeb0618d", + "0xb8cd74046ff337f0a7bf2c8e03e10f642c1886798d71806ab1e888d9e5ee87d0", + "0x838c5655cb21c6cb83313b5a631175dff4963772cce9108188b34ac87c81c41e", + "0x662ee4dd2dd7b2bc707961b1e646c4047669dcb6584f0d8d770daf5d7e7deb2e", + "0x388ab20e2573d171a88108e79d820e98f26c0b84aa8b2f4aa4968dbb818ea322", + "0x93237c50ba75ee485f4c22adf2f741400bdf8d6a9cc7df7ecae576221665d735", + "0x8448818bb4ae4562849e949e17ac16e0be16688e156b5cf15e098c627c0056a9" + ] + }, + "indexL1InfoTree": 1, + "reason": "", + "customRawTx": "0x0b73e6af6f00000001" + }, + { + "from": "0xc949254d682d8c9ad5682521675b8f43b102aec4", + "to": "0xcFA773Cc48FBde3CA4D24eeCb19D224d697026b2", + "nonce": 3, + "value": "0", + "contractName": "PolygonZkEVMBridge", + "function": "claimAsset", + "params": [ + [ + "0x0000000000000000000000000000000000000000000000000000000000000000", + "0xad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5", + "0xb4c11951957c6f8f642c4af61cd6b24640fec6dc7fc607ee8206a99e92410d30", + "0x21ddb9a356815c3fac1026b6dec5df3124afbadb485c9ba5a3e3398a04b7ba85", + "0xe58769b32a1beaf1ea27375a44095a0d1fb664ce2dd358e7fcbfb78c26a19344", + "0x0eb01ebfc9ed27500cd4dfc979272d1f0913cc9f66540d7e8005811109e1cf2d", + "0x887c22bd8750d34016ac3c66b5ff102dacdd73f6b014e710b51e8022af9a1968", + "0xffd70157e48063fc33c97a050f7f640233bf646cc98d9524c6b92bcf3ab56f83", + "0x9867cc5f7f196b93bae1e27e6320742445d290f2263827498b54fec539f756af", + "0xcefad4e508c098b9a7e1d8feb19955fb02ba9675585078710969d3440f5054e0", + "0xf9dc3e7fe016e050eff260334f18a5d4fe391d82092319f5964f2e2eb7c1c3a5", + "0xf8b13a49e282f609c317a833fb8d976d11517c571d1221a265d25af778ecf892", + "0x3490c6ceeb450aecdc82e28293031d10c7d73bf85e57bf041a97360aa2c5d99c", + "0xc1df82d9c4b87413eae2ef048f94b4d3554cea73d92b0f7af96e0271c691e2bb", + "0x5c67add7c6caf302256adedf7ab114da0acfe870d449a3a489f781d659e8becc", + "0xda7bce9f4e8618b6bd2f4132ce798cdc7a60e7e1460a7299e3c6342a579626d2", + "0x2733e50f526ec2fa19a22b31e8ed50f23cd1fdf94c9154ed3a7609a2f1ff981f", + "0xe1d3b5c807b281e4683cc6d6315cf95b9ade8641defcb32372f1c126e398ef7a", + "0x5a2dce0a8a7f68bb74560f8f71837c2c2ebbcbf7fffb42ae1896f13f7c7479a0", + "0xb46a28b6f55540f89444f63de0378e3d121be09e06cc9ded1c20e65876d36aa0", + "0xc65e9645644786b620e2dd2ad648ddfcbf4a7e5b1a3a4ecfe7f64667a3f0b7e2", + "0xf4418588ed35a2458cffeb39b93d26f18d2ab13bdce6aee58e7b99359ec2dfd9", + "0x5a9c16dc00d6ef18b7933a6f8dc65ccb55667138776f7dea101070dc8796e377", + "0x4df84f40ae0c8229d0d6069e5c8f39a7c299677a09d367fc7b05e3bc380ee652", + "0xcdc72595f74c7b1043d0e1ffbab734648c838dfb0527d971b602bc216c9619ef", + "0x0abf5ac974a1ed57f4050aa510dd9c74f508277b39d7973bb2dfccc5eeb0618d", + "0xb8cd74046ff337f0a7bf2c8e03e10f642c1886798d71806ab1e888d9e5ee87d0", + "0x838c5655cb21c6cb83313b5a631175dff4963772cce9108188b34ac87c81c41e", + "0x662ee4dd2dd7b2bc707961b1e646c4047669dcb6584f0d8d770daf5d7e7deb2e", + "0x388ab20e2573d171a88108e79d820e98f26c0b84aa8b2f4aa4968dbb818ea322", + "0x93237c50ba75ee485f4c22adf2f741400bdf8d6a9cc7df7ecae576221665d735", + "0x8448818bb4ae4562849e949e17ac16e0be16688e156b5cf15e098c627c0056a9" + ], + 0, + "0x5ba002329b53c11a2f1dfe90b11e031771842056cf2125b43da8103c199dcd7f", + "0x0000000000000000000000000000000000000000000000000000000000000000", + 0, + "0x0000000000000000000000000000000000000000", + 1, + "0xc949254d682d8c9ad5682521675b8f43b102aec4", + "0x8ac7230489e80000", + "0x" + ], + "gasLimit": 2000000, + "gasPrice": "0", + "data": "0x2cffd02e0000000000000000000000000000000000000000000000000000000000000000ad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5b4c11951957c6f8f642c4af61cd6b24640fec6dc7fc607ee8206a99e92410d3021ddb9a356815c3fac1026b6dec5df3124afbadb485c9ba5a3e3398a04b7ba85e58769b32a1beaf1ea27375a44095a0d1fb664ce2dd358e7fcbfb78c26a193440eb01ebfc9ed27500cd4dfc979272d1f0913cc9f66540d7e8005811109e1cf2d887c22bd8750d34016ac3c66b5ff102dacdd73f6b014e710b51e8022af9a1968ffd70157e48063fc33c97a050f7f640233bf646cc98d9524c6b92bcf3ab56f839867cc5f7f196b93bae1e27e6320742445d290f2263827498b54fec539f756afcefad4e508c098b9a7e1d8feb19955fb02ba9675585078710969d3440f5054e0f9dc3e7fe016e050eff260334f18a5d4fe391d82092319f5964f2e2eb7c1c3a5f8b13a49e282f609c317a833fb8d976d11517c571d1221a265d25af778ecf8923490c6ceeb450aecdc82e28293031d10c7d73bf85e57bf041a97360aa2c5d99cc1df82d9c4b87413eae2ef048f94b4d3554cea73d92b0f7af96e0271c691e2bb5c67add7c6caf302256adedf7ab114da0acfe870d449a3a489f781d659e8beccda7bce9f4e8618b6bd2f4132ce798cdc7a60e7e1460a7299e3c6342a579626d22733e50f526ec2fa19a22b31e8ed50f23cd1fdf94c9154ed3a7609a2f1ff981fe1d3b5c807b281e4683cc6d6315cf95b9ade8641defcb32372f1c126e398ef7a5a2dce0a8a7f68bb74560f8f71837c2c2ebbcbf7fffb42ae1896f13f7c7479a0b46a28b6f55540f89444f63de0378e3d121be09e06cc9ded1c20e65876d36aa0c65e9645644786b620e2dd2ad648ddfcbf4a7e5b1a3a4ecfe7f64667a3f0b7e2f4418588ed35a2458cffeb39b93d26f18d2ab13bdce6aee58e7b99359ec2dfd95a9c16dc00d6ef18b7933a6f8dc65ccb55667138776f7dea101070dc8796e3774df84f40ae0c8229d0d6069e5c8f39a7c299677a09d367fc7b05e3bc380ee652cdc72595f74c7b1043d0e1ffbab734648c838dfb0527d971b602bc216c9619ef0abf5ac974a1ed57f4050aa510dd9c74f508277b39d7973bb2dfccc5eeb0618db8cd74046ff337f0a7bf2c8e03e10f642c1886798d71806ab1e888d9e5ee87d0838c5655cb21c6cb83313b5a631175dff4963772cce9108188b34ac87c81c41e662ee4dd2dd7b2bc707961b1e646c4047669dcb6584f0d8d770daf5d7e7deb2e388ab20e2573d171a88108e79d820e98f26c0b84aa8b2f4aa4968dbb818ea32293237c50ba75ee485f4c22adf2f741400bdf8d6a9cc7df7ecae576221665d7358448818bb4ae4562849e949e17ac16e0be16688e156b5cf15e098c627c0056a900000000000000000000000000000000000000000000000000000000000000005ba002329b53c11a2f1dfe90b11e031771842056cf2125b43da8103c199dcd7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000c949254d682d8c9ad5682521675b8f43b102aec40000000000000000000000000000000000000000000000008ac7230489e8000000000000000000000000000000000000000000000000000000000000000005200000000000000000000000000000000000000000000000000000000000000000", + "chainId": 1000, + "reason": "", + "customRawTx": "0xf905680380831e848094cfa773cc48fbde3ca4d24eecb19d224d697026b280b905442cffd02e0000000000000000000000000000000000000000000000000000000000000000ad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5b4c11951957c6f8f642c4af61cd6b24640fec6dc7fc607ee8206a99e92410d3021ddb9a356815c3fac1026b6dec5df3124afbadb485c9ba5a3e3398a04b7ba85e58769b32a1beaf1ea27375a44095a0d1fb664ce2dd358e7fcbfb78c26a193440eb01ebfc9ed27500cd4dfc979272d1f0913cc9f66540d7e8005811109e1cf2d887c22bd8750d34016ac3c66b5ff102dacdd73f6b014e710b51e8022af9a1968ffd70157e48063fc33c97a050f7f640233bf646cc98d9524c6b92bcf3ab56f839867cc5f7f196b93bae1e27e6320742445d290f2263827498b54fec539f756afcefad4e508c098b9a7e1d8feb19955fb02ba9675585078710969d3440f5054e0f9dc3e7fe016e050eff260334f18a5d4fe391d82092319f5964f2e2eb7c1c3a5f8b13a49e282f609c317a833fb8d976d11517c571d1221a265d25af778ecf8923490c6ceeb450aecdc82e28293031d10c7d73bf85e57bf041a97360aa2c5d99cc1df82d9c4b87413eae2ef048f94b4d3554cea73d92b0f7af96e0271c691e2bb5c67add7c6caf302256adedf7ab114da0acfe870d449a3a489f781d659e8beccda7bce9f4e8618b6bd2f4132ce798cdc7a60e7e1460a7299e3c6342a579626d22733e50f526ec2fa19a22b31e8ed50f23cd1fdf94c9154ed3a7609a2f1ff981fe1d3b5c807b281e4683cc6d6315cf95b9ade8641defcb32372f1c126e398ef7a5a2dce0a8a7f68bb74560f8f71837c2c2ebbcbf7fffb42ae1896f13f7c7479a0b46a28b6f55540f89444f63de0378e3d121be09e06cc9ded1c20e65876d36aa0c65e9645644786b620e2dd2ad648ddfcbf4a7e5b1a3a4ecfe7f64667a3f0b7e2f4418588ed35a2458cffeb39b93d26f18d2ab13bdce6aee58e7b99359ec2dfd95a9c16dc00d6ef18b7933a6f8dc65ccb55667138776f7dea101070dc8796e3774df84f40ae0c8229d0d6069e5c8f39a7c299677a09d367fc7b05e3bc380ee652cdc72595f74c7b1043d0e1ffbab734648c838dfb0527d971b602bc216c9619ef0abf5ac974a1ed57f4050aa510dd9c74f508277b39d7973bb2dfccc5eeb0618db8cd74046ff337f0a7bf2c8e03e10f642c1886798d71806ab1e888d9e5ee87d0838c5655cb21c6cb83313b5a631175dff4963772cce9108188b34ac87c81c41e662ee4dd2dd7b2bc707961b1e646c4047669dcb6584f0d8d770daf5d7e7deb2e388ab20e2573d171a88108e79d820e98f26c0b84aa8b2f4aa4968dbb818ea32293237c50ba75ee485f4c22adf2f741400bdf8d6a9cc7df7ecae576221665d7358448818bb4ae4562849e949e17ac16e0be16688e156b5cf15e098c627c0056a900000000000000000000000000000000000000000000000000000000000000005ba002329b53c11a2f1dfe90b11e031771842056cf2125b43da8103c199dcd7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000c949254d682d8c9ad5682521675b8f43b102aec40000000000000000000000000000000000000000000000008ac7230489e80000000000000000000000000000000000000000000000000000000000000000052000000000000000000000000000000000000000000000000000000000000000008203e880804711b6aa6bb700e690f49d06fe27b204dfae172996bcc61fcede55ac78b994842e153505ce7cb5b060e7bb2383d023fb59ad2952c5cacc3c527f924f457d75dd1cff", + "rawTx": "0xf905a80380831e848094cfa773cc48fbde3ca4d24eecb19d224d697026b280b905442cffd02e0000000000000000000000000000000000000000000000000000000000000000ad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5b4c11951957c6f8f642c4af61cd6b24640fec6dc7fc607ee8206a99e92410d3021ddb9a356815c3fac1026b6dec5df3124afbadb485c9ba5a3e3398a04b7ba85e58769b32a1beaf1ea27375a44095a0d1fb664ce2dd358e7fcbfb78c26a193440eb01ebfc9ed27500cd4dfc979272d1f0913cc9f66540d7e8005811109e1cf2d887c22bd8750d34016ac3c66b5ff102dacdd73f6b014e710b51e8022af9a1968ffd70157e48063fc33c97a050f7f640233bf646cc98d9524c6b92bcf3ab56f839867cc5f7f196b93bae1e27e6320742445d290f2263827498b54fec539f756afcefad4e508c098b9a7e1d8feb19955fb02ba9675585078710969d3440f5054e0f9dc3e7fe016e050eff260334f18a5d4fe391d82092319f5964f2e2eb7c1c3a5f8b13a49e282f609c317a833fb8d976d11517c571d1221a265d25af778ecf8923490c6ceeb450aecdc82e28293031d10c7d73bf85e57bf041a97360aa2c5d99cc1df82d9c4b87413eae2ef048f94b4d3554cea73d92b0f7af96e0271c691e2bb5c67add7c6caf302256adedf7ab114da0acfe870d449a3a489f781d659e8beccda7bce9f4e8618b6bd2f4132ce798cdc7a60e7e1460a7299e3c6342a579626d22733e50f526ec2fa19a22b31e8ed50f23cd1fdf94c9154ed3a7609a2f1ff981fe1d3b5c807b281e4683cc6d6315cf95b9ade8641defcb32372f1c126e398ef7a5a2dce0a8a7f68bb74560f8f71837c2c2ebbcbf7fffb42ae1896f13f7c7479a0b46a28b6f55540f89444f63de0378e3d121be09e06cc9ded1c20e65876d36aa0c65e9645644786b620e2dd2ad648ddfcbf4a7e5b1a3a4ecfe7f64667a3f0b7e2f4418588ed35a2458cffeb39b93d26f18d2ab13bdce6aee58e7b99359ec2dfd95a9c16dc00d6ef18b7933a6f8dc65ccb55667138776f7dea101070dc8796e3774df84f40ae0c8229d0d6069e5c8f39a7c299677a09d367fc7b05e3bc380ee652cdc72595f74c7b1043d0e1ffbab734648c838dfb0527d971b602bc216c9619ef0abf5ac974a1ed57f4050aa510dd9c74f508277b39d7973bb2dfccc5eeb0618db8cd74046ff337f0a7bf2c8e03e10f642c1886798d71806ab1e888d9e5ee87d0838c5655cb21c6cb83313b5a631175dff4963772cce9108188b34ac87c81c41e662ee4dd2dd7b2bc707961b1e646c4047669dcb6584f0d8d770daf5d7e7deb2e388ab20e2573d171a88108e79d820e98f26c0b84aa8b2f4aa4968dbb818ea32293237c50ba75ee485f4c22adf2f741400bdf8d6a9cc7df7ecae576221665d7358448818bb4ae4562849e949e17ac16e0be16688e156b5cf15e098c627c0056a900000000000000000000000000000000000000000000000000000000000000005ba002329b53c11a2f1dfe90b11e031771842056cf2125b43da8103c199dcd7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000c949254d682d8c9ad5682521675b8f43b102aec40000000000000000000000000000000000000000000000008ac7230489e80000000000000000000000000000000000000000000000000000000000000000052000000000000000000000000000000000000000000000000000000000000000008207f4a04711b6aa6bb700e690f49d06fe27b204dfae172996bcc61fcede55ac78b99484a02e153505ce7cb5b060e7bb2383d023fb59ad2952c5cacc3c527f924f457d75dd" + }, + { + "from": "0xc949254d682d8c9ad5682521675b8f43b102aec4", + "to": "0xcFA773Cc48FBde3CA4D24eeCb19D224d697026b2", + "nonce": 4, + "value": "1000000000000000000", + "contractName": "PolygonZkEVMBridge", + "function": "bridgeAsset", + "params": [ + 0, + "0xc949254d682d8c9ad5682521675b8f43b102aec4", + "0xde0b6b3a7640000", + "0x0000000000000000000000000000000000000000", + 1, + "0x" + ], + "gasLimit": 2000000, + "gasPrice": "0", + "data": "0xcd5865790000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c949254d682d8c9ad5682521675b8f43b102aec40000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000000", + "chainId": 1000, + "reason": "", + "customRawTx": "0xf9010f0480831e848094cfa773cc48fbde3ca4d24eecb19d224d697026b2880de0b6b3a7640000b8e4cd5865790000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c949254d682d8c9ad5682521675b8f43b102aec40000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000008203e8808022849420ce892ab01b2aab19a51c3fac9169b5a26c9789d9ee43041b1214048d5962de13a880e2b38309e41e7255e43bb5c5937dbb8270a7f6d990344b61a84e1bff", + "rawTx": "0xf9014f0480831e848094cfa773cc48fbde3ca4d24eecb19d224d697026b2880de0b6b3a7640000b8e4cd5865790000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c949254d682d8c9ad5682521675b8f43b102aec40000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000008207f3a022849420ce892ab01b2aab19a51c3fac9169b5a26c9789d9ee43041b1214048da05962de13a880e2b38309e41e7255e43bb5c5937dbb8270a7f6d990344b61a84e" + } + ], + "expectedNewRoot": "0x3fd1a09dfeaae2d1d4dda0d6c5dcad3f1efdc24299facb2b809ffb84ac568859", + "expectedNewLeafs": { + "0xa40d5f56745a118d0906a34e69aec8c0db1cb8fa": { + "balance": "0", + "nonce": "1", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000001": "0x97c7c68e5f6062b69b69b7395dd8ca484a2266fb86d782bc0f094eb1b73f17ba", + "0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc": "0xe641334b752d435a5133f64c6dbab34431a9b9dc", + "0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103": "0x89880e9266b1abe973187f65f1b16a0d98bd92ad", + "0xb7b9bfbed410c773a6625940b8d940fbc10059beab3c33131a2bd6f11a2b106c": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb" + }, + "hashBytecode": "0x4c88eac09d356fb5691ff7723f663b27188894c73856a04dab4309926bc00e98", + "bytecodeLength": 2112 + }, + "0xe900a3ffe6b2a6ba66dcdd8509b504c91f6530e1": { + "balance": "0", + "nonce": "4", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x0cae25c8623761783fe4ce241c9b428126a7612a" + }, + "hashBytecode": "0x9741eafbc2af54d90274b34fb245c783ee0a4ed48c9cb5ae62a1bdc379a16e1a", + "bytecodeLength": 2971 + }, + "0x89880e9266b1abe973187f65f1b16a0d98bd92ad": { + "balance": "0", + "nonce": "1", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0xdead72fd97a579e98aef2f9eb190066e1858d15a" + }, + "hashBytecode": "0x246e46bd36fc3a23da50fefa027ddfe07287a720c112875607b687b705894aa8", + "bytecodeLength": 2149 + }, + "0x15d50fa9623bdd20603e9e2c48e470636c8633c2": { + "balance": "0", + "nonce": "1", + "storage": {}, + "hashBytecode": "0x53d69e28a9f759a0a4da8232b59c70662cb7298a7c1565fe3a83ad6ab04ffe51", + "bytecodeLength": 23683 + }, + "0xcfa773cc48fbde3ca4d24eecb19d224d697026b2": { + "balance": "199999991000000000000000000", + "nonce": "1", + "storage": { + "0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc": "0x15d50fa9623bdd20603e9e2c48e470636c8633c2", + "0x5843af22e99e7c98370145a5056245c244ce8ee852f4ef5e6d6a8e410a18cf41": "0x01", + "0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103": "0x89880e9266b1abe973187f65f1b16a0d98bd92ad", + "0x0000000000000000000000000000000000000000000000000000000000000053": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000068": "0x01a40d5f56745a118d0906a34e69aec8c0db1cb8fa0000000100", + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000001": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000033": "0xe0101b02f9f6ca22f4e9518033d4b1b033af8254b9285d93015c233140474852" + }, + "hashBytecode": "0x779f8bbbe2c7e9c62fd7dccb353f68fe761fa429d6148e0b787ad3c08f7ec746", + "bytecodeLength": 2583 + }, + "0xe641334b752d435a5133f64c6dbab34431a9b9dc": { + "balance": "0", + "nonce": "1", + "storage": {}, + "hashBytecode": "0x202d11ceb6d3b4677e866ff2272510125bd666a34458196efe99ed1ce3b74bb1", + "bytecodeLength": 433 + }, + "0xdead72fd97a579e98aef2f9eb190066e1858d15a": { + "balance": "0", + "nonce": "1", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x0a", + "0x555ccfd2adedd3617807cc741088518e69e1b40eeadcc863c31e3de2eeb454dd": "0x01", + "0x64494413541ff93b31aa309254e3fed72a7456e9845988b915b4c7a7ceba8814": "0x5f58e3a2316349923ce3780f8d587db2d72378aed66a8261c916544fa6846ca5", + "0xa35b5405ab15b96b03cc591647476727d852994a412b5030df6fc27d6663ae98": "0x01", + "0xba259d66f4dd33fbb3dec88075da2b4d0684440fd415c1f24df79a0258ca9e62": "0x01", + "0xc3ad33e20b0c56a223ad5104fff154aa010f8715b9c981fd38fdc60a4d1a52fc": "0x5f58e3a2316349923ce3780f8d587db2d72378aed66a8261c916544fa6846ca5", + "0x3068bd570ea4e7d974748b6421609a672ffc2752a61ba3a01cab0651ae1ac36d": "0x01", + "0x3412d5605ac6cd444957cedb533e5dacad6378b4bc819ebe3652188a665066d6": "0x5f58e3a2316349923ce3780f8d587db2d72378aed66a8261c916544fa6846ca5", + "0xd449b9dacab93eed6e33b971a4f75b09702709f5b92088a7d361838e246a3556": "0x01", + "0xdae2aa361dfd1ca020a396615627d436107c35eff9fe7738a3512819782d706a": "0x5f58e3a2316349923ce3780f8d587db2d72378aed66a8261c916544fa6846ca5" + }, + "hashBytecode": "0x8b477ac43dd40fd9ea250404d86636f9adf4c1970591ba070b5e9a65537dc71e", + "bytecodeLength": 10043 + }, + "0x5f8ac8e93c27136121f3dd834add135e7fbc4ec6": { + "balance": "0", + "nonce": "1", + "storage": null, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + }, + "0x0cae25c8623761783fe4ce241c9b428126a7612a": { + "balance": "0", + "nonce": "8", + "storage": null, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + }, + "0xc949254d682d8c9ad5682521675b8f43b102aec4": { + "balance": "9000000000000000000", + "nonce": "5", + "storage": null, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + }, + "0x000000000000000000000000000000005ca1ab1e": { + "balance": "0", + "nonce": "0", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x73e6af6f", + "0xa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49": "0x24c02821c526d801fd1d6d99afd57fdf862f4d3e2109fc36eb85bd5e2f5c508e", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0xace48443aa3874d0081c16ea85d424dfa679f416d489dc0bd03874e15099f3eb" + }, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + }, + "0x617b3a3528f9cdd6630fd3301b9c8911f7bf063d": { + "balance": "0", + "nonce": "0", + "storage": null, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + } + }, + "batchL2Data": "0x0b73e6af6f00000001f905680380831e848094cfa773cc48fbde3ca4d24eecb19d224d697026b280b905442cffd02e0000000000000000000000000000000000000000000000000000000000000000ad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5b4c11951957c6f8f642c4af61cd6b24640fec6dc7fc607ee8206a99e92410d3021ddb9a356815c3fac1026b6dec5df3124afbadb485c9ba5a3e3398a04b7ba85e58769b32a1beaf1ea27375a44095a0d1fb664ce2dd358e7fcbfb78c26a193440eb01ebfc9ed27500cd4dfc979272d1f0913cc9f66540d7e8005811109e1cf2d887c22bd8750d34016ac3c66b5ff102dacdd73f6b014e710b51e8022af9a1968ffd70157e48063fc33c97a050f7f640233bf646cc98d9524c6b92bcf3ab56f839867cc5f7f196b93bae1e27e6320742445d290f2263827498b54fec539f756afcefad4e508c098b9a7e1d8feb19955fb02ba9675585078710969d3440f5054e0f9dc3e7fe016e050eff260334f18a5d4fe391d82092319f5964f2e2eb7c1c3a5f8b13a49e282f609c317a833fb8d976d11517c571d1221a265d25af778ecf8923490c6ceeb450aecdc82e28293031d10c7d73bf85e57bf041a97360aa2c5d99cc1df82d9c4b87413eae2ef048f94b4d3554cea73d92b0f7af96e0271c691e2bb5c67add7c6caf302256adedf7ab114da0acfe870d449a3a489f781d659e8beccda7bce9f4e8618b6bd2f4132ce798cdc7a60e7e1460a7299e3c6342a579626d22733e50f526ec2fa19a22b31e8ed50f23cd1fdf94c9154ed3a7609a2f1ff981fe1d3b5c807b281e4683cc6d6315cf95b9ade8641defcb32372f1c126e398ef7a5a2dce0a8a7f68bb74560f8f71837c2c2ebbcbf7fffb42ae1896f13f7c7479a0b46a28b6f55540f89444f63de0378e3d121be09e06cc9ded1c20e65876d36aa0c65e9645644786b620e2dd2ad648ddfcbf4a7e5b1a3a4ecfe7f64667a3f0b7e2f4418588ed35a2458cffeb39b93d26f18d2ab13bdce6aee58e7b99359ec2dfd95a9c16dc00d6ef18b7933a6f8dc65ccb55667138776f7dea101070dc8796e3774df84f40ae0c8229d0d6069e5c8f39a7c299677a09d367fc7b05e3bc380ee652cdc72595f74c7b1043d0e1ffbab734648c838dfb0527d971b602bc216c9619ef0abf5ac974a1ed57f4050aa510dd9c74f508277b39d7973bb2dfccc5eeb0618db8cd74046ff337f0a7bf2c8e03e10f642c1886798d71806ab1e888d9e5ee87d0838c5655cb21c6cb83313b5a631175dff4963772cce9108188b34ac87c81c41e662ee4dd2dd7b2bc707961b1e646c4047669dcb6584f0d8d770daf5d7e7deb2e388ab20e2573d171a88108e79d820e98f26c0b84aa8b2f4aa4968dbb818ea32293237c50ba75ee485f4c22adf2f741400bdf8d6a9cc7df7ecae576221665d7358448818bb4ae4562849e949e17ac16e0be16688e156b5cf15e098c627c0056a900000000000000000000000000000000000000000000000000000000000000005ba002329b53c11a2f1dfe90b11e031771842056cf2125b43da8103c199dcd7f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000c949254d682d8c9ad5682521675b8f43b102aec40000000000000000000000000000000000000000000000008ac7230489e80000000000000000000000000000000000000000000000000000000000000000052000000000000000000000000000000000000000000000000000000000000000008203e880804711b6aa6bb700e690f49d06fe27b204dfae172996bcc61fcede55ac78b994842e153505ce7cb5b060e7bb2383d023fb59ad2952c5cacc3c527f924f457d75dd1cfff9010f0480831e848094cfa773cc48fbde3ca4d24eecb19d224d697026b2880de0b6b3a7640000b8e4cd5865790000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c949254d682d8c9ad5682521675b8f43b102aec40000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000008203e8808022849420ce892ab01b2aab19a51c3fac9169b5a26c9789d9ee43041b1214048d5962de13a880e2b38309e41e7255e43bb5c5937dbb8270a7f6d990344b61a84e1bff", + "l1InfoRoot": "0xf6879e96221cf33b048888ad73426f3425b7a574cf139376bfbd5d14bdac9d7b", + "newLocalExitRoot": "0x97c7c68e5f6062b69b69b7395dd8ca484a2266fb86d782bc0f094eb1b73f17ba", + "batchHashData": "0x11d6b3cee438efc6e9ded09008a3e6992b8aa873ae21c05d6d6fb4e3f5cf858c", + "oldLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "oldAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "timestampLimit": 1944498031, + "expectedNewAccInputHash": "0x3a4cec6944500dc8fb7c0ecf6f371c3e60cdd40002d98d0c5e36885b9fbe8cf4", + "virtualCounters": { + "steps": 846409, + "arith": 13062, + "binary": 41048, + "memAlign": 1273, + "keccaks": 172, + "padding": 1108, + "poseidon": 6225, + "sha256": 0 + } + } +] diff --git a/zk/tests/testdata/state-transition-processor-forkid13.json b/zk/tests/testdata/state-transition-processor-forkid13.json new file mode 100644 index 00000000000..a404618ff0d --- /dev/null +++ b/zk/tests/testdata/state-transition-processor-forkid13.json @@ -0,0 +1,1833 @@ +[ + { + "id": 0, + "description": "2 accounts and 1 valid transaction.", + "chainID": 1000, + "forkID": 13, + "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "timestampLimit": 1944498031, + "genesis": [ + { + "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "balance": "100000000000000000000", + "nonce": "0" + }, + { + "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23", + "balance": "200000000000000000000", + "nonce": "0" + } + ], + "expectedOldRoot": "0x4a9bfcb163ec91c5beb22e6aca41592433092c8c7821b01d37fd0de483f9265d", + "txs": [ + { + "type": 11, + "deltaTimestamp": "1944498031", + "l1Info": { + "globalExitRoot": "0x16994edfddddb9480667b64174fc00d3b6da7290d37b8db3a16571b4ddf0789f", + "blockHash": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb", + "timestamp": "42" + }, + "indexL1InfoTree": 0, + "reason": "", + "customRawTx": "0x0b73e6af6f00000000" + }, + { + "id": 0, + "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "to": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": 0, + "value": "100000000000000000", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000, + "rawTx": "0xf86e80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808207f3a01cee7e01dc62f69a12c3510c6d64de04ee6346d84b6a017f3e786c7d87f963e7a05d8cc91fa983cd6d9cf55fff80d73bd26cd333b0f098acc1e58edb1fd484ad73", + "reason": "", + "customRawTx": "0xee80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808203e880801cee7e01dc62f69a12c3510c6d64de04ee6346d84b6a017f3e786c7d87f963e75d8cc91fa983cd6d9cf55fff80d73bd26cd333b0f098acc1e58edb1fd484ad731bff" + } + ], + "expectedNewRoot": "0x5fc97a9a6ea9918f4b26e2dd52b27a688621cd4d2ff5c624c2df0cd1986d3b41", + "expectedNewLeafs": { + "0x617b3a3528f9cdd6630fd3301b9c8911f7bf063d": { + "balance": "99900000000000000000", + "nonce": "1", + "storage": null, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + }, + "0x4d5cf5032b2a844602278b01199ed191a86c93ff": { + "balance": "200100000000000000000", + "nonce": "0", + "storage": null, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + }, + "0x000000000000000000000000000000005ca1ab1e": { + "balance": "0", + "nonce": "0", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x73e6af6f", + "0xa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49": "0x4a9bfcb163ec91c5beb22e6aca41592433092c8c7821b01d37fd0de483f9265d", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0x3a309dd643ff8f4ad879f589db391b02f1ecba32ca7596996f23de84313f4e05" + }, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + } + }, + "batchL2Data": "0x0b73e6af6f00000000ee80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808203e880801cee7e01dc62f69a12c3510c6d64de04ee6346d84b6a017f3e786c7d87f963e75d8cc91fa983cd6d9cf55fff80d73bd26cd333b0f098acc1e58edb1fd484ad731bff", + "l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "batchHashData": "0x9e96eb88cc14329a0af367df4d53937a656d6461b3c02df9122d0eb5678c41a2", + "oldLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "oldAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "expectedNewAccInputHash": "0xe50b49f540b950cad5526ef669ff2d5bd8c81c86d9daeeb26d72a7a82920d25c", + "virtualCounters": { + "steps": 10312, + "arith": 581, + "binary": 730, + "memAlign": 0, + "keccaks": 8, + "padding": 13, + "poseidon": 911, + "sha256": 0 + } + }, + { + "id": 1, + "description": "5 accounts. 2 valid tx, 3 invalid tx (same amount as balance, invalid nonce, invalid chain id 1)", + "chainID": 1000, + "forkID": 13, + "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "genesis": [ + { + "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "balance": "100000000000000000000", + "nonce": "0" + }, + { + "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23", + "balance": "200000000000000000000", + "nonce": "0" + }, + { + "address": "0xeB17ce701E9D92724AA2ABAdA7E4B28830597Dd9", + "pvtKey": "0x1d0722aff4b29780e9a78e0bf28d5e127fb276cfbb0c3eb6a0e1728401777f17", + "balance": "100000000000000000000", + "nonce": "0" + }, + { + "address": "0x187Bd40226A7073b49163b1f6c2b73d8F2aa8478", + "pvtKey": "0xd049e68efa0d85a3824c0b79f6817a986bb0cb3a075bcc2699118eca881d70ce", + "balance": "000000000000000000000", + "nonce": "0" + }, + { + "address": "0xabCcEd19d7f290B84608feC510bEe872CC8F5112", + "pvtKey": "0x0b929d50d7fda8155539e6befa96ff297e3e9ebce4d908f570310bdf774cb32b", + "balance": "000000000000000000000", + "nonce": "0" + } + ], + "expectedOldRoot": "0x76b362a9afd679ea13a456ab103786492c65946be653589c1fd627841d0c6fdd", + "txs": [ + { + "type": 11, + "deltaTimestamp": "1944498031", + "l1Info": { + "globalExitRoot": "0x16994edfddddb9480667b64174fc00d3b6da7290d37b8db3a16571b4ddf0789f", + "blockHash": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb", + "timestamp": "42" + }, + "indexL1InfoTree": 0, + "reason": "", + "customRawTx": "0x0b73e6af6f00000000" + }, + { + "id": 0, + "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "to": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": 0, + "value": "100000000000000000", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000, + "rawTx": "0xf86e80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808207f3a01cee7e01dc62f69a12c3510c6d64de04ee6346d84b6a017f3e786c7d87f963e7a05d8cc91fa983cd6d9cf55fff80d73bd26cd333b0f098acc1e58edb1fd484ad73", + "reason": "", + "customRawTx": "0xee80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808203e880801cee7e01dc62f69a12c3510c6d64de04ee6346d84b6a017f3e786c7d87f963e75d8cc91fa983cd6d9cf55fff80d73bd26cd333b0f098acc1e58edb1fd484ad731bff" + }, + { + "id": 1, + "from": "0xeB17ce701E9D92724AA2ABAdA7E4B28830597Dd9", + "to": "0x187Bd40226A7073b49163b1f6c2b73d8F2aa8478", + "nonce": 0, + "value": "1000000000000000000000", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000, + "rawTx": "0xf86f80843b9aca00830186a094187bd40226a7073b49163b1f6c2b73d8f2aa8478893635c9adc5dea00000808207f3a06199f98970ea3e0e9a59e32184ea11ae9158b9b93d70906e11f60eb6ce009602a03c1bbbb437e58ea5f7bebd344d61cccd161c6b8accff11b50ea44300d3ab58bd", + "reason": "TX INVALID: Not enough funds to pay total transaction cost", + "customRawTx": "0xef80843b9aca00830186a094187bd40226a7073b49163b1f6c2b73d8f2aa8478893635c9adc5dea00000808203e880806199f98970ea3e0e9a59e32184ea11ae9158b9b93d70906e11f60eb6ce0096023c1bbbb437e58ea5f7bebd344d61cccd161c6b8accff11b50ea44300d3ab58bd1bff" + }, + { + "id": 2, + "from": "0xeB17ce701E9D92724AA2ABAdA7E4B28830597Dd9", + "to": "0x187Bd40226A7073b49163b1f6c2b73d8F2aa8478", + "nonce": 0, + "value": "1000000000000000000", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000, + "rawTx": "0xf86e80843b9aca00830186a094187bd40226a7073b49163b1f6c2b73d8f2aa8478880de0b6b3a7640000808207f4a074ecb6abb3d84c322a4905c60199b8f422b79b940e8a853d580869268009ae31a023fb6caa5b3afc410b79d9b68bf851df1fd46fd6923cc481b3e273aeb92ce67d", + "reason": "", + "customRawTx": "0xee80843b9aca00830186a094187bd40226a7073b49163b1f6c2b73d8f2aa8478880de0b6b3a7640000808203e8808074ecb6abb3d84c322a4905c60199b8f422b79b940e8a853d580869268009ae3123fb6caa5b3afc410b79d9b68bf851df1fd46fd6923cc481b3e273aeb92ce67d1cff" + }, + { + "id": 3, + "from": "0xeB17ce701E9D92724AA2ABAdA7E4B28830597Dd9", + "to": "0xabCcEd19d7f290B84608feC510bEe872CC8F5112", + "nonce": 0, + "value": "1000000000000000000", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000, + "rawTx": "0xf86e80843b9aca00830186a094abcced19d7f290b84608fec510bee872cc8f5112880de0b6b3a7640000808207f4a0432b1bc18d96dea596edfe17b249a68e42117f738ecfaea4e9f92aa77935fb4da05b9a983a5ba73c27cbaa4de62b1d8ab8b908a941926387927dcd2319d8b4dfb2", + "reason": "TX INVALID: Invalid nonce", + "customRawTx": "0xee80843b9aca00830186a094abcced19d7f290b84608fec510bee872cc8f5112880de0b6b3a7640000808203e88080432b1bc18d96dea596edfe17b249a68e42117f738ecfaea4e9f92aa77935fb4d5b9a983a5ba73c27cbaa4de62b1d8ab8b908a941926387927dcd2319d8b4dfb21cff" + }, + { + "id": 4, + "from": "0xeB17ce701E9D92724AA2ABAdA7E4B28830597Dd9", + "to": "0xabCcEd19d7f290B84608feC510bEe872CC8F5112", + "nonce": 0, + "value": "1000000000000000000", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 0, + "reason": "TX INVALID: Chain ID does not match", + "customRawTx": "0xec80843b9aca00830186a094abcced19d7f290b84608fec510bee872cc8f5112880de0b6b3a764000080808080c58f68d4c65a9a131d17a426ab83da163a43e21f8811a70cd4ca79eb5d26f25d169e8e50ee8483669b2aef296e6dc68464e5af0dc582a54751ef50c2c9207b6b1cff", + "rawTx": "0xf86c80843b9aca00830186a094abcced19d7f290b84608fec510bee872cc8f5112880de0b6b3a7640000801ba02c92035bc11227e9e94ba066a6d77a65c43d29dfb4a855c9464e1b60fabd6334a07171c6dc84816ffcf025040cd6193ecef3928a0c4e4964ddba320826b76c725d" + } + ], + "expectedNewRoot": "0x1f7bc8a70aea2383d32dbc5a1ed6f0923175b16dbd4ec1139a78963b58bd0736", + "expectedNewLeafs": { + "0x617b3a3528f9cdd6630fd3301b9c8911f7bf063d": { + "balance": "99900021000000000000", + "nonce": "1", + "storage": null, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + }, + "0x4d5cf5032b2a844602278b01199ed191a86c93ff": { + "balance": "200100000000000000000", + "nonce": "0", + "storage": null, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + }, + "0xeb17ce701e9d92724aa2abada7e4b28830597dd9": { + "balance": "98999979000000000000", + "nonce": "1", + "storage": null, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + }, + "0x187bd40226a7073b49163b1f6c2b73d8f2aa8478": { + "balance": "1000000000000000000", + "nonce": "0", + "storage": null, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + }, + "0xabcced19d7f290b84608fec510bee872cc8f5112": { + "balance": "0", + "nonce": "0", + "storage": null, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + }, + "0x000000000000000000000000000000005ca1ab1e": { + "balance": "0", + "nonce": "0", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x73e6af6f", + "0xa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49": "0x76b362a9afd679ea13a456ab103786492c65946be653589c1fd627841d0c6fdd", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0xb17d6bb600805b247aeb3749c1cc2df8d49abbedead409c353979233af219628" + }, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + } + }, + "batchL2Data": "0x0b73e6af6f00000000ee80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808203e880801cee7e01dc62f69a12c3510c6d64de04ee6346d84b6a017f3e786c7d87f963e75d8cc91fa983cd6d9cf55fff80d73bd26cd333b0f098acc1e58edb1fd484ad731bffef80843b9aca00830186a094187bd40226a7073b49163b1f6c2b73d8f2aa8478893635c9adc5dea00000808203e880806199f98970ea3e0e9a59e32184ea11ae9158b9b93d70906e11f60eb6ce0096023c1bbbb437e58ea5f7bebd344d61cccd161c6b8accff11b50ea44300d3ab58bd1bffee80843b9aca00830186a094187bd40226a7073b49163b1f6c2b73d8f2aa8478880de0b6b3a7640000808203e8808074ecb6abb3d84c322a4905c60199b8f422b79b940e8a853d580869268009ae3123fb6caa5b3afc410b79d9b68bf851df1fd46fd6923cc481b3e273aeb92ce67d1cffee80843b9aca00830186a094abcced19d7f290b84608fec510bee872cc8f5112880de0b6b3a7640000808203e88080432b1bc18d96dea596edfe17b249a68e42117f738ecfaea4e9f92aa77935fb4d5b9a983a5ba73c27cbaa4de62b1d8ab8b908a941926387927dcd2319d8b4dfb21cffec80843b9aca00830186a094abcced19d7f290b84608fec510bee872cc8f5112880de0b6b3a764000080808080c58f68d4c65a9a131d17a426ab83da163a43e21f8811a70cd4ca79eb5d26f25d169e8e50ee8483669b2aef296e6dc68464e5af0dc582a54751ef50c2c9207b6b1cff", + "l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "batchHashData": "0xddf4cbc18e9ed9444d80e1b3625e74562ccf2963bda2335f69e2781858c4a7f1", + "oldLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "oldAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "timestampLimit": 1944498031, + "expectedNewAccInputHash": "0x859b29ae0420e27a8173546e32bb633f71a3c62208fa885cf051d5ffb45e28f8", + "virtualCounters": { + "steps": 46917, + "arith": 2880, + "binary": 3402, + "memAlign": 0, + "keccaks": 21, + "padding": 43, + "poseidon": 1477, + "sha256": 0 + } + }, + { + "id": 2, + "description": "2 accounts and 1 invalid tx (tx with more value than balance). Old root equals new root.", + "chainID": 1000, + "forkID": 13, + "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "genesis": [ + { + "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "balance": "100000000000000000000", + "nonce": "0" + }, + { + "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23", + "balance": "200000000000000000000", + "nonce": "0" + } + ], + "expectedOldRoot": "0x4a9bfcb163ec91c5beb22e6aca41592433092c8c7821b01d37fd0de483f9265d", + "txs": [ + { + "type": 11, + "deltaTimestamp": "1944498031", + "l1Info": { + "globalExitRoot": "0x16994edfddddb9480667b64174fc00d3b6da7290d37b8db3a16571b4ddf0789f", + "blockHash": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb", + "timestamp": "42" + }, + "indexL1InfoTree": 0, + "reason": "", + "customRawTx": "0x0b73e6af6f00000000" + }, + { + "id": 0, + "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "to": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": 0, + "value": "10000000000000000000000", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000, + "rawTx": "0xf87080843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff8a021e19e0c9bab2400000808207f4a069d48cb9ade9de851379987aa0f7f677cdaee1152ec785a3d3009f094c889be9a0368c3d198cdfe5b1e0100fe110ea60e77b1eb65e9363d96f7fb9c2b84a37c9b0", + "reason": "TX INVALID: Not enough funds to pay total transaction cost", + "customRawTx": "0xf080843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff8a021e19e0c9bab2400000808203e8808069d48cb9ade9de851379987aa0f7f677cdaee1152ec785a3d3009f094c889be9368c3d198cdfe5b1e0100fe110ea60e77b1eb65e9363d96f7fb9c2b84a37c9b01cff" + } + ], + "expectedNewRoot": "0xe07a5a89dc8ce12f6d6bb24d98c0e8d74becf90becd77eabf82f9f6c8c871bc3", + "expectedNewLeafs": { + "0x000000000000000000000000000000005ca1ab1e": { + "balance": "0", + "nonce": "0", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x73e6af6f", + "0xa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49": "0x4a9bfcb163ec91c5beb22e6aca41592433092c8c7821b01d37fd0de483f9265d", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0x3cbe55c24c7d48ca769fa5bd050c118ab339e1236e7fc8c8a178072d6d437fd9" + }, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + }, + "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D": { + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "balance": "100000000000000000000", + "nonce": "0" + }, + "0x4d5Cf5032B2a844602278b01199ED191A86c93ff": { + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23", + "balance": "200000000000000000000", + "nonce": "0" + } + }, + "batchL2Data": "0x0b73e6af6f00000000f080843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff8a021e19e0c9bab2400000808203e8808069d48cb9ade9de851379987aa0f7f677cdaee1152ec785a3d3009f094c889be9368c3d198cdfe5b1e0100fe110ea60e77b1eb65e9363d96f7fb9c2b84a37c9b01cff", + "l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "batchHashData": "0x2660d636205375354622cf872a95e6681c294053d1df1d402c5b7f95281ff433", + "oldLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "oldAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "timestampLimit": 1944498031, + "expectedNewAccInputHash": "0x19961a80fba75819a6d101e1ad34e8cc0dfc1c0797203346681584642aa8aaee", + "virtualCounters": { + "steps": 9661, + "arith": 578, + "binary": 694, + "memAlign": 0, + "keccaks": 7, + "padding": 6, + "poseidon": 368, + "sha256": 0 + } + }, + { + "id": 3, + "description": "2 accounts and 4 invalid transactions. Two of the transactions have invalid from and to address so no rawTx is provided for them, can be ignored.Tx with same amount than balance and tx with invalid chain id (different chain id than sequencer). Old root equals new root", + "chainID": 1000, + "forkID": 13, + "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "genesis": [ + { + "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "balance": "100000000000000000000", + "nonce": "0" + }, + { + "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23", + "balance": "200000000000000000000", + "nonce": "0" + } + ], + "expectedOldRoot": "0x4a9bfcb163ec91c5beb22e6aca41592433092c8c7821b01d37fd0de483f9265d", + "txs": [ + { + "type": 11, + "deltaTimestamp": "1944498031", + "l1Info": { + "globalExitRoot": "0x16994edfddddb9480667b64174fc00d3b6da7290d37b8db3a16571b4ddf0789f", + "blockHash": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb", + "timestamp": "42" + }, + "indexL1InfoTree": 0, + "reason": "", + "customRawTx": "0x0b73e6af6f00000000" + }, + { + "id": 0, + "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "to": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": 0, + "value": "100000000000000000", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 401, + "rawTx": "0xf86e80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a000080820346a06e209c61ca92c2b980d6197e7ac9ccc3f547bf13be6455dfe682aa5dda9655efa016819a7edcc3fefec81ca97c7a6f3d10ec774440e409adbba693ce8b698d41f1", + "reason": "TX INVALID: Chain ID does not match", + "customRawTx": "0xee80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a00008082019180806e209c61ca92c2b980d6197e7ac9ccc3f547bf13be6455dfe682aa5dda9655ef16819a7edcc3fefec81ca97c7a6f3d10ec774440e409adbba693ce8b698d41f11cff" + }, + { + "id": 1, + "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "to": "0x4d5Cf5032B2a844602278b01199ED191A86c93f", + "nonce": 0, + "value": "100000000000000000", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000, + "reason": "" + }, + { + "id": 2, + "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf03D", + "to": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": 0, + "value": "100000000000000000", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000, + "reason": "" + }, + { + "id": 3, + "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "to": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": 0, + "value": "100000000000000000000", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000, + "rawTx": "0xf86f80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff89056bc75e2d63100000808207f3a06fac51f437890686cea7fc4d478e01f4650284d8b0c447d3a049ad799a938e85a05d76085acbdd3af82e205f070fd3f333d3f069ab3936323ac347003f07d9418a", + "reason": "TX INVALID: Not enough funds to pay total transaction cost", + "customRawTx": "0xef80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff89056bc75e2d63100000808203e880806fac51f437890686cea7fc4d478e01f4650284d8b0c447d3a049ad799a938e855d76085acbdd3af82e205f070fd3f333d3f069ab3936323ac347003f07d9418a1bff" + } + ], + "expectedNewRoot": "0xe07a5a89dc8ce12f6d6bb24d98c0e8d74becf90becd77eabf82f9f6c8c871bc3", + "expectedNewLeafs": { + "0x000000000000000000000000000000005ca1ab1e": { + "balance": "0", + "nonce": "0", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x73e6af6f", + "0xa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49": "0x4a9bfcb163ec91c5beb22e6aca41592433092c8c7821b01d37fd0de483f9265d", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0x3cbe55c24c7d48ca769fa5bd050c118ab339e1236e7fc8c8a178072d6d437fd9" + }, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + }, + "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D": { + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "balance": "100000000000000000000", + "nonce": "0" + }, + "0x4d5Cf5032B2a844602278b01199ED191A86c93ff": { + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23", + "balance": "200000000000000000000", + "nonce": "0" + } + }, + "batchL2Data": "0x0b73e6af6f00000000ee80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a00008082019180806e209c61ca92c2b980d6197e7ac9ccc3f547bf13be6455dfe682aa5dda9655ef16819a7edcc3fefec81ca97c7a6f3d10ec774440e409adbba693ce8b698d41f11cffef80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff89056bc75e2d63100000808203e880806fac51f437890686cea7fc4d478e01f4650284d8b0c447d3a049ad799a938e855d76085acbdd3af82e205f070fd3f333d3f069ab3936323ac347003f07d9418a1bff", + "l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "batchHashData": "0xc3d62331ecd1c451c645edf078600c2550f109f9bfd5369abbefdee2f22ce0a3", + "oldLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "oldAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "timestampLimit": 1944498031, + "expectedNewAccInputHash": "0x7bc052c46dfaddab1850da6f68e2208ad916e1a1f1dde82a942c52dbf57d267c", + "virtualCounters": { + "steps": 18519, + "arith": 1149, + "binary": 1344, + "memAlign": 0, + "keccaks": 10, + "padding": 12, + "poseidon": 374, + "sha256": 0 + } + }, + { + "id": 4, + "description": "2 accounts and 1 invalid transaction. Wrong encode of the tx (invalid signature). Old root equals new root", + "chainID": 1000, + "forkID": 13, + "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "genesis": [ + { + "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "balance": "100000000000000000000", + "nonce": "0" + }, + { + "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23", + "balance": "200000000000000000000", + "nonce": "0" + } + ], + "expectedOldRoot": "0x4a9bfcb163ec91c5beb22e6aca41592433092c8c7821b01d37fd0de483f9265d", + "txs": [ + { + "type": 11, + "deltaTimestamp": "1944498031", + "l1Info": { + "globalExitRoot": "0x16994edfddddb9480667b64174fc00d3b6da7290d37b8db3a16571b4ddf0789f", + "blockHash": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb", + "timestamp": "42" + }, + "indexL1InfoTree": 0, + "reason": "", + "customRawTx": "0x0b73e6af6f00000000" + }, + { + "encodeInvalidData": true, + "id": 0, + "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "to": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": 0, + "value": "100000000000000000", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000, + "rawTx": "0xf86e80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808207f3a01cee7e01dc62f69a12c3510c6d64de04ee6346d84b6a017f3e786c7d87f963e7a05d8cc91fa983cd6d9cf55fff80d73bd26cd333b0f098acc1e58edb1fd484ad73", + "reason": "TX INVALID: Failed to RLP decode signing data", + "customRawTx": "0xee80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808203e880801cee7e01dc62f69a12c3510c6d64de04ee6346d84b6a017f3e786c7d87f963e75d8cc91fa983cd6d9cf55fff80d73bd26cd333b0f098acc1e58edb1fd484ad731bff" + } + ], + "expectedNewRoot": "0x4a9bfcb163ec91c5beb22e6aca41592433092c8c7821b01d37fd0de483f9265d", + "expectedNewLeafs": { + "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D": { + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "balance": "100000000000000000000", + "nonce": "0" + }, + "0x4d5Cf5032B2a844602278b01199ED191A86c93ff": { + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23", + "balance": "200000000000000000000", + "nonce": "0" + } + }, + "batchL2Data": "0x0b73e6af6f00000000ee80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a00008082019180806e209c61ca92c2b980d6197e7ac9ccc3f547bf13be6455dfe682aa5dda9655ef16819a7edcc3fefec81ca97c7a6f3d10ec774440e409adbba693ce8b698d41f11cffef80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff89056bc75e2d63100000808203e880806fac51f437890686cea7fc4d478e01f4650284d8b0c447d3a049ad799a938e855d76085acbdd3af82e205f070fd3f333d3f069ab3936323ac347003f07d9418a1bff", + "l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "batchHashData": "0x5c0522e9f4365ac6a1c6a93cd2f8c2d291bf4c0088d144eb0fc653f8f1f04e45", + "oldLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "oldAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "timestampLimit": 1944498031, + "expectedNewAccInputHash": "0xfe4f1abe8de5d6856e76dad07d998e710e48a175e28cc8f5a9101b090f73e702", + "virtualCounters": { + "steps": 18519, + "arith": 1149, + "binary": 1344, + "memAlign": 0, + "keccaks": 10, + "padding": 12, + "poseidon": 374, + "sha256": 0 + } + }, + { + "id": 5, + "description": "2 accounts and 1 valid transaction, from and to are the same", + "chainID": 1000, + "forkID": 13, + "sequencerAddress": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "genesis": [ + { + "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "balance": "100000000000000000000", + "nonce": "0" + }, + { + "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23", + "balance": "200000000000000000000", + "nonce": "0" + } + ], + "expectedOldRoot": "0x4a9bfcb163ec91c5beb22e6aca41592433092c8c7821b01d37fd0de483f9265d", + "txs": [ + { + "type": 11, + "deltaTimestamp": "1944498031", + "l1Info": { + "globalExitRoot": "0x16994edfddddb9480667b64174fc00d3b6da7290d37b8db3a16571b4ddf0789f", + "blockHash": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb", + "timestamp": "42" + }, + "indexL1InfoTree": 0, + "reason": "", + "customRawTx": "0x0b73e6af6f00000000" + }, + { + "id": 0, + "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "to": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "nonce": 0, + "value": "100000000000000000", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000, + "rawTx": "0xf86e80843b9aca00830186a094617b3a3528f9cdd6630fd3301b9c8911f7bf063d88016345785d8a0000808207f3a0cca9bd00c0a9af18cdc17e693951b88b293bae8ed236ff7dcf2684c478bc0b6aa019cc9ed09ee5e1e2750abbea7ec8d2ed31df90c7d364d4e2f36c31eb410c1045", + "reason": "", + "customRawTx": "0xee80843b9aca00830186a094617b3a3528f9cdd6630fd3301b9c8911f7bf063d88016345785d8a0000808203e88080cca9bd00c0a9af18cdc17e693951b88b293bae8ed236ff7dcf2684c478bc0b6a19cc9ed09ee5e1e2750abbea7ec8d2ed31df90c7d364d4e2f36c31eb410c10451bff" + } + ], + "expectedNewRoot": "0x965b1824c63e2753e4453fa99e3d9b2cd2ca121fcce21dfd184f06b9f4d81920", + "expectedNewLeafs": { + "0x617b3a3528f9cdd6630fd3301b9c8911f7bf063d": { + "balance": "99999979000000000000", + "nonce": "1", + "storage": null, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + }, + "0x4d5cf5032b2a844602278b01199ed191a86c93ff": { + "balance": "200000021000000000000", + "nonce": "0", + "storage": null, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + }, + "0x000000000000000000000000000000005ca1ab1e": { + "balance": "0", + "nonce": "0", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x73e6af6f", + "0xa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49": "0x4a9bfcb163ec91c5beb22e6aca41592433092c8c7821b01d37fd0de483f9265d", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0xb8f08dfabc84bdac3d056511c3ffbad64dea8fcb109c49769695969de9c9650c" + }, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + } + }, + "batchL2Data": "0x0b73e6af6f00000000ee80843b9aca00830186a094617b3a3528f9cdd6630fd3301b9c8911f7bf063d88016345785d8a0000808203e88080cca9bd00c0a9af18cdc17e693951b88b293bae8ed236ff7dcf2684c478bc0b6a19cc9ed09ee5e1e2750abbea7ec8d2ed31df90c7d364d4e2f36c31eb410c10451bff", + "l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "batchHashData": "0x390057b62c9595c75426df0686a0600c0a5a5c693bcfa29221b563aa23b7da10", + "oldLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "oldAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "timestampLimit": 1944498031, + "expectedNewAccInputHash": "0xafa8496606132bbdd0862547b33692f81764876ad430f154336cf3fdc0a3f8a6", + "virtualCounters": { + "steps": 10312, + "arith": 581, + "binary": 730, + "memAlign": 0, + "keccaks": 8, + "padding": 13, + "poseidon": 911, + "sha256": 0 + } + }, + { + "id": 6, + "description": "2 accounts. 1 valid tx, 3 invalid tx (same amount as balance, invalid nonce, invalid chain id", + "chainID": 1000, + "forkID": 13, + "sequencerAddress": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "genesis": [ + { + "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "balance": "100000000000000000000", + "nonce": "0" + }, + { + "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23", + "balance": "200000000000000000000", + "nonce": "0" + } + ], + "expectedOldRoot": "0x4a9bfcb163ec91c5beb22e6aca41592433092c8c7821b01d37fd0de483f9265d", + "txs": [ + { + "type": 11, + "deltaTimestamp": "1944498031", + "l1Info": { + "globalExitRoot": "0x16994edfddddb9480667b64174fc00d3b6da7290d37b8db3a16571b4ddf0789f", + "blockHash": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb", + "timestamp": "42" + }, + "indexL1InfoTree": 0, + "reason": "", + "customRawTx": "0x0b73e6af6f00000000" + }, + { + "id": 0, + "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "to": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": 0, + "value": "100000000000000000000", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000, + "rawTx": "0xf86f80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff89056bc75e2d63100000808207f3a06fac51f437890686cea7fc4d478e01f4650284d8b0c447d3a049ad799a938e85a05d76085acbdd3af82e205f070fd3f333d3f069ab3936323ac347003f07d9418a", + "reason": "TX INVALID: Not enough funds to pay total transaction cost", + "customRawTx": "0xef80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff89056bc75e2d63100000808203e880806fac51f437890686cea7fc4d478e01f4650284d8b0c447d3a049ad799a938e855d76085acbdd3af82e205f070fd3f333d3f069ab3936323ac347003f07d9418a1bff" + }, + { + "id": 1, + "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "to": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": 0, + "value": "100000000000000000", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000, + "rawTx": "0xf86e80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808207f3a01cee7e01dc62f69a12c3510c6d64de04ee6346d84b6a017f3e786c7d87f963e7a05d8cc91fa983cd6d9cf55fff80d73bd26cd333b0f098acc1e58edb1fd484ad73", + "reason": "", + "customRawTx": "0xee80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808203e880801cee7e01dc62f69a12c3510c6d64de04ee6346d84b6a017f3e786c7d87f963e75d8cc91fa983cd6d9cf55fff80d73bd26cd333b0f098acc1e58edb1fd484ad731bff" + }, + { + "id": 2, + "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "to": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": 0, + "value": "1000000000000000000", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000, + "rawTx": "0xf86e80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff880de0b6b3a7640000808207f4a03317280d96c3ed303a42d9da2638805301351c96cad135380ffa544d3c2bc96aa06a55cef2d3827323f134976dd99a33bebef27b5e99c454fb1f8d4a4861ac4e0f", + "reason": "TX INVALID: Invalid nonce", + "customRawTx": "0xee80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff880de0b6b3a7640000808203e880803317280d96c3ed303a42d9da2638805301351c96cad135380ffa544d3c2bc96a6a55cef2d3827323f134976dd99a33bebef27b5e99c454fb1f8d4a4861ac4e0f1cff" + }, + { + "id": 3, + "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "to": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": 0, + "value": "1000000000000000000", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 0, + "reason": "TX INVALID: Chain ID does not match", + "customRawTx": "0xec80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff880de0b6b3a764000080808080f7e1e6f3cd95d27522592e8796afa8f419a066b7172e0ac3e7826705ad608c672731e14da1b190dab8c14e79e050e31da53fdb4a0e55ca48ee4faff859606d5a1bff", + "rawTx": "0xf86c80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff880de0b6b3a7640000801ba077f76b76aca6161db28545aa742536370e4f57f9a71651688631a423abcbe04aa0131474e130abe8bcc9ef39a44a877eb64b2d43132cb0907abe547aa605b641b8" + } + ], + "expectedNewRoot": "0x5f80166855e023f531a61906078d1fc6cbc269e17f243d5b3aed38bb20abb37c", + "expectedNewLeafs": { + "0x617b3a3528f9cdd6630fd3301b9c8911f7bf063d": { + "balance": "99899979000000000000", + "nonce": "1", + "storage": null, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + }, + "0x4d5cf5032b2a844602278b01199ed191a86c93ff": { + "balance": "200100021000000000000", + "nonce": "0", + "storage": null, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + }, + "0x000000000000000000000000000000005ca1ab1e": { + "balance": "0", + "nonce": "0", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x73e6af6f", + "0xa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49": "0x4a9bfcb163ec91c5beb22e6aca41592433092c8c7821b01d37fd0de483f9265d", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0x351aa016b93766b196ec23b47c9a0aa252363dd4cb9a08b581990f0f72fec4ac" + }, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + } + }, + "batchL2Data": "0x0b73e6af6f00000000ef80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff89056bc75e2d63100000808203e880806fac51f437890686cea7fc4d478e01f4650284d8b0c447d3a049ad799a938e855d76085acbdd3af82e205f070fd3f333d3f069ab3936323ac347003f07d9418a1bffee80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808203e880801cee7e01dc62f69a12c3510c6d64de04ee6346d84b6a017f3e786c7d87f963e75d8cc91fa983cd6d9cf55fff80d73bd26cd333b0f098acc1e58edb1fd484ad731bffee80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff880de0b6b3a7640000808203e880803317280d96c3ed303a42d9da2638805301351c96cad135380ffa544d3c2bc96a6a55cef2d3827323f134976dd99a33bebef27b5e99c454fb1f8d4a4861ac4e0f1cffec80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff880de0b6b3a764000080808080f7e1e6f3cd95d27522592e8796afa8f419a066b7172e0ac3e7826705ad608c672731e14da1b190dab8c14e79e050e31da53fdb4a0e55ca48ee4faff859606d5a1bff", + "l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "batchHashData": "0xf50178f4274d7882a82490ecb57620c6a15e6e233bea94880d50fdf17091cac6", + "oldLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "oldAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "timestampLimit": 1944498031, + "expectedNewAccInputHash": "0x10cfc7acca37bc9a34943e1a2f69bec6aa09ca01df920d80a956e820e9317721", + "virtualCounters": { + "steps": 37147, + "arith": 2300, + "binary": 2698, + "memAlign": 0, + "keccaks": 17, + "padding": 30, + "poseidon": 928, + "sha256": 0 + } + }, + { + "id": 7, + "description": "2 accounts and 1 valid transaction, from, to and sequencer are the same", + "chainID": 1000, + "forkID": 13, + "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "genesis": [ + { + "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "balance": "100000000000000000000", + "nonce": "0" + }, + { + "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23", + "balance": "200000000000000000000", + "nonce": "0" + } + ], + "expectedOldRoot": "0x4a9bfcb163ec91c5beb22e6aca41592433092c8c7821b01d37fd0de483f9265d", + "txs": [ + { + "type": 11, + "deltaTimestamp": "1944498031", + "l1Info": { + "globalExitRoot": "0x16994edfddddb9480667b64174fc00d3b6da7290d37b8db3a16571b4ddf0789f", + "blockHash": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb", + "timestamp": "42" + }, + "indexL1InfoTree": 0, + "reason": "", + "customRawTx": "0x0b73e6af6f00000000" + }, + { + "id": 0, + "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "to": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "nonce": 0, + "value": "100000000000000000", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000, + "rawTx": "0xf86e80843b9aca00830186a094617b3a3528f9cdd6630fd3301b9c8911f7bf063d88016345785d8a0000808207f3a0cca9bd00c0a9af18cdc17e693951b88b293bae8ed236ff7dcf2684c478bc0b6aa019cc9ed09ee5e1e2750abbea7ec8d2ed31df90c7d364d4e2f36c31eb410c1045", + "reason": "", + "customRawTx": "0xee80843b9aca00830186a094617b3a3528f9cdd6630fd3301b9c8911f7bf063d88016345785d8a0000808203e88080cca9bd00c0a9af18cdc17e693951b88b293bae8ed236ff7dcf2684c478bc0b6a19cc9ed09ee5e1e2750abbea7ec8d2ed31df90c7d364d4e2f36c31eb410c10451bff" + } + ], + "expectedNewRoot": "0xa0498e7c0a65d76336880b71a8478fd4d2dc9d0329bcf5177e132a4a36b70f1e", + "expectedNewLeafs": { + "0x617b3a3528f9cdd6630fd3301b9c8911f7bf063d": { + "balance": "100000000000000000000", + "nonce": "1", + "storage": null, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + }, + "0x4d5cf5032b2a844602278b01199ed191a86c93ff": { + "balance": "200000000000000000000", + "nonce": "0", + "storage": null, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + }, + "0x000000000000000000000000000000005ca1ab1e": { + "balance": "0", + "nonce": "0", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x73e6af6f", + "0xa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49": "0x4a9bfcb163ec91c5beb22e6aca41592433092c8c7821b01d37fd0de483f9265d", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0xb478fb0fb208ed22aea134356a763ce77ba82c338a37650e38d095eca3b6dcc7" + }, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + } + }, + "batchL2Data": "0x0b73e6af6f00000000ee80843b9aca00830186a094617b3a3528f9cdd6630fd3301b9c8911f7bf063d88016345785d8a0000808203e88080cca9bd00c0a9af18cdc17e693951b88b293bae8ed236ff7dcf2684c478bc0b6a19cc9ed09ee5e1e2750abbea7ec8d2ed31df90c7d364d4e2f36c31eb410c10451bff", + "l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "batchHashData": "0x390057b62c9595c75426df0686a0600c0a5a5c693bcfa29221b563aa23b7da10", + "oldLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "oldAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "timestampLimit": 1944498031, + "expectedNewAccInputHash": "0x37b81ad3f97adee04e680313e1f7069ef7eb18697d681b6fb1b7d99cf94be255", + "virtualCounters": { + "steps": 10312, + "arith": 581, + "binary": 730, + "memAlign": 0, + "keccaks": 8, + "padding": 13, + "poseidon": 911, + "sha256": 0 + } + }, + { + "id": 8, + "description": "2 accounts and 2 valid transaction, sequencer is able to do the transaction because the fees are payed at the end of every tx", + "chainID": 1000, + "forkID": 13, + "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "genesis": [ + { + "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "balance": "0", + "nonce": "0" + }, + { + "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23", + "balance": "200000000000000000000", + "nonce": "0" + } + ], + "expectedOldRoot": "0x8397a02db0909df274170a8a1a4e45f6d7f24e66606976cd00960d8c6c850c97", + "txs": [ + { + "type": 11, + "deltaTimestamp": "1944498031", + "l1Info": { + "globalExitRoot": "0x16994edfddddb9480667b64174fc00d3b6da7290d37b8db3a16571b4ddf0789f", + "blockHash": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb", + "timestamp": "42" + }, + "indexL1InfoTree": 0, + "reason": "", + "customRawTx": "0x0b73e6af6f00000000" + }, + { + "id": 0, + "from": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "to": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": 0, + "value": "100000000000000000", + "gasLimit": 100000, + "gasPrice": "47619000000000", + "chainId": 1000, + "rawTx": "0xf87080862b4f29945e00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808207f4a02338447c58501088b071192ec4b44c696f2f1cdf4ff8182ecb8d0cd4ea83c428a0034c91620ac27f2870e1568e30e1db2ce9c0a05f2b03b20d017b3a0410edc657", + "reason": "", + "customRawTx": "0xf080862b4f29945e00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808203e880802338447c58501088b071192ec4b44c696f2f1cdf4ff8182ecb8d0cd4ea83c428034c91620ac27f2870e1568e30e1db2ce9c0a05f2b03b20d017b3a0410edc6571cff" + }, + { + "id": 1, + "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "to": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": 0, + "value": "500000000000000000", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000, + "rawTx": "0xf86e80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff8806f05b59d3b20000808207f4a09990717b4c80d955cacf4a765d3bfefd707511d66e0a482510906d119fa285c7a0232ccd442c5b618558b62175f01d9f45ff655d480f36394ea50a0b7dc52bc333", + "reason": "", + "customRawTx": "0xee80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff8806f05b59d3b20000808203e880809990717b4c80d955cacf4a765d3bfefd707511d66e0a482510906d119fa285c7232ccd442c5b618558b62175f01d9f45ff655d480f36394ea50a0b7dc52bc3331cff" + } + ], + "expectedNewRoot": "0xdbe70b407c411c954cbe9f7d44a21731889e432fa1bfe216749150c29968bcd6", + "expectedNewLeafs": { + "0x617b3a3528f9cdd6630fd3301b9c8911f7bf063d": { + "balance": "499999000000000000", + "nonce": "1", + "storage": null, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + }, + "0x4d5cf5032b2a844602278b01199ed191a86c93ff": { + "balance": "199500001000000000000", + "nonce": "1", + "storage": null, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + }, + "0x000000000000000000000000000000005ca1ab1e": { + "balance": "0", + "nonce": "0", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x73e6af6f", + "0xa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49": "0x8397a02db0909df274170a8a1a4e45f6d7f24e66606976cd00960d8c6c850c97", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0x81f1f73209a7caaa47dc6914c36fef91784c3c44016545791be24f7713123165" + }, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + } + }, + "batchL2Data": "0x0b73e6af6f00000000f080862b4f29945e00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808203e880802338447c58501088b071192ec4b44c696f2f1cdf4ff8182ecb8d0cd4ea83c428034c91620ac27f2870e1568e30e1db2ce9c0a05f2b03b20d017b3a0410edc6571cffee80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff8806f05b59d3b20000808203e880809990717b4c80d955cacf4a765d3bfefd707511d66e0a482510906d119fa285c7232ccd442c5b618558b62175f01d9f45ff655d480f36394ea50a0b7dc52bc3331cff", + "l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "batchHashData": "0x4b4cccee1c0ea691007c409930a5e819c4e587e68eee7dda1a20c17e60eb9429", + "oldLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "oldAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "timestampLimit": 1944498031, + "expectedNewAccInputHash": "0xebff781dbd080a70dddf4335bf826081192545e7e3dfa77323378ca5e50415e0", + "virtualCounters": { + "steps": 20256, + "arith": 1165, + "binary": 1446, + "memAlign": 0, + "keccaks": 12, + "padding": 26, + "poseidon": 1460, + "sha256": 0 + } + }, + { + "id": 9, + "description": "2 accounts and 4 valid transaction, 4 transactions from the same account", + "chainID": 1000, + "forkID": 13, + "sequencerAddress": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "genesis": [ + { + "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "balance": "100000000000000000000", + "nonce": "0" + }, + { + "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23", + "balance": "200000000000000000000", + "nonce": "0" + } + ], + "expectedOldRoot": "0x4a9bfcb163ec91c5beb22e6aca41592433092c8c7821b01d37fd0de483f9265d", + "txs": [ + { + "type": 11, + "deltaTimestamp": "1944498031", + "l1Info": { + "globalExitRoot": "0x16994edfddddb9480667b64174fc00d3b6da7290d37b8db3a16571b4ddf0789f", + "blockHash": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb", + "timestamp": "42" + }, + "indexL1InfoTree": 0, + "reason": "", + "customRawTx": "0x0b73e6af6f00000000" + }, + { + "id": 0, + "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "to": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": 0, + "value": "100000000000000000", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000, + "customRawTx": "0xee80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808203e880801cee7e01dc62f69a12c3510c6d64de04ee6346d84b6a017f3e786c7d87f963e75d8cc91fa983cd6d9cf55fff80d73bd26cd333b0f098acc1e58edb1fd484ad731bff", + "reason": "", + "rawTx": "0xf86e80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808207f3a01cee7e01dc62f69a12c3510c6d64de04ee6346d84b6a017f3e786c7d87f963e7a05d8cc91fa983cd6d9cf55fff80d73bd26cd333b0f098acc1e58edb1fd484ad73" + }, + { + "id": 1, + "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "to": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "nonce": 1, + "value": "500000000000000000", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000, + "customRawTx": "0xee01843b9aca00830186a094617b3a3528f9cdd6630fd3301b9c8911f7bf063d8806f05b59d3b20000808203e88080c15e7f0afea365929bff2dea9b1c219ce7d656e9829c30c5736bfa499fee328132ee39a354417f726d717e68b6b019214721808753aba88a68eea6c57ca136521cff", + "reason": "", + "rawTx": "0xf86e01843b9aca00830186a094617b3a3528f9cdd6630fd3301b9c8911f7bf063d8806f05b59d3b20000808207f4a0c15e7f0afea365929bff2dea9b1c219ce7d656e9829c30c5736bfa499fee3281a032ee39a354417f726d717e68b6b019214721808753aba88a68eea6c57ca13652" + }, + { + "id": 2, + "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "to": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": 2, + "value": "100000000000000000", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000, + "customRawTx": "0xee02843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808203e88080bff0e780ba7db409339fd3f71969fa2cbf1b8535f6c725a1499d3318d3ef9c2b6340ddfab84add2c188f9efddb99771db1fe621c981846394ea4f035c85bcdd51bff", + "reason": "", + "rawTx": "0xf86e02843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808207f3a0bff0e780ba7db409339fd3f71969fa2cbf1b8535f6c725a1499d3318d3ef9c2ba06340ddfab84add2c188f9efddb99771db1fe621c981846394ea4f035c85bcdd5" + }, + { + "id": 3, + "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "to": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "nonce": 3, + "value": "500000000000000000", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000, + "customRawTx": "0xee03843b9aca00830186a094617b3a3528f9cdd6630fd3301b9c8911f7bf063d8806f05b59d3b20000808203e8808047b4f7d735dfadefc585bf24d9bd2267438f9bc92d1ab4f65fa9a6d90cc338580720a7da26cad22c05bf1358011c95caec969b8b9177af91c0e90dac3d02f6b31bff", + "reason": "", + "rawTx": "0xf86e03843b9aca00830186a094617b3a3528f9cdd6630fd3301b9c8911f7bf063d8806f05b59d3b20000808207f3a047b4f7d735dfadefc585bf24d9bd2267438f9bc92d1ab4f65fa9a6d90cc33858a00720a7da26cad22c05bf1358011c95caec969b8b9177af91c0e90dac3d02f6b3" + } + ], + "expectedNewRoot": "0xe58cab1766ae4c387f94204ee0cfeecf67feb084beeab454daaa0b05992bd27f", + "expectedNewLeafs": { + "0x617b3a3528f9cdd6630fd3301b9c8911f7bf063d": { + "balance": "99799916000000000000", + "nonce": "4", + "storage": null, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + }, + "0x4d5cf5032b2a844602278b01199ed191a86c93ff": { + "balance": "200200084000000000000", + "nonce": "0", + "storage": null, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + }, + "0x000000000000000000000000000000005ca1ab1e": { + "balance": "0", + "nonce": "0", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x73e6af6f", + "0xa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49": "0x4a9bfcb163ec91c5beb22e6aca41592433092c8c7821b01d37fd0de483f9265d", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0x51d0fddee818fc8aa4192c3c8082a9702428ac50ecc4db22d400b87983a8094b" + }, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + } + }, + "batchL2Data": "0x0b73e6af6f00000000ee80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808203e880801cee7e01dc62f69a12c3510c6d64de04ee6346d84b6a017f3e786c7d87f963e75d8cc91fa983cd6d9cf55fff80d73bd26cd333b0f098acc1e58edb1fd484ad731bffee01843b9aca00830186a094617b3a3528f9cdd6630fd3301b9c8911f7bf063d8806f05b59d3b20000808203e88080c15e7f0afea365929bff2dea9b1c219ce7d656e9829c30c5736bfa499fee328132ee39a354417f726d717e68b6b019214721808753aba88a68eea6c57ca136521cffee02843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808203e88080bff0e780ba7db409339fd3f71969fa2cbf1b8535f6c725a1499d3318d3ef9c2b6340ddfab84add2c188f9efddb99771db1fe621c981846394ea4f035c85bcdd51bffee03843b9aca00830186a094617b3a3528f9cdd6630fd3301b9c8911f7bf063d8806f05b59d3b20000808203e8808047b4f7d735dfadefc585bf24d9bd2267438f9bc92d1ab4f65fa9a6d90cc338580720a7da26cad22c05bf1358011c95caec969b8b9177af91c0e90dac3d02f6b31bff", + "l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "batchHashData": "0x1372599e5155dec2944a62de88bae6c1dace9aee2917ad8e287606e4d620bf75", + "oldLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "oldAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "timestampLimit": 1944498031, + "expectedNewAccInputHash": "0xd6a4221c6a3c34a1e7da3831ff3f2222646c03e3d2274e404c1bc308ffdaa27c", + "virtualCounters": { + "steps": 39622, + "arith": 2321, + "binary": 2842, + "memAlign": 0, + "keccaks": 20, + "padding": 52, + "poseidon": 2558, + "sha256": 0 + } + }, + { + "id": 10, + "description": "2 accounts + 1 contract + and 2 valid transaction.", + "chainID": 1000, + "forkID": 13, + "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "sequencerPvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "genesis": [ + { + "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "balance": "100000000000000000000", + "nonce": "0" + }, + { + "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23", + "balance": "200000000000000000000", + "nonce": "0" + }, + { + "contractName": "Test", + "nonce": "1", + "balance": "0", + "deployerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x0000000000000000000000000000000000000000000000000000000000000001", + "0x0000000000000000000000000000000000000000000000000000000000000001": "0x0000000000000000000000000000000000000000000000000000000000000002" + }, + "address": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "abi": "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_stoFirst\",\"type\":\"uint256\"}],\"name\":\"setFirst\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"key\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"setMapping\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_stoSecond\",\"type\":\"uint256\"}],\"name\":\"setSecond\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"stoFirst\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"stoMapping\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"stoSecond\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]\n", + "bytecode": "0x608060405234801561001057600080fd5b50600436106100625760003560e01c80630f0db778146100675780635ef3d3dd146100835780638ca3165d1461009f578063b698c129146100bd578063e4081625146100d9578063e795befc146100f7575b600080fd5b610081600480360381019061007c91906101bd565b610127565b005b61009d60048036038101906100989190610190565b610143565b005b6100a761014d565b6040516100b4919061020c565b60405180910390f35b6100d760048036038101906100d29190610190565b610153565b005b6100e161015d565b6040516100ee919061020c565b60405180910390f35b610111600480360381019061010c9190610190565b610163565b60405161011e919061020c565b60405180910390f35b8060026000848152602001908152602001600020819055505050565b8060008190555050565b60005481565b8060018190555050565b60015481565b60026020528060005260406000206000915090505481565b60008135905061018a81610236565b92915050565b6000602082840312156101a6576101a5610231565b5b60006101b48482850161017b565b91505092915050565b600080604083850312156101d4576101d3610231565b5b60006101e28582860161017b565b92505060206101f38582860161017b565b9150509250929050565b61020681610227565b82525050565b600060208201905061022160008301846101fd565b92915050565b6000819050919050565b600080fd5b61023f81610227565b811461024a57600080fd5b5056fea2646970667358221220f2b0f3f22d7910ad84c31be49bddfc8b0d2a4e362965987ae9afaedd6e41023a64736f6c63430008070033" + } + ], + "expectedOldRoot": "0x7281dd8612498e474632eabb78a60346362053c5313a496edd646ca6db4f62ad", + "txs": [ + { + "type": 11, + "deltaTimestamp": "1944498031", + "l1Info": { + "globalExitRoot": "0x16994edfddddb9480667b64174fc00d3b6da7290d37b8db3a16571b4ddf0789f", + "blockHash": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb", + "timestamp": "42" + }, + "indexL1InfoTree": 0, + "reason": "", + "customRawTx": "0x0b73e6af6f00000000" + }, + { + "from": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": 0, + "value": "0", + "contractName": "Test", + "function": "setFirst", + "params": [ + 7 + ], + "chainId": 1000, + "reason": "", + "gasLimit": 100000, + "gasPrice": "1000000000", + "data": "0x5ef3d3dd0000000000000000000000000000000000000000000000000000000000000007", + "customRawTx": "0xf84a80843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae9880a45ef3d3dd00000000000000000000000000000000000000000000000000000000000000078203e880803943e5a952e27d85c91f61610159fd8caf0dd68db76a1df7fb52934156d9ec935ceec6b0f908e36ee8b2c70350b3813d72558572ff95deac79069168e68726571cff", + "rawTx": "0xf88a80843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae9880a45ef3d3dd00000000000000000000000000000000000000000000000000000000000000078207f4a03943e5a952e27d85c91f61610159fd8caf0dd68db76a1df7fb52934156d9ec93a05ceec6b0f908e36ee8b2c70350b3813d72558572ff95deac79069168e6872657" + }, + { + "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "to": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": 0, + "value": "100000000000000000", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000, + "reason": "", + "customRawTx": "0xee80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808203e880801cee7e01dc62f69a12c3510c6d64de04ee6346d84b6a017f3e786c7d87f963e75d8cc91fa983cd6d9cf55fff80d73bd26cd333b0f098acc1e58edb1fd484ad731bff", + "rawTx": "0xf86e80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808207f3a01cee7e01dc62f69a12c3510c6d64de04ee6346d84b6a017f3e786c7d87f963e7a05d8cc91fa983cd6d9cf55fff80d73bd26cd333b0f098acc1e58edb1fd484ad73" + } + ], + "expectedNewRoot": "0x05d83c9fcbe1e7c672b400807077c81eb0f0cf8acc18cbf3cf694c285336984c", + "expectedNewLeafs": { + "0x617b3a3528f9cdd6630fd3301b9c8911f7bf063d": { + "balance": "99900026624000000000", + "nonce": "1", + "storage": null, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + }, + "0x4d5cf5032b2a844602278b01199ed191a86c93ff": { + "balance": "200099973376000000000", + "nonce": "1", + "storage": null, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + }, + "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98": { + "balance": "0", + "nonce": "1", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x07", + "0x0000000000000000000000000000000000000000000000000000000000000001": "0x02" + }, + "hashBytecode": "0x062131fa38229aa99857628dfce11250ce3012071d0ec4c670667952350df87c", + "bytecodeLength": 643 + }, + "0x000000000000000000000000000000005ca1ab1e": { + "balance": "0", + "nonce": "0", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x73e6af6f", + "0xa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49": "0x7281dd8612498e474632eabb78a60346362053c5313a496edd646ca6db4f62ad", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0xce6c7ac1685d02967057cb24aa532bdd645ed581cee394077cceaa2ad407a7b9" + }, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + } + }, + "batchL2Data": "0x0b73e6af6f00000000f84a80843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae9880a45ef3d3dd00000000000000000000000000000000000000000000000000000000000000078203e880803943e5a952e27d85c91f61610159fd8caf0dd68db76a1df7fb52934156d9ec935ceec6b0f908e36ee8b2c70350b3813d72558572ff95deac79069168e68726571cffee80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808203e880801cee7e01dc62f69a12c3510c6d64de04ee6346d84b6a017f3e786c7d87f963e75d8cc91fa983cd6d9cf55fff80d73bd26cd333b0f098acc1e58edb1fd484ad731bff", + "l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "batchHashData": "0xfac332213529d7eb1a21dbf8d032d64baf42eeea80c307b678e38810c2b679e2", + "oldLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "oldAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "timestampLimit": 1944498031, + "expectedNewAccInputHash": "0x26f8c6f05b23b5509e9a259d4917816eefea291032849fc038635437490bc0f8", + "virtualCounters": { + "steps": 27010, + "arith": 1231, + "binary": 1689, + "memAlign": 3, + "keccaks": 13, + "padding": 37, + "poseidon": 1574, + "sha256": 0 + } + }, + { + "id": 11, + "description": "2 accounts + 2 contract + and 1 tx to contract + contract call ", + "chainID": 1000, + "forkID": 13, + "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "sequencerPvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "genesis": [ + { + "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "balance": "100000000000000000000", + "nonce": "0" + }, + { + "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23", + "balance": "0", + "nonce": "0" + }, + { + "contractName": "EtherTransfer", + "nonce": "1", + "balance": "0", + "deployerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "address": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "storage": {}, + "abi": "[\n {\n \"stateMutability\": \"payable\",\n \"type\": \"fallback\"\n },\n {\n \"inputs\": [\n {\n \"internalType\": \"address payable\",\n \"name\": \"destination\",\n \"type\": \"address\"\n },\n {\n \"internalType\": \"uint256\",\n \"name\": \"amount\",\n \"type\": \"uint256\"\n }\n ],\n \"name\": \"fundtransfer\",\n \"outputs\": [],\n \"stateMutability\": \"nonpayable\",\n \"type\": \"function\"\n },\n {\n \"inputs\": [],\n \"name\": \"payMe\",\n \"outputs\": [\n {\n \"internalType\": \"bool\",\n \"name\": \"success\",\n \"type\": \"bool\"\n }\n ],\n \"stateMutability\": \"payable\",\n \"type\": \"function\"\n },\n {\n \"stateMutability\": \"payable\",\n \"type\": \"receive\"\n }\n ]", + "bytecode": "0x60806040526004361061002d5760003560e01c8063494e4bc314610036578063d997ccb31461005f57610034565b3661003457005b005b34801561004257600080fd5b5061005d600480360381019061005891906100fb565b61007d565b005b6100676100c8565b604051610074919061014a565b60405180910390f35b8173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156100c3573d6000803e3d6000fd5b505050565b60006001905090565b6000813590506100e0816101b2565b92915050565b6000813590506100f5816101c9565b92915050565b60008060408385031215610112576101116101ad565b5b6000610120858286016100d1565b9250506020610131858286016100e6565b9150509250929050565b61014481610177565b82525050565b600060208201905061015f600083018461013b565b92915050565b600061017082610183565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600080fd5b6101bb81610165565b81146101c657600080fd5b50565b6101d2816101a3565b81146101dd57600080fd5b5056fea264697066735822122054325a6629f2b24e341c8ce24bcc3ae7cf668501373cd0f85390ab8889de3a8464736f6c63430008070033" + } + ], + "expectedOldRoot": "0x144bac90dd26abcbd923370ec5155b2416fac64f542d21ad0d5a50dc15598c78", + "txs": [ + { + "type": 11, + "deltaTimestamp": "1944498031", + "l1Info": { + "globalExitRoot": "0x16994edfddddb9480667b64174fc00d3b6da7290d37b8db3a16571b4ddf0789f", + "blockHash": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb", + "timestamp": "42" + }, + "indexL1InfoTree": 0, + "reason": "", + "customRawTx": "0x0b73e6af6f00000000" + }, + { + "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": 0, + "value": "100000000000000000", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000, + "reason": "", + "customRawTx": "0xee80843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae9888016345785d8a0000808203e880800aec3714591ea85d38943922d16f5f592f10abd2834c43b06253314a8591107f00e81823e7864ba979b28a6ee5eb660dfce7aa857303691ba6759d9edc5378901cff", + "rawTx": "0xf86d80843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae9888016345785d8a0000808207f4a00aec3714591ea85d38943922d16f5f592f10abd2834c43b06253314a8591107f9fe81823e7864ba979b28a6ee5eb660dfce7aa857303691ba6759d9edc537890" + }, + { + "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": 1, + "value": "0", + "contractName": "EtherTransfer", + "function": "fundtransfer", + "params": [ + "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + 1000000000000000 + ], + "chainId": 1000, + "reason": "", + "gasLimit": 100000, + "gasPrice": "1000000000", + "data": "0x494e4bc30000000000000000000000004d5cf5032b2a844602278b01199ed191a86c93ff00000000000000000000000000000000000000000000000000038d7ea4c68000", + "customRawTx": "0xf86b01843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae9880b844494e4bc30000000000000000000000004d5cf5032b2a844602278b01199ed191a86c93ff00000000000000000000000000000000000000000000000000038d7ea4c680008203e88080c83069009c51e411569ca78a660bbcb64e4e6709909eb99c28395fb4c787da4c2b846bf51fcf891fb293e36a0cf5f4efd1fe7c19b2c8a1220b8308b195e801561bff", + "rawTx": "0xf8ab01843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae9880b844494e4bc30000000000000000000000004d5cf5032b2a844602278b01199ed191a86c93ff00000000000000000000000000000000000000000000000000038d7ea4c680008207f3a0c83069009c51e411569ca78a660bbcb64e4e6709909eb99c28395fb4c787da4ca02b846bf51fcf891fb293e36a0cf5f4efd1fe7c19b2c8a1220b8308b195e80156" + } + ], + "expectedNewRoot": "0x53481ab2675847113e8d027cad664822fdbfa0701f5f90c6c0ed913368aa5aaf", + "expectedNewLeafs": { + "0x617b3a3528f9cdd6630fd3301b9c8911f7bf063d": { + "balance": "99900000000000000000", + "nonce": "2", + "storage": null, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + }, + "0x4d5cf5032b2a844602278b01199ed191a86c93ff": { + "balance": "1000000000000000", + "nonce": "0", + "storage": null, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + }, + "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98": { + "balance": "99000000000000000", + "nonce": "1", + "storage": {}, + "hashBytecode": "0x4816a88058a9b03290d643c0c50e7117b563074c41579b38526e7fded1b3ad23", + "bytecodeLength": 534 + }, + "0x000000000000000000000000000000005ca1ab1e": { + "balance": "0", + "nonce": "0", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x73e6af6f", + "0xa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49": "0x144bac90dd26abcbd923370ec5155b2416fac64f542d21ad0d5a50dc15598c78", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0xea8cd4a1087196a7795f7d0d29c91c540f25679ca76b53d4e83c22e055a8055d" + }, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + } + }, + "batchL2Data": "0x0b73e6af6f00000000ee80843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae9888016345785d8a0000808203e880800aec3714591ea85d38943922d16f5f592f10abd2834c43b06253314a8591107f00e81823e7864ba979b28a6ee5eb660dfce7aa857303691ba6759d9edc5378901cfff86b01843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae9880b844494e4bc30000000000000000000000004d5cf5032b2a844602278b01199ed191a86c93ff00000000000000000000000000000000000000000000000000038d7ea4c680008203e88080c83069009c51e411569ca78a660bbcb64e4e6709909eb99c28395fb4c787da4c2b846bf51fcf891fb293e36a0cf5f4efd1fe7c19b2c8a1220b8308b195e801561bff", + "l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "batchHashData": "0x0a44ec1970d0b9208aaea0f16144d92965bebc33bdf214617f702318d9e27fc9", + "oldLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "oldAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "timestampLimit": 1944498031, + "expectedNewAccInputHash": "0x8e0d519685f1c350541fd016fb8d49360167d82ff2b40536f02dce5cc9f2e7ab", + "virtualCounters": { + "steps": 40186, + "arith": 1451, + "binary": 2391, + "memAlign": 7, + "keccaks": 14, + "padding": 47, + "poseidon": 1698, + "sha256": 0 + } + }, + { + "id": 12, + "description": "2 accounts + 2 contract with constructor + and 1 tx to contract + 1 contract call", + "chainID": 1000, + "forkID": 13, + "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "sequencerPvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "genesis": [ + { + "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "balance": "100000000000000000000", + "nonce": "0" + }, + { + "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23", + "balance": "0", + "nonce": "0" + }, + { + "contractName": "Constructor", + "paramsDeploy": { + "types": [ + "uint" + ], + "values": [ + 1 + ] + }, + "nonce": "1", + "balance": "0", + "deployerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "address": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x0000000000000000000000000000000000000000000000000000000000000001" + }, + "abi": "[\n {\n \"inputs\": [\n {\n \"internalType\": \"uint256\",\n \"name\": \"_amount\",\n \"type\": \"uint256\"\n }\n ],\n \"stateMutability\": \"nonpayable\",\n \"type\": \"constructor\"\n },\n {\n \"stateMutability\": \"payable\",\n \"type\": \"fallback\"\n },\n {\n \"inputs\": [],\n \"name\": \"amount\",\n \"outputs\": [\n {\n \"internalType\": \"uint256\",\n \"name\": \"\",\n \"type\": \"uint256\"\n }\n ],\n \"stateMutability\": \"view\",\n \"type\": \"function\"\n },\n {\n \"inputs\": [\n {\n \"internalType\": \"address payable\",\n \"name\": \"destination\",\n \"type\": \"address\"\n }\n ],\n \"name\": \"fundtransfer\",\n \"outputs\": [],\n \"stateMutability\": \"nonpayable\",\n \"type\": \"function\"\n },\n {\n \"inputs\": [],\n \"name\": \"payMe\",\n \"outputs\": [\n {\n \"internalType\": \"bool\",\n \"name\": \"success\",\n \"type\": \"bool\"\n }\n ],\n \"stateMutability\": \"payable\",\n \"type\": \"function\"\n },\n {\n \"stateMutability\": \"payable\",\n \"type\": \"receive\"\n }\n ]", + "bytecode": "0x6080604052600436106100385760003560e01c8063027e5d6114610041578063aa8c217c1461006a578063d997ccb3146100955761003f565b3661003f57005b005b34801561004d57600080fd5b5061006860048036038101906100639190610123565b6100b3565b005b34801561007657600080fd5b5061007f6100ff565b60405161008c9190610189565b60405180910390f35b61009d610105565b6040516100aa919061016e565b60405180910390f35b8073ffffffffffffffffffffffffffffffffffffffff166108fc6000549081150290604051600060405180830381858888f193505050501580156100fb573d6000803e3d6000fd5b5050565b60005481565b60006001905090565b60008135905061011d816101f1565b92915050565b600060208284031215610139576101386101ec565b5b60006101478482850161010e565b91505092915050565b610159816101b6565b82525050565b610168816101e2565b82525050565b60006020820190506101836000830184610150565b92915050565b600060208201905061019e600083018461015f565b92915050565b60006101af826101c2565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600080fd5b6101fa816101a4565b811461020557600080fd5b5056fea2646970667358221220a9efee48608417e1827ff29845461ef3eb04971ff2d938f8434c8b6d3ca80c4364736f6c63430008070033" + } + ], + "expectedOldRoot": "0x2535fbb1a1509a05832eb23bd775b7bb726f6a24183283935b5fb1096ff88c28", + "txs": [ + { + "type": 11, + "deltaTimestamp": "1944498031", + "l1Info": { + "globalExitRoot": "0x16994edfddddb9480667b64174fc00d3b6da7290d37b8db3a16571b4ddf0789f", + "blockHash": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb", + "timestamp": "42" + }, + "indexL1InfoTree": 0, + "reason": "", + "customRawTx": "0x0b73e6af6f00000000" + }, + { + "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": 0, + "value": "100000000000000000", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000, + "reason": "", + "customRawTx": "0xee80843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae9888016345785d8a0000808203e880800aec3714591ea85d38943922d16f5f592f10abd2834c43b06253314a8591107f00e81823e7864ba979b28a6ee5eb660dfce7aa857303691ba6759d9edc5378901cff", + "rawTx": "0xf86d80843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae9888016345785d8a0000808207f4a00aec3714591ea85d38943922d16f5f592f10abd2834c43b06253314a8591107f9fe81823e7864ba979b28a6ee5eb660dfce7aa857303691ba6759d9edc537890" + }, + { + "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": 1, + "value": "0", + "contractName": "Constructor", + "function": "fundtransfer", + "params": [ + "0x4d5Cf5032B2a844602278b01199ED191A86c93ff" + ], + "gasLimit": 100000, + "gasPrice": "1000000000", + "data": "0x027e5d610000000000000000000000004d5cf5032b2a844602278b01199ed191a86c93ff", + "chainId": 1000, + "reason": "", + "customRawTx": "0xf84a01843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae9880a4027e5d610000000000000000000000004d5cf5032b2a844602278b01199ed191a86c93ff8203e88080a04c0969f64f440a2c91e29bf9ea0b1cc8db9f33bda47c2c6899840ae46d36d70212c0a9f1bb015890ed0830c7fea6c52adaf85b0bf3d64448d3300c12c1bb161bff", + "rawTx": "0xf88a01843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae9880a4027e5d610000000000000000000000004d5cf5032b2a844602278b01199ed191a86c93ff8207f3a0a04c0969f64f440a2c91e29bf9ea0b1cc8db9f33bda47c2c6899840ae46d36d7a00212c0a9f1bb015890ed0830c7fea6c52adaf85b0bf3d64448d3300c12c1bb16" + } + ], + "expectedNewRoot": "0x0abbcbc0ea36cf39624153774976e73a387dca25b6e06ab182bd1204958f1aba", + "expectedNewLeafs": { + "0x617b3a3528f9cdd6630fd3301b9c8911f7bf063d": { + "balance": "99900000000000000000", + "nonce": "2", + "storage": null, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + }, + "0x4d5cf5032b2a844602278b01199ed191a86c93ff": { + "balance": "1", + "nonce": "0", + "storage": null, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + }, + "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98": { + "balance": "99999999999999999", + "nonce": "1", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01" + }, + "hashBytecode": "0xbfbd82130765fb7f1f8d2329c86aa82d679e04c896878ed0dbc8a151b4e696b8", + "bytecodeLength": 574 + }, + "0x000000000000000000000000000000005ca1ab1e": { + "balance": "0", + "nonce": "0", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x73e6af6f", + "0xa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49": "0x2535fbb1a1509a05832eb23bd775b7bb726f6a24183283935b5fb1096ff88c28", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0x78b18289716414804d3d175565678255ff05407fe5651d70209600b31fb78e2b" + }, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + } + }, + "batchL2Data": "0x0b73e6af6f00000000ee80843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae9888016345785d8a0000808203e880800aec3714591ea85d38943922d16f5f592f10abd2834c43b06253314a8591107f00e81823e7864ba979b28a6ee5eb660dfce7aa857303691ba6759d9edc5378901cfff84a01843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae9880a4027e5d610000000000000000000000004d5cf5032b2a844602278b01199ed191a86c93ff8203e88080a04c0969f64f440a2c91e29bf9ea0b1cc8db9f33bda47c2c6899840ae46d36d70212c0a9f1bb015890ed0830c7fea6c52adaf85b0bf3d64448d3300c12c1bb161bff", + "l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "batchHashData": "0x84546900bacda8b31ed4d92ab5571a060df37053c76841c1cd2bc60ce0ecd116", + "oldLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "oldAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "timestampLimit": 1944498031, + "expectedNewAccInputHash": "0x01f59765efafa465ca2e8c049a8b0996750b02f076c8a78a75baf7f4492768c6", + "virtualCounters": { + "steps": 29339, + "arith": 1247, + "binary": 1772, + "memAlign": 6, + "keccaks": 13, + "padding": 48, + "poseidon": 1764, + "sha256": 0 + } + }, + { + "id": 13, + "description": "2 accounts + and 1 tx to contract deploy + 1 call to deplyed contract", + "chainID": 1000, + "forkID": 13, + "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "sequencerPvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "genesis": [ + { + "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "balance": "100000000000000000000", + "nonce": "0" + }, + { + "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23", + "balance": "0", + "nonce": "0" + } + ], + "expectedOldRoot": "0x5321e97596347ed38932cf308e5346af6208deaaf459b5ecc18ca2b23d97d15c", + "txs": [ + { + "type": 11, + "deltaTimestamp": "1944498031", + "l1Info": { + "globalExitRoot": "0x16994edfddddb9480667b64174fc00d3b6da7290d37b8db3a16571b4ddf0789f", + "blockHash": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb", + "timestamp": "42" + }, + "indexL1InfoTree": 0, + "reason": "", + "customRawTx": "0x0b73e6af6f00000000" + }, + { + "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "nonce": 0, + "value": "0", + "gasLimit": 1000000, + "gasPrice": "1000000000", + "chainId": 1000, + "data": "0x608060405234801561001057600080fd5b506040516102f43803806102f483398181016040528101906100329190610054565b80600081905550506100a7565b60008151905061004e81610090565b92915050565b60006020828403121561006a5761006961008b565b5b60006100788482850161003f565b91505092915050565b6000819050919050565b600080fd5b61009981610081565b81146100a457600080fd5b50565b61023e806100b66000396000f3fe6080604052600436106100385760003560e01c8063027e5d6114610041578063aa8c217c1461006a578063d997ccb3146100955761003f565b3661003f57005b005b34801561004d57600080fd5b5061006860048036038101906100639190610123565b6100b3565b005b34801561007657600080fd5b5061007f6100ff565b60405161008c9190610189565b60405180910390f35b61009d610105565b6040516100aa919061016e565b60405180910390f35b8073ffffffffffffffffffffffffffffffffffffffff166108fc6000549081150290604051600060405180830381858888f193505050501580156100fb573d6000803e3d6000fd5b5050565b60005481565b60006001905090565b60008135905061011d816101f1565b92915050565b600060208284031215610139576101386101ec565b5b60006101478482850161010e565b91505092915050565b610159816101b6565b82525050565b610168816101e2565b82525050565b60006020820190506101836000830184610150565b92915050565b600060208201905061019e600083018461015f565b92915050565b60006101af826101c2565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600080fd5b6101fa816101a4565b811461020557600080fd5b5056fea26469706673582212208cb33f54873dbf0b74ff9c230fc2e7522ca18ea82fcce1f4a1904abe1c1043fe64736f6c634300080700330000000000000000000000000000000000000000000000000000000000000001", + "paramsDeploy": { + "types": [ + "uint" + ], + "values": [ + 1 + ] + }, + "contractName": "Constructor", + "reason": "", + "customRawTx": "0xf9032880843b9aca00830f42408080b90314608060405234801561001057600080fd5b506040516102f43803806102f483398181016040528101906100329190610054565b80600081905550506100a7565b60008151905061004e81610090565b92915050565b60006020828403121561006a5761006961008b565b5b60006100788482850161003f565b91505092915050565b6000819050919050565b600080fd5b61009981610081565b81146100a457600080fd5b50565b61023e806100b66000396000f3fe6080604052600436106100385760003560e01c8063027e5d6114610041578063aa8c217c1461006a578063d997ccb3146100955761003f565b3661003f57005b005b34801561004d57600080fd5b5061006860048036038101906100639190610123565b6100b3565b005b34801561007657600080fd5b5061007f6100ff565b60405161008c9190610189565b60405180910390f35b61009d610105565b6040516100aa919061016e565b60405180910390f35b8073ffffffffffffffffffffffffffffffffffffffff166108fc6000549081150290604051600060405180830381858888f193505050501580156100fb573d6000803e3d6000fd5b5050565b60005481565b60006001905090565b60008135905061011d816101f1565b92915050565b600060208284031215610139576101386101ec565b5b60006101478482850161010e565b91505092915050565b610159816101b6565b82525050565b610168816101e2565b82525050565b60006020820190506101836000830184610150565b92915050565b600060208201905061019e600083018461015f565b92915050565b60006101af826101c2565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600080fd5b6101fa816101a4565b811461020557600080fd5b5056fea26469706673582212208cb33f54873dbf0b74ff9c230fc2e7522ca18ea82fcce1f4a1904abe1c1043fe64736f6c6343000807003300000000000000000000000000000000000000000000000000000000000000018203e88080579b8010f25b1f95158686736e9930d4ebd2a3c0ef4e604d0e76684e491f735d30eb46fe9a689148f3559c23bd5566fcaed97f61be389c4fb96f735b464ec5031cff", + "rawTx": "0xf9036880843b9aca00830f42408080b90314608060405234801561001057600080fd5b506040516102f43803806102f483398181016040528101906100329190610054565b80600081905550506100a7565b60008151905061004e81610090565b92915050565b60006020828403121561006a5761006961008b565b5b60006100788482850161003f565b91505092915050565b6000819050919050565b600080fd5b61009981610081565b81146100a457600080fd5b50565b61023e806100b66000396000f3fe6080604052600436106100385760003560e01c8063027e5d6114610041578063aa8c217c1461006a578063d997ccb3146100955761003f565b3661003f57005b005b34801561004d57600080fd5b5061006860048036038101906100639190610123565b6100b3565b005b34801561007657600080fd5b5061007f6100ff565b60405161008c9190610189565b60405180910390f35b61009d610105565b6040516100aa919061016e565b60405180910390f35b8073ffffffffffffffffffffffffffffffffffffffff166108fc6000549081150290604051600060405180830381858888f193505050501580156100fb573d6000803e3d6000fd5b5050565b60005481565b60006001905090565b60008135905061011d816101f1565b92915050565b600060208284031215610139576101386101ec565b5b60006101478482850161010e565b91505092915050565b610159816101b6565b82525050565b610168816101e2565b82525050565b60006020820190506101836000830184610150565b92915050565b600060208201905061019e600083018461015f565b92915050565b60006101af826101c2565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600080fd5b6101fa816101a4565b811461020557600080fd5b5056fea26469706673582212208cb33f54873dbf0b74ff9c230fc2e7522ca18ea82fcce1f4a1904abe1c1043fe64736f6c6343000807003300000000000000000000000000000000000000000000000000000000000000018207f4a0579b8010f25b1f95158686736e9930d4ebd2a3c0ef4e604d0e76684e491f735da030eb46fe9a689148f3559c23bd5566fcaed97f61be389c4fb96f735b464ec503" + }, + { + "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": 1, + "value": "100000000000000000", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000, + "reason": "", + "customRawTx": "0xee01843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae9888016345785d8a0000808203e88080da8130f8fd64ed97277e306b9aca4f42ece0e2352d74823b0d31172fe0d8be686bbb35fb63de10207ea586da635ff92c0097acf501aef7940b733317ba4e0d751bff", + "rawTx": "0xf86e01843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae9888016345785d8a0000808207f3a0da8130f8fd64ed97277e306b9aca4f42ece0e2352d74823b0d31172fe0d8be68a06bbb35fb63de10207ea586da635ff92c0097acf501aef7940b733317ba4e0d75" + }, + { + "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "to": "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98", + "nonce": 2, + "value": "0", + "function": "fundtransfer", + "params": [ + "0x4d5Cf5032B2a844602278b01199ED191A86c93ff" + ], + "gasLimit": 100000, + "gasPrice": "1000000000", + "data": "0x027e5d610000000000000000000000004d5cf5032b2a844602278b01199ed191a86c93ff", + "chainId": 1000, + "reason": "", + "customRawTx": "0xf84a02843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae9880a4027e5d610000000000000000000000004d5cf5032b2a844602278b01199ed191a86c93ff8203e8808028e62eb40661fd098322a7211dca25a6b56f60eefb24ede9607d2603a09e4c653be289b7a729a18336e2f9f4a4f52c4fadc4274d1fd42dd8965deeb8634ddddc1bff", + "rawTx": "0xf88a02843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae9880a4027e5d610000000000000000000000004d5cf5032b2a844602278b01199ed191a86c93ff8207f3a028e62eb40661fd098322a7211dca25a6b56f60eefb24ede9607d2603a09e4c65a03be289b7a729a18336e2f9f4a4f52c4fadc4274d1fd42dd8965deeb8634ddddc" + } + ], + "expectedNewRoot": "0x6ebf09c4f76ca7d209a559551a6b2c11a84c398fbcef54ddd97350e7644a7260", + "expectedNewLeafs": { + "0x617b3a3528f9cdd6630fd3301b9c8911f7bf063d": { + "balance": "99900000000000000000", + "nonce": "3", + "storage": null, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + }, + "0x4d5cf5032b2a844602278b01199ed191a86c93ff": { + "balance": "1", + "nonce": "0", + "storage": null, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + }, + "0x000000000000000000000000000000005ca1ab1e": { + "balance": "0", + "nonce": "0", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x73e6af6f", + "0xa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49": "0x5321e97596347ed38932cf308e5346af6208deaaf459b5ecc18ca2b23d97d15c", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0x8c8b5ecec07fa721d124789f0e517bbba033a53d9b14a667b21656fdda6bb6d2" + }, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + }, + "0x1275fbb540c8efc58b812ba83b0d0b8b9917ae98": { + "balance": "99999999999999999", + "nonce": "1", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01" + }, + "hashBytecode": "0x53ab04d3e34c23abaf57efc4acd9e54df7c39f82521e3928bebf6ce95ca6d6ca", + "bytecodeLength": 574 + } + }, + "batchL2Data": "0x0b73e6af6f00000000f9032880843b9aca00830f42408080b90314608060405234801561001057600080fd5b506040516102f43803806102f483398181016040528101906100329190610054565b80600081905550506100a7565b60008151905061004e81610090565b92915050565b60006020828403121561006a5761006961008b565b5b60006100788482850161003f565b91505092915050565b6000819050919050565b600080fd5b61009981610081565b81146100a457600080fd5b50565b61023e806100b66000396000f3fe6080604052600436106100385760003560e01c8063027e5d6114610041578063aa8c217c1461006a578063d997ccb3146100955761003f565b3661003f57005b005b34801561004d57600080fd5b5061006860048036038101906100639190610123565b6100b3565b005b34801561007657600080fd5b5061007f6100ff565b60405161008c9190610189565b60405180910390f35b61009d610105565b6040516100aa919061016e565b60405180910390f35b8073ffffffffffffffffffffffffffffffffffffffff166108fc6000549081150290604051600060405180830381858888f193505050501580156100fb573d6000803e3d6000fd5b5050565b60005481565b60006001905090565b60008135905061011d816101f1565b92915050565b600060208284031215610139576101386101ec565b5b60006101478482850161010e565b91505092915050565b610159816101b6565b82525050565b610168816101e2565b82525050565b60006020820190506101836000830184610150565b92915050565b600060208201905061019e600083018461015f565b92915050565b60006101af826101c2565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600080fd5b6101fa816101a4565b811461020557600080fd5b5056fea26469706673582212208cb33f54873dbf0b74ff9c230fc2e7522ca18ea82fcce1f4a1904abe1c1043fe64736f6c6343000807003300000000000000000000000000000000000000000000000000000000000000018203e88080579b8010f25b1f95158686736e9930d4ebd2a3c0ef4e604d0e76684e491f735d30eb46fe9a689148f3559c23bd5566fcaed97f61be389c4fb96f735b464ec5031cffee01843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae9888016345785d8a0000808203e88080da8130f8fd64ed97277e306b9aca4f42ece0e2352d74823b0d31172fe0d8be686bbb35fb63de10207ea586da635ff92c0097acf501aef7940b733317ba4e0d751bfff84a02843b9aca00830186a0941275fbb540c8efc58b812ba83b0d0b8b9917ae9880a4027e5d610000000000000000000000004d5cf5032b2a844602278b01199ed191a86c93ff8203e8808028e62eb40661fd098322a7211dca25a6b56f60eefb24ede9607d2603a09e4c653be289b7a729a18336e2f9f4a4f52c4fadc4274d1fd42dd8965deeb8634ddddc1bff", + "l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "batchHashData": "0x1667c6a0d1d3fc5aebb490d06cdb754a923656b017be0928483de8ef44f2843c", + "oldLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "oldAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "timestampLimit": 1944498031, + "expectedNewAccInputHash": "0x8dc5830f519013db61a65260335637ff848d9713706a01a19be6008615c0b0da", + "virtualCounters": { + "steps": 252402, + "arith": 6185, + "binary": 15033, + "memAlign": 248, + "keccaks": 29, + "padding": 95, + "poseidon": 2545, + "sha256": 0 + } + }, + { + "id": 14, + "description": "2 accounts and 3 valid transactions", + "chainID": 1000, + "forkID": 13, + "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "timestampLimit": 1944498031, + "genesis": [ + { + "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "balance": "100000000000000000000", + "nonce": "0" + }, + { + "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23", + "balance": "200000000000000000000", + "nonce": "0" + } + ], + "expectedOldRoot": "0x4a9bfcb163ec91c5beb22e6aca41592433092c8c7821b01d37fd0de483f9265d", + "txs": [ + { + "type": 11, + "deltaTimestamp": "1944498031", + "l1Info": { + "globalExitRoot": "0x16994edfddddb9480667b64174fc00d3b6da7290d37b8db3a16571b4ddf0789f", + "blockHash": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb", + "timestamp": "42" + }, + "indexL1InfoTree": 0, + "reason": "", + "customRawTx": "0x0b73e6af6f00000000" + }, + { + "id": 0, + "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "to": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": 0, + "value": "100000000000000000", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000, + "rawTx": "0xf86e80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808207f3a01cee7e01dc62f69a12c3510c6d64de04ee6346d84b6a017f3e786c7d87f963e7a05d8cc91fa983cd6d9cf55fff80d73bd26cd333b0f098acc1e58edb1fd484ad73", + "reason": "", + "customRawTx": "0xee80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808203e880801cee7e01dc62f69a12c3510c6d64de04ee6346d84b6a017f3e786c7d87f963e75d8cc91fa983cd6d9cf55fff80d73bd26cd333b0f098acc1e58edb1fd484ad731bff" + }, + { + "id": 1, + "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "to": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": 1, + "value": "200000000000000000", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000, + "rawTx": "0xf86e01843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff8802c68af0bb140000808207f4a0225fd92907efb068a8bee3f95a26f2c5d67db2750bb9993083e0df217ff3a266a06f412c311280066d1717f309c248fdbd853ce738363db08775999b2f2d2a8d5e", + "reason": "", + "customRawTx": "0xee01843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff8802c68af0bb140000808203e88080225fd92907efb068a8bee3f95a26f2c5d67db2750bb9993083e0df217ff3a2666f412c311280066d1717f309c248fdbd853ce738363db08775999b2f2d2a8d5e1cff" + }, + { + "id": 2, + "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "to": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": 2, + "value": "300000000000000000", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000, + "rawTx": "0xf86e02843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff880429d069189e0000808207f4a0dc5f4215d7bf1d48547ffbe35e57dadcb338fc8cc7e3e8bb6a686becf1eea3eba056a0ac4b56810a3394ddff7345987ba3b324cd2c1def30a952e6c54ac300966b", + "reason": "", + "customRawTx": "0xee02843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff880429d069189e0000808203e88080dc5f4215d7bf1d48547ffbe35e57dadcb338fc8cc7e3e8bb6a686becf1eea3eb56a0ac4b56810a3394ddff7345987ba3b324cd2c1def30a952e6c54ac300966b1cff" + } + ], + "expectedNewRoot": "0xefe9c8e74abe784726e24abfce552dad9e848aa092aee51f43672f2ae914dbff", + "expectedNewLeafs": { + "0x617b3a3528f9cdd6630fd3301b9c8911f7bf063d": { + "balance": "99400000000000000000", + "nonce": "3", + "storage": null, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + }, + "0x4d5cf5032b2a844602278b01199ed191a86c93ff": { + "balance": "200600000000000000000", + "nonce": "0", + "storage": null, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + }, + "0x000000000000000000000000000000005ca1ab1e": { + "balance": "0", + "nonce": "0", + "storage": { + "0x0000000000000000000000000000000000000000000000000000000000000000": "0x01", + "0x0000000000000000000000000000000000000000000000000000000000000002": "0x73e6af6f", + "0xa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49": "0x4a9bfcb163ec91c5beb22e6aca41592433092c8c7821b01d37fd0de483f9265d", + "0x0000000000000000000000000000000000000000000000000000000000000003": "0xa5e42c8d7380cd03df36dd3e85d598d9e1e694826df09910dff7ff34ae5eec91" + }, + "hashBytecode": "0x0000000000000000000000000000000000000000000000000000000000000000", + "bytecodeLength": 0 + } + }, + "batchL2Data": "0x0b73e6af6f00000000ee80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808203e880801cee7e01dc62f69a12c3510c6d64de04ee6346d84b6a017f3e786c7d87f963e75d8cc91fa983cd6d9cf55fff80d73bd26cd333b0f098acc1e58edb1fd484ad731bffee01843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff8802c68af0bb140000808203e88080225fd92907efb068a8bee3f95a26f2c5d67db2750bb9993083e0df217ff3a2666f412c311280066d1717f309c248fdbd853ce738363db08775999b2f2d2a8d5e1cffee02843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff880429d069189e0000808203e88080dc5f4215d7bf1d48547ffbe35e57dadcb338fc8cc7e3e8bb6a686becf1eea3eb56a0ac4b56810a3394ddff7345987ba3b324cd2c1def30a952e6c54ac300966b1cff", + "l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "batchHashData": "0xf07c8d0d9e693c11096e51fbb2317685cd4646374fc61b82f9e3407ad295d201", + "oldLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "oldAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "expectedNewAccInputHash": "0xe370dc3c8565d2a86a77705ef263cf48715964f133cc738d8795dfc6362be687", + "virtualCounters": { + "steps": 29852, + "arith": 1741, + "binary": 2138, + "memAlign": 0, + "keccaks": 16, + "padding": 39, + "poseidon": 2009, + "sha256": 0 + } + } +] diff --git a/zk/tests/testdata/state-transition-zkevmdb-fork13.json b/zk/tests/testdata/state-transition-zkevmdb-fork13.json new file mode 100644 index 00000000000..a012206ac23 --- /dev/null +++ b/zk/tests/testdata/state-transition-zkevmdb-fork13.json @@ -0,0 +1,80 @@ +[ + { + "id": 0, + "description": "2 accounts and 1 valid transaction.", + "chainID": 1000, + "forkID": 13, + "sequencerAddress": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "genesis": [ + { + "address": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "pvtKey": "0x28b2b0318721be8c8339199172cd7cc8f5e273800a35616ec893083a4b32c02e", + "balance": "100000000000000000000", + "nonce": "0" + }, + { + "address": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "pvtKey": "0x4d27a600dce8c29b7bd080e29a26972377dbb04d7a27d919adbb602bf13cfd23", + "balance": "200000000000000000000", + "nonce": "0" + } + ], + "expectedOldRoot": "0x4a9bfcb163ec91c5beb22e6aca41592433092c8c7821b01d37fd0de483f9265d", + "txs": [ + { + "type": 11, + "deltaTimestamp": "1944498031", + "l1Info": { + "globalExitRoot": "0x16994edfddddb9480667b64174fc00d3b6da7290d37b8db3a16571b4ddf0789f", + "blockHash": "0x24a5871d68723340d9eadc674aa8ad75f3e33b61d5a9db7db92af856a19270bb", + "timestamp": "42" + }, + "indexL1InfoTree": 0, + "reason": "", + "customRawTx": "0x0b73e6af6f00000000" + }, + { + "id": 0, + "from": "0x617b3a3528F9cDd6630fd3301B9c8911F7Bf063D", + "to": "0x4d5Cf5032B2a844602278b01199ED191A86c93ff", + "nonce": 0, + "value": "100000000000000000", + "gasLimit": 100000, + "gasPrice": "1000000000", + "chainId": 1000, + "rawTx": "0xf86d80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808207f5a01186622d03b6b8da7cf111d1ccba5bb185c56deae6a322cebc6dda0556f3cb979f910c26408b64b51c5da36ba2f38ef55ba1cee719d5a6c01225968799907432", + "reason": "", + "customRawTx": "0xee80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808203e880801cee7e01dc62f69a12c3510c6d64de04ee6346d84b6a017f3e786c7d87f963e75d8cc91fa983cd6d9cf55fff80d73bd26cd333b0f098acc1e58edb1fd484ad731bff" + } + ], + "expectedNewRoot": "0x5fc97a9a6ea9918f4b26e2dd52b27a688621cd4d2ff5c624c2df0cd1986d3b41", + "expectedNewLeafs": { + "0x617b3a3528f9cdd6630fd3301b9c8911f7bf063d": { + "balance": "99900000000000000000", + "nonce": "1" + }, + "0x4d5cf5032b2a844602278b01199ed191a86c93ff": { + "balance": "200100000000000000000", + "nonce": "0" + } + }, + "batchL2Data": "0x0b73e6af6f00000000ee80843b9aca00830186a0944d5cf5032b2a844602278b01199ed191a86c93ff88016345785d8a0000808203e880801cee7e01dc62f69a12c3510c6d64de04ee6346d84b6a017f3e786c7d87f963e75d8cc91fa983cd6d9cf55fff80d73bd26cd333b0f098acc1e58edb1fd484ad731bff", + "l1InfoRoot": "0x090bcaf734c4f06c93954a827b45a6e8c67b8e0fd1e0a35a1c5982d6961828f9", + "newLocalExitRoot": "0x0000000000000000000000000000000000000000000000000000000000000000", + "inputHash": "0x58dc76197a13d9a9f0894e3d5984098339944ad4fa2cff01945b053d39cd1c9e", + "batchHashData": "0x3d53e7e5be04b00f66af647512af6d17e4e767a5e41fa1293010b885c9fe06db", + "oldAccInputHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "expectedNewAccInputHash": "0xe50b49f540b950cad5526ef669ff2d5bd8c81c86d9daeeb26d72a7a82920d25c", + "timestampLimit": 1944498031, + "virtualCounters": { + "steps": 10312, + "arith": 581, + "binary": 730, + "memAlign": 0, + "keccaks": 8, + "padding": 13, + "poseidon": 911, + "sha256": 0 + } + } +] diff --git a/zk/tests/zk_counters_test.go b/zk/tests/zk_counters_test.go index dcc2f38d8e0..8b0ba847f5a 100644 --- a/zk/tests/zk_counters_test.go +++ b/zk/tests/zk_counters_test.go @@ -17,6 +17,7 @@ import ( "github.com/ledgerwatch/erigon-lib/common/hexutil" "github.com/ledgerwatch/erigon-lib/kv" "github.com/ledgerwatch/erigon-lib/kv/memdb" + "github.com/ledgerwatch/erigon/consensus" "github.com/ledgerwatch/erigon/consensus/ethash/ethashcfg" "github.com/ledgerwatch/erigon/core" "github.com/ledgerwatch/erigon/core/rawdb" @@ -38,13 +39,13 @@ import ( "github.com/status-im/keycard-go/hexutils" ) -const root = "./testdata" -const transactionGasLimit = 30000000 - -var ( - noop = state.NewNoopWriter() +const ( + root = "./testdata" + transactionGasLimit = 30000000 ) +var noop = state.NewNoopWriter() + type vector struct { BatchL2Data string `json:"batchL2Data"` BatchL2DataDecoded []byte @@ -84,6 +85,12 @@ type vector struct { } `json:"txs"` } +type testVector struct { + idx int + fileName string + vector vector +} + func Test_RunTestVectors(t *testing.T) { // we need to ensure we're running in a sequencer context to wrap the jump table os.Setenv(seq.SEQUENCER_ENV_KEY, "1") @@ -92,47 +99,136 @@ func Test_RunTestVectors(t *testing.T) { m := mock.Mock(t) blockReader, _ := m.BlocksIO() - files, err := os.ReadDir(root) + testVectors, err := testVectors() if err != nil { - t.Fatal(err) + t.Fatalf("could not get vector tests: %v", err) + } + + for idx, test := range testVectors { + t.Run(test.fileName, func(t *testing.T) { + runTest(t, blockReader, testVectors[idx]) + }) } +} - var tests []vector - var fileNames []string +func testVectors() ([]testVector, error) { + files, err := os.ReadDir(root) + if err != nil { + return nil, fmt.Errorf("could not read directory %s: %v", root, err) + } + var tests []testVector for _, file := range files { - var inner []vector + var vectors []vector contents, err := os.ReadFile(fmt.Sprintf("%s/%s", root, file.Name())) if err != nil { - t.Fatal(err) + return nil, fmt.Errorf("could not read file %s: %v", file.Name(), err) } - if err = json.Unmarshal(contents, &inner); err != nil { - t.Fatal(err) + if err = json.Unmarshal(contents, &vectors); err != nil { + return nil, fmt.Errorf("could not unmarshal file %s: %v", file.Name(), err) } - for i := len(inner) - 1; i >= 0; i-- { - fileNames = append(fileNames, file.Name()) + for i := len(vectors) - 1; i >= 0; i-- { + tests = append(tests, testVector{ + idx: i, + fileName: file.Name(), + vector: vectors[i], + }) } - tests = append(tests, inner...) } - for idx, test := range tests { - t.Run(fileNames[idx], func(t *testing.T) { - runTest(t, blockReader, test, err, fileNames[idx], idx) - }) + return tests, nil +} + +func runTest(t *testing.T, blockReader services.FullBlockReader, test testVector) { + // arrange + decodedBlocks, err := decodeBlocks(test.vector, test.fileName) + if err != nil { + t.Fatalf("could not decode blocks: %v", err) + } + + db, tx := memdb.NewTestTx(t) + defer db.Close() + defer tx.Rollback() + + for _, table := range kv.ChaindataTables { + if err = tx.CreateBucket(table); err != nil { + t.Fatalf("could not create bucket: %v", err) + } + } + + genesisBlock, err := writeGenesisState(&test.vector, decodedBlocks, test.idx, tx) + if err != nil { + t.Fatalf("could not write genesis state: %v", err) + } + + genesisRoot := genesisBlock.Root() + expectedGenesisRoot := common.HexToHash(test.vector.ExpectedOldRoot) + if genesisRoot != expectedGenesisRoot { + t.Fatal("genesis root did not match expected") + } + + header := &types.Header{ + Number: big.NewInt(1), + Difficulty: big.NewInt(0), + } + + chainCfg := chainConfig(test.vector.ChainId) + ethashCfg := newEthashConfig() + vmCfg := newVmConfig() + + engine := newEngine(chainCfg, ethashCfg, blockReader, db) + ibs := state.New(state.NewPlainStateReader(tx)) + + shouldVerifyMerkleProof := false + if test.vector.Txs[0].Type == 11 { + if test.vector.Txs[0].IndexL1InfoTree != 0 { + shouldVerifyMerkleProof = true + } + if err := updateGER(test.vector, ibs, chainCfg); err != nil { + t.Fatalf("could not update ger: %v", err) + } + } + + batchCollector := vm.NewBatchCounterCollector(test.vector.SmtDepths[0], uint16(test.vector.ForkId), 0.6, false, nil) + + if err = applyTransactionsToDecodedBlocks( + decodedBlocks, + test.vector, + chainCfg, + vmCfg, + header, + tx, + engine, + ibs, + batchCollector, + ); err != nil { + t.Fatalf("could not apply transactions: %v", err) + } + + // act + errors, err := testVirtualCounters(test.vector, batchCollector, shouldVerifyMerkleProof) + if err != nil { + t.Fatalf("could not test virtual counters: %v", err) + } + + // assert + if len(errors) > 0 { + t.Errorf("counter mismath in file %s: %s \n", test.fileName, strings.Join(errors, " ")) } } -func runTest(t *testing.T, blockReader services.FullBlockReader, test vector, err error, fileName string, idx int) { - test.BatchL2DataDecoded, err = hex.DecodeHex(test.BatchL2Data) +func decodeBlocks(v vector, fileName string) ([]tx.DecodedBatchL2Data, error) { + batchL2DataDecoded, err := hex.DecodeHex(v.BatchL2Data) if err != nil { - t.Fatal(err) + return nil, fmt.Errorf("could not decode batchL2Data: %v", err) } - decodedBlocks, err := tx.DecodeBatchL2Blocks(test.BatchL2DataDecoded, test.ForkId) + decodedBlocks, err := tx.DecodeBatchL2Blocks(batchL2DataDecoded, v.ForkId) if err != nil { - t.Fatal(err) + return nil, fmt.Errorf("could not decode batchL2Blocks: %v", err) } + fmt.Println(decodedBlocks[0].Transactions) if len(decodedBlocks) == 0 { fmt.Printf("found no blocks in file %s", fileName) } @@ -142,35 +238,29 @@ func runTest(t *testing.T, blockReader services.FullBlockReader, test vector, er } } - db, tx := memdb.NewTestTx(t) - defer db.Close() - defer tx.Rollback() - - for _, table := range kv.ChaindataTables { - if err = tx.CreateBucket(table); err != nil { - t.Fatal(err) - } - } + return decodedBlocks, nil +} +func writeGenesisState(v *vector, decodedBlocks []tx.DecodedBatchL2Data, idx int, tx kv.RwTx) (*types.Block, error) { genesisAccounts := map[common.Address]types.GenesisAccount{} - for _, g := range test.Genesis { + for _, g := range v.Genesis { addr := common.HexToAddress(g.Address) key, err := hex.DecodeHex(g.PvtKey) if err != nil { - t.Fatal(err) + return nil, fmt.Errorf("could not decode private key: %v", err) } nonce, err := strconv.ParseUint(g.Nonce, 10, 64) if err != nil { - t.Fatal(err) + return nil, fmt.Errorf("could not parse nonce: %v", err) } balance, ok := new(big.Int).SetString(g.Balance, 10) if !ok { - t.Fatal(errors.New("could not parse balance")) + return nil, errors.New("could not parse balance") } code, err := hex.DecodeHex(g.ByteCode) if err != nil { - t.Fatal(err) + return nil, fmt.Errorf("could not decode bytecode: %v", err) } acc := types.GenesisAccount{ Balance: balance, @@ -185,39 +275,28 @@ func runTest(t *testing.T, blockReader services.FullBlockReader, test vector, er genesis := &types.Genesis{ Alloc: genesisAccounts, Config: &chain.Config{ - ChainID: big.NewInt(test.ChainId), + ChainID: big.NewInt(v.ChainId), }, } genesisBlock, _, sparseTree, err := core.WriteGenesisState(genesis, tx, fmt.Sprintf("%s/temp-%v", os.TempDir(), idx), log.New()) if err != nil { - t.Fatal(err) + return nil, fmt.Errorf("could not write genesis state: %v", err) } smtDepth := sparseTree.GetDepth() - for len(test.SmtDepths) < len(decodedBlocks) { - test.SmtDepths = append(test.SmtDepths, smtDepth) + for len(v.SmtDepths) < len(decodedBlocks) { + v.SmtDepths = append(v.SmtDepths, smtDepth) } - if len(test.SmtDepths) == 0 { - test.SmtDepths = append(test.SmtDepths, smtDepth) + if len(v.SmtDepths) == 0 { + v.SmtDepths = append(v.SmtDepths, smtDepth) } - genesisRoot := genesisBlock.Root() - expectedGenesisRoot := common.HexToHash(test.ExpectedOldRoot) - if genesisRoot != expectedGenesisRoot { - t.Fatal("genesis root did not match expected") - } - - sequencer := common.HexToAddress(test.SequencerAddress) - - header := &types.Header{ - Number: big.NewInt(1), - Difficulty: big.NewInt(0), - } - getHeader := func(hash common.Hash, number uint64) *types.Header { return rawdb.ReadHeader(tx, hash, number) } - blockHashFunc := core.GetHashFn(header, getHeader) + return genesisBlock, nil +} +func chainConfig(chainId int64) *chain.Config { chainConfig := params.ChainConfigByChainName("hermez-dev") - chainConfig.ChainID = big.NewInt(test.ChainId) + chainConfig.ChainID = big.NewInt(chainId) chainConfig.ForkID4Block = big.NewInt(0) chainConfig.ForkID5DragonfruitBlock = big.NewInt(0) @@ -225,7 +304,11 @@ func runTest(t *testing.T, blockReader services.FullBlockReader, test vector, er chainConfig.ForkID7EtrogBlock = big.NewInt(0) chainConfig.ForkID88ElderberryBlock = big.NewInt(0) - ethashCfg := ðashcfg.Config{ + return chainConfig +} + +func newEthashConfig() *ethashcfg.Config { + return ðashcfg.Config{ CachesInMem: 1, CachesLockMmap: true, DatasetDir: "./dataset", @@ -236,11 +319,10 @@ func runTest(t *testing.T, blockReader services.FullBlockReader, test vector, er NotifyFull: false, Log: nil, } +} - logger := log.New() - engine := ethconsensusconfig.CreateConsensusEngine(context.Background(), &nodecfg.Config{Dirs: datadir.New("./datadir")}, chainConfig, ethashCfg, []string{}, true, heimdall.NewHeimdallClient("", logger), true, blockReader, db.ReadOnly(), logger) - - vmCfg := vm.ZkConfig{ +func newVmConfig() vm.ZkConfig { + return vm.ZkConfig{ Config: vm.Config{ Debug: false, Tracer: nil, @@ -255,75 +337,93 @@ func runTest(t *testing.T, blockReader services.FullBlockReader, test vector, er ExtraEips: nil, }, } +} - stateReader := state.NewPlainStateReader(tx) - ibs := state.New(stateReader) - verifyMerkleProof := false +func updateGER(v vector, ibs *state.IntraBlockState, chainCfg *chain.Config) error { + parentRoot := common.Hash{} + deltaTimestamp, err := strconv.ParseUint(v.Txs[0].DeltaTimestamp, 10, 64) + if err != nil { + return fmt.Errorf("could not parse delta timestamp: %v", err) + } + ibs.PreExecuteStateSet(chainCfg, 1, deltaTimestamp, &parentRoot) - if test.Txs[0].Type == 11 { - if test.Txs[0].IndexL1InfoTree != 0 { - verifyMerkleProof = true - } - parentRoot := common.Hash{} - deltaTimestamp, _ := strconv.ParseUint(test.Txs[0].DeltaTimestamp, 10, 64) - ibs.PreExecuteStateSet(chainConfig, 1, deltaTimestamp, &parentRoot) - - // handle writing to the ger manager contract - if test.Txs[0].L1Info != nil { - timestamp, _ := strconv.ParseUint(test.Txs[0].L1Info.Timestamp, 10, 64) - ger := string(test.Txs[0].L1Info.GlobalExitRoot) - blockHash := string(test.Txs[0].L1Info.BlockHash) - - hexutil.Remove0xPrefixIfExists(&ger) - hexutil.Remove0xPrefixIfExists(&blockHash) - - l1info := &zktypes.L1InfoTreeUpdate{ - GER: common.BytesToHash(hexutils.HexToBytes(ger)), - ParentHash: common.BytesToHash(hexutils.HexToBytes(blockHash)), - Timestamp: timestamp, - } - // first check if this ger has already been written - l1BlockHash := ibs.ReadGerManagerL1BlockHash(l1info.GER) - if l1BlockHash == (common.Hash{}) { - // not in the contract so let's write it! - ibs.WriteGerManagerL1BlockHash(l1info.GER, l1info.ParentHash) - } - } + if v.Txs[0].L1Info == nil { + return nil } - batchCollector := vm.NewBatchCounterCollector(test.SmtDepths[0], uint16(test.ForkId), 0.6, false, nil) + // handle writing to the ger manager contract + timestamp, err := strconv.ParseUint(v.Txs[0].L1Info.Timestamp, 10, 64) + if err != nil { + return fmt.Errorf("could not parse timestamp: %v", err) + } + ger := string(v.Txs[0].L1Info.GlobalExitRoot) + blockHash := string(v.Txs[0].L1Info.BlockHash) + + hexutil.Remove0xPrefixIfExists(&ger) + hexutil.Remove0xPrefixIfExists(&blockHash) + + l1info := &zktypes.L1InfoTreeUpdate{ + GER: common.BytesToHash(hexutils.HexToBytes(ger)), + ParentHash: common.BytesToHash(hexutils.HexToBytes(blockHash)), + Timestamp: timestamp, + } + // first check if this ger has already been written + l1BlockHash := ibs.ReadGerManagerL1BlockHash(l1info.GER) + if l1BlockHash == (common.Hash{}) { + // not in the contract so let's write it! + ibs.WriteGerManagerL1BlockHash(l1info.GER, l1info.ParentHash) + } + + return nil +} + +func applyTransactionsToDecodedBlocks( + decodedBlocks []tx.DecodedBatchL2Data, + v vector, + chainCfg *chain.Config, + vmCfg vm.ZkConfig, + header *types.Header, + tx kv.RwTx, + engine consensus.Engine, + ibs *state.IntraBlockState, + batchCollector *vm.BatchCounterCollector, +) error { + sequencerAddress := common.HexToAddress(v.SequencerAddress) + + getHeader := func(hash common.Hash, number uint64) *types.Header { return rawdb.ReadHeader(tx, hash, number) } + blockHashFunc := core.GetHashFn(header, getHeader) blockStarted := false for i, block := range decodedBlocks { for _, transaction := range block.Transactions { - vmCfg.Config.SkipAnalysis = core.SkipAnalysis(chainConfig, header.Number.Uint64()) + vmCfg.Config.SkipAnalysis = core.SkipAnalysis(chainCfg, header.Number.Uint64()) - blockContext := core.NewEVMBlockContext(header, blockHashFunc, engine, &sequencer) + blockContext := core.NewEVMBlockContext(header, blockHashFunc, engine, &sequencerAddress) if !blockStarted { overflow, err := batchCollector.StartNewBlock(false) if err != nil { - t.Fatal(err) + return fmt.Errorf("could not start new block: %v", err) } if overflow { - t.Fatal("unexpected overflow") + return fmt.Errorf("unexpected overflow") } blockStarted = true } - txCounters := vm.NewTransactionCounter(transaction, test.SmtDepths[i], uint16(test.ForkId), 0.6, false) + txCounters := vm.NewTransactionCounter(transaction, v.SmtDepths[i], uint16(v.ForkId), 0.6, false) overflow, err := batchCollector.AddNewTransactionCounters(txCounters) if err != nil { - t.Fatal(err) + return fmt.Errorf("could not add new transaction counters: %v", err) } gasPool := new(core.GasPool).AddGas(transactionGasLimit) vmCfg.CounterCollector = txCounters.ExecutionCounters() - evm := vm.NewZkEVM(blockContext, evmtypes.TxContext{}, ibs, chainConfig, vmCfg) + evm := vm.NewZkEVM(blockContext, evmtypes.TxContext{}, ibs, chainCfg, vmCfg) _, result, err := core.ApplyTransaction_zkevm( - chainConfig, + chainCfg, engine, evm, gasPool, @@ -335,30 +435,50 @@ func runTest(t *testing.T, blockReader services.FullBlockReader, test vector, er zktypes.EFFECTIVE_GAS_PRICE_PERCENTAGE_MAXIMUM, true, ) - if err != nil { // this could be deliberate in the test so just move on and note it fmt.Println("err handling tx", err) continue } if overflow { - t.Fatal("unexpected overflow") + return fmt.Errorf("unexpected overflow") } if err = txCounters.ProcessTx(ibs, result.ReturnData); err != nil { - t.Fatal(err) + return fmt.Errorf("could not process tx: %v", err) } batchCollector.UpdateExecutionAndProcessingCountersCache(txCounters) } } - combined, err := batchCollector.CombineCollectors(verifyMerkleProof) + return nil +} + +func newEngine(chainCfg *chain.Config, ethashCfg *ethashcfg.Config, blockReader services.FullBlockReader, db kv.RwDB) consensus.Engine { + logger := log.New() + return ethconsensusconfig.CreateConsensusEngine( + context.Background(), + &nodecfg.Config{Dirs: datadir.New("./datadir")}, + chainCfg, + ethashCfg, + []string{}, + true, + heimdall.NewHeimdallClient("", logger), + true, + blockReader, + db.ReadOnly(), + logger, + ) +} + +func testVirtualCounters(v vector, batchCollector *vm.BatchCounterCollector, shouldVerifyMerkleProof bool) ([]string, error) { + combined, err := batchCollector.CombineCollectors(shouldVerifyMerkleProof) if err != nil { - t.Fatal(err) + return nil, fmt.Errorf("could not combine collectors: %v", err) } - vc := test.VirtualCounters + vc := v.VirtualCounters var errors []string if vc.Keccaks != combined[vm.K].Used() { @@ -385,7 +505,6 @@ func runTest(t *testing.T, blockReader services.FullBlockReader, test vector, er if vc.Steps != combined[vm.S].Used() { errors = append(errors, fmt.Sprintf("S=%v:%v", combined[vm.S].Used(), vc.Steps)) } - if len(errors) > 0 { - t.Errorf("counter mismath in file %s: %s \n", fileName, strings.Join(errors, " ")) - } + + return errors, nil }