diff --git a/app/scripts/controllers/network/util.js b/app/scripts/controllers/network/util.js index 6e61a9e01..21787fa41 100644 --- a/app/scripts/controllers/network/util.js +++ b/app/scripts/controllers/network/util.js @@ -36,6 +36,7 @@ export function formatTxMetaForRpcResult(txMeta) { }; if (maxFeePerGas && maxPriorityFeePerGas) { + formattedTxMeta.gasPrice = maxFeePerGas; formattedTxMeta.maxFeePerGas = maxFeePerGas; formattedTxMeta.maxPriorityFeePerGas = maxPriorityFeePerGas; formattedTxMeta.type = TRANSACTION_ENVELOPE_TYPES.FEE_MARKET; diff --git a/app/scripts/controllers/network/util.test.js b/app/scripts/controllers/network/util.test.js index fdf761886..251812741 100644 --- a/app/scripts/controllers/network/util.test.js +++ b/app/scripts/controllers/network/util.test.js @@ -33,6 +33,7 @@ describe('network utils', function () { blockNumber: null, from: '0xc684832530fcbddae4b4230a47e991ddcec2831d', gas: '0x7b0d', + gasPrice: '0x77359400', hash: '0x4bcb6cd6b182209585f8ad140260ddb35c81a575dd40f508d9767e652a9f60e7', input: '0x',