From 1463c4da134d56427c7200ed96acd45f6d9403e2 Mon Sep 17 00:00:00 2001 From: Herr Seppia Date: Wed, 31 Jul 2024 12:36:01 +0200 Subject: [PATCH] explorer: fix gas representation --- .../__snapshots__/TransactionDetails.spec.js.snap | 12 ++++-------- .../transaction-details/TransactionDetails.svelte | 8 ++------ .../__tests__/__snapshots__/page.spec.js.snap | 6 ++---- 3 files changed, 8 insertions(+), 18 deletions(-) diff --git a/explorer/src/lib/components/__tests__/__snapshots__/TransactionDetails.spec.js.snap b/explorer/src/lib/components/__tests__/__snapshots__/TransactionDetails.spec.js.snap index a860c9149f..165193dc40 100644 --- a/explorer/src/lib/components/__tests__/__snapshots__/TransactionDetails.spec.js.snap +++ b/explorer/src/lib/components/__tests__/__snapshots__/TransactionDetails.spec.js.snap @@ -257,8 +257,7 @@ exports[`Transaction Details > renders the Transaction Details component 1`] = `
- 0.50 - DUSK + 500000000
renders the Transaction Details component 1`] = `
- 0.000290766 - DUSK + 290766
renders the Transaction Details component with th
- 0.50 - DUSK + 500000000
renders the Transaction Details component with th
- 0.000290766 - DUSK + 290766
transaction gas limit - {feeFormatter(luxToDusk(data.gaslimit))} DUSK + {data.gaslimit} gas spent - {formatter(luxToDusk(data.gasspent))} DUSK + {data.gasspent} diff --git a/explorer/src/routes/transactions/transaction/__tests__/__snapshots__/page.spec.js.snap b/explorer/src/routes/transactions/transaction/__tests__/__snapshots__/page.spec.js.snap index f500804ded..2a6e81c202 100644 --- a/explorer/src/routes/transactions/transaction/__tests__/__snapshots__/page.spec.js.snap +++ b/explorer/src/routes/transactions/transaction/__tests__/__snapshots__/page.spec.js.snap @@ -295,8 +295,7 @@ exports[`Transaction Details > should render the Transaction details page and qu
- 0.50 - DUSK + 500000000
should render the Transaction details page and qu
- 0.000290766 - DUSK + 290766