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

Return all events from transaction trees including non-root events #28

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hgrano
Copy link

@hgrano hgrano commented May 8, 2023

Fix to bug which results in non-root events not being included in projections, as discussed on the Daml discuission foums https://discuss.daml.com/t/non-root-events-not-included-in-projection/6492/1.

@digitalasset-cla
Copy link
Member

digitalasset-cla commented May 8, 2023

CLA assistant check
All committers have signed the CLA.

@hgrano
Copy link
Author

hgrano commented May 10, 2023

Please note -- the way I have written it, the events within each transaction are not necessarily going to be returned in the same order as they occurred within the transaction. If required, I can change it to traverse each transaction tree and order the events. For my usecase the ordering didn't matter, not sure if it might matter in other usecases.

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.

2 participants