Skip to content

deploy contracts fail because of gas fee  #13

@fromddy

Description

@fromddy

When I want to deploy one test round on xdai for me,
I use yarn workspace eth hardhat:prod deploy to deploy contracts but fail.
Then i set the gas Price in eth/hardhat.config.ts and deploy contracts successfully.

// The xdai config, but it isn't added to networks unless we have a DEPLOYER_MNEMONIC
const xdai = {
  // Using our archive node for admin task running
  url: 'https://rpc-df.xdaichain.com/',
  accounts: {
    mnemonic: DEPLOYER_MNEMONIC,
  },
  chainId: 100,
 gasPrice: 5000000000,
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions