- fixes BagId bug from the storage node
@@ -11,6 +11,10 @@ use strum_macros::EnumIter;
#[cfg_attr(feature = "std", derive(Serialize, Deserialize, EnumIter))]
#[derive(Encode, Decode, Clone, PartialEq, Eq, Copy, Debug, PartialOrd, Ord)]
pub enum WorkingGroup {
+ /* Reserved
+ // working_group::Instance0.
+ Reserved,
+ */
/* Reserved
/// Forum working group: working_group::Instance1.
Forum,
@@ -82,6 +82,8 @@
},
"WorkingGroup": {
"_enum": [
+ "Reserved",
+ "Forum",
"Storage",
"Content",
"Operations",
@@ -1404,6 +1404,8 @@ export interface WorkerOf extends Struct {
/** @name WorkingGroup */
export interface WorkingGroup extends Enum {
+ readonly isReserved: boolean;
+ readonly isForum: boolean;
readonly isStorage: boolean;
readonly isContent: boolean;
readonly isOperations: boolean;
@@ -107,7 +107,8 @@ export class InputValidationLengthConstraint
}
export const WorkingGroupDef = {
- // TODO: Forum: Null,
+ Reserved: Null,
+ Forum: Null,
Storage: Null,
Content: Null,
Operations: Null,