From 11ce1f1e3757029fa5527869cca9d2c3030f8cd4 Mon Sep 17 00:00:00 2001 From: Priya Narayanaswamy Date: Wed, 12 Feb 2025 15:04:39 +0100 Subject: [PATCH] chore: increase gas limit from 20520 to 21000 for transactions --- src/components/ppom/batching.js | 4 ++-- src/components/signatures/malformed-transactions.js | 2 +- src/components/transactions/send.js | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/ppom/batching.js b/src/components/ppom/batching.js index 1876b43c..584f8d6c 100644 --- a/src/components/ppom/batching.js +++ b/src/components/ppom/batching.js @@ -135,7 +135,7 @@ export function ppomMaliciousBatchingAndQueueing(parentContainer) { from: globalContext.accounts[0], to: `${maliciousAddress}`, value: '0x0', - gasLimit: '0x5028', + gasLimit: '0x5208', maxFeePerGas: '0x2540be400', maxPriorityFeePerGas: '0x3b9aca00', }, @@ -160,7 +160,7 @@ export function ppomMaliciousBatchingAndQueueing(parentContainer) { from: globalContext.accounts[0], to: '0x5FbDB2315678afecb367f032d93F642f64180aa3', value: '0x0', - gasLimit: '0x5028', + gasLimit: '0x5208', maxFeePerGas: '0x2540be400', maxPriorityFeePerGas: '0x3b9aca00', }, diff --git a/src/components/signatures/malformed-transactions.js b/src/components/signatures/malformed-transactions.js index 5269d5af..3c881bdd 100644 --- a/src/components/signatures/malformed-transactions.js +++ b/src/components/signatures/malformed-transactions.js @@ -219,7 +219,7 @@ export function malformedTransactionsComponent(parentContainer) { from, to: '0x0c54FcCd2e384b4BB6f2E405Bf5Cbc15a017AaFb', value: '0x0', - gasLimit: '0x5028', + gasLimit: '0x5208', maxFeePerGas: 'invalid', // invalid maxFeePerGas - expected int/hex value maxPriorityFeePerGas: '0x3b9aca00', }, diff --git a/src/components/transactions/send.js b/src/components/transactions/send.js index ed4f48c6..de729df3 100644 --- a/src/components/transactions/send.js +++ b/src/components/transactions/send.js @@ -255,7 +255,7 @@ export function sendComponent(parentContainer) { from: globalContext.accounts[0], to: '0x0c54FcCd2e384b4BB6f2E405Bf5Cbc15a017AaFb', value: '0x0', - gasLimit: '0x5028', + gasLimit: '0x5208', maxFeePerGas: '0x2540be400', maxPriorityFeePerGas: '0x3b9aca00', }, @@ -367,7 +367,7 @@ export function sendComponent(parentContainer) { from: globalContext.accounts[0], to: contract.address, value: '0x0', - gasLimit: '0x5028', + gasLimit: '0x5208', maxFeePerGas: '0x2540be400', maxPriorityFeePerGas: '0x3b9aca00', }, @@ -418,7 +418,7 @@ export function sendComponent(parentContainer) { from: globalContext.accounts[0], to: contract.address, value: '0x16345785D8A0', // 24414062500000 - gasLimit: '0x5028', + gasLimit: '0x5208', maxFeePerGas: '0x2540be400', maxPriorityFeePerGas: '0x3b9aca00', },