Skip to content

add chain-id check during relayer setup #1366

@artemijspavlovs

Description

@artemijspavlovs

currently, roller blindly takes the rollapp endpoints from chain. While fine for most scenarios, there's a chance that the node operator provides invalid endpoints / endpoints that point to a different chain.

During roller relayer setup, roller should check not only the availability of the RPC endpoint but also check that the chain ID of the /status endpoint matches the rollapp id that the relayer is being setup for.

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions