ComposableFi / ibc-go

Interblockchain communication protocol (IBC) implementation in Golang.
https://ibcprotocol.org/
MIT License
8 stars 3 forks source link

refactoring CheckHeaderAndUpdateState #12

Closed thomasmodeneis closed 2 years ago

thomasmodeneis commented 2 years ago

Description

Refactor CheckHeaderAndUpdateState into VerifyClientMessage, CheckForMisbehaviour, UpdateStateOnMisbehaviour and UpdateState

closes: #11


Before we can merge this PR, please make sure that all the following items have been checked off. If any of the checklist items are not applicable, please leave them but write a little note why.