@aztec/prover-node 2.0.3-rc.19 → 2.0.3-rc.20
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type BatchedBlob } from '@aztec/blob-lib';
|
|
2
2
|
import { AZTEC_MAX_EPOCH_DURATION } from '@aztec/constants';
|
|
3
|
-
import {
|
|
3
|
+
import type { L1TxUtils, RollupContract, ViemCommitteeAttestation } from '@aztec/ethereum';
|
|
4
4
|
import { EthAddress } from '@aztec/foundation/eth-address';
|
|
5
5
|
import { Fr } from '@aztec/foundation/fields';
|
|
6
6
|
import type { Tuple } from '@aztec/foundation/serialize';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prover-node-publisher.d.ts","sourceRoot":"","sources":["../src/prover-node-publisher.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAoC,MAAM,iBAAiB,CAAC;AACrF,OAAO,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,
|
|
1
|
+
{"version":3,"file":"prover-node-publisher.d.ts","sourceRoot":"","sources":["../src/prover-node-publisher.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAoC,MAAM,iBAAiB,CAAC;AACrF,OAAO,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAG3F,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,0BAA0B,CAAC;AAE9C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAIzD,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAE/E,OAAO,KAAK,EAAE,KAAK,EAAE,M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E,WAAW,CAAC;QAC/B,YAAY,EAAE,wBAAwB,EAAE,CAAC;KAC1C,GAAG,OAAO,CAAC,OAAO,CAAC;YAwDN,4BAA4B;YA0D5B,sBAAsB;IAyCpC,OAAO,CAAC,6BAA6B;IAyBrC,OAAO,CAAC,uBAAuB;cAwBf,kBAAkB;CAGnC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { FinalBlobAccumulatorPublicInputs } from '@aztec/blob-lib';
|
|
2
2
|
import { AZTEC_MAX_EPOCH_DURATION } from '@aztec/constants';
|
|
3
|
-
import { RollupContract as RollupContractClass } from '@aztec/ethereum';
|
|
4
3
|
import { makeTuple } from '@aztec/foundation/array';
|
|
5
4
|
import { areArraysEqual } from '@aztec/foundation/collection';
|
|
6
5
|
import { EthAddress } from '@aztec/foundation/eth-address';
|
|
@@ -9,6 +8,7 @@ import { createLogger } from '@aztec/foundation/log';
|
|
|
9
8
|
import { InterruptibleSleep } from '@aztec/foundation/sleep';
|
|
10
9
|
import { Timer } from '@aztec/foundation/timer';
|
|
11
10
|
import { RollupAbi } from '@aztec/l1-artifacts';
|
|
11
|
+
import { CommitteeAttestation, CommitteeAttestationsAndSigners } from '@aztec/stdlib/block';
|
|
12
12
|
import { getTelemetryClient } from '@aztec/telemetry-client';
|
|
13
13
|
import { inspect } from 'util';
|
|
14
14
|
import { encodeFunctionData } from 'viem';
|
|
@@ -193,7 +193,7 @@ export class ProverNodePublisher {
|
|
|
193
193
|
end: argsArray[1],
|
|
194
194
|
args: argsArray[2],
|
|
195
195
|
fees: argsArray[3],
|
|
196
|
-
attestations:
|
|
196
|
+
attestations: new CommitteeAttestationsAndSigners(args.attestations.map((a)=>CommitteeAttestation.fromViem(a))).getPackedAttestations(),
|
|
197
197
|
blobInputs: argsArray[4],
|
|
198
198
|
proof: proofHex
|
|
199
199
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/prover-node",
|
|
3
|
-
"version": "2.0.3-rc.
|
|
3
|
+
"version": "2.0.3-rc.20",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./dest/index.js",
|
|
@@ -56,27 +56,27 @@
|
|
|
56
56
|
]
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@aztec/archiver": "2.0.3-rc.
|
|
60
|
-
"@aztec/bb-prover": "2.0.3-rc.
|
|
61
|
-
"@aztec/blob-lib": "2.0.3-rc.
|
|
62
|
-
"@aztec/blob-sink": "2.0.3-rc.
|
|
63
|
-
"@aztec/constants": "2.0.3-rc.
|
|
64
|
-
"@aztec/epoch-cache": "2.0.3-rc.
|
|
65
|
-
"@aztec/ethereum": "2.0.3-rc.
|
|
66
|
-
"@aztec/foundation": "2.0.3-rc.
|
|
67
|
-
"@aztec/kv-store": "2.0.3-rc.
|
|
68
|
-
"@aztec/l1-artifacts": "2.0.3-rc.
|
|
69
|
-
"@aztec/node-keystore": "2.0.3-rc.
|
|
70
|
-
"@aztec/node-lib": "2.0.3-rc.
|
|
71
|
-
"@aztec/noir-protocol-circuits-types": "2.0.3-rc.
|
|
72
|
-
"@aztec/p2p": "2.0.3-rc.
|
|
73
|
-
"@aztec/protocol-contracts": "2.0.3-rc.
|
|
74
|
-
"@aztec/prover-client": "2.0.3-rc.
|
|
75
|
-
"@aztec/sequencer-client": "2.0.3-rc.
|
|
76
|
-
"@aztec/simulator": "2.0.3-rc.
|
|
77
|
-
"@aztec/stdlib": "2.0.3-rc.
|
|
78
|
-
"@aztec/telemetry-client": "2.0.3-rc.
|
|
79
|
-
"@aztec/world-state": "2.0.3-rc.
|
|
59
|
+
"@aztec/archiver": "2.0.3-rc.20",
|
|
60
|
+
"@aztec/bb-prover": "2.0.3-rc.20",
|
|
61
|
+
"@aztec/blob-lib": "2.0.3-rc.20",
|
|
62
|
+
"@aztec/blob-sink": "2.0.3-rc.20",
|
|
63
|
+
"@aztec/constants": "2.0.3-rc.20",
|
|
64
|
+
"@aztec/epoch-cache": "2.0.3-rc.20",
|
|
65
|
+
"@aztec/ethereum": "2.0.3-rc.20",
|
|
66
|
+
"@aztec/foundation": "2.0.3-rc.20",
|
|
67
|
+
"@aztec/kv-store": "2.0.3-rc.20",
|
|
68
|
+
"@aztec/l1-artifacts": "2.0.3-rc.20",
|
|
69
|
+
"@aztec/node-keystore": "2.0.3-rc.20",
|
|
70
|
+
"@aztec/node-lib": "2.0.3-rc.20",
|
|
71
|
+
"@aztec/noir-protocol-circuits-types": "2.0.3-rc.20",
|
|
72
|
+
"@aztec/p2p": "2.0.3-rc.20",
|
|
73
|
+
"@aztec/protocol-contracts": "2.0.3-rc.20",
|
|
74
|
+
"@aztec/prover-client": "2.0.3-rc.20",
|
|
75
|
+
"@aztec/sequencer-client": "2.0.3-rc.20",
|
|
76
|
+
"@aztec/simulator": "2.0.3-rc.20",
|
|
77
|
+
"@aztec/stdlib": "2.0.3-rc.20",
|
|
78
|
+
"@aztec/telemetry-client": "2.0.3-rc.20",
|
|
79
|
+
"@aztec/world-state": "2.0.3-rc.20",
|
|
80
80
|
"source-map-support": "^0.5.21",
|
|
81
81
|
"tslib": "^2.4.0",
|
|
82
82
|
"viem": "2.23.7"
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
import { type BatchedBlob, FinalBlobAccumulatorPublicInputs } from '@aztec/blob-lib';
|
|
2
2
|
import { AZTEC_MAX_EPOCH_DURATION } from '@aztec/constants';
|
|
3
|
-
import {
|
|
4
|
-
type L1TxUtils,
|
|
5
|
-
type RollupContract,
|
|
6
|
-
RollupContract as RollupContractClass,
|
|
7
|
-
type ViemCommitteeAttestation,
|
|
8
|
-
} from '@aztec/ethereum';
|
|
3
|
+
import type { L1TxUtils, RollupContract, ViemCommitteeAttestation } from '@aztec/ethereum';
|
|
9
4
|
import { makeTuple } from '@aztec/foundation/array';
|
|
10
5
|
import { areArraysEqual } from '@aztec/foundation/collection';
|
|
11
6
|
import { EthAddress } from '@aztec/foundation/eth-address';
|
|
@@ -16,6 +11,7 @@ import { InterruptibleSleep } from '@aztec/foundation/sleep';
|
|
|
16
11
|
import { Timer } from '@aztec/foundation/timer';
|
|
17
12
|
import { RollupAbi } from '@aztec/l1-artifacts';
|
|
18
13
|
import type { PublisherConfig, TxSenderConfig } from '@aztec/sequencer-client';
|
|
14
|
+
import { CommitteeAttestation, CommitteeAttestationsAndSigners } from '@aztec/stdlib/block';
|
|
19
15
|
import type { Proof } from '@aztec/stdlib/proofs';
|
|
20
16
|
import type { FeeRecipient, RootRollupPublicInputs } from '@aztec/stdlib/rollup';
|
|
21
17
|
import type { L1PublishProofStats } from '@aztec/stdlib/stats';
|
|
@@ -298,7 +294,9 @@ export class ProverNodePublisher {
|
|
|
298
294
|
end: argsArray[1],
|
|
299
295
|
args: argsArray[2],
|
|
300
296
|
fees: argsArray[3],
|
|
301
|
-
attestations:
|
|
297
|
+
attestations: new CommitteeAttestationsAndSigners(
|
|
298
|
+
args.attestations.map(a => CommitteeAttestation.fromViem(a)),
|
|
299
|
+
).getPackedAttestations(),
|
|
302
300
|
blobInputs: argsArray[4],
|
|
303
301
|
proof: proofHex,
|
|
304
302
|
};
|