Skip to content

Commit

Permalink
fix: remove hardcoded gasPrice and gasLimit (#753)
Browse files Browse the repository at this point in the history
  • Loading branch information
platocrat authored May 5, 2021
1 parent f4b69d4 commit 67380c1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions examples/hardhat/deploy/ERC20.deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ const func = async (hre) => {
await deploy('ERC20', {
from: deployer,
args: [initialSupply, name],
gasPrice: hre.ethers.BigNumber.from('0'),
gasLimit: 8999999,
log: true
})
}
Expand Down
2 changes: 1 addition & 1 deletion examples/hardhat/test/erc20.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe(`ERC20`, () => {
const Factory__ERC20 = await ethers.getContractFactory('ERC20')
ERC20 = await Factory__ERC20.connect(account1).deploy(
INITIAL_SUPPLY,
TOKEN_NAME,
TOKEN_NAME
)

await ERC20.deployTransaction.wait()
Expand Down

0 comments on commit 67380c1

Please sign in to comment.