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

Hardhat Ignation deployment on testnet throws IGN401 #393

Open
rube-de opened this issue Sep 11, 2024 · 0 comments
Open

Hardhat Ignation deployment on testnet throws IGN401 #393

rube-de opened this issue Sep 11, 2024 · 0 comments

Comments

@rube-de
Copy link
Contributor

rube-de commented Sep 11, 2024

SUMMARY

Running Hardhat Ignition deployments on sapphire-testnet, results in an error IGN401
see: NomicFoundation/hardhat-ignition#665

Running it multiple times the deployment can still be executed

ISSUE TYPE
  • Bug Report
STEPS TO REPRODUCE

Create a fresh hardhat project and add sapphire-hardhat with the standard lock contracts
Execute

PRIVATE_KEY="0x-your-pk" npx hardhat ignition deploy ./ignition/modules/Lock.ts --network sapphire-testnet
ACTUAL RESULTS

The deployment throws an error

✔ Confirm deploy to network sapphire-testnet (23295)? … yes
Hardhat Ignition 🚀

Deploying [ LockModule ]

Batch #1
  Executing LockModule#Lock...

An unexpected error occurred:

IgnitionError: IGN401: Error while executing LockModule#Lock: all the transactions of its network interaction 1 were dropped. Please try rerunning Hardhat Ignition.

EXPECTED RESULTS

The deployment runs without an error.

Additional Comments

It works fine with the sapphire-localnet docker

As people report in the linked issue (NomicFoundation/hardhat-ignition#665) this happen with with multiple EVM test networks, which could hint to some RPC configuration.

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