Update KILT types for upcoming release (#4812)

* chore: upgrade KILT types for 0.24.0 release

* refactor: add KILT name to mashnet
This commit is contained in:
William Freudenberger 2021-03-10 18:02:02 +01:00 committed by GitHub
parent 8222670551
commit 463759de78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 27 additions and 8 deletions

View File

@ -12,16 +12,35 @@ const definitions: OverrideBundleDefinition = {
// on all versions
minmax: [0, undefined],
types: {
Address: 'AccountId',
BlockNumber: 'u64',
Attestation: {
attester: 'AccountId',
ctypeHash: 'Hash',
delegationId: 'Option<DelegationNodeId>',
revoked: 'bool'
},
Balance: 'u128',
DelegationNode: {
owner: 'AccountId',
parent: 'Option<DelegationNodeId>',
permissions: 'Permissions',
revoked: 'bool',
rootId: 'DelegationNodeId'
},
DelegationNodeId: 'Hash',
ErrorCode: 'u16',
DelegationRoot: {
ctypeHash: 'Hash',
owner: 'AccountId',
revoked: 'bool'
},
DidRecord: {
boxKey: 'Hash',
docRef: 'Option<Vec<u8>>',
signKey: 'Hash'
},
Index: 'u64',
LookupSource: 'AccountId',
Permissions: 'u32',
PublicBoxKey: 'Hash',
PublicSigningKey: 'Hash',
RefCount: 'u8',
Signature: 'MultiSignature'
}
}

View File

@ -155,7 +155,7 @@ export function createTesting (t: TFunction): LinkOption[] {
},
{
info: 'kilt',
text: t('rpc.kilt', 'Mashnet', { ns: 'apps-config' }),
text: t('rpc.kilt', 'KILT Mashnet', { ns: 'apps-config' }),
providers: {
'KILT Protocol': 'wss://full-nodes.kilt.io:9944/'
}

View File

@ -37,7 +37,7 @@
"rpc.hosted.by": "hosted by {{host}}",
"rpc.hydra": "HydraDX",
"rpc.jupiter": "Jupiter",
"rpc.kilt": "Mashnet",
"rpc.kilt": "KILT Mashnet",
"rpc.kulupu": "Kulupu",
"rpc.kusama.ava": "Kusama",
"rpc.kusama.onfinality": "Kusama",
@ -98,4 +98,4 @@
"rpc.westend": "Westend",
"rpc.zero": "Zero",
"ss58.default": "Default for the connected node"
}
}