mirror of
https://git.ghostchain.io/proxmio/ghost-node.git
synced 2025-12-27 11:19:57 +00:00
rustfmt common runtime and fix typos
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
@@ -4,7 +4,7 @@ macro_rules! impl_elections_weights {
|
||||
parameter_types! {
|
||||
/// A limit for off-chain phragmen unsigned solution submission.
|
||||
///
|
||||
/// We want to keep it as high as possible, but can't risk having
|
||||
/// We want to keep it as high as possible, but can't risk having
|
||||
/// it reject, so we always substract the base block execution weight.
|
||||
pub OffchainSolutionWeightLimit: Weight = BlockWeights::get()
|
||||
.get(DispatchClass::Normal)
|
||||
@@ -23,8 +23,8 @@ macro_rules! impl_elections_weights {
|
||||
};
|
||||
}
|
||||
|
||||
/// The number configured here could always be more than the maximum limits of
|
||||
/// staking pallet to ensure election snapshot will not run out of memory. For
|
||||
/// The number configured here could always be more than the maximum limits of
|
||||
/// staking pallet to ensure election snapshot will not run out of memory. For
|
||||
/// now, we set them to smaller values since the staking is bounded and the weight
|
||||
/// pipeline takes for this single pallet.
|
||||
pub struct BenchmarkConfig;
|
||||
|
||||
Reference in New Issue
Block a user