Some checks failed
CodeQL / Analyze (push) Waiting to run
Docker Build & Push Simapp (main) / docker-build (push) Waiting to run
golangci-lint / lint (push) Waiting to run
Tests / Code Coverage / build (amd64) (push) Waiting to run
Tests / Code Coverage / build (arm64) (push) Waiting to run
Tests / Code Coverage / unit-tests (map[additional-args:-tags="test_e2e" name:e2e path:./e2e]) (push) Waiting to run
Tests / Code Coverage / unit-tests (map[name:08-wasm path:./modules/light-clients/08-wasm]) (push) Waiting to run
Tests / Code Coverage / unit-tests (map[name:ibc-go path:.]) (push) Waiting to run
Deploy to GitHub Pages / Deploy to GitHub Pages (push) Has been cancelled
Buf-Push / push (push) Has been cancelled
1,002 B
1,002 B
| title | sidebar_label | sidebar_position | slug |
|---|---|---|---|
| Client State interface | Client State interface | 3 | /ibc/light-clients/client-state |
Implementing the ClientState interface
Learn how to implement the ClientState interface.
ClientType method
ClientType should return a unique string identifier of the light client. This will be used when generating a client identifier.
The format is created as follows: {client-type}-{N} where {N} is the unique global nonce associated with a specific client (e.g 07-tendermint-0).
Validate method
Validate should validate every client state field and should return an error if any value is invalid. The light client
implementer is in charge of determining which checks are required. See the Tendermint light client implementation as a reference.