Commit Graph
2 Commits
Author SHA1 Message Date
Thomas Scholtes cb6ed508a3 Event arguments are Vec not HashSet (#27)
Event arguments in the metadata are treated as `Vec` instead of
`HashSet`. This fixes an issue with event arguments of the same name.

For example the `Balances::Transfer` event has four arguments:
`AccountId` (from), `AccountId` (to), `Balance` (value), `Balance`
(fee). Before this change the code would only try to parse the two
distinct arguments `AccountId` and `Balance` and decoding would fail.
2019-11-04 15:00:54 +00:00
Thomas Scholtes 29f8badb85 Don’t panic on storage decode error (#30)
Instead of panicking when the storage data reveived cannot be decoded we
pass on the error.
2019-11-04 14:21:00 +00:00