diff --git a/package.json b/package.json index 17943a877..b329157fe 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nevermined-io/sdk", - "version": "3.0.31", + "version": "3.0.32", "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 3a0b89efe..e394eff47 100644 --- a/src/events/ContractEvent.ts +++ b/src/events/ContractEvent.ts @@ -78,11 +78,12 @@ export class ContractEvent extends NeverminedEvent { // Temporary workaround to work with mumbai // Infura as a 1000 blocks limit on their api if ( - chainId === 80001 || + chainId === 10 || chainId === 42 || + chainId === 3338 || chainId === 8453 || - chainId === 10 || - chainId === 42220 + chainId === 42220 || + chainId === 80001 ) { const latestBlock = await this.client.public.getBlockNumber() options.fromBlock = latestBlock - 999n