mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-18 15:21:05 +00:00
Migrate pallet-transaction-payment to new pallet attribute macro (#9087)
* Migrate pallet-transaciont-payment to new pallet attribute macro Signed-off-by: koushiro <koushiro.cqx@gmail.com> * remove generic from genesis config * fix test * fix tests * fix deprecated * fix tests Signed-off-by: koushiro <koushiro.cqx@gmail.com> Co-authored-by: thiolliere <gui.thiolliere@gmail.com> Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
# Transaction Payment Module
|
||||
# Transaction Payment Pallet
|
||||
|
||||
This module provides the basic logic needed to pay the absolute minimum amount needed for a
|
||||
This pallet provides the basic logic needed to pay the absolute minimum amount needed for a
|
||||
transaction to be included. This includes:
|
||||
- _weight fee_: A fee proportional to amount of weight a transaction consumes.
|
||||
- _length fee_: A fee proportional to the encoded length of the transaction.
|
||||
- _tip_: An optional tip. Tip increases the priority of the transaction, giving it a higher
|
||||
chance to be included by the transaction queue.
|
||||
|
||||
Additionally, this module allows one to configure:
|
||||
Additionally, this pallet allows one to configure:
|
||||
- The mapping between one unit of weight to one unit of fee via [`Config::WeightToFee`].
|
||||
- A means of updating the fee for the next block, via defining a multiplier, based on the
|
||||
final state of the chain at the end of the previous block. This can be configured via
|
||||
[`Config::FeeMultiplierUpdate`]
|
||||
|
||||
License: Apache-2.0
|
||||
License: Apache-2.0
|
||||
|
||||
Reference in New Issue
Block a user