Since instructions can "emit events" by writing logs to the ledger — e.g. Anchor events, Account compression, etc. — it would be useful to describe these "events" in an framework agnostic way. Perhaps a simple InstructionEventNode array on the InstructionNode with simple name and docs attributes could be enough as a first step?
Since instructions can "emit events" by writing logs to the ledger — e.g. Anchor events, Account compression, etc. — it would be useful to describe these "events" in an framework agnostic way. Perhaps a simple
InstructionEventNode
array on theInstructionNode
with simplename
anddocs
attributes could be enough as a first step?