Skip to content

Commit

Permalink
Merge pull request #652 from nevermined-io/fix/workaround-for-base
Browse files Browse the repository at this point in the history
fix: workaround for base deployemnt
  • Loading branch information
eruizgar91 authored Apr 1, 2024
2 parents a5ea41d + a00e1fb commit 5b72b34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/events/ContractEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 5b72b34

Please sign in to comment.