Skip to content

v0.1.0-rc3

Compare
Choose a tag to compare
@markopoloparadox markopoloparadox released this 08 Jan 21:06
· 9 commits to main since this release
c145505

Changes

  • TransactionDetails now holds Option<Arc<AExtrinsicEvents>> for events instead of Arc<AExtrinsicEvents>.
  • is_successful now returns Option<Result<(), subxt::Error>> instead of Result<(), subxt::Error>
  • Added documentation for:
    • find_first_event
    • find_last_event
    • find_event
    • get_call_data
    • is_successful

This change is done because event decoding might fail and the user would have no way to know that. Now if is_successful returns None it means that no events we decoded so we cannot know if the transaction was actually successful or not.

What's Changed

Full Changelog: v0.1.0-rc2...v0.1.0-rc3