Skip to content

Commit

Permalink
Merge pull request #2054 from dusk-network/fix-gas_unit
Browse files Browse the repository at this point in the history
  • Loading branch information
herr-seppia authored Jul 31, 2024
2 parents e2065ba + 1463c4d commit b0e2c1d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,7 @@ exports[`Transaction Details > renders the Transaction Details component 1`] = `
<dd
class="details-list__definition"
>
0.50
DUSK
500000000
</dd>
<dt
class="details-list__term"
Expand All @@ -284,8 +283,7 @@ exports[`Transaction Details > renders the Transaction Details component 1`] = `
<dd
class="details-list__definition"
>
0.000290766
DUSK
290766
</dd>
<dt
class="details-list__term"
Expand Down Expand Up @@ -586,8 +584,7 @@ exports[`Transaction Details > renders the Transaction Details component with th
<dd
class="details-list__definition"
>
0.50
DUSK
500000000
</dd>
<dt
class="details-list__term"
Expand All @@ -613,8 +610,7 @@ exports[`Transaction Details > renders the Transaction Details component with th
<dd
class="details-list__definition"
>
0.000290766
DUSK
290766
</dd>
<dt
class="details-list__term"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,17 +162,13 @@
<!-- GAS LIMIT -->
<ListItem tooltipText="The transaction gas limit">
<svelte:fragment slot="term">transaction gas limit</svelte:fragment>
<svelte:fragment slot="definition"
>{feeFormatter(luxToDusk(data.gaslimit))} DUSK</svelte:fragment
>
<svelte:fragment slot="definition">{data.gaslimit}</svelte:fragment>
</ListItem>

<!-- GAS SPENT -->
<ListItem tooltipText="The amount of gas spent generating the transaction">
<svelte:fragment slot="term">gas spent</svelte:fragment>
<svelte:fragment slot="definition"
>{formatter(luxToDusk(data.gasspent))} DUSK</svelte:fragment
>
<svelte:fragment slot="definition">{data.gasspent}</svelte:fragment>
</ListItem>

<!-- PAYLOAD -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,7 @@ exports[`Transaction Details > should render the Transaction details page and qu
<dd
class="details-list__definition"
>
0.50
DUSK
500000000
</dd>
<dt
class="details-list__term"
Expand All @@ -322,8 +321,7 @@ exports[`Transaction Details > should render the Transaction details page and qu
<dd
class="details-list__definition"
>
0.000290766
DUSK
290766
</dd>
<dt
class="details-list__term"
Expand Down

0 comments on commit b0e2c1d

Please sign in to comment.