From a00e1fb92c112a1a3e7bfc943f06e46f0f215405 Mon Sep 17 00:00:00 2001 From: enrique Date: Mon, 1 Apr 2024 17:02:28 +0200 Subject: [PATCH] fix: workaround for base deployemnt --- package.json | 2 +- src/events/ContractEvent.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 53c568b55..8da70a51c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nevermined-io/sdk", - "version": "2.2.17", + "version": "2.2.18", "description": "Javascript SDK for connecting with Nevermined Data Platform ", "main": "./dist/node/sdk.js", "typings": "./dist/node/sdk.d.ts", diff --git a/src/events/ContractEvent.ts b/src/events/ContractEvent.ts index eea0b2e15..2913839fb 100644 --- a/src/events/ContractEvent.ts +++ b/src/events/ContractEvent.ts @@ -40,7 +40,7 @@ export class ContractEvent extends NeverminedEvent { // Temporary workaround to work with mumbai // Infura as a 1000 blocks limit on their api - if (chainId === 80001 || chainId === 42) { + if (chainId === 80001 || chainId === 42 || chainId === 8453) { const latestBlock = await this.web3.getBlockNumber() options.fromBlock = latestBlock - 99 }