Skip to content

Conversation

@sudipghimire533
Copy link
Collaborator

While throwing error from extrinsic, also deposit error as event.

  • Every error is of type frame_system::Error i.e airdrop pallet can throw error other that it's own pallet error eg: Overflow, AmountTooLow
  • Error of origin check is not stored as event, it might leave a room to hog the storage with unsigned call multiple time

@sudipghimire533 sudipghimire533 changed the title Sg/error as event Throw error as event as well Aug 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants