From 555129c502e98b6d954ad79ba026971727e93514 Mon Sep 17 00:00:00 2001 From: 10gic <2391796+10gic@users.noreply.github.com> Date: Thu, 30 May 2024 10:25:50 +0800 Subject: [PATCH] Fix incorrect gasLimit --- src/index.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/index.js b/src/index.js index 896c4622..d767ddf8 100644 --- a/src/index.js +++ b/src/index.js @@ -1171,7 +1171,6 @@ const initializeFormElements = () => { from: accounts[0], to: failingContract.address, value: '0x0', - gasLimit: '0x5028', maxFeePerGas: '0x2540be400', maxPriorityFeePerGas: '0x3b9aca00', }, @@ -1221,7 +1220,6 @@ const initializeFormElements = () => { from: accounts[0], to: multisigContract.address, value: '0x16345785D8A0', // 24414062500000 - gasLimit: '0x5028', maxFeePerGas: '0x2540be400', maxPriorityFeePerGas: '0x3b9aca00', }, @@ -1723,7 +1721,7 @@ const initializeFormElements = () => { from: accounts[0], to: '0x0c54FcCd2e384b4BB6f2E405Bf5Cbc15a017AaFb', value: '0x0', - gasLimit: '0x5028', + gasLimit: '0x5208', maxFeePerGas: '0x2540be400', maxPriorityFeePerGas: '0x3b9aca00', }, @@ -3129,7 +3127,7 @@ const initializeFormElements = () => { from, to: '0x0c54FcCd2e384b4BB6f2E405Bf5Cbc15a017AaFb', value: '0x0', - gasLimit: '0x5028', + gasLimit: '0x5208', maxFeePerGas: 'invalid', // invalid maxFeePerGas - expected int/hex value maxPriorityFeePerGas: '0x3b9aca00', }, @@ -3195,7 +3193,7 @@ const initializeFormElements = () => { from: accounts[0], to: `${maliciousAddress}`, value: '0x0', - gasLimit: '0x5028', + gasLimit: '0x5208', maxFeePerGas: '0x2540be400', maxPriorityFeePerGas: '0x3b9aca00', }, @@ -3220,7 +3218,7 @@ const initializeFormElements = () => { from: accounts[0], to: '0x5FbDB2315678afecb367f032d93F642f64180aa3', value: '0x0', - gasLimit: '0x5028', + gasLimit: '0x5208', maxFeePerGas: '0x2540be400', maxPriorityFeePerGas: '0x3b9aca00', },