From 66c94ae4f0a54764ca890c927ffdbe3c2d6cd846 Mon Sep 17 00:00:00 2001 From: Matthew Walsh Date: Thu, 26 Sep 2024 15:10:23 +0100 Subject: [PATCH] fix: remove gasPrice property from linea_estimateGas request (#4737) --- packages/transaction-controller/CHANGELOG.md | 4 ++++ .../transaction-controller/src/gas-flows/LineaGasFeeFlow.ts | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/transaction-controller/CHANGELOG.md b/packages/transaction-controller/CHANGELOG.md index 9def158e0a..ba657d21e7 100644 --- a/packages/transaction-controller/CHANGELOG.md +++ b/packages/transaction-controller/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Fixed + +- Remove `gasPrice` from requests to `linea_estimateGas` ([#4737](https://github.com/MetaMask/core/pull/4737)) + ## [37.1.0] ### Added diff --git a/packages/transaction-controller/src/gas-flows/LineaGasFeeFlow.ts b/packages/transaction-controller/src/gas-flows/LineaGasFeeFlow.ts index 09a9b2b770..dfe72eeb7f 100644 --- a/packages/transaction-controller/src/gas-flows/LineaGasFeeFlow.ts +++ b/packages/transaction-controller/src/gas-flows/LineaGasFeeFlow.ts @@ -116,8 +116,6 @@ export class LineaGasFeeFlow implements GasFeeFlow { to: transactionMeta.txParams.to, value: transactionMeta.txParams.value, input: transactionMeta.txParams.data, - // Required in request but no impact on response. - gasPrice: '0x100000000', }, ]); }