Parent Log:
http://ci.aztec-labs.com/392f1be801fc367c
Command: e4e37220d2336322 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/282da3bd25d49b92970e6fc85f110092e8566299
Env: REF_NAME=gh-readonly-queue/next/pr-14610-ee24aac96469b4f1cb8d70e614b2dd27bf0eb134 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 24 14:17:10 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14610_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
14:17:14 [14:17:14.564]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:17 [14:17:17.359]
INFO:
archiver:test Waiting for archiver to sync to block 3
14:17:17 [14:17:17.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":"0x1231595426aef28186303bce9bae0632204da8df1f783d527671f2be9af7b003","rollingHash":"0xa55e5984089dcedc4687be0de475043e"},"messageCount":2}
14:17:17 [14:17:17.513]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1427707e4dc95e4b71497da7e35228df3b7a042700db07872d9d2c14a1a0bafd","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750774634558,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:17:18 [14:17:18.541]
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":"0x2b8ef4c025f1d5a2ea4e3c54b0b12970b91da669f141d7dee90799269991a87d","rollingHash":"0x7b346fecbeec075a68b07e3c7ed9b6d2"},"messageCount":4}
14:17:18 [14:17:18.571]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
14:17:18 [14:17:18.766]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x11524ba442f9c80089f53616549c481f349a78af77b604ac00e984a120699124","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750774634570,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:17:18 [14:17:18.767]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x2b9fe9b1709ae0688a0d5ce1fa39c7d1e7208f700dc02a172c9b8b2db4409b85","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750774634582,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
14:17:18 [14:17:18.979]
INFO:
archiver Stopped.
14:17:18 [14:17:18.987]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:21 [14:17:21.839]
INFO:
archiver:test Waiting for archiver to sync to block 2
14:17:21 [14:17:21.849]
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":"0x2fff79ced87e9a3bf77687678f6a84b7612ea76e3ec4b5bdec2a6b06a26815e8","rollingHash":"0xdd61e7c1ab086933b785eb9837d55b56"},"messageCount":2}
14:17:21 [14:17:21.870]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x18fcb606bfe629a52c14a3cdf4398d2fc75d9534b0fa583b05fc67abaa063a37","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
14:17:21 [14:17:21.956]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1482062425aa134bdb582220bd88955aba1d20fe6e6b7413c2b665f1a8533bde","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750774638995,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:17:21 [14:17:21.956]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x115a3d9281a24ba5c7e15375094277591c6a20796e99ce63c301c86bda1bc62f","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750774639007,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:17:22 [14:17:22.049]
INFO:
archiver Stopped.
14:17:22 [14:17:22.051]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:24 [14:17:24.798]
INFO:
archiver:test Waiting for archiver to sync to block 2
14:17:25 [14:17:25.818]
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":"0x079e95a7969767fcad25695dafc093e7f88fce1211e7ef3eb661b63cbe1cfc52","rollingHash":"0xf8e61b7bd5358f7b430b876abb3507ed"},"messageCount":2}
14:17:25 [14:17:25.969]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1b2536366c122d29c2c12a0747edc0b2601b4203c90394c8c0b8c5a81ab261be","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750774642062,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:17:25 [14:17:25.970]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x03dedef9b6f4767a11c1fa00186d37f446b5be0fa170b7de58a2e383dccc7203","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750774642074,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:17:26 [14:17:26.059]
INFO:
archiver Stopped.
14:17:26 [14:17:26.061]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:29 [14:17:29.114]
INFO:
archiver:test Waiting for archiver to sync to block 2
14:17:29 [14:17:29.175]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
14:17:29 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
14:17:29 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
14:17:29 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
14:17:29 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
14:17:29 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
14:17:29 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
14:17:29 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
14:17:30 [14:17:30.194]
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":"0x127907cf67dd92a09c06d237bf9f1e34006a084d37161f502844f6b4de173c03","rollingHash":"0xa042e7bfcc1db5c264ffa9b7bb9e8d45"},"messageCount":2}
14:17:30 [14:17:30.350]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x23a963c380b76c88a402a352c5ae42a8901910be0a230e88f0c55463abe1ecfb","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750774646073,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:17:30 [14:17:30.351]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1d1e53c66f02e3a1c75f1007071ad1cd90fa6cda024cc0a07110e265d99208d5","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750774646085,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:17:30 [14:17:30.354]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
14:17:30 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
14:17:30 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
14:17:30 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
14:17:30 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
14:17:30 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
14:17:30 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
14:17:30 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
14:17:31 [14:17:31.598]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
14:17:31 [14:17:31.601]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
14:17:31 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
14:17:31 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
14:17:31 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
14:17:31 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
14:17:31 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
14:17:31 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
14:17:31 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
14:17:32 [14:17:32.364]
INFO:
archiver Stopped.
14:17:32 [14:17:32.367]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:32 [14:17:32.750]
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":"0x245d82abd7739ecbcff42cc4f0e3cf812a353bb48e487db938defc431894e307","rollingHash":"0xb35d416fbd98be5e17f252fa715b81aa"},"messageCount":6}
14:17:32 [14:17:32.751]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x245d82abd7739ecbcff42cc4f0e3cf812a353bb48e487db938defc431894e307","rollingHash":"0xb35d416fbd98be5e17f252fa715b81aa"},"remoteMessagesState":{"messagesRollingHash":"0x3ef2501460dd69a5d9e0aebb5dcbf7e1","totalMessagesInserted":5,"treeInProgress":0}}
14:17:32 [14:17:32.841]
WARN:
archiver:test Reorging L1 to L2 messages
14:17:33 [14:17:33.772]
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":"0x245d82abd7739ecbcff42cc4f0e3cf812a353bb48e487db938defc431894e307","rollingHash":"0xb35d416fbd98be5e17f252fa715b81aa"}}
14:17:33 [14:17:33.793]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
14:17:33 [14:17:33.804]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
14:17:33 [14:17:33.844]
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":"0x2b697992499ee5ded138892d69008311093ecbc660cbed26dd0e4cda97cbf27f","rollingHash":"0xa40faec9149bf67477564d7ab883c56e"},"messageCount":5}
14:17:33 [14:17:33.880]
INFO:
archiver Stopped.
14:17:33 [14:17:33.885]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:34 [14:17:34.267]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
14:17:35 [14:17:35.296]
INFO:
archiver:test Waiting for archiver to sync to block 1
14:17:35 [14:17:35.413]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x051b58cd4396984c904f2fbd763cf0f32a455f7d892bf41eb421e609f94300c4","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750774653895,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:17:35 [14:17:35.508]
INFO:
archiver Stopped.
14:17:35 [14:17:35.510]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:35 [14:17:35.873]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
14:17:36 [14:17:36.824]
INFO:
archiver:test Waiting for archiver to sync to block 1
14:17:36 [14:17:36.909]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x273038c549a4ff3305d932a3ca02552776f99c5c08f9b1c0d729425e34081c20","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750774655521,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:17:36 [14:17:36.928]
INFO:
archiver Stopped.
14:17:36 [14:17:36.930]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:37 [14:17:37.402]
INFO:
archiver:test Syncing archiver to L1 block 6
14:17:37 [14:17:37.406]
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":"0x331e6d168d428a8a9ed0034774a666614d5b18549ea6435c09ee4add16d3036f","l1BlockNumber":0}}
14:17:37 [14:17:37.428]
INFO:
archiver Initial archiver sync to L1 block 6 complete.
{"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
14:17:37 [14:17:37.433]
INFO:
archiver Stopped.
14:17:37 [14:17:37.435]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:38 [14:17:38.076]
INFO:
archiver:test Syncing archiver to L1 block 7
14:17:38 [14:17:38.077]
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":"0x6aa44409f6f0e6e3e009176af328a338949380e1a72b6aeb6230a3ced44c05ce","l1BlockNumber":0}}
14:17:38 [14:17:38.087]
INFO:
archiver Initial archiver sync to L1 block 7 complete.
{"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
14:17:38 [14:17:38.090]
INFO:
archiver Stopped.
14:17:38 [14:17:38.092]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:38 [14:17:38.487]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
14:17:39 [14:17:39.778]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0dff8327c833630f59f9ffde61aefeb187648c4fa1652777f89c5d5e97348ac7","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750774658103,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:17:39 [14:17:39.783]
INFO:
archiver Stopped.
14:17:39 [14:17:39.786]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:40 [14:17:40.204]
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":"0x843ebe9e9cda19bb5aa533e9f1f0d793afe0f3d0beeec1095baa78abae9ec9ce","l1BlockNumber":0}}
14:17:40 [14:17:40.217]
INFO:
archiver Stopped.
14:17:40 [14:17:40.220]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:17:43 [14:17:43.897]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x184af5da28f0c1f838bf8acfd1267e517b6ae66fea6a5fac7f8efb6dec8c84e4","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750774660231,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:17:43 [14:17:43.899]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0945584fb00adc206dab8e576bec00c5510077a7c3ddd26f7d20690f9ca50633","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750774660243,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:17:45 [14:17:45.046]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
14:17:46 [14:17:46.216]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
14:17:46 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
14:17:46 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
14:17:46 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
14:17:46 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
14:17:46 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:17:46 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:17:46 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:17:46 newBlockNumber: 3,
14:17:46 previousBlockNumber: 1
14:17:46 }
14:17:46 [14:17:46.289]
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":"0x184af5da28f0c1f838bf8acfd1267e517b6ae66fea6a5fac7f8efb6dec8c84e4","newBlockNumber":3,"updatedL1SyncPoint":70}
14:17:46 [14:17:46.290]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
14:17:46 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
14:17:46 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
14:17:46 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
14:17:46 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
14:17:46 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:17:46 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:17:46 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:17:46 newBlockNumber: 3,
14:17:46 previousBlockNumber: 1
14:17:46 }
14:17:47 [14:17:47.532]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0945584fb00adc206dab8e576bec00c5510077a7c3ddd26f7d20690f9ca50633","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750774660243,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:17:47 [14:17:47.534]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x221e034f24db2ab2252f99c12fbc8fd6244a16b60be85f30558e19ee7cd14739","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750774660255,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
14:17:47 [14:17:47.615]
INFO:
archiver Stopped.
14:17:47
PASS src/archiver/archiver.test.ts (
35.952 s)
14:17:47 Archiver
14:17:47
✓ syncs l1 to l2 messages and blocks (4437 ms)
14:17:47
✓ ignores block 3 because it has been pruned (3066 ms)
14:17:47
✓ skip event search if no changes found (4010 ms)
14:17:47
✓ handles L2 reorg (6305 ms)
14:17:47
✓ handles updated messages due to L1 reorg (1515 ms)
14:17:47
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1625 ms)
14:17:47
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1420 ms)
14:17:47
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (505 ms)
14:17:47
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (656 ms)
14:17:47
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1693 ms)
14:17:47
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (434 ms)
14:17:47
✓ handles a block gap due to a spurious L2 prune (7398 ms)
14:17:47
○ skipped handles an upcoming L2 prune
14:17:47
14:17:47
Test Suites: 1 passed, 1 total
14:17:47
Tests: 1 skipped,
12 passed, 13 total
14:17:47
Snapshots: 0 total
14:17:47
Time: 36.045 s
14:17:47
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
14:17:47
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?