mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-11 10:41:09 +00:00
westend: SignedPhase is a constant (#3646)
In preparation for the merkleized metadata, we need to ensure that constants are actually constant. If we want to test the unsigned phase we could for example just disable signed voter. Or we add some extra mechanism to the pallet to disable the signed phase from time to time. --------- Co-authored-by: Ankan <10196091+Ank4n@users.noreply.github.com> Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
This commit is contained in:
@@ -586,10 +586,8 @@ pub mod pallet {
|
||||
type EstimateCallFee: EstimateCallFee<Call<Self>, BalanceOf<Self>>;
|
||||
|
||||
/// Duration of the unsigned phase.
|
||||
#[pallet::constant]
|
||||
type UnsignedPhase: Get<BlockNumberFor<Self>>;
|
||||
/// Duration of the signed phase.
|
||||
#[pallet::constant]
|
||||
type SignedPhase: Get<BlockNumberFor<Self>>;
|
||||
|
||||
/// The minimum amount of improvement to the solution score that defines a solution as
|
||||
|
||||
Reference in New Issue
Block a user