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

Asserting event logs #175

Open
veigajoao opened this issue Jun 22, 2022 · 0 comments
Open

Asserting event logs #175

veigajoao opened this issue Jun 22, 2022 · 0 comments

Comments

@veigajoao
Copy link

veigajoao commented Jun 22, 2022

On building integration tests for complex smart contracts it is very important to test correct logging of events. Events are the bridge of data between the smart contract's state history and user facing frontend applications. Usually a complex service involves a indexing service that picks up events and logs them to a DB instance, for further processing.

Therefore, it seems very relevant to test the emission of events on integration tests, yet I've found no framework for doing so in workspaces.js' documentation.

Am I missing something? Is there a way to perform assertions on emitted events in the current version?

If not, I believe this would be a very beneficial feature add.

@github-project-automation github-project-automation bot moved this to Backlog 🥶 in DevRel Jun 3, 2024
@thisisjoshford thisisjoshford removed this from DevRel Oct 31, 2024
@github-project-automation github-project-automation bot moved this to NEW❗ in DevTools Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: NEW❗
Development

No branches or pull requests

1 participant