-
Notifications
You must be signed in to change notification settings - Fork 587
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
feat: add protobuf files for channel/v2 genesis storage. #7502
Conversation
// channel unique identifier. | ||
string channel_id = 1; | ||
// packet sequence. | ||
uint64 sequence = 2; |
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.
basically a PacketSequence
as defined underneath. Unsure if this wasn't used here in channel/v1 for some reason but keeping it separate for now (and possibly merge after bulk of genesis stuff is done)
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.
we need this also for some queries I think
// channel unique identifier. | ||
string channel_id = 1; | ||
// packet sequence. | ||
uint64 sequence = 2; |
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.
we need this also for some queries I think
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.
Pre-approving pending any changes before merge
} | ||
|
||
// PacketSequence defines the genesis type necessary to retrieve and store next send sequences. | ||
message PacketSequence { |
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.
Feel like ChannelSequence
makes more sense here, but fine we keeping the same as v1 if you want.
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.
will keep same for time being, can rename after getting other stuff in (should be a simple rename). Do think this does make sense to me too.
68cdd3b
to
84ef69b
Compare
Quality Gate passed for 'ibc-go'Issues Measures |
Description
adds initial protobuf files for channel/v2 genesis.
part of: #7479
Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
docs/
).godoc
comments.Files changed
in the GitHub PR explorer.SonarCloud Report
in the comment section below once CI passes.