raydium-io / raydium-clmm

Open-Source Concentrated Liquidity Market Maker
Apache License 2.0
114 stars 92 forks source link

Clmm and Amm IDL mismatch. #87

Closed vikito755 closed 2 months ago

vikito755 commented 3 months ago

I built the "clmm" contract with "anchor build" after adding the appropriate "idl-build" features as instructed by the errors.

The resulting IDL a ppears to be for the "Amm" contract, instead for the "Clmm" one.

Here is the resulting IDL amm_v3.json

Is that an expected behaviour or have I made a mistake when building?

RainRaydium commented 2 months ago

That is correct, there is no problem, usually you only need to execute the anchor build command in the project directory.