Parent Log:
http://ci.aztec-labs.com/4dfece09b5e9b3d5
Command: 1c48ff816cf3011e yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/e050b787f6dead84c4ef7e5bdb8dcc8cf81d5f65
Env: REF_NAME=gh-readonly-queue/next/pr-15129-d5c48d855d83e19712c6b72281801c6fce176ec1 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Wed Jun 18 15:32:13 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15129_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
15:32:17 [15:32:17.554]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:32:20 [15:32:20.264]
INFO:
archiver:test Waiting for archiver to sync to block 3
15:32:20 [15:32:20.282]
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":"0x25b5621234f0b3032a9f67731b89ae4fcd76b51e387507d297959e99c057154f","rollingHash":"0x2541871b3d2a31866752e34c584a011b"},"messageCount":2}
15:32:20 [15:32:20.368]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x04ed9ace9bb92a0896f6849aafc2708046c703500c345bb05af8a14c221f005c","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750260737549,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
15:32:21 [15:32:21.386]
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":"0x1bc297ffb110da152e32e3a87ca4ae22a1fafd7a7c96e1d9a576c9fff3c57046","rollingHash":"0x289ee3a9859b0d536d3ac5bf17477c6c"},"messageCount":4}
15:32:21 [15:32:21.412]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
15:32:21 [15:32:21.555]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2f908deb1372de30b8a44321fc78ff634a90e379b29dec846749e555c33850f8","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750260737561,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
15:32:21 [15:32:21.556]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x08b99a4e7d7b8b718c44168e304e727ccbad86bd57186c67faf0a4cc1c448997","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750260737573,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
15:32:21 [15:32:21.772]
INFO:
archiver Stopped.
15:32:21 [15:32:21.776]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:32:24 [15:32:24.315]
INFO:
archiver:test Waiting for archiver to sync to block 2
15:32:24 [15:32:24.327]
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":"0x14a5df58a0b13f8eb450e63825bd198115718de0c5382a1b4569d612a19195e5","rollingHash":"0x92c615b986abcd197782d288e3250c88"},"messageCount":2}
15:32:24 [15:32:24.351]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x02fcfb55bccba0f18d16dac9b1300a493ff1287276f566a530f9a38c992cc23f","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
15:32:24 [15:32:24.458]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x134cae0323a31394750d8abe682a504006d8709c517d8c7e0ebb333938e7362e","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750260741787,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
15:32:24 [15:32:24.459]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x211c0fb2091d25b8cc41d147414fbd21f5d770979c000d46e24a64308ceacb9c","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750260741799,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
15:32:24 [15:32:24.549]
INFO:
archiver Stopped.
15:32:24 [15:32:24.552]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:32:27 [15:32:27.232]
INFO:
archiver:test Waiting for archiver to sync to block 2
15:32:28 [15:32:28.299]
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":"0x2a340237ab38f2f4c6a0ca114724adb7f2e70c430ae96200f027ece3fd8b9cf3","rollingHash":"0xef116b05ca803b839988d69eb0f89665"},"messageCount":2}
15:32:28 [15:32:28.475]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x20b1f91810a8d17b61dfe3003f832905dd100ff7cd37320dae8851ca1c07ebe5","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750260744563,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
15:32:28 [15:32:28.476]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0809dd3f07e4c2977e591dd20bd8cf5214e9c875919438b4ee69772ab03574a5","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750260744575,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
15:32:28 [15:32:28.558]
INFO:
archiver Stopped.
15:32:28 [15:32:28.560]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:32:31 [15:32:31.376]
INFO:
archiver:test Waiting for archiver to sync to block 2
15:32:31 [15:32:31.420]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
15:32:31 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
15:32:31 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
15:32:31 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
15:32:31 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
15:32:31 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
15:32:31 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
15:32:31 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
15:32:32 [15:32:32.431]
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":"0x0cdb103b2274c77a3476a6953ec339caac243a28130a69b0ca61f85da44eb50a","rollingHash":"0x92bf1599b8ed1db2cedb9600e8a92c77"},"messageCount":2}
15:32:32 [15:32:32.595]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1c6e83e7c476b4c6099fd098922e272b6e84392c99fb1969047833d246f2fe4b","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750260748571,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
15:32:32 [15:32:32.596]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x121be668f09fcf15284e6ca816ecb32f4db7dc091d0ee47171a1c5f18ec7b67d","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750260748583,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
15:32:32 [15:32:32.600]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
15:32:32 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
15:32:32 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
15:32:32 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
15:32:32 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
15:32:32 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
15:32:32 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
15:32:32 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
15:32:33 [15:32:33.744]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
15:32:33 [15:32:33.746]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
15:32:33 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
15:32:33 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
15:32:33 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
15:32:33 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
15:32:33 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
15:32:33 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
15:32:33 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
15:32:34 [15:32:34.689]
INFO:
archiver Stopped.
15:32:34 [15:32:34.692]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:32:35 [15:32:35.044]
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":"0x1caff5c43741bd3f33c5f275f3685f36645c69bba9a644805b25ac11b2b5f6c5","rollingHash":"0x844835a18f5163a1c72f30be0aa7ba3b"},"messageCount":6}
15:32:35 [15:32:35.046]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x1caff5c43741bd3f33c5f275f3685f36645c69bba9a644805b25ac11b2b5f6c5","rollingHash":"0x844835a18f5163a1c72f30be0aa7ba3b"},"remoteMessagesState":{"messagesRollingHash":"0x1d383c0e86bbb28122eff5211c1c2663","totalMessagesInserted":5,"treeInProgress":0}}
15:32:35 [15:32:35.139]
WARN:
archiver:test Reorging L1 to L2 messages
15:32:36 [15:32:36.069]
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":"0x1caff5c43741bd3f33c5f275f3685f36645c69bba9a644805b25ac11b2b5f6c5","rollingHash":"0x844835a18f5163a1c72f30be0aa7ba3b"}}
15:32:36 [15:32:36.079]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
15:32:36 [15:32:36.082]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
15:32:36 [15:32:36.111]
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":"0x259e5c00091bf464fb8d4159345f19bcde91332e7f2675b8769ad68ad00bb04b","rollingHash":"0x63fca215865be8024a9a9bc0acdfecc6"},"messageCount":5}
15:32:36 [15:32:36.206]
INFO:
archiver Stopped.
15:32:36 [15:32:36.209]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:32:36 [15:32:36.572]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
15:32:37 [15:32:37.457]
INFO:
archiver:test Waiting for archiver to sync to block 1
15:32:37 [15:32:37.670]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x236fdaa62f86b78fca2fe7b23a0fabecfdf747422e5073c073a32f23f7e99055","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750260756221,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
15:32:37 [15:32:37.728]
INFO:
archiver Stopped.
15:32:37 [15:32:37.734]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:32:38 [15:32:38.992]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
15:32:40 [15:32:40.419]
INFO:
archiver:test Waiting for archiver to sync to block 1
15:32:40 [15:32:40.691]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x19cac7d8c13cef211c4709b8e771d615559ccbdd1f1e1b91009d2164157d79e9","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750260757745,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
15:32:40 [15:32:40.785]
INFO:
archiver Stopped.
15:32:40 [15:32:40.789]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:32:41 [15:32:41.147]
INFO:
archiver:test Syncing archiver to L1 block 6
15:32:41 [15:32:41.149]
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":"0x0c15c44e9475ea26980147455fab8b3693f67d17e9e09aaef543c7ee1e7ddf51","l1BlockNumber":0}}
15:32:41 [15:32:41.166]
INFO:
archiver Initial archiver sync to L1 block 6 complete.
{"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
15:32:41 [15:32:41.172]
INFO:
archiver Stopped.
15:32:41 [15:32:41.178]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:32:41 [15:32:41.547]
INFO:
archiver:test Syncing archiver to L1 block 7
15:32:41 [15:32:41.559]
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":"0x3899e3c7da04cb480c6f11b9bf248b8526ce1ba780cef068d8def7fa7bcd046a","l1BlockNumber":0}}
15:32:41 [15:32:41.570]
INFO:
archiver Initial archiver sync to L1 block 7 complete.
{"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
15:32:41 [15:32:41.572]
INFO:
archiver Stopped.
15:32:41 [15:32:41.574]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:32:41 [15:32:41.951]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
15:32:43 [15:32:43.012]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x22ad1470f285b3a229962c20213df1917a38d38b0753a1f2357ca27663b12ee6","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750260761585,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
15:32:43 [15:32:43.028]
INFO:
archiver Stopped.
15:32:43 [15:32:43.034]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:32:43 [15:32:43.510]
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":"0xd65c2ed8b81382e1da7e3bf9b7f0252a1cbf5c6de59791fe7778538c4a42038c","l1BlockNumber":0}}
15:32:43 [15:32:43.524]
INFO:
archiver Stopped.
15:32:43 [15:32:43.528]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:32:47 [15:32:47.230]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1235eae19b2d4e0c7ab7abee409366e67c2a6a0f94fcbada768b2c25d0d501e3","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750260763537,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
15:32:47 [15:32:47.231]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1220aa914e0d639d206f38fbd2570990c209641b7bf6cac34bef3341cb625865","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750260763549,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
15:32:48 [15:32:48.420]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
15:32:49 [15:32:49.490]
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
15:32:49 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
15:32:49 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
15:32:49 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
15:32:49 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
15:32:49 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:32:49 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:32:49 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:32:49 newBlockNumber: 3,
15:32:49 previousBlockNumber: 1
15:32:49 }
15:32:49 [15:32:49.542]
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":"0x1235eae19b2d4e0c7ab7abee409366e67c2a6a0f94fcbada768b2c25d0d501e3","newBlockNumber":3,"updatedL1SyncPoint":70}
15:32:49 [15:32:49.544]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
15:32:49 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
15:32:49 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
15:32:49 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
15:32:49 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
15:32:49 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:32:49 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:32:49 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:32:49 newBlockNumber: 3,
15:32:49 previousBlockNumber: 1
15:32:49 }
15:32:50 [15:32:50.702]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1220aa914e0d639d206f38fbd2570990c209641b7bf6cac34bef3341cb625865","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750260763549,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
15:32:50 [15:32:50.703]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x0a077bcc9709354fbd502e84727b584f25b5b94829e39f5f342bf7e4d4b5d7f4","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750260763561,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
15:32:50 [15:32:50.790]
INFO:
archiver Stopped.
15:32:50
PASS src/archiver/archiver.test.ts (
36.314 s)
15:32:50 Archiver
15:32:50
✓ syncs l1 to l2 messages and blocks (4239 ms)
15:32:50
✓ ignores block 3 because it has been pruned (2774 ms)
15:32:50
✓ skip event search if no changes found (4008 ms)
15:32:50
✓ handles L2 reorg (6131 ms)
15:32:50
✓ handles updated messages due to L1 reorg (1517 ms)
15:32:50
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1524 ms)
15:32:50
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (3054 ms)
15:32:50
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (386 ms)
15:32:50
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (397 ms)
15:32:50
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1456 ms)
15:32:50
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (496 ms)
15:32:50
✓ handles a block gap due to a spurious L2 prune (7266 ms)
15:32:50
○ skipped handles an upcoming L2 prune
15:32:50
15:32:50
Test Suites: 1 passed, 1 total
15:32:50
Tests: 1 skipped,
12 passed, 13 total
15:32:50
Snapshots: 0 total
15:32:50
Time: 36.406 s
15:32:50
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
15:32:50
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?