0xekez / cw-ibc-example

An example smart contract + test suite for communicating over IBC.
BSD 3-Clause "New" or "Revised" License
80 stars 12 forks source link

Test light client missbehavior #6

Open 0xekez opened 1 year ago

0xekez commented 1 year ago

The IBC spec discusses misbehavior here. This test is the same as #5, but for a light client that is frozen due to misbehavior. We need to be able to answer two questions:

  1. What is the recovery process if missbehavior is discovered?
  2. Will timeouts be delivered on the sending chain if a light client is frozen due to missbehavior?
0xekez commented 1 year ago

example of misbehavior from ibc-go: https://github.com/cosmos/ibc-go/blob/main/e2e/tests/core/client_test.go#L223