[TASK] Remove the need for TypedChainId
s in the API Endpoints
#510
Labels
difficulty: starter 🏁
Small issues that are great for starters or easy to complete tasks
Overview
We should be consistent while working and designing our APIs, right now I see a divergence when we query something, for instance when we query the leaves cache or the encrypted outputs, we use the raw chain ids like 5 for Goerli, but when we work with fee info we use the typed chain Ids, which is not human-friendly esp for testing and debugging.
Since now we have two separate Endpoints for Fee informations, we should change the endpoints to use the raw untyped chain ids like the other endpoints we have.
https://github.com/webb-tools/relayer/blob/008b8225a88bcb5ae4a35cb28697fbf4b9c92c02/crates/relayer-handlers/src/lib.rs#L200-L237
Task Checklist
chain_id
instead oftyped_chain_id
chain_id
instead oftyped_chain_id
The text was updated successfully, but these errors were encountered: