Closed fschoell closed 1 year ago
Decoding of table rows fails if the table type is a variant. Example error from dfuse:
row struct "variant<account_v0>", err: structure [variant<account_v0>] not found in abi
fixed this by having decode() check first if the given struct name is a variant and if so use the variant type instead.
decode()
Background
Decoding of table rows fails if the table type is a variant. Example error from dfuse:
row struct "variant<account_v0>", err: structure [variant<account_v0>] not found in abi
Summary
fixed this by having
decode()
check first if the given struct name is a variant and if so use the variant type instead.Note
Checklist