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.
How about Bytes for proofs and ctypes::BlockNumber for heights? I'll update previous ones (including this).
There was a problem hiding this comment.
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.
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.
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.
Maybe together with Identifier
Depends on #180