polkadart
polkadart copied to clipboard
Remove Uint64List support from polkadart_scale_codec and polkadart_cli packages
Context
Dart Web doesn't support Uint64List, and some packages rely in this data structure, we must remove Uint64List references otherwise polkadart_scale_codec cannot be used on the web. Change all ocurrences to lists of BigInt.
- https://github.com/dart-lang/sdk/issues/50332
Acceptance Criteria
- Remove
Uint64ListandInt64Listsupport fromu64andi64codecs. - Refactor
polkadart_clifor not useU64Sequence,I64Sequence,U64ArrayandI64Arraycodecs. - Unit tests passes
- Update CHANGELOG.md for both packages.
Thank you for this lovely lib! We consider using it for Karma Coin mobile app. Can you guys please confirm that supporting web apps is on the project short-term intention to support web apps and fix this issue?
@avive yes! the plan is fully support all platforms supported by flutter, currently the only blocker for web is this issue here, which will be fixed shortly.
Solved by #508