Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Polygon Mumbai Issue #319

Open
benjamin852 opened this issue Apr 8, 2024 · 0 comments
Open

Polygon Mumbai Issue #319

benjamin852 opened this issue Apr 8, 2024 · 0 comments

Comments

@benjamin852
Copy link

I am using the addNativeGas() function on axelarjs. This had been working for me in previous months for my tx going from Polygon to Fantom. But now when I run this hardhat task I get an error saying.

An unexpected error occurred:

Error: could not detect network (event="noNetwork", code=NETWORK_ERROR, version=providers/5.7.2)
  reason: 'could not detect network',
  code: 'NETWORK_ERROR',
  event: 'noNetwork'
}

Not sure if we changed anything for Polygon Mumbai. I tried to run this script the other way around (from Fantom to Polygon) and it worked fine. Here is my execution, it's quite straightforward

   const gasOptions: AddGasOptions = {
      evmWalletDetails: {
        privateKey: connectedWallet.privateKey,
      }
    }


 const { success, transaction } = await sdkGmpRecovery.addNativeGas(
          EvmChain.POLYGON, //Polygon not working
          tx2.hash,
          gasOptions
        )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant