Skip to content

Commit

Permalink
feat: Show Block gas limit 2 (#1030)
Browse files Browse the repository at this point in the history
  • Loading branch information
janmichek authored Jan 16, 2025
1 parent 1abdace commit 5e2a631
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/components/MicroblockDetailsPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,17 @@
{{ formatNumber(microblockDetails.transactionsCount) }}
</td>
</tr>
<tr class="microblock-details-panel__row">
<th class="microblock-details-panel__table-header">
<hint-tooltip>
{{ microblocksHints.gas }}
</hint-tooltip>
Gas Limit
</th>
<td>
{{ microblockDetails.gas }}
</td>
</tr>
<tr class="microblock-details-panel__row">
<th class="microblock-details-panel__table-header">
<hint-tooltip>
Expand Down
1 change: 1 addition & 0 deletions src/utils/hints/microblocksHints.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ export const microblocksHints = {
transactionTime: 'Keyblock height and exact date and time when the transaction was executed by inclusion into a microblock.',
transactionType: 'The type of the transaction depends on its purpose in the æternity ecosystem.',
transactionData: 'The data displayed differs for each tx type.',
gas: 'Used gas from all transactions in the microblock.',
}

0 comments on commit 5e2a631

Please sign in to comment.