ghost-portal/packages/apps-config/src/api/spec/node-template.ts
Shawn Tabrizi a7b83a9bf4
Update node-template types to include Weight u32 (#2577)
Chains building with https://github.com/substrate-developer-hub/substrate-node-template/ will currently be using `alpha-v6` which has u32 weights. For the time being, I believe it makes sense for us to keep the default setting as Weight = u32 until the node template moves to a Substrate version that uses u64 weights.
2020-04-20 18:14:34 +02:00

14 lines
453 B
TypeScript

// Copyright 2017-2020 @polkadot/apps-config authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
// structs need to be in order
/* eslint-disable sort-keys */
export default {
Address: 'AccountId',
LookupSource: 'AccountId',
// Remove when https://github.com/substrate-developer-hub/substrate-node-template/ moves to alpha-v7
Weight: 'u32'
};