cosmos-sdk/x/ibc
colin axnér 83f2c75f3d
connection handshake updates for versioning (#7328)
* update handshake to match spec

* add test for version

* add test for open try

* add more tests

Add a test for supplied versions that do not function with previous connection states in INIT and TRYOPEN

* update godoc

* update version checks to switch

Update the version checks in ConnOpenAck to use a switch to increase readability of the code as well as provide custom error messages for each possible case that may occur. Slighly modified version to review suggestion by @fedekunze

* add intersection comments to handshake and pick version

* remove old code
2020-09-22 13:47:43 +00:00
..
02-client Retrieve Epoch from ChainID (#7280) 2020-09-15 21:09:48 +00:00
03-connection connection handshake updates for versioning (#7328) 2020-09-22 13:47:43 +00:00
04-channel Fix QueryUnreceivedPackets/Acks (#7320) 2020-09-18 09:56:20 +00:00
05-port Add a mock application module to test core IBC (#7187) 2020-08-31 13:58:23 +00:00
07-tendermint Retrieve Epoch from ChainID (#7280) 2020-09-15 21:09:48 +00:00
09-localhost Retrieve Epoch from ChainID (#7280) 2020-09-15 21:09:48 +00:00
23-commitment/types move IBC exported files to one location to avoid circular deps (#7224) 2020-09-02 16:38:50 +00:00
24-host x/ibc: implement Height interface (#7211) 2020-09-03 16:23:20 -04:00
client Retrieve Epoch from ChainID (#7280) 2020-09-15 21:09:48 +00:00
exported Remove GetHeight from ConsensusState (#7274) 2020-09-14 18:16:42 +00:00
keeper Fix QueryUnreceivedPackets/Acks (#7320) 2020-09-18 09:56:20 +00:00
light-clients/solomachine Proto Tx with Any (#7276) 2020-09-21 16:48:28 +00:00
simulation Make clients use proto Height (#7184) 2020-08-31 17:57:08 +00:00
spec Retrieve Epoch from ChainID (#7280) 2020-09-15 21:09:48 +00:00
testing Proto Tx with Any (#7276) 2020-09-21 16:48:28 +00:00
types Final IBC migration and Amino removal (#7157) 2020-08-25 10:17:38 -04:00
genesis.go Enable proto JSON for genesis (#7000) 2020-08-11 14:22:30 +00:00
genesis_test.go Remove GetHeight from ConsensusState (#7274) 2020-09-14 18:16:42 +00:00
handler.go ibc: modular client messages (#7160) 2020-09-01 10:40:31 +00:00
handler_test.go x/ibc: implement Height interface (#7211) 2020-09-03 16:23:20 -04:00
ibc_test.go Retrieve Epoch from ChainID (#7280) 2020-09-15 21:09:48 +00:00
module.go rename RegisterCodec to RegisterLegacyAminoCodec (#7243) 2020-09-07 14:47:12 +00:00