Use contractimport! in liquidity_pool example to import WASM file, and to import client.
Why
Start updating contracts to use the contractimport mechanics, and to move away from importing each other's Rust crates. Lean in on using the WASM for testing.
This doesn't go all the way to using all of the contractimport machinery, because it still relies on the token contract's utilities for native testing, and the utilities for signing and nonce management in tests as well. These things will be follow up looked at in a future iteration in:
What
Use
contractimport!
inliquidity_pool
example to import WASM file, and to import client.Why
Start updating contracts to use the contractimport mechanics, and to move away from importing each other's Rust crates. Lean in on using the WASM for testing.
This doesn't go all the way to using all of the contractimport machinery, because it still relies on the token contract's utilities for native testing, and the utilities for signing and nonce management in tests as well. These things will be follow up looked at in a future iteration in:
Close https://github.com/stellar/soroban-examples/issues/87