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

modified existing functions to return an EventList for the modified interceptor for visualization #523

Merged

Conversation

Cath3876
Copy link

Different functions now return an EventList or an EventRecord such that the Events intercepted by the intercepter can also be modified by it.

may want to check my modifications of the implementations of the following to check nothing is broken unintentionally, as I might have overlooked something:

  • type Interceptor in pkg/eventlog/interceptor.go
  • and type EventWriter in pkg/eventlog/eventwriter.go

Copy link
Contributor

@matejpavlovic matejpavlovic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you and congrats to the first Mir pull request! :-)
Looks good in general, I left a few suggestions.

cmd/bench/stats/stat-interceptor.go Outdated Show resolved Hide resolved
node.go Show resolved Hide resolved
pkg/eventlog/eventwriter.go Outdated Show resolved Hide resolved
pkg/eventlog/multiinterceptor.go Outdated Show resolved Hide resolved
@matejpavlovic matejpavlovic force-pushed the visualization branch 2 times, most recently from 5287f2b to d88c2f1 Compare November 28, 2023 10:52
Copy link
Contributor

@matejpavlovic matejpavlovic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. Almost there!

pkg/eventlog/multiinterceptor.go Outdated Show resolved Hide resolved
pkg/eventlog/multiinterceptor.go Outdated Show resolved Hide resolved
Copy link
Contributor

@matejpavlovic matejpavlovic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice job, congrats to your first merged PR! :-)

@matejpavlovic matejpavlovic merged commit 1fb845c into consensus-shipyard:visualization Dec 1, 2023
3 checks passed
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