From 30e7ad585a3a9b36be53b0f80ca3cc9526bfad7c Mon Sep 17 00:00:00 2001 From: Roman Volosovskyi Date: Tue, 27 Sep 2022 20:53:37 +0200 Subject: [PATCH] [#14059] Show effective gas price --- src/status_im/ethereum/transactions/core.cljs | 6 ++++-- status-go-version.json | 6 +++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/status_im/ethereum/transactions/core.cljs b/src/status_im/ethereum/transactions/core.cljs index 36a12c02f3..69ea68625f 100644 --- a/src/status_im/ethereum/transactions/core.cljs +++ b/src/status_im/ethereum/transactions/core.cljs @@ -69,7 +69,7 @@ [chain-tokens {:keys [address blockNumber timestamp from txStatus txHash gasPrice gasUsed contract value gasLimit input nonce to type id - maxFeePerGas maxPriorityFeePerGas]}] + maxFeePerGas maxPriorityFeePerGas effectiveGasPrice]}] (let [erc20? (= type "erc20") failed? (= txStatus "0x0")] (merge {:address (eip55/address->checksum address) @@ -77,7 +77,9 @@ :block (str (decode/uint blockNumber)) :timestamp (* (decode/uint timestamp) 1000) :gas-used (str (decode/uint gasUsed)) - :gas-price (str (decode/uint gasPrice)) + :gas-price (str (if effectiveGasPrice + (decode/uint effectiveGasPrice) + (decode/uint gasPrice))) :fee-cap (str (decode/uint maxFeePerGas)) :tip-cap (str (decode/uint maxPriorityFeePerGas)) :gas-limit (str (decode/uint gasLimit)) diff --git a/status-go-version.json b/status-go-version.json index c8e623fa6d..7a7036e734 100644 --- a/status-go-version.json +++ b/status-go-version.json @@ -3,7 +3,7 @@ "_comment": "Instead use: scripts/update-status-go.sh ", "owner": "status-im", "repo": "status-go", - "version": "v0.110.1", - "commit-sha1": "a182f3e699f290776a1f1b3df8e2341c67b3f814", - "src-sha256": "1hrqmm4db4vbgwjmvqzbilza6fwgb2hns1bsx4vzdpvjqfy3akrv" + "version": "v0.110.3", + "commit-sha1": "506921509e477445a95e1961a2557ef584d7caec", + "src-sha256": "1xmngbfl67n031rxhhbs7m14gzmfhgr1d34szclf1a6qxb9kw946" }