Commit bfa00658 authored by Mark Tyneway's avatar Mark Tyneway Committed by Liam Horne

test: estimate gas for wETH transfer

parent 0a708824
...@@ -12,6 +12,12 @@ describe('Fee Payment Integration Tests', async () => { ...@@ -12,6 +12,12 @@ describe('Fee Payment Integration Tests', async () => {
env = await OptimismEnv.new() env = await OptimismEnv.new()
}) })
it('Should estimate gas for wETH transfer', async () => {
const amount = utils.parseEther('0.5')
const gas = await env.ovmEth.estimateGas.transfer(other, amount)
expect(gas).is.instanceof(BigNumber)
})
it('Paying a nonzero but acceptable gasPrice fee', async () => { it('Paying a nonzero but acceptable gasPrice fee', async () => {
const amount = utils.parseEther('0.5') const amount = utils.parseEther('0.5')
......
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