forta-network/forta-bot-sdk

Update chainId validation to warning on failure

Robert-H-Leonard opened this issue · 0 comments

In this pull request we introduced some validation to make sure the chainId of the network found from the jsonRpcUrl is listed inside the package.json list of chainId's. If they are not matched we currently throw on error.

We should show a warning instead