Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
[On-chain, Relayminer] chore: add claim msg validation #236
[On-chain, Relayminer] chore: add claim msg validation #236
Changes from 14 commits
cebfce1
586e3a4
825d0c3
d9eb488
0049e3b
5180140
4dfe48a
5721b51
65d92e3
17fb3f1
91815d1
d28c74c
304d51f
d02d5d7
d191d39
51cabc3
c3926b1
7814b00
79fdefa
7c08f69
7ab73a9
2361013
1142628
aedfb6e
9d5f62b
a2773c9
4e25816
4508e15
a46d196
2f5e5ff
1ce457a
b49441c
a21ab57
b21f843
7fa8c07
b176b7a
e58cd33
80e7386
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm worried that
TxResult
may be conflated with the definition of a TxResult in Comet/Tendermint land. Wdyt ifABCIEvents
,TxResultEvents
or removing the decoupling altogether?https://github.com/cosmos/cosmos-sdk/blob/main/proto/tendermint/abci/types.proto#L416
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for calling this out! 🙌 This is indeed the correct type and we should be using it. 🦾 I would convert
TxEvent
to an alias for now with a comment that it should either be unexported and used via a new interface, or remove it altogether. I feel like it might make more sense to leave in, especially for the time being, because:I have gone digging (on more than one occasion) for the actual protobuf that is being used by comet/cosmos to produce the JSON structure we see in the event subscription stream. I can't remember if I looked at this one before or not but I'm realizing that it's tricky to connect the dots because it's being serialized to JSON. 🤔 Anyways, you nailed it - thanks!