@aztec/aztec.js 0.1.0-alpha44 → 0.1.0-alpha45

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.
@@ -79,8 +79,8 @@ export abstract class BaseWallet implements Wallet {
79
79
  getUnencryptedLogs(from: number, limit: number): Promise<L2BlockL2Logs[]> {
80
80
  return this.rpc.getUnencryptedLogs(from, limit);
81
81
  }
82
- getBlockNum(): Promise<number> {
83
- return this.rpc.getBlockNum();
82
+ getBlockNumber(): Promise<number> {
83
+ return this.rpc.getBlockNumber();
84
84
  }
85
85
  getNodeInfo(): Promise<NodeInfo> {
86
86
  return this.rpc.getNodeInfo();
@@ -252,7 +252,7 @@ export class AztecCheatCodes {
252
252
  * @returns The current block number
253
253
  */
254
254
  public async blockNumber(): Promise<number> {
255
- return await this.aztecRpc.getBlockNum();
255
+ return await this.aztecRpc.getBlockNumber();
256
256
  }
257
257
 
258
258
  /**