Skip to content

Conversation

royvardhan
Copy link
Collaborator

@royvardhan royvardhan commented Aug 19, 2025

[WIP] A configurable tendermint based client and relayer. Closes #481

@royvardhan royvardhan changed the title init tendermint client and relayer feat: tendermint client and relayer Aug 19, 2025
commitment: StateCommitment {
timestamp: updated_state.verified_timestamp,
overlay_root: None,
// Is finalized header hash the same as the state root?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no

Comment on lines +171 to +176
// match id {
// StateMachine::Tendermint(chain_id) => {
// Ok(Box::new(TendermintStateMachine::<H, T>::default()))
// },
// _ => Err(Error::Custom("Unsupported state machine or chain ID".to_string())),
// }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make it a pallet and read from pallet storage if we support said chain Id

pub consensus_state_id: ConsensusStateId,
pub state_machine: StateMachine,
pub host: HostConfig,
pub provider: Arc<dyn IsmpProvider>,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just use evm provider for now

overlay_root: None,
// Is finalized header hash the same as the state root?
state_root: primitive_types::H256(
updated_state.trusted_state.finalized_header_hash,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

State root is the apphash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sei integration
3 participants