FuelLabs / sway-applications

Swaypplications
https://sway-applications.vercel.app/
Apache License 2.0
1.58k stars 543 forks source link

AMM: replace use of `deposit_and_add_liquidity` function, with use of the `atomic-add-liquidity` script in tests #668

Open K1-R1 opened 1 year ago

K1-R1 commented 1 year ago

Motivation

In project/test-utils/src/setup.rs:

// TODO: once the script is reliable enough, use it for this functionality
pub async fn deposit_and_add_liquidity(