@aztec/aztec 3.0.0-nightly.20251124 → 3.0.0-nightly.20251126
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.
|
@@ -101,14 +101,14 @@ import { getAddress, getContract } from 'viem';
|
|
|
101
101
|
async warpTimeIfNeeded() {
|
|
102
102
|
try {
|
|
103
103
|
const currentSlot = await this.rollup.read.getCurrentSlot();
|
|
104
|
-
const
|
|
105
|
-
const
|
|
106
|
-
|
|
104
|
+
const pendingCheckpointNumber = BigInt(await this.rollup.read.getPendingCheckpointNumber());
|
|
105
|
+
const checkpointLog = await this.rollup.read.getCheckpoint([
|
|
106
|
+
pendingCheckpointNumber
|
|
107
107
|
]);
|
|
108
108
|
const nextSlotTimestamp = Number(await this.rollup.read.getTimestampForSlot([
|
|
109
109
|
currentSlot + 1n
|
|
110
110
|
]));
|
|
111
|
-
if (currentSlot ===
|
|
111
|
+
if (currentSlot === checkpointLog.slotNumber) {
|
|
112
112
|
// We should jump to the next slot
|
|
113
113
|
try {
|
|
114
114
|
await this.cheatcodes.warp(nextSlotTimestamp, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/aztec",
|
|
3
|
-
"version": "3.0.0-nightly.
|
|
3
|
+
"version": "3.0.0-nightly.20251126",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./dest/index.js",
|
|
@@ -28,37 +28,37 @@
|
|
|
28
28
|
"../package.common.json"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@aztec/accounts": "3.0.0-nightly.
|
|
32
|
-
"@aztec/archiver": "3.0.0-nightly.
|
|
33
|
-
"@aztec/aztec-faucet": "3.0.0-nightly.
|
|
34
|
-
"@aztec/aztec-node": "3.0.0-nightly.
|
|
35
|
-
"@aztec/aztec.js": "3.0.0-nightly.
|
|
36
|
-
"@aztec/bb-prover": "3.0.0-nightly.
|
|
37
|
-
"@aztec/bb.js": "3.0.0-nightly.
|
|
38
|
-
"@aztec/blob-sink": "3.0.0-nightly.
|
|
39
|
-
"@aztec/bot": "3.0.0-nightly.
|
|
40
|
-
"@aztec/builder": "3.0.0-nightly.
|
|
41
|
-
"@aztec/cli": "3.0.0-nightly.
|
|
42
|
-
"@aztec/constants": "3.0.0-nightly.
|
|
43
|
-
"@aztec/entrypoints": "3.0.0-nightly.
|
|
44
|
-
"@aztec/ethereum": "3.0.0-nightly.
|
|
45
|
-
"@aztec/foundation": "3.0.0-nightly.
|
|
46
|
-
"@aztec/kv-store": "3.0.0-nightly.
|
|
47
|
-
"@aztec/l1-artifacts": "3.0.0-nightly.
|
|
48
|
-
"@aztec/node-lib": "3.0.0-nightly.
|
|
49
|
-
"@aztec/noir-contracts.js": "3.0.0-nightly.
|
|
50
|
-
"@aztec/noir-protocol-circuits-types": "3.0.0-nightly.
|
|
51
|
-
"@aztec/p2p": "3.0.0-nightly.
|
|
52
|
-
"@aztec/p2p-bootstrap": "3.0.0-nightly.
|
|
53
|
-
"@aztec/protocol-contracts": "3.0.0-nightly.
|
|
54
|
-
"@aztec/prover-client": "3.0.0-nightly.
|
|
55
|
-
"@aztec/prover-node": "3.0.0-nightly.
|
|
56
|
-
"@aztec/pxe": "3.0.0-nightly.
|
|
57
|
-
"@aztec/stdlib": "3.0.0-nightly.
|
|
58
|
-
"@aztec/telemetry-client": "3.0.0-nightly.
|
|
59
|
-
"@aztec/test-wallet": "3.0.0-nightly.
|
|
60
|
-
"@aztec/txe": "3.0.0-nightly.
|
|
61
|
-
"@aztec/world-state": "3.0.0-nightly.
|
|
31
|
+
"@aztec/accounts": "3.0.0-nightly.20251126",
|
|
32
|
+
"@aztec/archiver": "3.0.0-nightly.20251126",
|
|
33
|
+
"@aztec/aztec-faucet": "3.0.0-nightly.20251126",
|
|
34
|
+
"@aztec/aztec-node": "3.0.0-nightly.20251126",
|
|
35
|
+
"@aztec/aztec.js": "3.0.0-nightly.20251126",
|
|
36
|
+
"@aztec/bb-prover": "3.0.0-nightly.20251126",
|
|
37
|
+
"@aztec/bb.js": "3.0.0-nightly.20251126",
|
|
38
|
+
"@aztec/blob-sink": "3.0.0-nightly.20251126",
|
|
39
|
+
"@aztec/bot": "3.0.0-nightly.20251126",
|
|
40
|
+
"@aztec/builder": "3.0.0-nightly.20251126",
|
|
41
|
+
"@aztec/cli": "3.0.0-nightly.20251126",
|
|
42
|
+
"@aztec/constants": "3.0.0-nightly.20251126",
|
|
43
|
+
"@aztec/entrypoints": "3.0.0-nightly.20251126",
|
|
44
|
+
"@aztec/ethereum": "3.0.0-nightly.20251126",
|
|
45
|
+
"@aztec/foundation": "3.0.0-nightly.20251126",
|
|
46
|
+
"@aztec/kv-store": "3.0.0-nightly.20251126",
|
|
47
|
+
"@aztec/l1-artifacts": "3.0.0-nightly.20251126",
|
|
48
|
+
"@aztec/node-lib": "3.0.0-nightly.20251126",
|
|
49
|
+
"@aztec/noir-contracts.js": "3.0.0-nightly.20251126",
|
|
50
|
+
"@aztec/noir-protocol-circuits-types": "3.0.0-nightly.20251126",
|
|
51
|
+
"@aztec/p2p": "3.0.0-nightly.20251126",
|
|
52
|
+
"@aztec/p2p-bootstrap": "3.0.0-nightly.20251126",
|
|
53
|
+
"@aztec/protocol-contracts": "3.0.0-nightly.20251126",
|
|
54
|
+
"@aztec/prover-client": "3.0.0-nightly.20251126",
|
|
55
|
+
"@aztec/prover-node": "3.0.0-nightly.20251126",
|
|
56
|
+
"@aztec/pxe": "3.0.0-nightly.20251126",
|
|
57
|
+
"@aztec/stdlib": "3.0.0-nightly.20251126",
|
|
58
|
+
"@aztec/telemetry-client": "3.0.0-nightly.20251126",
|
|
59
|
+
"@aztec/test-wallet": "3.0.0-nightly.20251126",
|
|
60
|
+
"@aztec/txe": "3.0.0-nightly.20251126",
|
|
61
|
+
"@aztec/world-state": "3.0.0-nightly.20251126",
|
|
62
62
|
"@types/chalk": "^2.2.0",
|
|
63
63
|
"abitype": "^0.8.11",
|
|
64
64
|
"chalk": "^5.3.0",
|
|
@@ -124,11 +124,11 @@ export class AnvilTestWatcher {
|
|
|
124
124
|
async warpTimeIfNeeded() {
|
|
125
125
|
try {
|
|
126
126
|
const currentSlot = await this.rollup.read.getCurrentSlot();
|
|
127
|
-
const
|
|
128
|
-
const
|
|
127
|
+
const pendingCheckpointNumber = BigInt(await this.rollup.read.getPendingCheckpointNumber());
|
|
128
|
+
const checkpointLog = await this.rollup.read.getCheckpoint([pendingCheckpointNumber]);
|
|
129
129
|
const nextSlotTimestamp = Number(await this.rollup.read.getTimestampForSlot([currentSlot + 1n]));
|
|
130
130
|
|
|
131
|
-
if (currentSlot ===
|
|
131
|
+
if (currentSlot === checkpointLog.slotNumber) {
|
|
132
132
|
// We should jump to the next slot
|
|
133
133
|
try {
|
|
134
134
|
await this.cheatcodes.warp(nextSlotTimestamp, {
|