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:
Bastian Köcher
2024-03-26 18:00:39 +00:00
committed by GitHub
parent 90234543f3
commit 0c15d88751
@@ -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