api3dao / vitepress-docs

Next generation of api3-docs
https://docs.api3.org/
MIT License
11 stars 15 forks source link

dAPI chains list inconsistent with Market #760

Closed dcroote closed 4 months ago

dcroote commented 4 months ago

The dAPI Chains and Contracts page lists chains that aren't supported by the Market. This is because the axios build script includes the chain so long as the Api3ServerV1 contract is present within the contracts repo addresses.json file. This results in chains like Rootstock (chain ID 30) being present when it is not on the Market.

Proposed solution: only include chains belonging to the Api3Market object of the address.json file.

wkande commented 4 months ago

That would work I beleive. Also there is @api3/contract but that would require a code update every time it changes.