@aztec/aztec 3.0.0-nightly.20251124 → 3.0.0-nightly.20251125

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 pendingBlockNumber = BigInt(await this.rollup.read.getPendingBlockNumber());
105
- const blockLog = await this.rollup.read.getBlock([
106
- pendingBlockNumber
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 === blockLog.slotNumber) {
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.20251124",
3
+ "version": "3.0.0-nightly.20251125",
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.20251124",
32
- "@aztec/archiver": "3.0.0-nightly.20251124",
33
- "@aztec/aztec-faucet": "3.0.0-nightly.20251124",
34
- "@aztec/aztec-node": "3.0.0-nightly.20251124",
35
- "@aztec/aztec.js": "3.0.0-nightly.20251124",
36
- "@aztec/bb-prover": "3.0.0-nightly.20251124",
37
- "@aztec/bb.js": "3.0.0-nightly.20251124",
38
- "@aztec/blob-sink": "3.0.0-nightly.20251124",
39
- "@aztec/bot": "3.0.0-nightly.20251124",
40
- "@aztec/builder": "3.0.0-nightly.20251124",
41
- "@aztec/cli": "3.0.0-nightly.20251124",
42
- "@aztec/constants": "3.0.0-nightly.20251124",
43
- "@aztec/entrypoints": "3.0.0-nightly.20251124",
44
- "@aztec/ethereum": "3.0.0-nightly.20251124",
45
- "@aztec/foundation": "3.0.0-nightly.20251124",
46
- "@aztec/kv-store": "3.0.0-nightly.20251124",
47
- "@aztec/l1-artifacts": "3.0.0-nightly.20251124",
48
- "@aztec/node-lib": "3.0.0-nightly.20251124",
49
- "@aztec/noir-contracts.js": "3.0.0-nightly.20251124",
50
- "@aztec/noir-protocol-circuits-types": "3.0.0-nightly.20251124",
51
- "@aztec/p2p": "3.0.0-nightly.20251124",
52
- "@aztec/p2p-bootstrap": "3.0.0-nightly.20251124",
53
- "@aztec/protocol-contracts": "3.0.0-nightly.20251124",
54
- "@aztec/prover-client": "3.0.0-nightly.20251124",
55
- "@aztec/prover-node": "3.0.0-nightly.20251124",
56
- "@aztec/pxe": "3.0.0-nightly.20251124",
57
- "@aztec/stdlib": "3.0.0-nightly.20251124",
58
- "@aztec/telemetry-client": "3.0.0-nightly.20251124",
59
- "@aztec/test-wallet": "3.0.0-nightly.20251124",
60
- "@aztec/txe": "3.0.0-nightly.20251124",
61
- "@aztec/world-state": "3.0.0-nightly.20251124",
31
+ "@aztec/accounts": "3.0.0-nightly.20251125",
32
+ "@aztec/archiver": "3.0.0-nightly.20251125",
33
+ "@aztec/aztec-faucet": "3.0.0-nightly.20251125",
34
+ "@aztec/aztec-node": "3.0.0-nightly.20251125",
35
+ "@aztec/aztec.js": "3.0.0-nightly.20251125",
36
+ "@aztec/bb-prover": "3.0.0-nightly.20251125",
37
+ "@aztec/bb.js": "3.0.0-nightly.20251125",
38
+ "@aztec/blob-sink": "3.0.0-nightly.20251125",
39
+ "@aztec/bot": "3.0.0-nightly.20251125",
40
+ "@aztec/builder": "3.0.0-nightly.20251125",
41
+ "@aztec/cli": "3.0.0-nightly.20251125",
42
+ "@aztec/constants": "3.0.0-nightly.20251125",
43
+ "@aztec/entrypoints": "3.0.0-nightly.20251125",
44
+ "@aztec/ethereum": "3.0.0-nightly.20251125",
45
+ "@aztec/foundation": "3.0.0-nightly.20251125",
46
+ "@aztec/kv-store": "3.0.0-nightly.20251125",
47
+ "@aztec/l1-artifacts": "3.0.0-nightly.20251125",
48
+ "@aztec/node-lib": "3.0.0-nightly.20251125",
49
+ "@aztec/noir-contracts.js": "3.0.0-nightly.20251125",
50
+ "@aztec/noir-protocol-circuits-types": "3.0.0-nightly.20251125",
51
+ "@aztec/p2p": "3.0.0-nightly.20251125",
52
+ "@aztec/p2p-bootstrap": "3.0.0-nightly.20251125",
53
+ "@aztec/protocol-contracts": "3.0.0-nightly.20251125",
54
+ "@aztec/prover-client": "3.0.0-nightly.20251125",
55
+ "@aztec/prover-node": "3.0.0-nightly.20251125",
56
+ "@aztec/pxe": "3.0.0-nightly.20251125",
57
+ "@aztec/stdlib": "3.0.0-nightly.20251125",
58
+ "@aztec/telemetry-client": "3.0.0-nightly.20251125",
59
+ "@aztec/test-wallet": "3.0.0-nightly.20251125",
60
+ "@aztec/txe": "3.0.0-nightly.20251125",
61
+ "@aztec/world-state": "3.0.0-nightly.20251125",
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 pendingBlockNumber = BigInt(await this.rollup.read.getPendingBlockNumber());
128
- const blockLog = await this.rollup.read.getBlock([pendingBlockNumber]);
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 === blockLog.slotNumber) {
131
+ if (currentSlot === checkpointLog.slotNumber) {
132
132
  // We should jump to the next slot
133
133
  try {
134
134
  await this.cheatcodes.warp(nextSlotTimestamp, {