cosmos-sdk/x/ibc/testing/mock
Federico Kunze 2c93ec7a0c
ibc: core restructure (#7434)
* ibc: protobuf v1

* update codec

* core client

* core connection

* core host

* core commitment

* core port

* core channel

* core ibc module files

* core exported

* core types & simulation

* core spec

* make proto-all

* ibc alias
2020-10-02 06:03:02 -03:00
..
doc.go Add a mock application module to test core IBC (#7187) 2020-08-31 13:58:23 +00:00
mock.go ibc: core restructure (#7434) 2020-10-02 06:03:02 -03:00
privval_test.go x/ibc: mock own privValidator rather than relying on the one from tendermint (#7241) 2020-09-07 21:44:23 +00:00
privval.go Migrate BaseAccount PubKey to use Any (#7268) 2020-09-25 08:41:16 +00:00
README.md Add a mock application module to test core IBC (#7187) 2020-08-31 13:58:23 +00:00

This package is only intended to be used for testing core IBC. In order to maintain secure testing, we need to do message passing and execution which requires connecting an IBC application module that fulfills all the callbacks. We cannot connect to ibc-transfer which does not support all channel types so instead we create a mock application module which does nothing. It simply return nil in all cases so no error ever occurs. It is intended to be as minimal and lightweight as possible and should never import simapp.