Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dex_utils: make the RMM solver wasm friendly #2823

Closed
Tracked by #1724
erwanor opened this issue Jul 12, 2023 · 1 comment
Closed
Tracked by #1724

dex_utils: make the RMM solver wasm friendly #2823

erwanor opened this issue Jul 12, 2023 · 1 comment
Assignees
Labels
_P-low Priority: low

Comments

@erwanor
Copy link
Member

erwanor commented Jul 12, 2023

To compute the individual liquidity positions that correspond to a desired payoff, we embed a solver into the dex_utils crate. Even though the crate imports ndarray, the solver itself is self-contained and does not depend on a specific BLAS/LAPACK backend. It uses data structures and helper methods provided by ndarray so that the high-level code is easier to read. However, this is rather inconvenient since that means we cannot use the crate in a wasm context.

Instead of using ndarray data structures, the crate should drop use of ndarray and either use const generics or Vec<T>s.

@erwanor erwanor self-assigned this Jul 12, 2023
@erwanor erwanor added this to Testnets Jul 12, 2023
@erwanor erwanor moved this to Next in Testnets Jul 12, 2023
@erwanor erwanor moved this from Next to Testnet 58: Mimas in Testnets Jul 21, 2023
@erwanor erwanor moved this from Testnet 58: Mimas to Testnet 59: Enceladus in Testnets Aug 4, 2023
@erwanor erwanor moved this from Testnet 59: Enceladus to Next (Steal from here) in Testnets Aug 4, 2023
@conorsch conorsch moved this from Next to Future in Testnets Oct 18, 2023
@aubrika aubrika added this to Penumbra Oct 30, 2023
@github-project-automation github-project-automation bot moved this to 🗄️ Backlog in Penumbra Oct 30, 2023
@hdevalence hdevalence added the _P-low Priority: low label Feb 8, 2024
@hdevalence
Copy link
Member

It's unclear we should do this at all. We are currently not prioritizing liquidity provisioning from the web UI.

@hdevalence hdevalence closed this as not planned Won't fix, can't repro, duplicate, stale Feb 8, 2024
@github-project-automation github-project-automation bot moved this from 🗄️ Backlog to Done in Penumbra Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
_P-low Priority: low
Projects
Archived in project
Status: Future
Development

No branches or pull requests

2 participants