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

Support fetching and resetting events #41

Merged
merged 5 commits into from
Aug 29, 2023
Merged

Support fetching and resetting events #41

merged 5 commits into from
Aug 29, 2023

Conversation

pmikolajczyk41
Copy link
Member

We enrich ChainApi with two new methods for:

  • reading all events from the current block that were recorded so far
  • clearing all events from the current block that were recorded so far (useful for inspecting events that were emitted for a single call)

A follow-up PR will use the new API for demonstrating event capturing for contract interaction.

@pmikolajczyk41 pmikolajczyk41 merged commit 7237808 into main Aug 29, 2023
1 check passed
@pmikolajczyk41 pmikolajczyk41 deleted the events branch August 29, 2023 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants