|
@@ -38,9 +38,8 @@ describe('Base operation test', () => {
|
|
|
from: deployer.address,
|
|
from: deployer.address,
|
|
|
nonce: await web3.eth.getTransactionCount(deployer.address),
|
|
nonce: await web3.eth.getTransactionCount(deployer.address),
|
|
|
gasPrice: web3.utils.toWei('2', 'gwei'),
|
|
gasPrice: web3.utils.toWei('2', 'gwei'),
|
|
|
- gasLimit: 1_000_000,
|
|
|
|
|
- to: '0x0000000000000000000000000000000000000000'
|
|
|
|
|
|
|
+ gasLimit: 1_000_000
|
|
|
}
|
|
}
|
|
|
- await weth_contract.methods.withdraw(1e9).send(rawTx).then(console.log)
|
|
|
|
|
|
|
+ await weth_contract.methods.withdraw(1e15).send(rawTx).then(console.log)
|
|
|
})
|
|
})
|
|
|
})
|
|
})
|