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.
14 lines
453 B
TypeScript
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'
|
|
};
|