Closed HolyGrease closed 1 year ago
Fix typo in metadata parser.
For example chain contains event like so:
pub enum Event<T: Config> { AccountUpdated { account_id: T::AccountId, username: T::Username, new_username: Option<T::Username>, phone_number_hash: T::PhoneNumberHash, new_phone_number_hash: Option<T::PhoneNumberHash>, }, // ... }
Now after decoding chain events you get something like this, where instead of field names uses field types:
{ T::AccountId: ..., T::Username: ..., // ... }
But the actual value should be:
{ account_id: ..., username: ..., // ... }
Closing this as no followup is taken and everything already seems to be working fine without the typo.
Description
Fix typo in metadata parser.
For example chain contains event like so:
Now after decoding chain events you get something like this, where instead of field names uses field types:
But the actual value should be: