Skip to content

Commit

Permalink
feat: use units for gas price
Browse files Browse the repository at this point in the history
  • Loading branch information
heueristik committed Aug 1, 2023
1 parent 829c4a6 commit b90769a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/contracts/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import '@nomiclabs/hardhat-etherscan';
import '@openzeppelin/hardhat-upgrades';
import '@typechain/hardhat';
import {config as dotenvConfig} from 'dotenv';
import {parseUnits} from 'ethers/lib/utils';
import 'hardhat-deploy';
import 'hardhat-gas-reporter';
import {extendEnvironment, HardhatUserConfig} from 'hardhat/config';
Expand Down Expand Up @@ -62,7 +63,7 @@ export const networks: {[index: string]: NetworkUserConfig} = {
baseGoerli: {
chainId: 84531,
url: `${apiUrls.baseGoerli}`,
gasPrice: 20000000000,
gasPrice: parseUnits('1.6', 'gwei').toNumber(),
},
};

Expand Down

0 comments on commit b90769a

Please sign in to comment.