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
It would be useful to be able to use a composite type as an event parameter so contracts can communicate complex information with the outside world without having to awkwardly split up the data.
Suggest A Solution
Support for any struct as a event parameter
Support for understanding and parsing the struct in other languages like Go.
Do not support resources
Context
This is blocking our ability to efficiently emit important events in the Flow Epoch Smart Contracts. We have a workaround, but would prefer to emit structs in our events.
Definition of Done
Sema: Allow structs as event parameters
Tests: Sema, Interpreter
Documentation
The text was updated successfully, but these errors were encountered:
@joshuahannan This is a good first issue, would anyone from the Reliability Pod working on the contracts be willing to pick this up? It should be fairly small and I'd be happy to assist
Issue To Be Solved
It would be useful to be able to use a composite type as an event parameter so contracts can communicate complex information with the outside world without having to awkwardly split up the data.
Suggest A Solution
Context
This is blocking our ability to efficiently emit important events in the Flow Epoch Smart Contracts. We have a workaround, but would prefer to emit structs in our events.
Definition of Done
The text was updated successfully, but these errors were encountered: