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.
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/statusendpoint matches the rollapp id that the relayer is being setup for.