Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Add zksync era support to routing api (#7432)
<!-- Before opening a pull request, please read the [contributing guidelines](https://github.com/pancakeswap/pancake-frontend/blob/develop/CONTRIBUTING.md) first --> <!-- copilot:all --> ### <samp>🤖 Generated by Copilot at 1de92b5</samp> ### Summary 🌐🛣️📊 <!-- 1. 🌐 - This emoji can be used to represent the addition of support for new chains or networks, as it suggests expanding the scope or reach of the project. 2. 🛣️ - This emoji can be used to represent the update of the routing API, as it suggests improving the navigation or direction of the project. 3. 📊 - This emoji can be used to represent the update of the subgraph provider, as it suggests enhancing the data or analysis of the project. --> Added support for two new Layer 2 chains, Polygon ZK-EVM and ZKSync, in the routing API. Modified `constants.ts` and `provider.ts` in the `apis/routing` module to handle the new chain IDs and subgraph URLs. > _Oh we're the brave developers of the routing API_ > _We support the chains that make the transactions fly_ > _Heave away, me lads and lasses, heave away with `ZKSync`_ > _And don't forget the `Polygon ZK-EVM` in the mix_ ### Walkthrough * Add support for ZKSync chain and subgraph ([link](https://github.com/pancakeswap/pancake-frontend/pull/7432/files?diff=unified&w=0#diff-43579c3e0a273c113f43cdf93068a199e594bf2376548191ec9e4f63e01bde3aL8-R13), [link](https://github.com/pancakeswap/pancake-frontend/pull/7432/files?diff=unified&w=0#diff-43579c3e0a273c113f43cdf93068a199e594bf2376548191ec9e4f63e01bde3aR21), [link](https://github.com/pancakeswap/pancake-frontend/pull/7432/files?diff=unified&w=0#diff-0a6975d7fb0faf3791a56dd786d9226fdbcb013af80d0f985783e06573fa2df0L7-R7), [link](https://github.com/pancakeswap/pancake-frontend/pull/7432/files?diff=unified&w=0#diff-0a6975d7fb0faf3791a56dd786d9226fdbcb013af80d0f985783e06573fa2df0L52-R63))
- Loading branch information