HydraDX-node icon indicating copy to clipboard operation
HydraDX-node copied to clipboard

Onchain routing does not work with LRNA

Open dmoka opened this issue 2 years ago • 2 comments

Detailed Description

We can not set a route containing pairs with LRNA, as LRNA can not be bought in omnipool.

Right now the set_route extrinsic of route-executor fails with AssetNotFound

Either support it, or have a better error for that.

Context

Possible Implementation

dmoka avatar Nov 24 '23 18:11 dmoka

Does this mean omnipool routes are not supported? Or is this abstracted away.

jak-pan avatar Dec 07 '23 17:12 jak-pan

@jak-pan Omnipool routes are fine, one can just not put LRNA in a hop as it can not be bought in omnipool. So right now it just fails with AssetNotFound error.

dmoka avatar Dec 08 '23 09:12 dmoka