catalystdao / generalised-relayer

Modular Relayer that works with multiple AMBs & Generalised Incentives
MIT License
10 stars 4 forks source link

[feat]: Add Chain ID verification against RPC #37

Closed ajimeno04 closed 2 months ago

ajimeno04 commented 2 months ago

This pull request introduces a new method to validate the Chain ID obtained from a given RPC endpoint against an expected Chain ID. The aim is to ensure that the application is connected to the correct blockchain network.

jsanmigimeno commented 2 months ago

This code is not correct, there are 2 main issues: