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

[refactor] #3068: remove flattened events #4170

Merged
merged 1 commit into from
Dec 25, 2023

Conversation

DCNick3
Copy link
Contributor

@DCNick3 DCNick3 commented Dec 25, 2023

Description

This PR removes duplicated flattened events. Those are events like the DataEvent::Account(_) and DataEvent::Asset(_). They are already present under other event types (DataEvent::Domain(DomainEvent::Account(_)), for example) and were duplicated to simplify the event filter construction (?).

While an immediate effect of this change is ever more increased amount of boilerplate to construct event filters, this provides a more orthogonal events system, helping to build a comprehensive DSL.

Linked issue

Partially addresses #3068

Checklist

  • make ci pass

@github-actions github-actions bot added the iroha2-dev The re-implementation of a BFT hyperledger in RUST label Dec 25, 2023
@Erigara Erigara self-assigned this Dec 25, 2023
@Arjentix Arjentix self-assigned this Dec 25, 2023
@DCNick3 DCNick3 force-pushed the event-refactor branch 2 times, most recently from 5a8bdfc to 841ecd5 Compare December 25, 2023 09:53
@DCNick3 DCNick3 merged commit 390e955 into hyperledger-iroha:iroha2-dev Dec 25, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
iroha2-dev The re-implementation of a BFT hyperledger in RUST
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants