mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-01 07:47:57 +00:00
refactor: Transaction-Payment module (#3816)
* Initial draft that compiles * Extract payment stuff from balances * Extract multiplier update stuff from system * Some fixes. * Update len-fee as well * some review comments. * Remove todo * bump
This commit is contained in:
@@ -67,10 +67,10 @@ pub mod time {
|
||||
pub const DAYS: BlockNumber = HOURS * 24;
|
||||
}
|
||||
|
||||
// CRITICAL NOTE: The system module maintains two constants: a _maximum_ block weight and a
|
||||
// _ratio_ of it yielding the portion which is accessible to normal transactions (reserving the rest
|
||||
// for operational ones). `TARGET_BLOCK_FULLNESS` is entirely independent and the system module is
|
||||
// not aware of if, nor should it care about it. This constant simply denotes on which ratio of the
|
||||
// CRITICAL NOTE: The system module maintains two constants: a _maximum_ block weight and a _ratio_
|
||||
// of it yielding the portion which is accessible to normal transactions (reserving the rest for
|
||||
// operational ones). `TARGET_BLOCK_FULLNESS` is entirely independent and the system module is not
|
||||
// aware of if, nor should it care about it. This constant simply denotes on which ratio of the
|
||||
// _maximum_ block weight we tweak the fees. It does NOT care about the type of the dispatch.
|
||||
//
|
||||
// For the system to be configured in a sane way, `TARGET_BLOCK_FULLNESS` should always be less than
|
||||
|
||||
Reference in New Issue
Block a user