Commit 54ef2f59 authored by smartcontracts's avatar smartcontracts Committed by GitHub

fix[integration-tests]: Use fixed address in gas estimation test (#598)

parent 79bffb92
...@@ -43,7 +43,7 @@ describe('Native ETH Integration Tests', async () => { ...@@ -43,7 +43,7 @@ describe('Native ETH Integration Tests', async () => {
describe('estimateGas', () => { describe('estimateGas', () => {
it('Should estimate gas for ETH transfer', async () => { it('Should estimate gas for ETH transfer', async () => {
const amount = utils.parseEther('0.5') const amount = utils.parseEther('0.5')
const addr = await l2Bob.getAddress() const addr = '0x' + '1234'.repeat(10)
const gas = await env.ovmEth.estimateGas.transfer(addr, amount) const gas = await env.ovmEth.estimateGas.transfer(addr, amount)
expect(gas).to.be.deep.eq(BigNumber.from(213546)) expect(gas).to.be.deep.eq(BigNumber.from(213546))
}) })
......
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