mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 07:37:57 +00:00
feat: compute pallet/storage prefix hash at compile time (#1539)
Since the hash rules of this part of the `pallet_prefix/storage_prefix` are always fixed, we can put the runtime calculation into compile time. --- polkadot address: 15ouFh2SHpGbHtDPsJ6cXQfes9Cx1gEFnJJsJVqPGzBSTudr --------- Co-authored-by: Juan <juangirini@gmail.com> Co-authored-by: command-bot <> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
@@ -79,7 +79,7 @@ pub struct ProposerFactory<A, B, C, PR> {
|
||||
/// The soft deadline indicates where we should stop attempting to add transactions
|
||||
/// to the block, which exhaust resources. After soft deadline is reached,
|
||||
/// we switch to a fixed-amount mode, in which after we see `MAX_SKIPPED_TRANSACTIONS`
|
||||
/// transactions which exhaust resrouces, we will conclude that the block is full.
|
||||
/// transactions which exhaust resources, we will conclude that the block is full.
|
||||
soft_deadline_percent: Percent,
|
||||
telemetry: Option<TelemetryHandle>,
|
||||
/// When estimating the block size, should the proof be included?
|
||||
|
||||
Reference in New Issue
Block a user