Parent Log:
http://ci.aztec-labs.com/c81d42f03fadf137
Command: a5511b51e55ea9c0 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/9cbd161a1dfa928167c1f969200b95df55ed4c6b
Env: REF_NAME=gh-readonly-queue/next/pr-15157-6e3848bbd6845559b55825f0bc64df0673272969 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Fri Jun 20 09:42:10 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15157_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
09:42:14 [09:42:14.745]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:42:17 [09:42:17.614]
INFO:
archiver:test Waiting for archiver to sync to block 3
09:42:17 [09:42:17.631]
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":"0x05e24926591e10e0b7ff50361c29549d7baa925e43ee1420b3ca28bcf49f6af9","rollingHash":"0xabb738633b3861c59e1ea22e8dfc4646"},"messageCount":2}
09:42:17 [09:42:17.752]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1d78464b1087f02c042e696dd236c337a99a615723535d44fa74c69f80a27a61","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750412534735,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
09:42:18 [09:42:18.771]
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":"0x01d7ef0f0635e5c56978cda9a352988858adcd4eded3ad8e9424ff7f981c391e","rollingHash":"0x1e17994ee3ad06e0aef72402f53a7c93"},"messageCount":4}
09:42:18 [09:42:18.803]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
09:42:18 [09:42:18.968]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0c9360f9e245b9e2bd63358c7cb0a0502c39be40bf90ac3fcc6c59f207c5a37e","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750412534747,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
09:42:18 [09:42:18.969]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x0488ffbb282f586548c9df630c8dddb1846118745a5c65d18d0fbf627e18d019","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750412534759,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
09:42:19 [09:42:19.134]
INFO:
archiver Stopped.
09:42:19 [09:42:19.141]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:42:21 [09:42:21.652]
INFO:
archiver:test Waiting for archiver to sync to block 2
09:42:21 [09:42:21.660]
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":"0x2d8dc6cc350c914f78b281bb1a28fdd0041a0d602d2becc9dbb856937eb421a8","rollingHash":"0x652632587b0fd9315f66c3315dc144ae"},"messageCount":2}
09:42:21 [09:42:21.677]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x25a79c11bafcfe1fcf04e96914df63c6d4005fe21482ac59e6c3c42280b8f99d","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
09:42:21 [09:42:21.777]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x175bd552fc0078cdec430864cc3d5358c6d02e6e0b8c5f22a933686adcf86b87","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750412539150,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
09:42:21 [09:42:21.778]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x12979f54cbeed445146ff4d39ad84bb3ab89ec1d83e78032346d8cb2987cea6d","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750412539162,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
09:42:21 [09:42:21.866]
INFO:
archiver Stopped.
09:42:21 [09:42:21.870]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:42:24 [09:42:24.468]
INFO:
archiver:test Waiting for archiver to sync to block 2
09:42:25 [09:42:25.491]
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":"0x018a496e68594b4ea149f2170cd137c0271138b04b41fa1ee3b717e216415a5b","rollingHash":"0xb443e7d6406f55de4d299441c1302ca6"},"messageCount":2}
09:42:25 [09:42:25.670]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1cd2a46b107e147456cf3cb2dc3c2ea11a9e50af0716a6510e7d5c8ccb40b3fb","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750412541879,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
09:42:25 [09:42:25.671]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1729075b381ac833face002de2ab00be1733612bf534809cc23d23682120079d","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750412541891,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
09:42:25 [09:42:25.758]
INFO:
archiver Stopped.
09:42:25 [09:42:25.760]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:42:28 [09:42:28.627]
INFO:
archiver:test Waiting for archiver to sync to block 2
09:42:28 [09:42:28.662]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
09:42:28 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
09:42:28 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
09:42:28 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
09:42:28 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
09:42:28 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
09:42:28 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
09:42:28 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
09:42:29 [09:42:29.673]
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":"0x2d59e5e6b061e92cdad3f79a919aafbbf5db1e831ab814617568c07e9614f1f0","rollingHash":"0x2e896e57c17e24dca5af9c86a306364c"},"messageCount":2}
09:42:29 [09:42:29.825]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2c90fd39ba211bc276c98b231f507065def7b720c2c211e74f09f88cc7be95bc","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750412545772,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
09:42:29 [09:42:29.826]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x207183df4dbd892ce45c8c1dd66a28fcbc0557c065956ec321507dbf12ff4940","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750412545784,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
09:42:29 [09:42:29.828]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
09:42:29 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
09:42:29 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
09:42:29 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
09:42:29 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
09:42:29 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
09:42:29 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
09:42:29 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
09:42:30 [09:42:30.971]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
09:42:30 [09:42:30.975]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
09:42:30 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
09:42:30 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
09:42:30 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
09:42:30 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
09:42:30 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
09:42:30 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
09:42:30 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
09:42:31 [09:42:31.928]
INFO:
archiver Stopped.
09:42:31 [09:42:31.932]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:42:32 [09:42:32.391]
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":"0x2ec3196a9c7ffd40b784c1b55dccb995e0bdbb5ae0beab1fa3f41225b9024b36","rollingHash":"0x9007370323e2e58c997e816d390a122f"},"messageCount":6}
09:42:32 [09:42:32.392]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x2ec3196a9c7ffd40b784c1b55dccb995e0bdbb5ae0beab1fa3f41225b9024b36","rollingHash":"0x9007370323e2e58c997e816d390a122f"},"remoteMessagesState":{"messagesRollingHash":"0xe191cd331a4b86e4b5cdb75ebd73ba51","totalMessagesInserted":5,"treeInProgress":0}}
09:42:32 [09:42:32.485]
WARN:
archiver:test Reorging L1 to L2 messages
09:42:33 [09:42:33.412]
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":"0x2ec3196a9c7ffd40b784c1b55dccb995e0bdbb5ae0beab1fa3f41225b9024b36","rollingHash":"0x9007370323e2e58c997e816d390a122f"}}
09:42:33 [09:42:33.415]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
09:42:33 [09:42:33.417]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
09:42:33 [09:42:33.442]
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":"0x07790309df71749e4d2abe1bd5936e15e951225778ab06515b630fa6e543a030","rollingHash":"0x1a3d8d88d06134596a295e9d5d94bc39"},"messageCount":5}
09:42:33 [09:42:33.511]
INFO:
archiver Stopped.
09:42:33 [09:42:33.513]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:42:34 [09:42:34.083]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
09:42:34 [09:42:34.990]
INFO:
archiver:test Waiting for archiver to sync to block 1
09:42:35 [09:42:35.095]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x244b832ee9d47f0e5884be9cb575dcd8a94faf647491f8314048e98476479213","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750412553525,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
09:42:35 [09:42:35.106]
INFO:
archiver Stopped.
09:42:35 [09:42:35.113]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:42:35 [09:42:35.814]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
09:42:36 [09:42:36.699]
INFO:
archiver:test Waiting for archiver to sync to block 1
09:42:36 [09:42:36.774]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x085d727a3f83cfa95238d4e4648dce80db120298500f443256869f050abe0ceb","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750412555124,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
09:42:36 [09:42:36.802]
INFO:
archiver Stopped.
09:42:36 [09:42:36.804]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:42:37 [09:42:37.147]
INFO:
archiver:test Syncing archiver to L1 block 6
09:42:37 [09:42:37.148]
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":"0x1af285fb88f3f684b5ecd7cd9a5a5c8aad029d326d8cfaf8035762bdc5dc2709","l1BlockNumber":0}}
09:42:37 [09:42:37.165]
INFO:
archiver Initial archiver sync to L1 block 6 complete.
{"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
09:42:37 [09:42:37.167]
INFO:
archiver Stopped.
09:42:37 [09:42:37.169]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:42:37 [09:42:37.498]
INFO:
archiver:test Syncing archiver to L1 block 7
09:42:37 [09:42:37.499]
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":"0xda75e6ef97fdaaf8d325a1e8bd8454f3cc787ebdbafd3a64b1ac0c5dfb8f44f3","l1BlockNumber":0}}
09:42:37 [09:42:37.508]
INFO:
archiver Initial archiver sync to L1 block 7 complete.
{"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
09:42:37 [09:42:37.510]
INFO:
archiver Stopped.
09:42:37 [09:42:37.512]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:42:38 [09:42:38.116]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
09:42:39 [09:42:39.140]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x20eac099b74e679b0e9101e323c678d1cad90abf53f645700c6bda8d8d3f799d","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750412557523,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
09:42:39 [09:42:39.145]
INFO:
archiver Stopped.
09:42:39 [09:42:39.146]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:42:39 [09:42:39.795]
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":"0x60b59afe2db38ad24e21d50e05041ab7121928fc35529f593ec7098fdce4e66b","l1BlockNumber":0}}
09:42:39 [09:42:39.859]
INFO:
archiver Stopped.
09:42:39 [09:42:39.870]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:42:43 [09:42:43.045]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2b0a60672120ed41ad69d28cd37251ad0b99121b11e9017aa5ae52c56114ba89","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750412559872,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
09:42:43 [09:42:43.046]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x112342be26689192b3326e0a149911369d0df00017adffe234c63dbe49a5dc86","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750412559884,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
09:42:44 [09:42:44.209]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
09:42:45 [09:42:45.255]
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
09:42:45 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
09:42:45 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
09:42:45 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
09:42:45 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1408:7
09:42:45 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
09:42:45 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
09:42:45 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
09:42:45 newBlockNumber: 3,
09:42:45 previousBlockNumber: 1
09:42:45 }
09:42:45 [09:42:45.278]
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":"0x2b0a60672120ed41ad69d28cd37251ad0b99121b11e9017aa5ae52c56114ba89","newBlockNumber":3,"updatedL1SyncPoint":70}
09:42:45 [09:42:45.279]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
09:42:45 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
09:42:45 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
09:42:45 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
09:42:45 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1408:7
09:42:45 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
09:42:45 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
09:42:45 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
09:42:45 newBlockNumber: 3,
09:42:45 previousBlockNumber: 1
09:42:45 }
09:42:46 [09:42:46.412]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x112342be26689192b3326e0a149911369d0df00017adffe234c63dbe49a5dc86","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750412559884,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
09:42:46 [09:42:46.413]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x01c60128af047d0c3a0fd8682df27dd8347c4e83d1957b53aac1c37da8d13178","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750412559896,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
09:42:46 [09:42:46.465]
INFO:
archiver Stopped.
09:42:46
PASS src/archiver/archiver.test.ts (
35.502 s)
09:42:46 Archiver
09:42:46
✓ syncs l1 to l2 messages and blocks (4414 ms)
09:42:46
✓ ignores block 3 because it has been pruned (2729 ms)
09:42:46
✓ skip event search if no changes found (3892 ms)
09:42:46
✓ handles L2 reorg (6170 ms)
09:42:46
✓ handles updated messages due to L1 reorg (1582 ms)
09:42:46
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1599 ms)
09:42:46
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1691 ms)
09:42:46
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (364 ms)
09:42:46
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (342 ms)
09:42:46
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1634 ms)
09:42:46
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (714 ms)
09:42:46
✓ handles a block gap due to a spurious L2 prune (6605 ms)
09:42:46
○ skipped handles an upcoming L2 prune
09:42:46
09:42:46
Test Suites: 1 passed, 1 total
09:42:46
Tests: 1 skipped,
12 passed, 13 total
09:42:46
Snapshots: 0 total
09:42:46
Time: 35.577 s
09:42:46
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
09:42:46
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?