Skip to content

Commit

Permalink
Update from pgherveou running command 'prdoc --audience runtime_dev -…
Browse files Browse the repository at this point in the history
…-bump minor'
  • Loading branch information
github-actions[bot] committed Feb 5, 2025
1 parent e23b270 commit 571aaaa
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions prdoc/pr_7463.prdoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
title: '[pallet-revive] tx fee fixes'
doc:
- audience: Runtime Dev
description: |-
Apply some fixes to properly estimate ethereum tx fees:

- Set the `extension_weight` on the dispatch_info to properly calculate the fee with pallet_transaction_payment
- Expose the gas_price through Runtime API, just in case we decide to tweak the value in future updates, it should be read from the chain rather than be a shared constant exposed by the crate
- add a `evm_gas_to_fee` utility function to properly convert gas to substrate fee
- Fix some minor gas encoding for edge cases
crates:
- name: asset-hub-westend-runtime
bump: minor
- name: pallet-revive-eth-rpc
bump: minor
- name: pallet-revive
bump: minor

0 comments on commit 571aaaa

Please sign in to comment.