Parent Log:
http://ci.aztec-labs.com/29fbaf04147fb1cc
Command: 0241ddbeca6635d5 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/4873eb2f8189ef2d21a8b7fcfbfebe4dbc0f4145
Env: REF_NAME=gh-readonly-queue/next/pr-15244-ae57aa9d16f6f3a9e1bc0a5487573e779a4a3ee3 CURRENT_VERSION=0.87.6 CI_FULL=0
Date: Wed Jun 25 19:33:14 UTC 2025
System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-15244_arm64_a1-fast
Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
19:33:18 [19:33:18.209]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:21 [19:33:21.008]
INFO:
archiver:test Waiting for archiver to sync to block 3
19:33:21 [19:33:21.022]
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":"0x02a9636464b38bae1933892c113845394fde2876c3c9f672055ce78af9564c50","rollingHash":"0xda82fb48d1d3124f1edbd2d1e2c949f5"},"messageCount":2}
19:33:21 [19:33:21.105]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0ede2f63d6a59130ba7476592b00abc05075b2f42e8a49c4d4cad5262fed0039","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750879998210,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:33:22 [19:33:22.121]
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":"0x045c324ce061a9994704bc7388352a8a93d662e314c5281bd9f82fad9dc53b08","rollingHash":"0x856a7fba30acaf64c71b30f87fc04262"},"messageCount":4}
19:33:22 [19:33:22.145]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
19:33:22 [19:33:22.288]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x172cc8885083b4fa1d32371bbf60d3c67d251a32e2edceb993ad027e67fa42ad","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750879998222,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
19:33:22 [19:33:22.289]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x0c3c2f4e92f6f273de5037e482ef8f2d30066d15cc92a0dd18c31bfd9755a8c7","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750879998234,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
19:33:22 [19:33:22.487]
INFO:
archiver Stopped.
19:33:22 [19:33:22.490]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:25 [19:33:25.057]
INFO:
archiver:test Waiting for archiver to sync to block 2
19:33:25 [19:33:25.065]
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":"0x03ff5767e5bc2491515d202cef8897822d3aa389feb68da6acac2022f40cdcde","rollingHash":"0x608eaa618b81d3fd911800367d7e67e7"},"messageCount":2}
19:33:25 [19:33:25.082]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x03415641177394b369d60e48304790f853032da1c6320b3f89dbc3c3f5e202ad","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
19:33:25 [19:33:25.180]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x14d583feda4a9a040ba5666a080594d3d7ae01ca69284df6924fc710b3aea2e9","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750880002502,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:33:25 [19:33:25.181]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1ddf5aa01bb2d1d6a014a2c45a59944f3b37d6b3e5b316ea8d54de13b9426c3c","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750880002514,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
19:33:25 [19:33:25.271]
INFO:
archiver Stopped.
19:33:25 [19:33:25.273]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:27 [19:33:27.833]
INFO:
archiver:test Waiting for archiver to sync to block 2
19:33:28 [19:33:28.848]
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":"0x0fc65a6be23f1a2c6182ad4d3180d0498f11137042a835ca0dca227bbd0be1e0","rollingHash":"0xf3deea248b27584a3dcb6b6b7ed005a2"},"messageCount":2}
19:33:28 [19:33:28.963]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2e0945c42f528c1b01ed5c7e9140ceff20fa5416015f5a056aa7b3af59c2c7df","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750880005285,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:33:28 [19:33:28.963]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1efa1ed002aa7fa2ac5e1b9c1626814a9ea6a3727154df29d0a2a763ef12f657","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750880005297,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
19:33:29 [19:33:29.054]
INFO:
archiver Stopped.
19:33:29 [19:33:29.055]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:31 [19:33:31.733]
INFO:
archiver:test Waiting for archiver to sync to block 2
19:33:31 [19:33:31.769]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
19:33:31 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
19:33:31 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
19:33:31 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
19:33:31 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
19:33:31 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
19:33:31 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
19:33:31 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
19:33:32 [19:33:32.775]
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":"0x138ce8041c75cc3417de5258832ef0b6b5b8f8ff2dc974fac32c5c9f6c79ed8b","rollingHash":"0x0c13b585e3fb04a0d7b6f1a5f552422f"},"messageCount":2}
19:33:32 [19:33:32.893]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x15027c10fbd387bd019e85c775a469bd7a2294f071e0d01b962d42208def02a4","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750880009067,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:33:32 [19:33:32.894]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1cfe614b20d8b00f14233d53dca03d7c6d0062b301b9051ed90951dfc1e6f596","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750880009079,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
19:33:32 [19:33:32.896]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
19:33:32 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
19:33:32 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
19:33:32 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
19:33:32 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
19:33:32 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
19:33:32 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
19:33:32 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
19:33:33 [19:33:33.990]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
19:33:33 [19:33:33.992]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
19:33:33 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
19:33:33 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
19:33:33 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
19:33:33 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
19:33:33 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
19:33:33 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
19:33:33 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
19:33:34 [19:33:34.984]
INFO:
archiver Stopped.
19:33:34 [19:33:34.986]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:35 [19:33:35.247]
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":"0x2322b3646f4406cd39ebf889aef66e30e44058d02e0acb017315445bd11c0a91","rollingHash":"0x7761469859a700746b99f429d060cb7f"},"messageCount":6}
19:33:35 [19:33:35.247]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x2322b3646f4406cd39ebf889aef66e30e44058d02e0acb017315445bd11c0a91","rollingHash":"0x7761469859a700746b99f429d060cb7f"},"remoteMessagesState":{"messagesRollingHash":"0x0f0bdb75b7b66ac69cde5779c27b7de0","totalMessagesInserted":5,"treeInProgress":0}}
19:33:35 [19:33:35.341]
WARN:
archiver:test Reorging L1 to L2 messages
19:33:36 [19:33:36.257]
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":"0x2322b3646f4406cd39ebf889aef66e30e44058d02e0acb017315445bd11c0a91","rollingHash":"0x7761469859a700746b99f429d060cb7f"}}
19:33:36 [19:33:36.259]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
19:33:36 [19:33:36.260]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
19:33:36 [19:33:36.272]
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":"0x302dd2b064872900aef89d99f965ad660838e41e4a8c3f869864b919296b7328","rollingHash":"0x35a96246e3993bdc5cafcda23b70ce9f"},"messageCount":5}
19:33:36 [19:33:36.350]
INFO:
archiver Stopped.
19:33:36 [19:33:36.351]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:36 [19:33:36.605]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
19:33:37 [19:33:37.364]
INFO:
archiver:test Waiting for archiver to sync to block 1
19:33:37 [19:33:37.424]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2aaf05ddc12866234269feba03e65e3d27254d18328be63e87786c2c7406e636","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750880016363,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:33:37 [19:33:37.466]
INFO:
archiver Stopped.
19:33:37 [19:33:37.468]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:37 [19:33:37.720]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
19:33:38 [19:33:38.476]
INFO:
archiver:test Waiting for archiver to sync to block 1
19:33:38 [19:33:38.537]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x141178ca1a5dc342a5d510f8f3e5f7ab06d170363e3b776f24d2df6e4b2a2341","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750880017479,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:33:38 [19:33:38.579]
INFO:
archiver Stopped.
19:33:38 [19:33:38.582]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:38 [19:33:38.835]
INFO:
archiver:test Syncing archiver to L1 block 6
19:33:38 [19:33:38.836]
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":"0x9105f658d6deee50671fdd22305a0d66241e26ae5b7c7837c24b6c52c3eaf985","l1BlockNumber":0}}
19:33:38 [19:33:38.844]
INFO:
archiver Initial archiver sync to L1 block 6 complete.
{"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
19:33:38 [19:33:38.846]
INFO:
archiver Stopped.
19:33:38 [19:33:38.847]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:39 [19:33:39.100]
INFO:
archiver:test Syncing archiver to L1 block 7
19:33:39 [19:33:39.101]
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":"0x18d913e6714617dd2e1378b96d244f40ecd3049b2cf5a13b25bb15d772bec3bf","l1BlockNumber":0}}
19:33:39 [19:33:39.110]
INFO:
archiver Initial archiver sync to L1 block 7 complete.
{"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
19:33:39 [19:33:39.112]
INFO:
archiver Stopped.
19:33:39 [19:33:39.118]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:39 [19:33:39.372]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
19:33:40 [19:33:40.188]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1400836c8dcbf90a544cec39c5ae47c8082f14722eef4bbcbbae227e0aa02944","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750880019125,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:33:40 [19:33:40.191]
INFO:
archiver Stopped.
19:33:40 [19:33:40.192]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:40 [19:33:40.450]
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":"0x245050b79d88a3ecb69394152a9d07d9d20a5e8e5638c76d4a183905496fcb79","l1BlockNumber":0}}
19:33:40 [19:33:40.460]
INFO:
archiver Stopped.
19:33:40 [19:33:40.461]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:33:43 [19:33:43.154]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x041e41f2728cfc299e3a78013c52f4478eff978291fe22b83d564bcd3889d642","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750880020472,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:33:43 [19:33:43.155]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0cf94f05cdc8f0be2c975577ed39592d64f8ddc01516d5b8869d79daabd3517f","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750880020484,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
19:33:44 [19:33:44.250]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
19:33:45 [19:33:45.294]
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
19:33:45 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
19:33:45 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
19:33:45 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
19:33:45 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
19:33:45 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
19:33:45 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
19:33:45 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
19:33:45 newBlockNumber: 3,
19:33:45 previousBlockNumber: 1
19:33:45 }
19:33:45 [19:33:45.314]
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":"0x041e41f2728cfc299e3a78013c52f4478eff978291fe22b83d564bcd3889d642","newBlockNumber":3,"updatedL1SyncPoint":70}
19:33:45 [19:33:45.315]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
19:33:45 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
19:33:45 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
19:33:45 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
19:33:45 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
19:33:45 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
19:33:45 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
19:33:45 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
19:33:45 newBlockNumber: 3,
19:33:45 previousBlockNumber: 1
19:33:45 }
19:33:46 [19:33:46.457]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0cf94f05cdc8f0be2c975577ed39592d64f8ddc01516d5b8869d79daabd3517f","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750880020484,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
19:33:46 [19:33:46.458]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x270bcfc0884346f2725301804fee3594dfd33c72f88e9f146f00a90c232c21ec","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750880020496,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
19:33:46 [19:33:46.548]
INFO:
archiver Stopped.
19:33:46
PASS src/archiver/archiver.test.ts (
30.764 s)
19:33:46 Archiver
19:33:46
✓ syncs l1 to l2 messages and blocks (4292 ms)
19:33:46
✓ ignores block 3 because it has been pruned (2783 ms)
19:33:46
✓ skip event search if no changes found (3782 ms)
19:33:46
✓ handles L2 reorg (5931 ms)
19:33:46
✓ handles updated messages due to L1 reorg (1365 ms)
19:33:46
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1115 ms)
19:33:46
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1112 ms)
19:33:46
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (267 ms)
19:33:46
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (266 ms)
19:33:46
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1079 ms)
19:33:46
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (268 ms)
19:33:46
✓ handles a block gap due to a spurious L2 prune (6088 ms)
19:33:46
○ skipped handles an upcoming L2 prune
19:33:46
19:33:46
Test Suites: 1 passed, 1 total
19:33:46
Tests: 1 skipped,
12 passed, 13 total
19:33:46
Snapshots: 0 total
19:33:46
Time: 30.837 s
19:33:46
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
19:33:46
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?