@aztec/archiver 0.14.1 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -137,7 +137,7 @@ export class Archiver {
|
|
|
137
137
|
const retrievedPendingL1ToL2Messages = await retrieveNewPendingL1ToL2Messages(this.publicClient, this.inboxAddress, blockUntilSynced, this.lastProcessedL1BlockNumber + 1n, // + 1 to prevent re-including messages from the last processed block
|
|
138
138
|
currentL1BlockNumber);
|
|
139
139
|
const retrievedCancelledL1ToL2Messages = await retrieveNewCancelledL1ToL2Messages(this.publicClient, this.inboxAddress, blockUntilSynced, this.lastProcessedL1BlockNumber + 1n, currentL1BlockNumber);
|
|
140
|
-
// TODO (#717):
|
|
140
|
+
// TODO (#717): optimize this - there could be messages in confirmed that are also in pending.
|
|
141
141
|
// Or messages in pending that are also cancelled in the same block. No need to modify storage for them.
|
|
142
142
|
// Store l1 to l2 messages
|
|
143
143
|
this.log('Adding pending l1 to l2 messages to store');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/archiver",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": "./dest/index.js",
|
|
6
6
|
"typedocOptions": {
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
"rootDir": "./src"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@aztec/circuits.js": "0.
|
|
38
|
-
"@aztec/ethereum": "0.
|
|
39
|
-
"@aztec/foundation": "0.
|
|
40
|
-
"@aztec/l1-artifacts": "0.
|
|
41
|
-
"@aztec/types": "0.
|
|
37
|
+
"@aztec/circuits.js": "0.15.0",
|
|
38
|
+
"@aztec/ethereum": "0.15.0",
|
|
39
|
+
"@aztec/foundation": "0.15.0",
|
|
40
|
+
"@aztec/l1-artifacts": "0.15.0",
|
|
41
|
+
"@aztec/types": "0.15.0",
|
|
42
42
|
"@types/lodash.omit": "^4.5.7",
|
|
43
43
|
"debug": "^4.3.4",
|
|
44
44
|
"lodash.omit": "^4.5.0",
|
package/src/archiver/archiver.ts
CHANGED
|
@@ -206,7 +206,7 @@ export class Archiver implements L2BlockSource, L2LogsSource, ContractDataSource
|
|
|
206
206
|
currentL1BlockNumber,
|
|
207
207
|
);
|
|
208
208
|
|
|
209
|
-
// TODO (#717):
|
|
209
|
+
// TODO (#717): optimize this - there could be messages in confirmed that are also in pending.
|
|
210
210
|
// Or messages in pending that are also cancelled in the same block. No need to modify storage for them.
|
|
211
211
|
// Store l1 to l2 messages
|
|
212
212
|
this.log('Adding pending l1 to l2 messages to store');
|