diff --git a/explorer/CHANGELOG.md b/explorer/CHANGELOG.md index b61f1a8227..f935325448 100644 --- a/explorer/CHANGELOG.md +++ b/explorer/CHANGELOG.md @@ -24,6 +24,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed +- Fix Average Fee Paid label [#2057] - Fix list items alignment on mobile [#2056] ## [0.1.0] - 2024-07-24 @@ -42,6 +43,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [#2037]: https://github.com/dusk-network/rusk/issues/2037 [#2039]: https://github.com/dusk-network/rusk/issues/2039 [#2056]: https://github.com/dusk-network/rusk/issues/2056 +[#2057]: https://github.com/dusk-network/rusk/issues/2057 [#2059]: https://github.com/dusk-network/rusk/issues/2059 [#2061]: https://github.com/dusk-network/rusk/issues/2061 [#2159]: https://github.com/dusk-network/rusk/issues/2159 diff --git a/explorer/src/lib/components/__tests__/__snapshots__/BlockDetails.spec.js.snap b/explorer/src/lib/components/__tests__/__snapshots__/BlockDetails.spec.js.snap index 7d87b93a24..b473dbc173 100644 --- a/explorer/src/lib/components/__tests__/__snapshots__/BlockDetails.spec.js.snap +++ b/explorer/src/lib/components/__tests__/__snapshots__/BlockDetails.spec.js.snap @@ -299,7 +299,7 @@ exports[`Block Details > renders the Block Details component 1`] = ` class="dusk-icon dusk-icon--size--normal detail-list__help" data-tooltip-id="main-tooltip" data-tooltip-place="top" - data-tooltip-text="The average fee paid for the transactions within the block" + data-tooltip-text="The average gas price for the transactions within the block" data-tooltip-type="info" role="graphics-symbol" viewBox="0 0 24 24" @@ -310,7 +310,7 @@ exports[`Block Details > renders the Block Details component 1`] = ` - average fee paid + average gas price
renders the Blocks List component 1`] = ` class="details-list__term details-list__term--table" > - average fee paid + average gas price
- + - average fee paid + average gas price {formatter(luxToDusk(data.transactions.stats.averageGasPrice))} DUSK diff --git a/explorer/src/lib/components/blocks-list/BlocksList.svelte b/explorer/src/lib/components/blocks-list/BlocksList.svelte index e492d8c624..58260eddfa 100644 --- a/explorer/src/lib/components/blocks-list/BlocksList.svelte +++ b/explorer/src/lib/components/blocks-list/BlocksList.svelte @@ -51,13 +51,13 @@ /> - + - average fee paid + average gas price {formatter(luxToDusk(data.transactions.stats.averageGasPrice))} DUSK diff --git a/explorer/src/routes/blocks/__tests__/__snapshots__/page.spec.js.snap b/explorer/src/routes/blocks/__tests__/__snapshots__/page.spec.js.snap index 462b749026..4c0e2bac4b 100644 --- a/explorer/src/routes/blocks/__tests__/__snapshots__/page.spec.js.snap +++ b/explorer/src/routes/blocks/__tests__/__snapshots__/page.spec.js.snap @@ -80,7 +80,7 @@ exports[`Blocks page > should render the Blocks page with the mobile layout 1`] class="details-list__term details-list__term--table" > - average fee paid + average gas price
should render the Blocks page with the mobile layout 1`] class="details-list__term details-list__term--table" > - average fee paid + average gas price
should render the Blocks page with the mobile layout 1`] class="details-list__term details-list__term--table" > - average fee paid + average gas price
should render the Blocks page with the mobile layout 1`] class="details-list__term details-list__term--table" > - average fee paid + average gas price
should render the Blocks page with the mobile layout 1`] class="details-list__term details-list__term--table" > - average fee paid + average gas price
should render the Blocks page with the mobile layout 1`] class="details-list__term details-list__term--table" > - average fee paid + average gas price
should render the Blocks page with the mobile layout 1`] class="details-list__term details-list__term--table" > - average fee paid + average gas price
should render the Blocks page with the mobile layout 1`] class="details-list__term details-list__term--table" > - average fee paid + average gas price
should render the Blocks page with the mobile layout 1`] class="details-list__term details-list__term--table" > - average fee paid + average gas price
should render the Blocks page with the mobile layout 1`] class="details-list__term details-list__term--table" > - average fee paid + average gas price
should render the Blocks page with the mobile layout 1`] class="details-list__term details-list__term--table" > - average fee paid + average gas price
should render the Blocks page with the mobile layout 1`] class="details-list__term details-list__term--table" > - average fee paid + average gas price
should render the Blocks page with the mobile layout 1`] class="details-list__term details-list__term--table" > - average fee paid + average gas price
should render the Blocks page with the mobile layout 1`] class="details-list__term details-list__term--table" > - average fee paid + average gas price
should render the Blocks page with the mobile layout 1`] class="details-list__term details-list__term--table" > - average fee paid + average gas price
should render the Block Details page and query the nece class="dusk-icon dusk-icon--size--normal detail-list__help" data-tooltip-id="main-tooltip" data-tooltip-place="top" - data-tooltip-text="The average fee paid for the transactions within the block" + data-tooltip-text="The average gas price for the transactions within the block" data-tooltip-type="info" role="graphics-symbol" viewBox="0 0 24 24" @@ -388,7 +388,7 @@ exports[`Block Details > should render the Block Details page and query the nece - average fee paid + average gas price
should render the Transaction section of the Block Deta class="dusk-icon dusk-icon--size--normal detail-list__help" data-tooltip-id="main-tooltip" data-tooltip-place="top" - data-tooltip-text="The average fee paid for the transactions within the block" + data-tooltip-text="The average gas price for the transactions within the block" data-tooltip-type="info" role="graphics-symbol" viewBox="0 0 24 24" @@ -989,7 +989,7 @@ exports[`Block Details > should render the Transaction section of the Block Deta - average fee paid + average gas price