cosmos-sdk/x/ibc/testing/mock
Aaron Craelius 228728cce2
Refactor RegisterQueryServices -> RegisterServices (#7518)
* Refactor RegisterQueryServices -> RegisterServices

* Fix tests
2020-10-12 16:31:51 +00:00
..
README.md Add a mock application module to test core IBC (#7187) 2020-08-31 13:58:23 +00:00
doc.go Add a mock application module to test core IBC (#7187) 2020-08-31 13:58:23 +00:00
mock.go Refactor RegisterQueryServices -> RegisterServices (#7518) 2020-10-12 16:31:51 +00:00
privval.go Migrate BaseAccount PubKey to use Any (#7268) 2020-09-25 08:41:16 +00: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

README.md

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.