Parent Log: http://ci.aztec-labs.com/9033354ff6409726 Command: d2b17a71056754a7 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/b70544b6d50e3ecb6598361f1990bd51745c7b55 Env: REF_NAME=gh-readonly-queue/next/pr-15046-96a426245731b3f48fcb6dd5e2a683c858706602 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Mon Jun 16 22:38:18 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15046_amd64_x1-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next 22:38:22 [22:38:22.451] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:25 [22:38:25.357] INFO: archiver:test Waiting for archiver to sync to block 3 22:38:25 [22:38:25.379] 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":"0x1248e8d11f5f398bcfa5c25fe65032f6f589662aee0b7c8467b236f8fe07202c","rollingHash":"0x835108a1e85d55213176da977cf79c09"},"messageCount":2} 22:38:25 [22:38:25.494] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x11276109d1ff4b0c848c532da32d7eeeafac8efd23d2ca6776af5c87af7333ea","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750113502441,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 22:38:26 [22:38:26.516] 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":"0x1b569239840cbf7f4508740939ca380826dcf0fcbc6106e88d690f480fa6ff21","rollingHash":"0x0a454e9837603a4ebd0056e7b8ff44dc"},"messageCount":4} 22:38:26 [22:38:26.547] INFO: archiver Updated proven chain to block 1 {"provenBlockNumber":1} 22:38:26 [22:38:26.716] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x22fd86a8ebe7ca3371e8f1b9a7fa94357994e914ab63ca047561214753b8a46b","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750113502453,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 22:38:26 [22:38:26.717] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x07807b37fc08700bb2125c57f186247567c247a7967962f929283685fcaa03f7","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750113502465,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 22:38:26 [22:38:26.890] INFO: archiver Stopped. 22:38:26 [22:38:26.896] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:29 [22:38:29.539] INFO: archiver:test Waiting for archiver to sync to block 2 22:38:29 [22:38:29.552] 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":"0x2f7dfa4a7693923e7ce43cbb691c033a9fed0995ab550a9afbd2b1e01196577c","rollingHash":"0xd35097636a906c978d2b85733fb9b24b"},"messageCount":2} 22:38:29 [22:38:29.582] WARN: archiver Ignoring L2 block 3 due to archive root mismatch {"actual":"0x05bed8db3ae540da3227620ce4878d256a1fb9258543e1e4a29f582c3cc09d3c","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"} 22:38:29 [22:38:29.731] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x028427a16168358c26172d8e079b9824c7919d90f9bb04f83937710f59815aa5","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750113506907,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 22:38:29 [22:38:29.732] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x1a5bc04943f1c6293032ce45ba60cdcc7c87e233d6cda5ed2d1c3de0d74c807e","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750113506919,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 22:38:29 [22:38:29.820] INFO: archiver Stopped. 22:38:29 [22:38:29.824] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:32 [22:38:32.907] INFO: archiver:test Waiting for archiver to sync to block 2 22:38:33 [22:38:33.943] 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":"0x0f9e9fa8ff998d29bd5c778d25986d99320f826e9cf778a2ce541ea8ebf24342","rollingHash":"0xaf0d5bdaee0fb398e8b071b48f524394"},"messageCount":2} 22:38:34 [22:38:34.087] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x255a5068b53bb240dfd71005769ff7e97db9aa5effa4f4953908adc5a2badde3","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750113509835,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 22:38:34 [22:38:34.088] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x1bc47426f991586b842f2c70cba540981eb0c25cd77efb77f0cab67415228cf9","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750113509847,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 22:38:34 [22:38:34.173] INFO: archiver Stopped. 22:38:34 [22:38:34.176] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:36 [22:38:36.945] INFO: archiver:test Waiting for archiver to sync to block 2 22:38:37 [22:38:37.002] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200 22:38:37 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 22:38:37 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 22:38:37 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 22:38:37 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 22:38:37 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 22:38:37 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 22:38:37 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 22:38:38 [22:38:38.013] 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":"0x1ff1b52dbc84f0288ae4664202eddf0105057536e866b4b2ae418725d3c6ef6c","rollingHash":"0x13c476862ce7a36f5b57b5799975c9fd"},"messageCount":2} 22:38:38 [22:38:38.156] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x1c3c949171a37620f28a7c8c417d0272d8939f03cb0452bd266c42209498847b","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750113514187,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 22:38:38 [22:38:38.157] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x2ae5de690d8d7026e89ac57043b0ef4293300ae9741025f798bcf700a495be84","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750113514199,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 22:38:38 [22:38:38.161] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400 22:38:38 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 22:38:38 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 22:38:38 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 22:38:38 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 22:38:38 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 22:38:38 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 22:38:38 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 22:38:39 [22:38:39.323] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1. 22:38:39 [22:38:39.326] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600 22:38:39 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 22:38:39 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 22:38:39 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 22:38:39 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 22:38:39 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 22:38:39 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 22:38:39 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 22:38:40 [22:38:40.258] INFO: archiver Stopped. 22:38:40 [22:38:40.262] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:40 [22:38:40.628] 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":"0x0aee59ea173a006b07ed4d46f4be62f994cdf86ee7eacbdd065dd859995f0c28","rollingHash":"0xf8c7007a4b189f3f2a33bd6bb8b19a3b"},"messageCount":6} 22:38:40 [22:38:40.629] WARN: archiver Last message retrieved rolling hash does not match remote state. {"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x0aee59ea173a006b07ed4d46f4be62f994cdf86ee7eacbdd065dd859995f0c28","rollingHash":"0xf8c7007a4b189f3f2a33bd6bb8b19a3b"},"remoteMessagesState":{"messagesRollingHash":"0x1df3d3e649a66c39a9a43e7d807208ff","totalMessagesInserted":5,"treeInProgress":0}} 22:38:40 [22:38:40.722] WARN: archiver:test Reorging L1 to L2 messages 22:38:41 [22:38:41.640] 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":"0x0aee59ea173a006b07ed4d46f4be62f994cdf86ee7eacbdd065dd859995f0c28","rollingHash":"0xf8c7007a4b189f3f2a33bd6bb8b19a3b"}} 22:38:41 [22:38:41.642] WARN: archiver Deleting all local L1 to L2 messages after index 33 22:38:41 [22:38:41.645] WARN: archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store 22:38:41 [22:38:41.662] 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":"0x2a34b6cd0c84b0827f53fc37f59e36a8ac65440a96b2d5626649ee678d9a0b27","rollingHash":"0x635e3ff3c579335878bec5323a28c79f"},"messageCount":5} 22:38:41 [22:38:41.760] INFO: archiver Stopped. 22:38:41 [22:38:41.762] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:42 [22:38:42.117] INFO: archiver:test Syncing L2 block on slot 2 mined in L1 block 4 22:38:43 [22:38:43.038] INFO: archiver:test Waiting for archiver to sync to block 1 22:38:43 [22:38:43.151] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x192b643481403d4d8c855aeadf24d508fd174f3e4834bace09b3f68ccdfdb545","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750113521773,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 22:38:43 [22:38:43.248] INFO: archiver Stopped. 22:38:43 [22:38:43.251] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:43 [22:38:43.689] INFO: archiver:test Syncing L2 block on slot 3 mined in L1 block 6 22:38:44 [22:38:44.830] INFO: archiver:test Waiting for archiver to sync to block 1 22:38:45 [22:38:45.124] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x146181c0330156b22124a9bc2584fdcafdf7cd6d3e7278869b38bce2ac8791c5","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750113523262,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 22:38:45 [22:38:45.223] INFO: archiver Stopped. 22:38:45 [22:38:45.241] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:46 [22:38:46.340] INFO: archiver:test Syncing archiver to L1 block 6 22:38:46 [22:38:46.347] 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":"0x07430157747f9c2ff4abe167fde6e78903753cf242d258b9c228aac115ddf894","l1BlockNumber":0}} 22:38:46 [22:38:46.381] 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}} 22:38:46 [22:38:46.383] INFO: archiver Stopped. 22:38:46 [22:38:46.397] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:46 [22:38:46.768] INFO: archiver:test Syncing archiver to L1 block 7 22:38:46 [22:38:46.770] 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":"0x12ec22a3c8f828f2516822e9e608e33b1c7d580b9699fa751df77fe002ef2982","l1BlockNumber":0}} 22:38:46 [22:38:46.800] 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}} 22:38:46 [22:38:46.802] INFO: archiver Stopped. 22:38:46 [22:38:46.806] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:47 [22:38:47.214] INFO: archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2 22:38:48 [22:38:48.723] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x0bd92f63148c6670db7557b851e841a9bcd77eccffc2cf1c7ea164e96658b67a","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750113526816,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 22:38:48 [22:38:48.729] INFO: archiver Stopped. 22:38:48 [22:38:48.731] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:49 [22:38:49.171] 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":"0x7b5506f2355c8c4801e84b6663799f543cdf118efad1a4816e01f4ff33c83a1f","l1BlockNumber":0}} 22:38:49 [22:38:49.193] INFO: archiver Stopped. 22:38:49 [22:38:49.195] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:53 [22:38:53.209] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x2afcd6df300620a91def6c65987c3e8f1243d8b1746fcbf132087e1d8ad3a4b7","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750113529207,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 22:38:53 [22:38:53.210] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x148e7c1ec6fb4bfbb480cb2e1ce05e0b07a041932ec73113f13c3dc524a0627f","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750113529219,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 22:38:54 [22:38:54.359] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1. 22:38:55 [22:38:55.430] 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 22:38:55 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 22:38:55 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 22:38:55 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12) 22:38:55 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7 22:38:55 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 22:38:55 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 22:38:55 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 22:38:55 newBlockNumber: 3, 22:38:55 previousBlockNumber: 1 22:38:55 } 22:38:55 [22:38:55.460] 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":"0x2afcd6df300620a91def6c65987c3e8f1243d8b1746fcbf132087e1d8ad3a4b7","newBlockNumber":3,"updatedL1SyncPoint":70} 22:38:55 [22:38:55.461] ERROR: archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1 22:38:55 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 22:38:55 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 22:38:55 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12) 22:38:55 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7 22:38:55 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 22:38:55 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 22:38:55 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 22:38:55 newBlockNumber: 3, 22:38:55 previousBlockNumber: 1 22:38:55 } 22:38:56 [22:38:56.608] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x148e7c1ec6fb4bfbb480cb2e1ce05e0b07a041932ec73113f13c3dc524a0627f","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750113529219,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 22:38:56 [22:38:56.609] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x186adfca9a999bd25679b0602c4db18f3f2164f266ab1ce0c4d9430f76fd9305","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750113529231,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 22:38:56 [22:38:56.706] INFO: archiver Stopped. 22:38:56 PASS src/archiver/archiver.test.ts (37.261 s) 22:38:56 Archiver 22:38:56 syncs l1 to l2 messages and blocks (4463 ms) 22:38:56 ignores block 3 because it has been pruned (2927 ms) 22:38:56 skip event search if no changes found (4351 ms) 22:38:56 handles L2 reorg (6085 ms) 22:38:56 handles updated messages due to L1 reorg (1500 ms) 22:38:56 reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1488 ms) 22:38:56 reports an epoch as complete if the current L2 block is in the last slot of the epoch (1974 ms) 22:38:56 reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (1158 ms) 22:38:56 reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (419 ms) 22:38:56 reports an epoch as complete due to timestamp only once all its blocks have been synced (1926 ms) 22:38:56 starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (464 ms) 22:38:56 handles a block gap due to a spurious L2 prune (7513 ms) 22:38:56 skipped handles an upcoming L2 prune 22:38:56 22:38:56 Test Suites: 1 passed, 1 total 22:38:56 Tests: 1 skipped, 12 passed, 13 total 22:38:56 Snapshots: 0 total 22:38:56 Time: 37.391 s 22:38:56 Ran all test suites matching archiver/src/archiver/archiver.test.ts. 22:38:56 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?