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

bugfix(nodebuilder/fraud): remove fraud.Subscriber from module #1169

Merged

Conversation

vgonkivs
Copy link
Member

@vgonkivs vgonkivs commented Sep 26, 2022

It's not nessesary to invoke new(fraud.Subscriber) in the Module creation because this instances of fraud.Subscriber is not used anywhere. According to our logic it should be passed to OnProof and OnProof is invoked from Lifecycle that receives fraud.Service as an input parameter.

@vgonkivs vgonkivs added area:fraud kind:fix Attached to bug-fixing PRs labels Sep 26, 2022
@vgonkivs vgonkivs self-assigned this Sep 26, 2022
nodebuilder/fraud/module.go Outdated Show resolved Hide resolved
@vgonkivs vgonkivs force-pushed the remove_fraud_subscriber_from_module branch from 4c102c3 to 1f6769d Compare September 26, 2022 17:17
@vgonkivs vgonkivs merged commit b63bae2 into celestiaorg:main Sep 27, 2022
@vgonkivs vgonkivs deleted the remove_fraud_subscriber_from_module branch January 9, 2023 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:fraud kind:fix Attached to bug-fixing PRs
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants