https://kusama.subsquare.io/referenda/567
- Acuity Index currently uses Rust types to decode events, but this has problems.
- Older events might not work if the chain has been updated.
- Fixing this for all past versions would be hard and slow.
- A better way is to use
field_values()
instead of decoding into types. - This makes indexing easier and works for all chain versions.
- Chains can be set up using a simple TOML file.
- The new method stores event details for queries.
- Full details are in the proposal link.