Added Emergency to ElectionPhase (#3707)
Link to new field: https://github.com/paritytech/substrate/blob/6242d37f43ec5aa9b6131a8e61b8d4e71b063907/frame/election-provider-multi-phase/src/lib.rs#L337
This commit is contained in:
@@ -90,7 +90,8 @@ const phragmen = {
|
||||
_enum: {
|
||||
Off: null,
|
||||
Signed: null,
|
||||
Unsigned: '(bool, BlockNumber)'
|
||||
Unsigned: '(bool, BlockNumber)',
|
||||
Emergency: null
|
||||
}
|
||||
},
|
||||
ElectionResult: {
|
||||
|
||||
@@ -104,6 +104,7 @@ export interface ElectionPhase extends Enum {
|
||||
readonly isSigned: boolean;
|
||||
readonly isUnsigned: boolean;
|
||||
readonly asUnsigned: ITuple<[bool, BlockNumber]>;
|
||||
readonly isEmergency: boolean;
|
||||
}
|
||||
|
||||
/** @name ElectionResult */
|
||||
|
||||
Reference in New Issue
Block a user