Parent Log: http://ci.aztec-labs.com/4b713613dbcdc560 Command: 5d6e163c4654d5d0 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/ada03190841b1923625905b0e6ea3bdc4a3b3e84 Env: REF_NAME=gh-readonly-queue/next/pr-14953-1650b3d017a2a4fa5182c8787e79cc108e24e1f4 CURRENT_VERSION=0.87.6 CI_FULL=0 Date: Thu Jun 12 10:51:38 UTC 2025 System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-14953_arm64_a1-fast Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next 10:51:41 [10:51:41.125] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:51:43 [10:51:43.813] INFO: archiver:test Waiting for archiver to sync to block 3 10:51:43 [10:51:43.827] 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":"0x2fbf49d59d336a4f3fa273155f613c0886940c7485389bd7296dedc4f7382888","rollingHash":"0x85b4f2275d34a8d6cc52a03bc4b2ae9a"},"messageCount":2} 10:51:43 [10:51:43.895] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x171dd0e3a6b9ccc282009ffa3311dbf0c209a185653c89635c3bd22c45acf5bd","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749725501133,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 10:51:44 [10:51:44.910] 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":"0x204c326d76af1b3feaed6641d4e7cc07e3f766348ec72f6026af9716bbd1c907","rollingHash":"0x9832f8296a8a6101c483abf2bf6ce757"},"messageCount":4} 10:51:44 [10:51:44.933] INFO: archiver Updated proven chain to block 1 {"provenBlockNumber":1} 10:51:45 [10:51:45.048] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x2f81e4b158c00e4be66ad21bdf77f455ccefb32ace9b336ae3cde7e224fd3de6","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749725501145,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 10:51:45 [10:51:45.049] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x1dc1dca3bac68ed1c63ff0d764f6fe2091c3a62ca0747efb6d082020d965db0a","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1749725501157,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 10:51:45 [10:51:45.230] INFO: archiver Stopped. 10:51:45 [10:51:45.234] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:51:47 [10:51:47.713] INFO: archiver:test Waiting for archiver to sync to block 2 10:51:47 [10:51:47.723] 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":"0x1381253e1f4c5cfdc8c4adbbcf97021556ff38b2be60c8a7f40cc57fc5f39c65","rollingHash":"0x3a5fdcaa56932b9869fc118768fe7ba3"},"messageCount":2} 10:51:47 [10:51:47.738] WARN: archiver Ignoring L2 block 3 due to archive root mismatch {"actual":"0x2fc35c5e2d0a02fe592466dac3898e4cf4b4ceef1a499fc4b7bb14fc65b81534","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"} 10:51:47 [10:51:47.818] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x295877c3232fa2378354572a474b34f5f578439ea399972577fc11a3db4f8e6c","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749725505245,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 10:51:47 [10:51:47.818] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x012670aa61524a3d853e0240407047dc4ac8464a3069da8f5ff8a79791910c3b","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749725505257,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 10:51:47 [10:51:47.916] INFO: archiver Stopped. 10:51:47 [10:51:47.917] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:51:50 [10:51:50.396] INFO: archiver:test Waiting for archiver to sync to block 2 10:51:51 [10:51:51.421] 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":"0x2a5e208261484557eaedd6f52cc3cb188fda61f5fe9174146184cebd92811eed","rollingHash":"0x1e2addb4ad495dbe7c299e6b84fc3ace"},"messageCount":2} 10:51:51 [10:51:51.514] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x27833915bdd9c581bc12e8891661e998c64ef4e610fc731c64bf726bf3ca5717","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749725507929,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 10:51:51 [10:51:51.514] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x045a85e44edaea9072942d7d982bd5c99bc30638195c5007b882c88bb7310d9e","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749725507941,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 10:51:51 [10:51:51.604] INFO: archiver Stopped. 10:51:51 [10:51:51.605] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:51:54 [10:51:54.082] INFO: archiver:test Waiting for archiver to sync to block 2 10:51:54 [10:51:54.117] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200 10:51:54 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 10:51:54 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:326:9) 10:51:54 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 10:51:54 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 10:51:54 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 10:51:54 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 10:51:54 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 10:51:55 [10:51:55.124] 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":"0x2ab37999762f1680aa6b060ed287931e3466018ccd507ece698f314740be464d","rollingHash":"0xe9aca3b11ef5288379a2c9fb2a91b4a0"},"messageCount":2} 10:51:55 [10:51:55.216] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x1fe113f9f655647e3220d561126266850560df4b941ee5558930175014e9c476","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749725511617,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 10:51:55 [10:51:55.217] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x2ef0468d3c569f7ced1a1a8fda19744e348926149df2e0c3e5ddaa829f0e646c","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749725511629,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 10:51:55 [10:51:55.219] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400 10:51:55 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 10:51:55 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:326:9) 10:51:55 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 10:51:55 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 10:51:55 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 10:51:55 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 10:51:55 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 10:51:56 [10:51:56.305] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1. 10:51:56 [10:51:56.307] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600 10:51:56 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 10:51:56 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:326:9) 10:51:56 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 10:51:56 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 10:51:56 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 10:51:56 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 10:51:56 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 10:51:57 [10:51:57.325] ERROR: archiver Error in running promise: TypeError: (intermediate value) is not iterable 10:51:57 at Archiver.handleL2blocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:595:7) 10:51:57 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:326:28) 10:51:57 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 10:51:57 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 10:51:57 at RunningPromise.stop (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:82:9) 10:51:57 at Archiver.stop (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:882:5) 10:51:57 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.test.ts:248:5) 10:51:57 [10:51:57.325] INFO: archiver Stopped. 10:51:57 [10:51:57.326] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:51:57 [10:51:57.569] 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":"0x04ac9c8d8f82616786bbc5f97cc2175a2889d8629bc4d9524604a990999753a8","rollingHash":"0xc6bf8d04745e493530c08c7f29fd6c02"},"messageCount":6} 10:51:57 [10:51:57.570] WARN: archiver Last message retrieved rolling hash does not match remote state. {"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x04ac9c8d8f82616786bbc5f97cc2175a2889d8629bc4d9524604a990999753a8","rollingHash":"0xc6bf8d04745e493530c08c7f29fd6c02"},"remoteMessagesState":{"messagesRollingHash":"0x84275e3c99e19202097fed1bc9ce057c","totalMessagesInserted":5,"treeInProgress":0}} 10:51:57 [10:51:57.665] WARN: archiver:test Reorging L1 to L2 messages 10:51:58 [10:51:58.577] 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":"0x04ac9c8d8f82616786bbc5f97cc2175a2889d8629bc4d9524604a990999753a8","rollingHash":"0xc6bf8d04745e493530c08c7f29fd6c02"}} 10:51:58 [10:51:58.579] WARN: archiver Deleting all local L1 to L2 messages after index 33 10:51:58 [10:51:58.580] WARN: archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store 10:51:58 [10:51:58.592] 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":"0x216352401ae66d2412465da4780d9a7cc31a1afbfdd68fc7706c42c8323883e7","rollingHash":"0xa99fc34583f26038d44cafae6fd0bf23"},"messageCount":5} 10:51:58 [10:51:58.674] INFO: archiver Stopped. 10:51:58 [10:51:58.676] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:51:58 [10:51:58.911] INFO: archiver:test Syncing L2 block on slot 2 mined in L1 block 4 10:51:59 [10:51:59.647] INFO: archiver:test Waiting for archiver to sync to block 1 10:51:59 [10:51:59.705] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x2a020fee884b39161e5e5e09b63a57d15cb7b72589a8d181440e9b95266ceb9e","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749725518687,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 10:51:59 [10:51:59.750] INFO: archiver Stopped. 10:51:59 [10:51:59.752] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:51:59 [10:51:59.985] INFO: archiver:test Syncing L2 block on slot 3 mined in L1 block 6 10:52:00 [10:52:00.729] INFO: archiver:test Waiting for archiver to sync to block 1 10:52:00 [10:52:00.791] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x1f235a5c8fbd677d176b6d12ac5e6c563470626b6613991272e19aac4ab115a1","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1749725519763,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 10:52:00 [10:52:00.831] INFO: archiver Stopped. 10:52:00 [10:52:00.832] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:52:01 [10:52:01.089] INFO: archiver:test Syncing archiver to L1 block 6 10:52:01 [10:52:01.091] 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":"0x718ab37488af1ce15506b923f6ef961ba3736226ceea5fa4906139efe8c6ccb5","l1BlockNumber":0}} 10:52:01 [10:52:01.105] 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}} 10:52:01 [10:52:01.107] INFO: archiver Stopped. 10:52:01 [10:52:01.109] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:52:01 [10:52:01.357] INFO: archiver:test Syncing archiver to L1 block 7 10:52:01 [10:52:01.358] 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":"0x38ccdce535bd41354d3013a2ad487feba7f55e9b7343e120ceb2b0f1362aa9df","l1BlockNumber":0}} 10:52:01 [10:52:01.373] 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}} 10:52:01 [10:52:01.375] INFO: archiver Stopped. 10:52:01 [10:52:01.376] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:52:01 [10:52:01.625] INFO: archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2 10:52:02 [10:52:02.419] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x17e832fe09e5f2f26d58aae5e8c6d2739047019b399b21748064bc4681ca5fde","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749725521388,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 10:52:02 [10:52:02.422] INFO: archiver Stopped. 10:52:02 [10:52:02.424] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:52:02 [10:52:02.663] 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":"0x1dff73ff64bdc1e25433d437fafaf4ca82a742612ea0050abc72e6a75402ab48","l1BlockNumber":0}} 10:52:02 [10:52:02.665] INFO: archiver Stopped. 10:52:02 [10:52:02.666] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:52:05 [10:52:05.270] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x2e19a9abb7832a26b820d6c7c7c240153351268e38eee4df8494ae289f900384","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749725522678,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 10:52:05 [10:52:05.270] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x115abc137b24b912d5f1191e7a19df3d91cd314ef324ccba9dca797eebb96af8","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749725522690,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 10:52:06 [10:52:06.350] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1. 10:52:07 [10:52:07.387] 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 10:52:07 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 10:52:07 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 10:52:07 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12) 10:52:07 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1411:7 10:52:07 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 10:52:07 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 10:52:07 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 10:52:07 newBlockNumber: 3, 10:52:07 previousBlockNumber: 1 10:52:07 } 10:52:07 [10:52:07.405] 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":"0x2e19a9abb7832a26b820d6c7c7c240153351268e38eee4df8494ae289f900384","newBlockNumber":3,"updatedL1SyncPoint":70} 10:52:07 [10:52:07.406] ERROR: archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1 10:52:07 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 10:52:07 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 10:52:07 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12) 10:52:07 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1411:7 10:52:07 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 10:52:07 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 10:52:07 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 10:52:07 newBlockNumber: 3, 10:52:07 previousBlockNumber: 1 10:52:07 } 10:52:08 [10:52:08.516] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x115abc137b24b912d5f1191e7a19df3d91cd314ef324ccba9dca797eebb96af8","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749725522690,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 10:52:08 [10:52:08.517] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x1ee52d6d3e7f70afde59f6e7b46f4bf8d202c32351383a15ede6766849b1d690","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1749725522702,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 10:52:08 [10:52:08.604] INFO: archiver Stopped. 10:52:08 PASS src/archiver/archiver.test.ts (29.464 s) 10:52:08 Archiver 10:52:08 syncs l1 to l2 messages and blocks (4112 ms) 10:52:08 ignores block 3 because it has been pruned (2683 ms) 10:52:08 skip event search if no changes found (3688 ms) 10:52:08 handles L2 reorg (5720 ms) 10:52:08 handles updated messages due to L1 reorg (1349 ms) 10:52:08 reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1076 ms) 10:52:08 reports an epoch as complete if the current L2 block is in the last slot of the epoch (1080 ms) 10:52:08 reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (275 ms) 10:52:08 reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (267 ms) 10:52:08 reports an epoch as complete due to timestamp only once all its blocks have been synced (1047 ms) 10:52:08 starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (242 ms) 10:52:08 handles a block gap due to a spurious L2 prune (5940 ms) 10:52:08 skipped handles an upcoming L2 prune 10:52:08 10:52:08 Test Suites: 1 passed, 1 total 10:52:08 Tests: 1 skipped, 12 passed, 13 total 10:52:08 Snapshots: 0 total 10:52:08 Time: 29.534 s 10:52:08 Ran all test suites matching /archiver\/src\/archiver\/archiver.test.ts/i. 10:52:08 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?