raydium-io / raydium-cp-swap

Revamped constant product AMM - no Openbook ID requirement, Token22 support
Apache License 2.0
66 stars 45 forks source link

Compile issues #9

Closed magj2006 closed 3 months ago

magj2006 commented 3 months ago

There are some compile issues, ConstantProductCurve::swap_base_input_without_fees return u128, but still use it as Result type in test case of constant_product.rs and calculator.rs, please fix them.

截屏2024-05-28 10 45 03 截屏2024-05-28 10 43 51
RainRaydium commented 3 months ago

There are some compile issues, ConstantProductCurve::swap_base_input_without_fees return u128, but still use it as Result type in test case of constant_product.rs and calculator.rs, please fix them.

截屏2024-05-28 10 45 03 截屏2024-05-28 10 43 51

Have been commited in 1bdb103f984769e0b4d9492d2724877d84d480f3 over add_client branch