Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for events #38

Closed
Tracked by #74
DaniPopes opened this issue May 15, 2023 · 1 comment · Fixed by #83
Closed
Tracked by #74

Add support for events #38

DaniPopes opened this issue May 15, 2023 · 1 comment · Fixed by #83
Labels
enhancement New feature or request

Comments

@DaniPopes
Copy link
Member

  • SolEvent trait
  • sol! support, similar implementation to error.rs
@DaniPopes DaniPopes added the enhancement New feature or request label May 15, 2023
@prestwich
Copy link
Member

this is more annoying than it seems, as the decoding is dependent on whether an indexed type is a dynamic. if dynamic, the hash of the encoded type is in the indexed field

this means that you can never just decode a topic. you have to determine whether the topic is a hash of a type that is found within the body

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants