Fix: [Referenda Tracks] Resolve representation issues that are breaking PJS apps (#7671)
This Pull Request fixes the following issues present with PJS derived from #2072 - Represents `Tracks` constant as a `Vec<(TrackId, TrackInfo)>` instead of `Vec<Track>`, so tracks iteration in PJS apps _Governance_ hook remains as how it was before, and  - Encapsulates `[u8; N]` from `name` field in a `StringLike` structure that represents its `TypeInfo` as a `&str` and encodes as such. This fixes errors present in PJS apps that treat `name` as a javascript `string`.  --------- Co-authored-by:Guillaume Thiolliere <gui.thiolliere@gmail.com> Co-authored-by:
Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
parent
855c47b2
Pipeline
#519838
waiting for manual action
with stages
in
15 minutes and 12 seconds
Stage:
Stage:
Stage:
Stage:
Stage:
Please register or sign in to comment