Parent Log:
http://ci.aztec-labs.com/3b97e2842c9014dd
Command: fa3d426c5ffed922 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/ddabb45f79cc171e41a0a5330544775de9fdf7fd
Env: REF_NAME=gh-readonly-queue/next/pr-14983-4e03f15ca8099f25d50eddd19c4914764b84fe7b CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Fri Jun 13 14:38:09 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14983_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
14:38:12 [14:38:12.608]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:38:15 [14:38:15.580]
INFO:
archiver:test Waiting for archiver to sync to block 3
14:38:15 [14:38:15.605]
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":"0x1dc6e14eb3d256feae47a13dfb3c87e2af0c9476bee624eb4420a863d8043c90","rollingHash":"0x1d13be71344ca014a78d0f28824568b8"},"messageCount":2}
14:38:15 [14:38:15.684]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0ee30c2840545b790c5fe9b6f51e49f1c4a6b5c05d0ab1e86563080dee2f63fb","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749825492611,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:38:16 [14:38:16.705]
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":"0x078b81dcf2465d58409fcccf389a16726280a2f49714ede7cd6cb4506776f3d7","rollingHash":"0x21209a0b304e9b81fb21e3a0f25203c0"},"messageCount":4}
14:38:16 [14:38:16.732]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
14:38:16 [14:38:16.861]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1d71ac13e966613474571e1a03f95a3bb26738d08d1af01196aa80bd5e2539ad","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749825492623,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:38:16 [14:38:16.862]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x0f96ba37942487723c7fc947124354ee52fdf9fdeb17da1e0d1eb83faf486d80","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1749825492635,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
14:38:17 [14:38:17.106]
INFO:
archiver Stopped.
14:38:17 [14:38:17.112]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:38:19 [14:38:19.741]
INFO:
archiver:test Waiting for archiver to sync to block 2
14:38:19 [14:38:19.811]
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":"0x21c5dda2205196d8117c5d625c79046722da50ea3401ecba48321ad46345a020","rollingHash":"0x5a8dafc7d010e89a14ec83d75ef9ae25"},"messageCount":2}
14:38:19 [14:38:19.831]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x2a48913a846bb2a02fd1b81cbc1e2b41335c18161f98b9a1e4275321e82b619c","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
14:38:19 [14:38:19.978]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1b3f0148dff00bf6d4f58230300d671a8ba7cc81cc328f3bea1626c4ffac240d","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749825497123,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:38:19 [14:38:19.979]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x22dc87b99fea3fae9701f28f708e9b524f71172768afe5a3885968b6ad218324","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749825497135,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:38:20 [14:38:20.080]
INFO:
archiver Stopped.
14:38:20 [14:38:20.099]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:38:22 [14:38:22.720]
INFO:
archiver:test Waiting for archiver to sync to block 2
14:38:23 [14:38:23.753]
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":"0x14c88270b99bba8c9e00989e7757c781e131d86afcca8d7e44e452b6aa53b51c","rollingHash":"0x213c550ce44d0c0e4812246af3d7ca9c"},"messageCount":2}
14:38:23 [14:38:23.902]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x228743f47ac8b34438109f65e5b6273d41e07765b64d2c640be434c454eda58f","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749825500093,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:38:23 [14:38:23.903]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x18b7c03b62a619aa2e2d1c0176c02ee713c22cd3162d21d153586f73cca12a43","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749825500105,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:38:23 [14:38:23.992]
INFO:
archiver Stopped.
14:38:23 [14:38:23.995]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:38:26 [14:38:26.852]
INFO:
archiver:test Waiting for archiver to sync to block 2
14:38:26 [14:38:26.903]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
14:38:26 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
14:38:26 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:328:9)
14:38:26 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
14:38:26 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
14:38:26 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
14:38:26 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
14:38:26 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
14:38:27 [14:38:27.918]
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":"0x1925c79714bb036a49fed2c4331d88d1ec570f8e60ee3d8779f6900d503d4c81","rollingHash":"0x3e5e445c621da6c5dbfcd72be8c14415"},"messageCount":2}
14:38:28 [14:38:28.076]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1d4b70967794d340d95652e50bc26ed4105f702527b64ccb9b04c53d9aa5e4df","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749825504007,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:38:28 [14:38:28.077]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1efc381f71a916b6e5bec21296faf9e9e9d16953df225283db6836f699fd4352","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749825504019,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:38:28 [14:38:28.082]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
14:38:28 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
14:38:28 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:328:9)
14:38:28 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
14:38:28 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
14:38:28 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
14:38:28 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
14:38:28 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
14:38:29 [14:38:29.207]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
14:38:29 [14:38:29.211]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
14:38:29 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
14:38:29 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:328:9)
14:38:29 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
14:38:29 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
14:38:29 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
14:38:29 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
14:38:29 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
14:38:30 [14:38:30.174]
INFO:
archiver Stopped.
14:38:30 [14:38:30.178]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:38:30 [14:38:30.613]
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":"0x07826be486e8e55efd322842aa16da8137352622ceb8ae2addfb47c008a74ea2","rollingHash":"0x2780d7c166bed4a133cc6b0c3e48fa2b"},"messageCount":6}
14:38:30 [14:38:30.614]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x07826be486e8e55efd322842aa16da8137352622ceb8ae2addfb47c008a74ea2","rollingHash":"0x2780d7c166bed4a133cc6b0c3e48fa2b"},"remoteMessagesState":{"messagesRollingHash":"0xdf12c9bc1843137a5116601b012e40b4","totalMessagesInserted":5,"treeInProgress":0}}
14:38:30 [14:38:30.716]
WARN:
archiver:test Reorging L1 to L2 messages
14:38:31 [14:38:31.633]
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":"0x07826be486e8e55efd322842aa16da8137352622ceb8ae2addfb47c008a74ea2","rollingHash":"0x2780d7c166bed4a133cc6b0c3e48fa2b"}}
14:38:31 [14:38:31.636]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
14:38:31 [14:38:31.639]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
14:38:31 [14:38:31.658]
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":"0x19d2dd6703005dd70f2b1df279c9abe5e2fbf0890645ddf02f8bff4bc8a4b35d","rollingHash":"0x00aba8a24c294e9ec36e03cd510c91b7"},"messageCount":5}
14:38:31 [14:38:31.753]
INFO:
archiver Stopped.
14:38:31 [14:38:31.755]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:38:32 [14:38:32.096]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
14:38:33 [14:38:33.161]
INFO:
archiver:test Waiting for archiver to sync to block 1
14:38:33 [14:38:33.234]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x07332532ab404f925393a6976ebb71009c2743f544016997830e6a1fb29dd8cc","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749825511766,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:38:33 [14:38:33.265]
INFO:
archiver Stopped.
14:38:33 [14:38:33.269]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:38:33 [14:38:33.585]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
14:38:34 [14:38:34.729]
INFO:
archiver:test Waiting for archiver to sync to block 1
14:38:35 [14:38:35.028]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1a25b99ac41c132c434f8a7b5ebc035964bb3d450dd3bcddf2304a4df35a7634","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1749825513279,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:38:35 [14:38:35.141]
INFO:
archiver Stopped.
14:38:35 [14:38:35.143]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:38:35 [14:38:35.504]
INFO:
archiver:test Syncing archiver to L1 block 6
14:38:35 [14:38:35.506]
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":"0xceb942487652875729b245624d314ee75208b63ccf5a0e1f6c5f0914ae57593b","l1BlockNumber":0}}
14:38:35 [14:38:35.522]
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}}
14:38:35 [14:38:35.524]
INFO:
archiver Stopped.
14:38:35 [14:38:35.526]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:38:35 [14:38:35.984]
INFO:
archiver:test Syncing archiver to L1 block 7
14:38:35 [14:38:35.986]
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":"0x0df1448110912ce57af31c9335b8517730f6ac1e334d878b733d1c9bd5b02e9b","l1BlockNumber":0}}
14:38:36 [14:38:36.015]
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}}
14:38:36 [14:38:36.026]
INFO:
archiver Stopped.
14:38:36 [14:38:36.032]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:38:36 [14:38:36.485]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
14:38:37 [14:38:37.438]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x047aa56b4baac19597ae29914da56255c7d6a11d79650628f154a85ff03ca21c","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749825516041,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:38:37 [14:38:37.442]
INFO:
archiver Stopped.
14:38:37 [14:38:37.444]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:38:37 [14:38:37.765]
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":"0xffda7606569cbd97f4cb1a1669db1962a61e2353fd29ca316526798d974af94f","l1BlockNumber":0}}
14:38:37 [14:38:37.783]
INFO:
archiver Stopped.
14:38:37 [14:38:37.784]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:38:41 [14:38:41.204]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2535e2b7f2aa165bdb8e673d5fe1760fec875e280838449f4cf4493c9aaf38f9","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749825517796,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:38:41 [14:38:41.205]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x22f73a283be7d21387f066dec26efbe7172854baf857cf9a26b5f61dcd894433","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749825517808,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:38:42 [14:38:42.461]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
14:38:43 [14:38:43.535]
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
14:38:43 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
14:38:43 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
14:38:43 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
14:38:43 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7
14:38:43 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:38:43 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:38:43 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:38:43 newBlockNumber: 3,
14:38:43 previousBlockNumber: 1
14:38:43 }
14:38:43 [14:38:43.570]
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":"0x2535e2b7f2aa165bdb8e673d5fe1760fec875e280838449f4cf4493c9aaf38f9","newBlockNumber":3,"updatedL1SyncPoint":70}
14:38:43 [14:38:43.571]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
14:38:43 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
14:38:43 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
14:38:43 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
14:38:43 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7
14:38:43 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:38:43 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:38:43 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:38:43 newBlockNumber: 3,
14:38:43 previousBlockNumber: 1
14:38:43 }
14:38:44 [14:38:44.851]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x22f73a283be7d21387f066dec26efbe7172854baf857cf9a26b5f61dcd894433","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749825517808,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:38:44 [14:38:44.853]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x0eef71e0021b2f59f5c64fc5ee38e51276e2a1e3756cbcb8f4a6e11d48f076de","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1749825517820,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
14:38:44 [14:38:44.936]
INFO:
archiver Stopped.
14:38:44
PASS src/archiver/archiver.test.ts (
34.966 s)
14:38:44 Archiver
14:38:44
✓ syncs l1 to l2 messages and blocks (4512 ms)
14:38:44
✓ ignores block 3 because it has been pruned (2969 ms)
14:38:44
✓ skip event search if no changes found (3912 ms)
14:38:44
✓ handles L2 reorg (6181 ms)
14:38:44
✓ handles updated messages due to L1 reorg (1578 ms)
14:38:44
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1512 ms)
14:38:44
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1875 ms)
14:38:44
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (382 ms)
14:38:44
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (503 ms)
14:38:44
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1414 ms)
14:38:44
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (340 ms)
14:38:44
✓ handles a block gap due to a spurious L2 prune (7153 ms)
14:38:44
○ skipped handles an upcoming L2 prune
14:38:44
14:38:44
Test Suites: 1 passed, 1 total
14:38:44
Tests: 1 skipped,
12 passed, 13 total
14:38:44
Snapshots: 0 total
14:38:44
Time: 35.031 s
14:38:44
Ran all test suites matching /archiver\/src\/archiver\/archiver.test.ts/i
.
14:38:44
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?