Parent Log:
http://ci.aztec-labs.com/aa565ebfaed12118
Command: f44e1b4f382283e1 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/7d1abcb337009939ee47da8445b5fee80f39fb58
Env: REF_NAME=gh-readonly-queue/next/pr-15156-df137f9440a970af2eb6e2ee94c48bf3bf47e207 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Fri Jun 20 10:04:29 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15156_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
10:04:34 [10:04:34.510]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:04:37 [10:04:37.321]
INFO:
archiver:test Waiting for archiver to sync to block 3
10:04:37 [10:04:37.343]
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":"0x00ee05f14450ec02a68e4fbebf7a66f627146cfc784620da0222b4328ed621d1","rollingHash":"0x538231c69bd2275bcc3669ab2e1f43be"},"messageCount":2}
10:04:37 [10:04:37.467]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x054736d6f4138d2585dbc71e825f5085dcc76235797bd5c06bb839f8d4a565d8","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750413874502,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:04:38 [10:04:38.491]
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":"0x2f0310a2c47d81e408b09e6035aacbf646a4f428e2acd3aedd41d6517eeae411","rollingHash":"0x3a7caebf5d5f729f9c60e1c2fbc57147"},"messageCount":4}
10:04:38 [10:04:38.540]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
10:04:38 [10:04:38.734]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0f03e0f7f119dea7c149a683ece38735be06f9e8e403dab3cc5d05124a09beb6","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750413874514,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:04:38 [10:04:38.735]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x17e40ac41ce5a79aa4351e952a75d5cef43a9d6eaa3368a8e5a0fe4468c66a3c","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750413874526,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
10:04:38 [10:04:38.895]
INFO:
archiver Stopped.
10:04:38 [10:04:38.901]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:04:41 [10:04:41.377]
INFO:
archiver:test Waiting for archiver to sync to block 2
10:04:41 [10:04:41.390]
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":"0x2c38def31959e3bc3cc62053eaf5cf5d7ad58d11c62f6098e869b0ae00d313d0","rollingHash":"0xaf7e7fe761bcb92c7e3818fbb72d6baa"},"messageCount":2}
10:04:41 [10:04:41.416]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x2287f46179c6b1e017117f43eaf85f4746a8a8d242610a2585e12d2c96587adb","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
10:04:41 [10:04:41.534]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2da63aa33a2498eb0f71a41d8ba25299fd3d48c5e5a16b6cfa6968f55d49623a","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750413878912,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:04:41 [10:04:41.535]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x15fe84ac09513604bc7d2a61660e7173dbcb471b2b5e59a8f2ecf2188fdbbc6f","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750413878924,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:04:41 [10:04:41.627]
INFO:
archiver Stopped.
10:04:41 [10:04:41.631]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:04:44 [10:04:44.243]
INFO:
archiver:test Waiting for archiver to sync to block 2
10:04:45 [10:04:45.259]
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":"0x0a870a698095c866999af763957282ef2313a5e7151fac1a2f871ab6a22cabb7","rollingHash":"0xddfbebd2e92a49e58b1a40e45119b61b"},"messageCount":2}
10:04:45 [10:04:45.413]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1b470a9167c9672e87971c9737490d7eaad9912c8b238f5a31163883cf2a75fe","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750413881642,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:04:45 [10:04:45.414]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x07debba3ca198c81944a536190aba4e1dca69983b467e588529404c4cf8c0ce4","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750413881654,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:04:45 [10:04:45.501]
INFO:
archiver Stopped.
10:04:45 [10:04:45.506]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:04:48 [10:04:48.306]
INFO:
archiver:test Waiting for archiver to sync to block 2
10:04:48 [10:04:48.350]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
10:04:48 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
10:04:48 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
10:04:48 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
10:04:48 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
10:04:48 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
10:04:48 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
10:04:48 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
10:04:49 [10:04:49.363]
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":"0x14e62bbd736c2afb59eb897217a818e5ad384cbd62b0e420faa08e61d6b827ff","rollingHash":"0x456f66c7a59a4af64285cddfcdea9bca"},"messageCount":2}
10:04:49 [10:04:49.533]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0cb994d931f210de516e7f492ee1c745496912a36941f29e770885618bedf408","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750413885517,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:04:49 [10:04:49.534]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0ba8d35d1a4293bf695527c8fdf829f67af00aa6c81c74364c489db6c5dac4e6","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750413885529,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:04:49 [10:04:49.538]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
10:04:49 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
10:04:49 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
10:04:49 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
10:04:49 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
10:04:49 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
10:04:49 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
10:04:49 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
10:04:50 [10:04:50.712]
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:04:50 [10:04:50.714]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
10:04:50 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
10:04:50 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
10:04:50 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
10:04:50 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
10:04:50 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
10:04:50 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
10:04:50 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
10:04:51 [10:04:51.632]
INFO:
archiver Stopped.
10:04:51 [10:04:51.639]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:04:52 [10:04:52.104]
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":"0x0ba6bbc53c2addabc02fbae80aa97d43b938685ec1072fed77128dbeae0a417b","rollingHash":"0xcb8fcf10c312b884496eb5d5e82e7353"},"messageCount":6}
10:04:52 [10:04:52.106]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x0ba6bbc53c2addabc02fbae80aa97d43b938685ec1072fed77128dbeae0a417b","rollingHash":"0xcb8fcf10c312b884496eb5d5e82e7353"},"remoteMessagesState":{"messagesRollingHash":"0x1db8b86b540281db04c0d4e34f8ce9f5","totalMessagesInserted":5,"treeInProgress":0}}
10:04:52 [10:04:52.194]
WARN:
archiver:test Reorging L1 to L2 messages
10:04:53 [10:04:53.119]
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":"0x0ba6bbc53c2addabc02fbae80aa97d43b938685ec1072fed77128dbeae0a417b","rollingHash":"0xcb8fcf10c312b884496eb5d5e82e7353"}}
10:04:53 [10:04:53.126]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
10:04:53 [10:04:53.130]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
10:04:53 [10:04:53.149]
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":"0x25d171e8796ae141f55bdb134c7a3d89c1bf4c9aa42ac0adf210878392d6581f","rollingHash":"0xe66f647581567d7d29465a1ebc28e178"},"messageCount":5}
10:04:53 [10:04:53.218]
INFO:
archiver Stopped.
10:04:53 [10:04:53.221]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:04:53 [10:04:53.693]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
10:04:54 [10:04:54.778]
INFO:
archiver:test Waiting for archiver to sync to block 1
10:04:54 [10:04:54.922]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x03cae1f2ce70db7b77cec7f899737da00d84396811e8cfaaf054e81157ed37c6","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750413893232,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:04:55 [10:04:55.007]
INFO:
archiver Stopped.
10:04:55 [10:04:55.014]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:04:55 [10:04:55.505]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
10:04:56 [10:04:56.499]
INFO:
archiver:test Waiting for archiver to sync to block 1
10:04:56 [10:04:56.675]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0af0fddb4b370d07e21e33df99ef8cd5268fc311957fc293257914010152228f","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750413895022,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:04:56 [10:04:56.767]
INFO:
archiver Stopped.
10:04:56 [10:04:56.775]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:04:57 [10:04:57.280]
INFO:
archiver:test Syncing archiver to L1 block 6
10:04:57 [10:04:57.285]
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":"0xce74d713dfb0560e5a4e8caed318e012ae6a4d7d7b3397ea94e5299c8b2d6553","l1BlockNumber":0}}
10:04:57 [10:04:57.319]
INFO:
archiver Initial archiver sync to L1 block 6 complete.
{"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
10:04:57 [10:04:57.326]
INFO:
archiver Stopped.
10:04:57 [10:04:57.336]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:04:57 [10:04:57.770]
INFO:
archiver:test Syncing archiver to L1 block 7
10:04:57 [10:04:57.772]
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":"0xc86430d59f0b4f737aa58b9b0d8974512b6371a46359168ba389fb90974fe5d6","l1BlockNumber":0}}
10:04:57 [10:04:57.786]
INFO:
archiver Initial archiver sync to L1 block 7 complete.
{"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
10:04:57 [10:04:57.790]
INFO:
archiver Stopped.
10:04:57 [10:04:57.793]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:04:58 [10:04:58.288]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
10:04:59 [10:04:59.514]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x194d83d59f675aae9e87b9c6834d8dd60bc992c82bb6ab304fa20d1d0d3cd387","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750413897804,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:04:59 [10:04:59.520]
INFO:
archiver Stopped.
10:04:59 [10:04:59.522]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:00 [10:05:00.018]
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":"0x767974edd931a6579d00d87d8c8d7a3dd4a9f4c8b223401baf9221c5b23ef0ed","l1BlockNumber":0}}
10:05:00 [10:05:00.051]
INFO:
archiver Stopped.
10:05:00 [10:05:00.054]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:05:04 [10:05:04.052]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1c1dbee5dfe915027d49b4ee0e02615a6371d583c2e1f48a77c1f17a69fc8413","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750413900065,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:05:04 [10:05:04.055]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x15f8ecf72edb0cbacb8cd35027d9ce3b836db7e623dcee59ef6e9043b6756d4d","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750413900077,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:05:05 [10:05:05.235]
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:05:06 [10:05:06.312]
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:05:06 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
10:05:06 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
10:05:06 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
10:05:06 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1408:7
10:05:06 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:05:06 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:05:06 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:05:06 newBlockNumber: 3,
10:05:06 previousBlockNumber: 1
10:05:06 }
10:05:06 [10:05:06.340]
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":"0x1c1dbee5dfe915027d49b4ee0e02615a6371d583c2e1f48a77c1f17a69fc8413","newBlockNumber":3,"updatedL1SyncPoint":70}
10:05:06 [10:05:06.341]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
10:05:06 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
10:05:06 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
10:05:06 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
10:05:06 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1408:7
10:05:06 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:05:06 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:05:06 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:05:06 newBlockNumber: 3,
10:05:06 previousBlockNumber: 1
10:05:06 }
10:05:07 [10:05:07.593]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x15f8ecf72edb0cbacb8cd35027d9ce3b836db7e623dcee59ef6e9043b6756d4d","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750413900077,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:05:07 [10:05:07.595]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x082bc7710365fc3964d39deb64c554339e167abc658f326c10b62c1a2ae48dc2","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750413900089,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
10:05:07 [10:05:07.625]
INFO:
archiver Stopped.
10:05:07
PASS src/archiver/archiver.test.ts (
36.813 s)
10:05:07 Archiver
10:05:07
✓ syncs l1 to l2 messages and blocks (4409 ms)
10:05:07
✓ ignores block 3 because it has been pruned (2729 ms)
10:05:07
✓ skip event search if no changes found (3874 ms)
10:05:07
✓ handles L2 reorg (6129 ms)
10:05:07
✓ handles updated messages due to L1 reorg (1585 ms)
10:05:07
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1790 ms)
10:05:07
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1761 ms)
10:05:07
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (559 ms)
10:05:07
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (460 ms)
10:05:07
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1729 ms)
10:05:07
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (531 ms)
10:05:07
✓ handles a block gap due to a spurious L2 prune (7572 ms)
10:05:07
○ skipped handles an upcoming L2 prune
10:05:07
10:05:07
Test Suites: 1 passed, 1 total
10:05:07
Tests: 1 skipped,
12 passed, 13 total
10:05:07
Snapshots: 0 total
10:05:07
Time: 36.89 s
10:05:07
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
10:05:07
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?