Parent Log:
http://ci.aztec-labs.com/72dfec5668227906
Command: 37aad4e9ebf491ef yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/bbf33e6534f745d2f5a11c2f359583e881120fc4
Env: REF_NAME=gh-readonly-queue/next/pr-15047-e56623c3f6400dc164642e49255b211d6fb03ac6 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Wed Jun 18 17:05:24 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15047_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
17:05:28 [17:05:28.427]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:05:31 [17:05:31.184]
INFO:
archiver:test Waiting for archiver to sync to block 3
17:05:31 [17:05:31.247]
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":"0x18e0e765bd4fcb26585ea52559d0bb861ce9b29a37f59b6f15a136d417138118","rollingHash":"0xb43381f9e3ac446250637b1de0d8f0c9"},"messageCount":2}
17:05:31 [17:05:31.365]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1d76029d1e8f1d32d289363d0001ceb667bd77176b2c34130f016117482540ba","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750266328423,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
17:05:32 [17:05:32.389]
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":"0x014d5a84ca197f9f7fc8144d0a02e2aeaa6248d3f737d80d26677efa1edbf3a7","rollingHash":"0x9b0af0693cfead20a8d74610a285f702"},"messageCount":4}
17:05:32 [17:05:32.444]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
17:05:32 [17:05:32.647]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1dd65ad6c8e3f4f06b552955f4c2380b14b1346532ea504596fcbeaacbcddacc","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750266328435,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
17:05:32 [17:05:32.648]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x13ed11edb5284a0f1c890f4066c785c46a93d86d90127d5ade2f88aa71f10459","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750266328447,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
17:05:32 [17:05:32.874]
INFO:
archiver Stopped.
17:05:32 [17:05:32.882]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:05:35 [17:05:35.704]
INFO:
archiver:test Waiting for archiver to sync to block 2
17:05:35 [17:05:35.715]
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":"0x03ba3ab1a585c8b8089fdef5d3226e091d61c941e3f52bca9a770de478834c06","rollingHash":"0x33a594fe1d9a1d8ece7f70e58ae79f85"},"messageCount":2}
17:05:35 [17:05:35.744]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x23a447ab09e2dd64e44ebcb15136a559356354fcbbbf45d58f268881a795ade8","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
17:05:35 [17:05:35.871]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1f91e79a083484004edb797eaf44ca5be10a6f3eebf07b7b7ffee5e80425eefb","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750266332890,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
17:05:35 [17:05:35.872]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x23a79d5f07aad8de120d584795204135a2e2ccb6da2e5ce55f0ecb01f2ea2eab","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750266332902,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
17:05:35 [17:05:35.957]
INFO:
archiver Stopped.
17:05:35 [17:05:35.959]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:05:38 [17:05:38.696]
INFO:
archiver:test Waiting for archiver to sync to block 2
17:05:39 [17:05:39.719]
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":"0x1dce84054c9a6179ea46b96cebc1ad9802c399506fd5b9b05ef142c71bffd539","rollingHash":"0x8f451b0bfa8a3bb5bd77bf5adc98b651"},"messageCount":2}
17:05:39 [17:05:39.921]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0d5646c66c57c247251602272dded6c9944eed93bf8816bd68d4348fd5d00ad7","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750266335970,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
17:05:39 [17:05:39.922]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x08d83cc3d3b52edf02c620c30a19404b8dd50d30c3c83d6f86b96477435fc15a","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750266335982,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
17:05:40 [17:05:40.013]
INFO:
archiver Stopped.
17:05:40 [17:05:40.018]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:05:43 [17:05:43.168]
INFO:
archiver:test Waiting for archiver to sync to block 2
17:05:43 [17:05:43.226]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
17:05:43 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
17:05:43 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
17:05:43 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
17:05:43 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
17:05:43 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
17:05:43 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
17:05:43 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
17:05:44 [17:05:44.238]
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":"0x18f282c4475223b239716b1fb6626edc9dedf12683d6356e68d6c561e446916f","rollingHash":"0x8b0872d324bf76532551789cb4fd7997"},"messageCount":2}
17:05:44 [17:05:44.435]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x02b04847ebd40d75f30a497e341d57e60081475b6368dc54154d35d05a8d2d0a","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750266340028,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
17:05:44 [17:05:44.436]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x113f39f4c49eb23e700a60bb88e22726bdcb868b9d8015c2fa72ee96bddce21b","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750266340040,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
17:05:44 [17:05:44.438]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
17:05:44 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
17:05:44 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
17:05:44 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
17:05:44 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
17:05:44 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
17:05:44 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
17:05:44 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
17:05:46 [17:05:46.033]
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:05:46 [17:05:46.045]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
17:05:46 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
17:05:46 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
17:05:46 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
17:05:46 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
17:05:46 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
17:05:46 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
17:05:46 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
17:05:46 [17:05:46.535]
INFO:
archiver Stopped.
17:05:46 [17:05:46.541]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:05:46 [17:05:46.923]
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":"0x03b562de7cd3e18ac7b88edcb19d70bc67c5933791129b606235cfabe822d42a","rollingHash":"0xfa0d5678090a2ae795c493eef6cac316"},"messageCount":6}
17:05:46 [17:05:46.924]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x03b562de7cd3e18ac7b88edcb19d70bc67c5933791129b606235cfabe822d42a","rollingHash":"0xfa0d5678090a2ae795c493eef6cac316"},"remoteMessagesState":{"messagesRollingHash":"0x4532c1179c4e189f5c13397e8d28b274","totalMessagesInserted":5,"treeInProgress":0}}
17:05:47 [17:05:47.045]
WARN:
archiver:test Reorging L1 to L2 messages
17:05:47 [17:05:47.947]
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":"0x03b562de7cd3e18ac7b88edcb19d70bc67c5933791129b606235cfabe822d42a","rollingHash":"0xfa0d5678090a2ae795c493eef6cac316"}}
17:05:47 [17:05:47.956]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
17:05:47 [17:05:47.968]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
17:05:48 [17:05:48.019]
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":"0x17ff535d736625f505c7041fcebd44b131890fb9642d6468bda84a888718efb6","rollingHash":"0x7dba3af370fcb5c029d44a31840dc50c"},"messageCount":5}
17:05:48 [17:05:48.094]
INFO:
archiver Stopped.
17:05:48 [17:05:48.104]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:05:48 [17:05:48.467]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
17:05:49 [17:05:49.340]
INFO:
archiver:test Waiting for archiver to sync to block 1
17:05:49 [17:05:49.421]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1199c29ac89f292f9760f554b05243109f7d7e2b34cbee87e402ad8374ef2ca6","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750266348110,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
17:05:49 [17:05:49.447]
INFO:
archiver Stopped.
17:05:49 [17:05:49.452]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:05:49 [17:05:49.774]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
17:05:50 [17:05:50.942]
INFO:
archiver:test Waiting for archiver to sync to block 1
17:05:51 [17:05:51.070]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0a7eec73a8e93927d858a0d6f82579e51491d9c780ad1e1ee2b06967bcd3a6e1","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750266349462,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
17:05:51 [17:05:51.158]
INFO:
archiver Stopped.
17:05:51 [17:05:51.160]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:05:51 [17:05:51.586]
INFO:
archiver:test Syncing archiver to L1 block 6
17:05:51 [17:05:51.613]
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":"0xf9542e7e96245a8c46ea768ce6a9649ee190a3cf74999ed3790f0cd4176a4e06","l1BlockNumber":0}}
17:05:51 [17:05:51.697]
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:05:51 [17:05:51.710]
INFO:
archiver Stopped.
17:05:51 [17:05:51.727]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:05:52 [17:05:52.290]
INFO:
archiver:test Syncing archiver to L1 block 7
17:05:52 [17:05:52.291]
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":"0xca8c00ae301f144de602a4dfc875c2af7ed9fa32099dc233ae12e812ac657781","l1BlockNumber":0}}
17:05:52 [17:05:52.303]
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:05:52 [17:05:52.306]
INFO:
archiver Stopped.
17:05:52 [17:05:52.308]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:05:52 [17:05:52.924]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
17:05:53 [17:05:53.837]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0dc72bc5640dcd33e908c0a3a7aaf72f62ac852e6b6cc4d27bd716a2469365bd","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750266352320,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
17:05:53 [17:05:53.840]
INFO:
archiver Stopped.
17:05:53 [17:05:53.842]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:05:54 [17:05:54.164]
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":"0x39e6978e39924f3f38740b24e15fdb005c357cdf838982ce31d4a545dd763e42","l1BlockNumber":0}}
17:05:54 [17:05:54.179]
INFO:
archiver Stopped.
17:05:54 [17:05:54.182]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:05:57 [17:05:57.573]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x23a991bff363903c8455aca55165044bf7e2a2ef2aba2e0b3f35c934cf5510bc","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750266354194,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
17:05:57 [17:05:57.574]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0b41e99829e9f8380d6f6daa36eae80b4f5d6d7682c4a5410705d1baf6a64bb2","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750266354206,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
17:05:58 [17:05:58.789]
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:05:59 [17:05:59.854]
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:05:59 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
17:05:59 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
17:05:59 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
17:05:59 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1408:7
17:05:59 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:05:59 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:05:59 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
17:05:59 newBlockNumber: 3,
17:05:59 previousBlockNumber: 1
17:05:59 }
17:05:59 [17:05:59.886]
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":"0x23a991bff363903c8455aca55165044bf7e2a2ef2aba2e0b3f35c934cf5510bc","newBlockNumber":3,"updatedL1SyncPoint":70}
17:05:59 [17:05:59.888]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
17:05:59 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
17:05:59 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
17:05:59 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
17:05:59 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1408:7
17:05:59 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:05:59 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:05:59 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
17:05:59 newBlockNumber: 3,
17:05:59 previousBlockNumber: 1
17:05:59 }
17:06:01 [17:06:01.094]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0b41e99829e9f8380d6f6daa36eae80b4f5d6d7682c4a5410705d1baf6a64bb2","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750266354206,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
17:06:01 [17:06:01.095]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x10e731374336bd9bcc1159cada8e3c849931c5278d1730482a2cb1d62da759fb","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750266354218,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
17:06:01 [17:06:01.134]
INFO:
archiver Stopped.
17:06:01
PASS src/archiver/archiver.test.ts (
35.793 s)
17:06:01 Archiver
17:06:01
✓ syncs l1 to l2 messages and blocks (4466 ms)
17:06:01
✓ ignores block 3 because it has been pruned (3080 ms)
17:06:01
✓ skip event search if no changes found (4056 ms)
17:06:01
✓ handles L2 reorg (6521 ms)
17:06:01
✓ handles updated messages due to L1 reorg (1556 ms)
17:06:01
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1353 ms)
17:06:01
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1708 ms)
17:06:01
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (552 ms)
17:06:01
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (595 ms)
17:06:01
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1534 ms)
17:06:01
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (340 ms)
17:06:01
✓ handles a block gap due to a spurious L2 prune (6954 ms)
17:06:01
○ skipped handles an upcoming L2 prune
17:06:01
17:06:01
Test Suites: 1 passed, 1 total
17:06:01
Tests: 1 skipped,
12 passed, 13 total
17:06:01
Snapshots: 0 total
17:06:01
Time: 35.893 s
17:06:01
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
17:06:01
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?