From ca7a63103204b88276f19e54b1944029059e0f80 Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Sat, 3 Apr 2021 09:04:42 +0300 Subject: [PATCH] Add cumulus ServiceQuality type (#3368) --- packages/types/src/interfaces/parachains/definitions.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/types/src/interfaces/parachains/definitions.ts b/packages/types/src/interfaces/parachains/definitions.ts index c07e7b4b5a..18792d51d6 100644 --- a/packages/types/src/interfaces/parachains/definitions.ts +++ b/packages/types/src/interfaces/parachains/definitions.ts @@ -24,11 +24,18 @@ const proposeTypes = { } }; +const cumulusTypes = { + ServiceQuality: { + _enum: ['Ordered', 'Fast'] + } +}; + export default { rpc: {}, types: { - ...proposeTypes, + ...cumulusTypes, ...hrmpTypes, + ...proposeTypes, ...slotTypes, AbridgedCandidateReceipt: { parachainIndex: 'ParaId',