Cater for weights 1.5 JSON representation (#5221)

* Cater for weights 1.5 JSON representation

* toBn check
This commit is contained in:
Jaco
2022-09-16 13:00:50 +03:00
committed by GitHub
parent 9247a40a15
commit 954a6f11de
8 changed files with 42 additions and 9 deletions
@@ -47,7 +47,7 @@ const PATHS_ALIAS = splitNamespace([
'sp_core::crypto::AccountId32',
'sp_runtime::generic::era::Era',
'sp_runtime::multiaddress::MultiAddress',
// weights v2 is a structure, treated as a u64 vis refTime
// weights v2 (1.5+) is a structure, treated as a u64 via refTime (these are used compact)
'frame_support::weights::weight_v2::Weight',
// ethereum overrides (Frontier, Moonbeam, Polkadot claims)
'account::AccountId20',