When you try to use the CLMM-CPI example you immediately encounter:
Program log: panicked at 'calledOption::unwrap()on aNonevalue', programs/amm/src/instructions/swap.rs:195:64
It appears that this is due to not passing in tick_arrays, Something to do with remaining_accounts.
It is unclear however where tick_arrays come from or how they go into the swap. The example remains incomplete and erroneous
When you try to use the CLMM-CPI example you immediately encounter:
Program log: panicked at 'called
Option::unwrap()on a
Nonevalue', programs/amm/src/instructions/swap.rs:195:64
It appears that this is due to not passing in tick_arrays, Something to do with remaining_accounts.
It is unclear however where tick_arrays come from or how they go into the swap. The example remains incomplete and erroneous