Commit 67380c11 authored by platocrat's avatar platocrat Committed by GitHub

fix: remove hardcoded gasPrice and gasLimit (#753)

parent f4b69d44
...@@ -10,8 +10,6 @@ const func = async (hre) => { ...@@ -10,8 +10,6 @@ const func = async (hre) => {
await deploy('ERC20', { await deploy('ERC20', {
from: deployer, from: deployer,
args: [initialSupply, name], args: [initialSupply, name],
gasPrice: hre.ethers.BigNumber.from('0'),
gasLimit: 8999999,
log: true log: true
}) })
} }
......
...@@ -18,7 +18,7 @@ describe(`ERC20`, () => { ...@@ -18,7 +18,7 @@ describe(`ERC20`, () => {
const Factory__ERC20 = await ethers.getContractFactory('ERC20') const Factory__ERC20 = await ethers.getContractFactory('ERC20')
ERC20 = await Factory__ERC20.connect(account1).deploy( ERC20 = await Factory__ERC20.connect(account1).deploy(
INITIAL_SUPPLY, INITIAL_SUPPLY,
TOKEN_NAME, TOKEN_NAME
) )
await ERC20.deployTransaction.wait() await ERC20.deployTransaction.wait()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment