This patch upgrades (breaking change) ABI to check event signature when decoding events. It also changes the function signature to return {:ok, "topic", params}, instead of raising on errors. Finally, you can return to older behavior via check_event_signature: false. We also rename event_topic to event_signature to be more accurate. And we add a function ABI.Event.canonical that returns the canonical event, with or without "indexed" keywords based on an indexed: true/false option.
This patch upgrades (breaking change) ABI to check event signature when decoding events. It also changes the function signature to return {:ok, "topic", params}, instead of raising on errors. Finally, you can return to older behavior via
check_event_signature: false
. We also renameevent_topic
toevent_signature
to be more accurate. And we add a functionABI.Event.canonical
that returns the canonical event, with or without"indexed"
keywords based on anindexed: true/false
option.Bump to 1.0.0-alpha8