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

Contract level events #199

Open
3 tasks
RitaMAllenCA opened this issue Aug 7, 2023 · 0 comments
Open
3 tasks

Contract level events #199

RitaMAllenCA opened this issue Aug 7, 2023 · 0 comments
Assignees
Labels

Comments

@RitaMAllenCA
Copy link

RitaMAllenCA commented Aug 7, 2023

This is a much desired feature in the community. Host-enforced contract level events. Needs grooming.
The objective is to have a way to track the event and the contract that generated the event and on the host side, create an irrefutable record.

The implementation should support the following functionality:

  1. What events did a given contract generate - irrefutably
  2. Node can ask EE what events a given contract emit? (new endpoint)

Implementation notes (to be updated by the dev once the implementation is complete):

  • Create a new bounded length event type
  • Update the FFI to take a string (event-generated message) & origin (contract identifier) --> and record it on the host side so there is an irrefutable record of the event.
  • Create a new endpoint in node to report which events a given contract generated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants