From 1023ec68927c207a700ddb97500c166564ce2f12 Mon Sep 17 00:00:00 2001 From: brenzi Date: Tue, 6 Apr 2021 06:05:38 +0200 Subject: [PATCH] update para metadata types (#5029) --- .../src/api/spec/encointer-para.ts | 21 ++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/packages/apps-config/src/api/spec/encointer-para.ts b/packages/apps-config/src/api/spec/encointer-para.ts index e251edd8e4..956c190511 100644 --- a/packages/apps-config/src/api/spec/encointer-para.ts +++ b/packages/apps-config/src/api/spec/encointer-para.ts @@ -25,14 +25,14 @@ const definitions: OverrideBundleDefinition = { ParticipantIndexType: 'u64', MeetupIndexType: 'u64', AttestationIndexType: 'u64', - CurrencyIdentifier: 'Hash', + CommunityIdentifier: 'Hash', BalanceType: 'i128', BalanceEntry: { principal: 'i128', last_update: 'BlockNumber' }, - CurrencyCeremony: { - cid: 'CurrencyIdentifier', + CommunityCeremony: { + cid: 'CommunityIdentifier', cindex: 'CeremonyIndexType' }, Location: { @@ -47,14 +47,14 @@ const definitions: OverrideBundleDefinition = { 'VerifiedLinked' ] }, - CurrencyPropertiesType: { + CommunityPropertiesType: { name_utf8: 'Text', demurrage_per_block: 'i128' }, ClaimOfAttendance: { claimant_public: 'AccountId', ceremony_index: 'CeremonyIndexType', - currency_identifier: 'CurrencyIdentifier', + community_identifier: 'CommunityIdentifier', meetup_index: 'MeetupIndexType', location: 'Location', timestamp: 'Moment', @@ -68,12 +68,19 @@ const definitions: OverrideBundleDefinition = { ProofOfAttendance: { prover_public: 'AccountId', ceremony_index: 'CeremonyIndexType', - currency_identifier: 'CurrencyIdentifier', + community_identifier: 'CommunityIdentifier', attendee_public: 'AccountId', attendee_signature: 'Signature' }, ShopIdentifier: 'Text', - ArticleIdentifier: 'Text' + ArticleIdentifier: 'Text', + PersonhoodUniquenessRating: 'Vec', + SybilResponse: { + _enum: [ + 'Unused', + 'Faucet' + ] + } } } ]