Closed StepanUsynin closed 3 weeks ago
polkadart_cli throws an exception for Polkadot.
Building package executable... Built polkadart_cli:generate. output directory: ".../packages/substrate/lib/src/generated/polkadart" Unhandled exception: Exception: Type not found for MinInflation
MinInflation
This is a working progress in here https://github.com/leonardocustodio/polkadart/pull/487 Any ETA @Lohann ?
Fixed with #491 , please update your substrate_metadata package to v1.2.3
substrate_metadata
polkadart_cli throws an exception for Polkadot.
Building package executable... Built polkadart_cli:generate. output directory: ".../packages/substrate/lib/src/generated/polkadart" Unhandled exception: Exception: Type not found for
MinInflation
0 Registry._parseCodec (package:polkadart_scale_codec/core/registry.dart:218:7)
1 Registry._parseTuple (package:polkadart_scale_codec/core/registry.dart:272:11)
2 Registry._parseCodec (package:polkadart_scale_codec/core/registry.dart:198:16)
3 Registry._parseComplexEnum (package:polkadart_scale_codec/core/registry.dart:629:15)
4 Registry._parseEnum (package:polkadart_scale_codec/core/registry.dart:573:15)
5 Registry._parseCodec (package:polkadart_scale_codec/core/registry.dart:223:16)
6 Registry._parseCodec (package:polkadart_scale_codec/core/registry.dart:210:23)
7 Registry._parseComplexEnum (package:polkadart_scale_codec/core/registry.dart:629:15)
8 Registry._parseEnum (package:polkadart_scale_codec/core/registry.dart:573:15)
9 Registry._parseCodec (package:polkadart_scale_codec/core/registry.dart:223:16)
10 Registry.parseSpecificCodec (package:polkadart_scale_codec/core/registry.dart:83:13)
11 V14Parser.getChainInfo (package:substrate_metadata/parsers/v14_parser.dart:119:46)
12 ChainInfo.fromMetadata (package:substrate_metadata/models/chain_info.dart:21:32)
13 new RuntimeMetadata.fromHex (package:polkadart/primitives/runtime_metadata.dart:16:28)
14 StateApi.getMetadata (package:polkadart/apis/state.dart:152:28)