Parent Log:
http://ci.aztec-labs.com/5dedeee27fb005f9
Command: 1f475c5d66a44412 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/e56baa7f24bac54baf9e2f22f6f33ae6fa8b8c0f
Env: REF_NAME=gh-readonly-queue/next/pr-14891-76ca48a2187e3506bb464eae574e49476c2876ca CURRENT_VERSION=0.87.6 CI_FULL=0
Date: Fri Jun 13 19:21:25 UTC 2025
System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-14891_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:21:27 [19:21:27.891]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:21:30 [19:21:30.575]
INFO:
archiver:test Waiting for archiver to sync to block 3
19:21:30 [19:21:30.590]
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":"0x1d8c959ef969ea5dd5ef48db920af559c7720038d6a7ddbe978f4f5d715122da","rollingHash":"0x8304cfde97efe1dcf6a9e79bb81db0ed"},"messageCount":2}
19:21:30 [19:21:30.661]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0bbce3759289f382b03561980298c5b52ad14c7f9ef372cb48945996c303b65a","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749842487899,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:21:31 [19:21:31.676]
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":"0x2cde09810fdf33bcd6b79f719d44045fab9e49b513312542c782b40ac256e884","rollingHash":"0x3a5957167b417da2462dd1e9e379f1d8"},"messageCount":4}
19:21:31 [19:21:31.700]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
19:21:31 [19:21:31.815]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2511ae380472f93aea4f499438eb42882ca47cd6a2024ff1766ddaf405e53833","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749842487911,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
19:21:31 [19:21:31.815]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x1424cfcc62fe9267ccba0873888cf7d198430a286efd4b72d278795c8fb07e65","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1749842487923,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
19:21:31 [19:21:31.997]
INFO:
archiver Stopped.
19:21:32 [19:21:32.000]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:21:34 [19:21:34.478]
INFO:
archiver:test Waiting for archiver to sync to block 2
19:21:34 [19:21:34.486]
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":"0x1333060db38e33d3cef4552f0b3f005a38fcb99a53b269aed6d80a0860a54d48","rollingHash":"0xa962fd4b4378e803eb48485d14e0c757"},"messageCount":2}
19:21:34 [19:21:34.502]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x2d5b86c08723aa94e6a2147a84124a953bfca2a4cab94df527c2df7a203df516","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
19:21:34 [19:21:34.591]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1b5fa3a59946f7d9125016ff2fdc234b5c8d0f7e1791caeb71f50fc3ae5fea20","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749842492012,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:21:34 [19:21:34.592]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x226dc71ae6f579fd2968bdc6a4a0fc443ae4a5ef42f5f01dd1ccaf6d7021af50","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749842492024,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
19:21:34 [19:21:34.680]
INFO:
archiver Stopped.
19:21:34 [19:21:34.682]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:21:37 [19:21:37.155]
INFO:
archiver:test Waiting for archiver to sync to block 2
19:21:38 [19:21:38.176]
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":"0x2ba4e6c187fdc13067ba02fb81c7b235ce76861b8b814821861ddb23716644d0","rollingHash":"0x451e41f4c03a1bde19d08099b4815b14"},"messageCount":2}
19:21:38 [19:21:38.271]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x21afd4854bac976abe12db09a0db27829af2958dc7849059afacfbbb11ec05c5","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749842494694,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:21:38 [19:21:38.271]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1978aa387048cf7389baa4c7adcad1b7ca127bc641f6dd5c6ac87a885821080b","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749842494706,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
19:21:38 [19:21:38.364]
INFO:
archiver Stopped.
19:21:38 [19:21:38.365]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:21:40 [19:21:40.846]
INFO:
archiver:test Waiting for archiver to sync to block 2
19:21:40 [19:21:40.883]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
19:21:40 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
19:21:40 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:328:9)
19:21:40 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
19:21:40 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
19:21:40 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
19:21:40 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
19:21:40 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
19:21:41 [19:21:41.890]
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":"0x0f27d40b8fc0ad9eb527ab4b8e6308a42099b686c2060305c3aa1b8235853d8a","rollingHash":"0x7297b50bce8ddd553fcbd17c0833e8bb"},"messageCount":2}
19:21:41 [19:21:41.985]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0a40909945511c3bcaa934fccd13fc46bddbbb79b11afa43cc14326e5c770ca2","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749842498377,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:21:41 [19:21:41.985]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x02bc5f7ed4e71216ae03602100dc1c04cca60ebf8fbc21bcf8b4c776d796031b","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749842498389,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
19:21:41 [19:21:41.987]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
19:21:41 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
19:21:41 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:328:9)
19:21:41 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
19:21:41 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
19:21:41 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
19:21:41 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
19:21:41 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
19:21:43 [19:21:43.067]
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:21:43 [19:21:43.069]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
19:21:43 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
19:21:43 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:328:9)
19:21:43 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
19:21:43 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
19:21:43 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
19:21:43 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
19:21:43 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
19:21:44 [19:21:44.086]
ERROR:
archiver Error in running promise: TypeError: (intermediate value) is not iterable
19:21:44 at Archiver.handleL2blocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:595:7)
19:21:44 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:326:28)
19:21:44 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
19:21:44 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
19:21:44 at RunningPromise.stop (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:82:9)
19:21:44 at Archiver.stop (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:887:5)
19:21:44 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.test.ts:248:5)
19:21:44 [19:21:44.086]
INFO:
archiver Stopped.
19:21:44 [19:21:44.088]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:21:44 [19:21:44.331]
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":"0x2ca0e7861564d1e687bbb75f0acd0ac6a69b06020440c5514808e8c4f935b6c0","rollingHash":"0xe58cbeff65524723c89b3f4a742c1f99"},"messageCount":6}
19:21:44 [19:21:44.332]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x2ca0e7861564d1e687bbb75f0acd0ac6a69b06020440c5514808e8c4f935b6c0","rollingHash":"0xe58cbeff65524723c89b3f4a742c1f99"},"remoteMessagesState":{"messagesRollingHash":"0xf6208f88a823a898494bf677a9f1a4a8","totalMessagesInserted":5,"treeInProgress":0}}
19:21:44 [19:21:44.425]
WARN:
archiver:test Reorging L1 to L2 messages
19:21:45 [19:21:45.340]
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":"0x2ca0e7861564d1e687bbb75f0acd0ac6a69b06020440c5514808e8c4f935b6c0","rollingHash":"0xe58cbeff65524723c89b3f4a742c1f99"}}
19:21:45 [19:21:45.342]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
19:21:45 [19:21:45.343]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
19:21:45 [19:21:45.353]
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":"0x1444dd380618fb3fd853c070052cd57c7b57abb9ee085ab857aca54614e6854f","rollingHash":"0xd0f88972e9ba851dcde4a58c4223081b"},"messageCount":5}
19:21:45 [19:21:45.434]
INFO:
archiver Stopped.
19:21:45 [19:21:45.435]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:21:45 [19:21:45.668]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
19:21:46 [19:21:46.405]
INFO:
archiver:test Waiting for archiver to sync to block 1
19:21:46 [19:21:46.459]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x068a2b5f37cd07c9db568148e2507ab1a0395b6aada8ea035bbdc9dfe891c7e9","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749842505447,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:21:46 [19:21:46.508]
INFO:
archiver Stopped.
19:21:46 [19:21:46.509]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:21:46 [19:21:46.742]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
19:21:47 [19:21:47.485]
INFO:
archiver:test Waiting for archiver to sync to block 1
19:21:47 [19:21:47.540]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0ce1cbdc816bfaafeccd1c5299e812c14e661420aa4173bee6277f57b0973db8","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1749842506521,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:21:47 [19:21:47.588]
INFO:
archiver Stopped.
19:21:47 [19:21:47.590]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:21:47 [19:21:47.827]
INFO:
archiver:test Syncing archiver to L1 block 6
19:21:47 [19:21:47.828]
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":"0x01d2a163fbdb6e8275ddd1d3b69f737d279993f7845cd2cf6e328c371d12102e","l1BlockNumber":0}}
19:21:47 [19:21:47.840]
INFO:
archiver Initial archiver sync to L1 block 6 complete.
{"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6,"messagesSynchedTo":{"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000006","l1BlockNumber":6}},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
19:21:47 [19:21:47.842]
INFO:
archiver Stopped.
19:21:47 [19:21:47.843]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:21:48 [19:21:48.081]
INFO:
archiver:test Syncing archiver to L1 block 7
19:21:48 [19:21:48.084]
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":"0x3bb7cdd69f7f40fd34ff3dad908d831e1b9754d46566de6bac357bba16b4ab19","l1BlockNumber":0}}
19:21:48 [19:21:48.096]
INFO:
archiver Initial archiver sync to L1 block 7 complete.
{"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7,"messagesSynchedTo":{"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000007","l1BlockNumber":7}},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
19:21:48 [19:21:48.098]
INFO:
archiver Stopped.
19:21:48 [19:21:48.100]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:21:48 [19:21:48.351]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
19:21:49 [19:21:49.143]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x20ac251751166190ebfd3d1de760b93007092da11402d2b4c78f2fd71d706893","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749842508111,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:21:49 [19:21:49.147]
INFO:
archiver Stopped.
19:21:49 [19:21:49.148]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:21:49 [19:21:49.391]
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":"0xeaf36875f45607a7f1830212e93d0af53e4debd1184a5b9cac3ce1f9939925cd","l1BlockNumber":0}}
19:21:49 [19:21:49.394]
INFO:
archiver Stopped.
19:21:49 [19:21:49.395]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
19:21:51 [19:21:51.966]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0fe2f56405a5089e5fd04512dc5128d7063ffd9ae306cc5026d535043f3035cc","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749842509406,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
19:21:51 [19:21:51.967]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x130d41b6258611b8ac2383c0daaafc99510bb7f32e4addacebd5ab978fc52f8c","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749842509418,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
19:21:53 [19:21:53.051]
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:21:54 [19:21:54.096]
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:21:54 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
19:21:54 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
19:21:54 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
19:21:54 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7
19:21:54 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
19:21:54 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
19:21:54 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
19:21:54 newBlockNumber: 3,
19:21:54 previousBlockNumber: 1
19:21:54 }
19:21:54 [19:21:54.118]
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":"0x0fe2f56405a5089e5fd04512dc5128d7063ffd9ae306cc5026d535043f3035cc","newBlockNumber":3,"updatedL1SyncPoint":70}
19:21:54 [19:21:54.119]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
19:21:54 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
19:21:54 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
19:21:54 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
19:21:54 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7
19:21:54 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
19:21:54 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
19:21:54 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
19:21:54 newBlockNumber: 3,
19:21:54 previousBlockNumber: 1
19:21:54 }
19:21:55 [19:21:55.224]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x130d41b6258611b8ac2383c0daaafc99510bb7f32e4addacebd5ab978fc52f8c","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749842509418,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
19:21:55 [19:21:55.224]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x2bcd98ca3b1d6170502c7d68e5c6ba26da67fb9c550c5299ba04d9be5f56f1ea","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1749842509430,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
19:21:55 [19:21:55.320]
INFO:
archiver Stopped.
19:21:55
PASS src/archiver/archiver.test.ts (
29.528 s)
19:21:55 Archiver
19:21:55
✓ syncs l1 to l2 messages and blocks (4113 ms)
19:21:55
✓ ignores block 3 because it has been pruned (2682 ms)
19:21:55
✓ skip event search if no changes found (3684 ms)
19:21:55
✓ handles L2 reorg (5721 ms)
19:21:55
✓ handles updated messages due to L1 reorg (1347 ms)
19:21:55
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1074 ms)
19:21:55
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1081 ms)
19:21:55
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (253 ms)
19:21:55
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (256 ms)
19:21:55
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1048 ms)
19:21:55
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (246 ms)
19:21:55
✓ handles a block gap due to a spurious L2 prune (5926 ms)
19:21:55
○ skipped handles an upcoming L2 prune
19:21:55
19:21:55
Test Suites: 1 passed, 1 total
19:21:55
Tests: 1 skipped,
12 passed, 13 total
19:21:55
Snapshots: 0 total
19:21:55
Time: 29.597 s
19:21:55
Ran all test suites matching /archiver\/src\/archiver\/archiver.test.ts/i
.
19:21:55
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?