Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

00856 add hip 859 support for gasconsumed #931

Merged
merged 2 commits into from
Mar 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading