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.
This commit is contained in:
Shawn Tabrizi 2020-04-20 18:14:34 +02:00 committed by GitHub
parent 44c62d2e4b
commit a7b83a9bf4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'
};