Parent Log:
http://ci.aztec-labs.com/4394d8959cc7e035
Command: 97e7ef9a556fd7e6 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/a3ecf3ea26aad0390dd15cfadbb1d160e85e5f89
Env: REF_NAME=gh-readonly-queue/master/pr-15194-f3a077dd83e56ee0ae0a1175f0dc39fdfa50e6d7 CURRENT_VERSION=0.87.9 CI_FULL=1
Date: Tue Jun 24 17:25:21 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15194_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_master
17:25:24 [17:25:24.972]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:25:28 [17:25:28.908]
INFO:
archiver:test Waiting for archiver to sync to block 3
17:25:28 [17:25:28.924]
INFO:
archiver Retrieved 2 new L1 to L2 messages up to message with index 1 for L2 block 1
{"lastMessage":{"index":1,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000063","l1BlockNumber":99,"l2BlockNumber":1,"leaf":"0x27a9543d684fa8bb75df20eb1db5d93efd32f41e2214c8f5eb0a0c699b001f3d","rollingHash":"0xc6bb2ef9272ae705180958134831d56a"},"messageCount":2}
17:25:29 [17:25:29.006]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x04256b7522abc01996ac61a4e52790bc410eba66ac94e4b59eff08582600b6e0","blockNumber":1,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":1,"slotNumber":1,"timestamp":1750785924981,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
17:25:30 [17:25:30.024]
INFO:
archiver Retrieved 4 new L1 to L2 messages up to message with index 32 for L2 block 3
{"lastMessage":{"index":32,"l1BlockHash":"0x00000000000000000000000000000000000000000000000000000000000009ca","l1BlockNumber":2506,"l2BlockNumber":3,"leaf":"0x11869a1b29dccbcc0941d51cd36f1fcee109daa6f1f17cd9fff394e58f137c73","rollingHash":"0x350be71afc276eba086f44dd4034433f"},"messageCount":4}
17:25:30 [17:25:30.049]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
17:25:30 [17:25:30.175]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1fd0577c35e1380e2ff8b4f0fc909edd2da56a04f9453b3c5b3c1d6dad2753c1","blockNumber":2,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":2,"slotNumber":2,"timestamp":1750785924993,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
17:25:30 [17:25:30.176]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x1c6417141b1b1f8173dbf9a68527547bfe010de7dab6d4025c4e935b4337dec1","blockNumber":3,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":3,"slotNumber":3,"timestamp":1750785925005,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
17:25:30 [17:25:30.393]
INFO:
archiver Stopped.
17:25:30 [17:25:30.397]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:25:34 [17:25:34.184]
INFO:
archiver:test Waiting for archiver to sync to block 2
17:25:34 [17:25:34.200]
INFO:
archiver Retrieved 2 new L1 to L2 messages up to message with index 1 for L2 block 1
{"lastMessage":{"index":1,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000044","l1BlockNumber":68,"l2BlockNumber":1,"leaf":"0x1510423bfcb04b23a481ee4280940909392fba041781bdc94f8e20058bd8e94e","rollingHash":"0x91e4e4e14aa213bfae8fede4472bea04"},"messageCount":2}
17:25:34 [17:25:34.224]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x25ee98020b90171872ff34da9ff88aa150388a1b63b47ca9bf85e1ca568b3047","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
17:25:34 [17:25:34.343]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x172977ba34d7b4ecf230f162adfdab6d5cdf140875412781cc2941975769d3fa","blockNumber":1,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":1,"slotNumber":1,"timestamp":1750785930408,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
17:25:34 [17:25:34.345]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x21f5026ac63d72aefee430a30555bcd73a036cea268e95b051f901e456f2702d","blockNumber":2,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":2,"slotNumber":2,"timestamp":1750785930420,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
17:25:34 [17:25:34.427]
INFO:
archiver Stopped.
17:25:34 [17:25:34.430]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:25:38 [17:25:38.459]
INFO:
archiver:test Waiting for archiver to sync to block 2
17:25:39 [17:25:39.480]
INFO:
archiver Retrieved 2 new L1 to L2 messages up to message with index 1 for L2 block 1
{"lastMessage":{"index":1,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000044","l1BlockNumber":68,"l2BlockNumber":1,"leaf":"0x08e1e6a7638294e443759feff80ec53fb7c419a34e310acf4304a95941e7e5bd","rollingHash":"0x2850acbc332bdad3e08df8d524b333e8"},"messageCount":2}
17:25:39 [17:25:39.597]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x08936af7e44bc03ef9b82f42070f5e5010745bf85633bc1f142c44f5b832fdf0","blockNumber":1,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":1,"slotNumber":1,"timestamp":1750785934441,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
17:25:39 [17:25:39.598]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x018dfc8c67c796614044a4e80d54a0a9ecddadf20a999f0369b8ea7864174e48","blockNumber":2,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":2,"slotNumber":2,"timestamp":1750785934453,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
17:25:39 [17:25:39.685]
INFO:
archiver Stopped.
17:25:39 [17:25:39.688]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:25:43 [17:25:43.224]
INFO:
archiver:test Waiting for archiver to sync to block 2
17:25:43 [17:25:43.273]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
17:25:43 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
17:25:43 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:318:9)
17:25:43 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:365:20)
17:25:43 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:378:28)
17:25:43 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:331:34)
17:25:43 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
17:25:43 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
17:25:44 [17:25:44.286]
INFO:
archiver Retrieved 2 new L1 to L2 messages up to message with index 1 for L2 block 1
{"lastMessage":{"index":1,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000044","l1BlockNumber":68,"l2BlockNumber":1,"leaf":"0x07654bbf2c1c34db60fd58dde828270e517836f86a5f3ff0cb0bc5697a7a371d","rollingHash":"0xf0ef0e7c2a88eb5ca4c7cdce5a28bf09"},"messageCount":2}
17:25:44 [17:25:44.426]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2174dc60664d685ef1edb1f49d2ab9eee7b0b802c27fb40082d4782a26a2f8d1","blockNumber":1,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":1,"slotNumber":1,"timestamp":1750785939699,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
17:25:44 [17:25:44.427]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x02702afd9263e5f4ef637557af49b99de2c7bf7fb8defc2fe8605d9aca5b474d","blockNumber":2,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":2,"slotNumber":2,"timestamp":1750785939711,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
17:25:44 [17:25:44.430]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
17:25:44 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
17:25:44 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:318:9)
17:25:44 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:365:20)
17:25:44 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:378:28)
17:25:44 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:331:34)
17:25:44 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
17:25:44 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
17:25:45 [17:25:45.543]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
17:25:45 [17:25:45.545]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
17:25:45 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
17:25:45 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:318:9)
17:25:45 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:365:20)
17:25:45 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:378:28)
17:25:45 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:331:34)
17:25:45 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
17:25:45 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
17:25:46 [17:25:46.515]
INFO:
archiver Stopped.
17:25:46 [17:25:46.517]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:25:46 [17:25:46.825]
INFO:
archiver Retrieved 6 new L1 to L2 messages up to message with index 35 for L2 block 3
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x18f7931bf91031f09fabb1f6fcb73d03c22ac588c2e80c24c968e8761cf91912","rollingHash":"0x4a0ce1124a9d481cd14df96930415b98"},"messageCount":6}
17:25:46 [17:25:46.826]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x18f7931bf91031f09fabb1f6fcb73d03c22ac588c2e80c24c968e8761cf91912","rollingHash":"0x4a0ce1124a9d481cd14df96930415b98"},"remoteMessagesState":{"messagesRollingHash":"0x5a48747293a7561ad8c28c1d44964680","totalMessagesInserted":5,"treeInProgress":0}}
17:25:46 [17:25:46.918]
WARN:
archiver:test Reorging L1 to L2 messages
17:25:47 [17:25:47.836]
WARN:
archiver Rolling back L1 to L2 messages due to hash mismatch or msg not found.
{"messagesSyncPoint":{"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101},"localLastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x18f7931bf91031f09fabb1f6fcb73d03c22ac588c2e80c24c968e8761cf91912","rollingHash":"0x4a0ce1124a9d481cd14df96930415b98"}}
17:25:47 [17:25:47.839]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
17:25:47 [17:25:47.840]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
17:25:47 [17:25:47.854]
INFO:
archiver Retrieved 5 new L1 to L2 messages up to message with index 65 for L2 block 5
{"lastMessage":{"index":65,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000066","l1BlockNumber":102,"l2BlockNumber":5,"leaf":"0x1ba58c29bfd13f2d3b4f83355606ea523dc66640e0276470605599f1b68ad668","rollingHash":"0xc60e27a56eb9c56598aaf7edb47bdfff"},"messageCount":5}
17:25:47 [17:25:47.937]
INFO:
archiver Stopped.
17:25:47 [17:25:47.939]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:25:48 [17:25:48.179]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
17:25:49 [17:25:49.340]
INFO:
archiver:test Waiting for archiver to sync to block 1
17:25:49 [17:25:49.394]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x177a397962322c675ce36036c66e5e0bf54253567e241487c9a96c121304d0e8","blockNumber":1,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":1,"slotNumber":2,"timestamp":1750785947950,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
17:25:49 [17:25:49.444]
INFO:
archiver Stopped.
17:25:49 [17:25:49.445]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:25:49 [17:25:49.742]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
17:25:51 [17:25:51.193]
INFO:
archiver:test Waiting for archiver to sync to block 1
17:25:51 [17:25:51.258]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1ff966c6d2646eb70eb513eb0ed317a1556e554c6fc276c716fc544b42e2fb75","blockNumber":1,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":1,"slotNumber":3,"timestamp":1750785949457,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
17:25:51 [17:25:51.297]
INFO:
archiver Stopped.
17:25:51 [17:25:51.299]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:25:51 [17:25:51.563]
INFO:
archiver:test Syncing archiver to L1 block 6
17:25:51 [17:25:51.564]
INFO:
archiver Starting archiver sync to rollup contract 0x0000000000000000000000000000000000000000 from L1 block 0 to current L1 block 6 with hash 0x0000000000000000000000000000000000000000000000000000000000000006
{"blocksSynchedTo":0,"messagesSynchedTo":{"l1BlockHash":"0x221d33fa13e71d18e67f432e6ca81b947900b4ba4fa30837b4802b5b05fa7a37","l1BlockNumber":0}}
17:25:51 [17:25:51.575]
INFO:
archiver Initial archiver sync to L1 block 6 complete.
{"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
17:25:51 [17:25:51.577]
INFO:
archiver Stopped.
17:25:51 [17:25:51.579]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:25:51 [17:25:51.836]
INFO:
archiver:test Syncing archiver to L1 block 7
17:25:51 [17:25:51.844]
INFO:
archiver Starting archiver sync to rollup contract 0x0000000000000000000000000000000000000000 from L1 block 0 to current L1 block 7 with hash 0x0000000000000000000000000000000000000000000000000000000000000007
{"blocksSynchedTo":0,"messagesSynchedTo":{"l1BlockHash":"0x86557b2525dbcad8419dfe780d0040043a21a48ae7139ed1313671192a760102","l1BlockNumber":0}}
17:25:51 [17:25:51.855]
INFO:
archiver Initial archiver sync to L1 block 7 complete.
{"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
17:25:51 [17:25:51.857]
INFO:
archiver Stopped.
17:25:51 [17:25:51.859]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:25:52 [17:25:52.171]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
17:25:53 [17:25:53.416]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0c1de93d575bd6413720282eb7f608de31506db0d5222c0ece43630418a7e7ad","blockNumber":1,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":1,"slotNumber":1,"timestamp":1750785951870,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
17:25:53 [17:25:53.421]
INFO:
archiver Stopped.
17:25:53 [17:25:53.423]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:25:53 [17:25:53.772]
INFO:
archiver Starting archiver sync to rollup contract 0x0000000000000000000000000000000000000000 from L1 block 0 to current L1 block 2000 with hash 0x00000000000000000000000000000000000000000000000000000000000007d0
{"blocksSynchedTo":0,"messagesSynchedTo":{"l1BlockHash":"0xcc6cad2efa5352a93e2537578ca91543a0cb72f008996c7b7111955a254ad506","l1BlockNumber":0}}
17:25:53 [17:25:53.785]
INFO:
archiver Stopped.
17:25:53 [17:25:53.787]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:25:58 [17:25:58.813]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x07ef36bb9fba30041aefdd40b985e16bc16bfdb5a0ac3c08c83898e17a049d34","blockNumber":1,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":1,"slotNumber":1,"timestamp":1750785953798,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
17:25:58 [17:25:58.815]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1f8be98307d066ef34b3bf3878a422a97aa33adf9848df1480dd24f1b7f0a551","blockNumber":2,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":2,"slotNumber":2,"timestamp":1750785953810,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
17:25:59 [17:25:59.944]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
17:26:01 [17:26:01.010]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
17:26:01 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:78:15
17:26:01 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
17:26:01 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:68:12)
17:26:01 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1394:7
17:26:01 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:26:01 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:26:01 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
17:26:01 newBlockNumber: 3,
17:26:01 previousBlockNumber: 1
17:26:01 }
17:26:01 [17:26:01.030]
WARN:
archiver Attempting to insert block 3 with previous block 1. Rolling back L1 sync point to 70 to try and fetch the missing blocks.
{"previousBlockNumber":1,"previousBlockHash":"0x07ef36bb9fba30041aefdd40b985e16bc16bfdb5a0ac3c08c83898e17a049d34","newBlockNumber":3,"updatedL1SyncPoint":70}
17:26:01 [17:26:01.031]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
17:26:01 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:78:15
17:26:01 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
17:26:01 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:68:12)
17:26:01 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1394:7
17:26:01 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:26:01 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:26:01 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
17:26:01 newBlockNumber: 3,
17:26:01 previousBlockNumber: 1
17:26:01 }
17:26:02 [17:26:02.156]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1f8be98307d066ef34b3bf3878a422a97aa33adf9848df1480dd24f1b7f0a551","blockNumber":2,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":2,"slotNumber":2,"timestamp":1750785953810,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
17:26:02 [17:26:02.157]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x028c1382d7a6056583b37ded38a1c86f65850296ca8e5410a0533ec9877292ff","blockNumber":3,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":3,"slotNumber":3,"timestamp":1750785953822,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
17:26:02 [17:26:02.183]
INFO:
archiver Stopped.
17:26:02
PASS src/archiver/archiver.test.ts (
39.643 s)
17:26:02 Archiver
17:26:02
✓ syncs l1 to l2 messages and blocks (5427 ms)
17:26:02
✓ ignores block 3 because it has been pruned (4031 ms)
17:26:02
✓ skip event search if no changes found (5257 ms)
17:26:02
✓ handles L2 reorg (6830 ms)
17:26:02
✓ handles updated messages due to L1 reorg (1421 ms)
17:26:02
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1506 ms)
17:26:02
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1852 ms)
17:26:02
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (279 ms)
17:26:02
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (279 ms)
17:26:02
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1564 ms)
17:26:02
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (364 ms)
17:26:02
✓ handles a block gap due to a spurious L2 prune (8398 ms)
17:26:02
○ skipped handles an upcoming L2 prune
17:26:02
17:26:02
Test Suites: 1 passed, 1 total
17:26:02
Tests: 1 skipped,
12 passed, 13 total
17:26:02
Snapshots: 0 total
17:26:02
Time: 39.71 s
17:26:02
Ran all test suites matching /archiver\/src\/archiver\/archiver.test.ts/i
.
17:26:02
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?