Skip to content

Commit

Permalink
feat: added support for HIP-859 (Gas Consumed) (#931)
Browse files Browse the repository at this point in the history
Signed-off-by: Logan Nguyen <logan.nguyen@swirldslabs.com>
  • Loading branch information
quiet-node committed Mar 18, 2024
1 parent a3a9958 commit 045876a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/contract/ContractResult.vue
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@
<PlainAmount :amount="contractResult?.gas_used" none-label="None"/>
</template>
</Property>
<Property id="gasConsumed">
<template v-slot:name>Gas Consumed</template>
<template v-slot:value>
<PlainAmount :amount="contractResult?.gas_consumed" none-label="None"/>
</template>
</Property>
<Property id="maxFeePerGas">
<template v-slot:name>Max Fee Per Gas</template>
<template v-slot:value>
Expand Down
1 change: 1 addition & 0 deletions src/schemas/HederaSchemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,7 @@ export interface ContractResult {
gas_limit: number
gas_price: string | null
gas_used: number | null
gas_consumed: number | null
hash: string | null
max_fee_per_gas: string | null
max_priority_fee_per_gas: string | null
Expand Down

0 comments on commit 045876a

Please sign in to comment.