From a7b83a9bf4eddaae54d93e9e3fe2ac64a771fd18 Mon Sep 17 00:00:00 2001 From: Shawn Tabrizi Date: Mon, 20 Apr 2020 18:14:34 +0200 Subject: [PATCH] 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. --- packages/apps-config/src/api/spec/node-template.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/apps-config/src/api/spec/node-template.ts b/packages/apps-config/src/api/spec/node-template.ts index 8556c23f71..9ebcf70f5e 100644 --- a/packages/apps-config/src/api/spec/node-template.ts +++ b/packages/apps-config/src/api/spec/node-template.ts @@ -7,5 +7,7 @@ export default { Address: 'AccountId', - LookupSource: 'AccountId' + LookupSource: 'AccountId', + // Remove when https://github.com/substrate-developer-hub/substrate-node-template/ moves to alpha-v7 + Weight: 'u32' };