-
Notifications
You must be signed in to change notification settings - Fork 278
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
Switch usage from EmitEvent
to EmitTypedEvent
#968
Comments
this will be a nice improvement. After #954, the only instance should be the payment module as listed above. |
I can pick this up, have a few doubts though (taking the example of
Thinking of implementing message and event as below
Open to suggestion if you have something else in mind @rahulghangas @evan-forbes |
Yes, events are consumed by other services Also, I don't think there's a need to change the qgb event, since we're doing some major refactoring to the qgb module (see Evan's comment above) |
So as a part of this issue, we only want to change payment module i.e. |
yessir |
- [x] switch to typed event for `blob` module' - [ ] ~~Refactor integration test~~ - [x] Closes #968
- [x] switch to typed event for `blob` module' - [ ] ~~Refactor integration test~~ - [x] Closes celestiaorg#968
Summary
Change
EmitEvent
in favour ofEmitTypedEvent
Problem Definition
EmitEvent
has been deprecatedProposal
We should switch to
EmitTypedEvent
and define relavnt type(s) in protobuf. Changes need to be done both inpayment
andqgb
module, primarilyx/payment/keeper/keeper.go
andx/qgb/keeper/keeper_attestation.go
For Admin Use
The text was updated successfully, but these errors were encountered: