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

Deployment error - fails despite the account having enough testnet ETH #683

Open
willvlad opened this issue Aug 30, 2021 · 0 comments
Open

Comments

@willvlad
Copy link

This is what I am getting in the console after multiple attempts. Any idea how to solve it?

yarn deploy --network ropsten
yarn run v1.22.11
$ yarn workspace @liquity/lib-ethers hardhat deploy --network ropsten
$ hardhat deploy --network ropsten
Deploying contracts...

Deploying ActivePool ...
An unexpected error occurred:

Error: insufficient funds for intrinsic transaction cost (error={"name":"ProviderError","code":-32000}, method="sendTransaction", transaction=undefined, code=INSUFFICIENT_FUNDS, version=providers/5.0.24)
    at Logger.makeError (/liquity/node_modules/@ethersproject/logger/src.ts/index.ts:205:28)
    at Logger.throwError (/liquity/node_modules/@ethersproject/logger/src.ts/index.ts:217:20)
    at checkError (/liquity/node_modules/@ethersproject/providers/src.ts/json-rpc-provider.ts:48:16)
    at /liquity/node_modules/@ethersproject/providers/src.ts/json-rpc-provider.ts:191:24
    at processTicksAndRejections (internal/process/task_queues.js:95:5) {
  reason: 'insufficient funds for intrinsic transaction cost',
  code: 'INSUFFICIENT_FUNDS',
  error: ProviderError: insufficient funds for gas * price + value
      at HttpProvider.request (/liquity/node_modules/hardhat/src/internal/core/providers/http.ts:46:19)
      at LocalAccountsProvider.request (/liquity/node_modules/hardhat/src/internal/core/providers/accounts.ts:125:36)
      at processTicksAndRejections (internal/process/task_queues.js:95:5)
      at EthersProviderWrapper.send (/liquity/node_modules/@nomiclabs/hardhat-ethers/src/internal/ethers-provider-wrapper.ts:13:20),
  method: 'sendTransaction',
  transaction: undefined
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed.
Exit code: 1
Command: /usr/local/bin/node
Arguments: /usr/local/lib/node_modules/yarn/lib/cli.js hardhat deploy --network ropsten
Directory: /liquity/packages/lib-ethers
Output:

info Visit https://yarnpkg.com/en/docs/cli/workspace for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
@willvlad willvlad changed the title Deployment error - fails despite the account having enough ETH Deployment error - fails despite the account having enough testnet ETH Aug 30, 2021
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

2 participants
@willvlad and others