You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now events are declared as individual structs. This is not optimal because it wastes space and doesn't enforce grouping all events in one place. What we should to instead is define them just as the Error type as a single enum. The codegen should make sure that only struct like variants are used so that all fields are properly named.
The text was updated successfully, but these errors were encountered:
Right now events are declared as individual structs. This is not optimal because it wastes space and doesn't enforce grouping all events in one place. What we should to instead is define them just as the
Error
type as a single enum. The codegen should make sure that only struct like variants are used so that all fields are properly named.The text was updated successfully, but these errors were encountered: