Skip to content

feat: added add_all_liquidity extrinsic to omnipool pallet#1366

Open
khuzama98 wants to merge 6 commits intomasterfrom
feat/add-all-liquidity
Open

feat: added add_all_liquidity extrinsic to omnipool pallet#1366
khuzama98 wants to merge 6 commits intomasterfrom
feat/add-all-liquidity

Conversation

@khuzama98
Copy link

Description

This PR adds a new extrinsic to the omnipool pallet that allows users to add all the liquidity of any asset to the pool, but keeping enough balance in the user's wallet for ED.

Related Issue

Fixes: #1326

Motivation and Context

How Has This Been Tested?

Checklist:

  • I have updated the documentation if necessary.
  • I have added tests to cover my changes, regression test if fixing an issue.
  • This is a breaking change.

@khuzama98 khuzama98 changed the title added add_all_liquidity extrinsic to omnipool pallet feat: added add_all_liquidity extrinsic to omnipool pallet Feb 14, 2026
@github-actions
Copy link

github-actions bot commented Feb 14, 2026

Crate versions that have been updated:

  • runtime-integration-tests: v1.69.0 -> v1.70.0
  • pallet-omnipool: v6.0.0 -> v6.1.0
  • hydradx-runtime: v395.0.0 -> v396.0.0

Runtime version has been increased.


Ok(())
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use Self::do_add_liquidity()

@github-actions
Copy link

Quick benchmark at commit 6dd7e1b has been executed successfully.
View results

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add add_all_liquidity omnipool extrinsic

2 participants