* add ibc testing pkg with testchain * add ibctestsuite * add create connection and channel support * lint fixes * lint * revert * simplify code via lint * change suite to coordinator * Update x/ibc/testing/chain.go Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com> * make trust level var and remove get from channel test struct * apply most suggestions from pr review * split conn handshake into single step funcs * split channel handshake into separate funcs * apply @fedekunze suggestions Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
6 lines
136 B
Go
6 lines
136 B
Go
package testing
|
|
|
|
func prefixedClientKey(clientID string, key []byte) []byte {
|
|
return append([]byte("clients/"+clientID+"/"), key...)
|
|
}
|