cosmos-sdk/x/ibc-transfer/keeper
colin axnér 9e7f504da9
remove client type from 02-client (#7336)
* remove client type struct

Remove the client type struct, remove ClientType interface function from Header and Misbehaviour.
ClientState and ConsensusState return the ClientType as a string.
All uses of client type in testing are now pointing at the testing package so changing the location of the client type const will be painless.

* update godoc and add back client type interface func

Add godoc to client type constant for solo machine, tendermint, and localhost as per @fedekunze review suggestion.
Add back the ClientType interface function for misbehaviour and header for solo machine and tendermint and add back the one liner unit tests as per @AdityaSripal suggestion.

* remove client state from return

remove client state from the return of CreateClient, UpdateClient, and CheckMisbehaviourAndUpdateState as well as update tests to reflect this change.

* fix build error introduced by latest merge

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-09-22 14:25:58 +00:00
..
encoding.go ibc-transfer: sims updates (#7123) 2020-08-21 04:52:46 -04:00
genesis_test.go x/ibc-transfer: ADR001 source tracing implementation (#6871) 2020-08-14 17:46:26 -04:00
genesis.go ibc-transfer: enable transfer parameter (#6607) 2020-08-17 02:24:14 -04:00
grpc_query_test.go ibc-transfer: enable transfer parameter (#6607) 2020-08-17 02:24:14 -04:00
grpc_query.go Uncomment and fix tests in ibc-transfer (#7282) 2020-09-15 11:27:51 +00:00
keeper_test.go x/ibc-transfer: ADR001 source tracing implementation (#6871) 2020-08-14 17:46:26 -04:00
keeper.go move IBC exported files to one location to avoid circular deps (#7224) 2020-09-02 16:38:50 +00:00
params_test.go ibc-transfer: split params (#7068) 2020-08-17 08:16:24 -04:00
params.go ibc-transfer: split params (#7068) 2020-08-17 08:16:24 -04:00
relay_test.go remove client type from 02-client (#7336) 2020-09-22 14:25:58 +00:00
relay.go Uncomment and fix tests in ibc-transfer (#7282) 2020-09-15 11:27:51 +00:00