-
Notifications
You must be signed in to change notification settings - Fork 12
Implement ConnOpenConfirm datagram #185
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
Implement ConnOpenConfirm datagram #185
Conversation
238a956
to
9355bd2
Compare
9355bd2
to
e693dd5
Compare
}, | ||
ConnOpenConfirm { | ||
identifier: String, | ||
proof_ack: Vec<u8>, |
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.
How about Bytes
for proofs and ctypes::BlockNumber
for heights? I'll update previous ones (including this).
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'll create a new commit that changes Vec to Bytes in all IBC code.
IMO, we should not use the ctypes::BlockNumber here. We should consider other chain's block number. ctypes::BlockNumber
is for Foundry only.
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.
Ok then I'll leave Vec<u8>
s. And please contain update to ctypes::BlockNumber
for our blocks (e.g making proof), in the same commit
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.
How about defining a IBCBlockNumber
type instead?
I'm not sure which method is better, but using a IBCBlockNumber
type in the all IBC code is easier.
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.
Maybe together with Identifier
Depends on #180