You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some doubts wrt the way we are using the tendermint light client in our relayer, trying to detail here.
Problem Definition
We should be able to create IBC light clients on chain X for the same chain Y with different security parameters (aka options).
Currently the options are defined globally and relayer light clients are initialized before any IBC clients are created on chain. The configuration is also modified to keep the light client store information and having multiple relayer light clients per chain is hard to manage.
There are also issues when we try to use IBC clients created by other relayers and that don't have a corresponding local light client instantiated.
Proposal
At a high level:
remove the light client sections from config. The config should only keep the chain info (full node rpc address and chain specific parameters) and
The text was updated successfully, but these errors were encountered:
ancazamfir
changed the title
Re-evaluate use light client functionality in relayer
Re-evaluate use of light client functionality in relayer
Feb 16, 2021
Crate
relayer
Summary
I have some doubts wrt the way we are using the tendermint light client in our relayer, trying to detail here.
Problem Definition
We should be able to create IBC light clients on chain X for the same chain Y with different security parameters (aka options).
Currently the options are defined globally and relayer light clients are initialized before any IBC clients are created on chain. The configuration is also modified to keep the light client store information and having multiple relayer light clients per chain is hard to manage.
There are also issues when we try to use IBC clients created by other relayers and that don't have a corresponding local light client instantiated.
Proposal
At a high level:
remove the light client sections from config. The config should only keep the chain info (full node rpc address and chain specific parameters) and
keep default light client options/ security params
no need to have a light client store, the store is on chain
no need for the supervisor
on
create-client
:MsgCreateClient
on
update-client
the relayer:relayer implements misbehavior monitoring and evidence submission (in progress):
MsgMisbehaviour
with the two blocks as evidencesummary of API needed from the light client:
fetch_light_block(rpc_address, height)
that returnsLightBlock
not actually needed, see Retrieve minimal set from light client and include supporting headers in client updates #1058get_minimal_set(rpc_address, trusted_light_block, target_height, options)
returnsVec<LightBlock>
(Relayer requirements for the Light Client tendermint-rs#497)For Admin Use
The text was updated successfully, but these errors were encountered: