Skip to content

fix: ensure at least one currency in pool#844

Merged
Ad96el merged 1 commit intodevelopfrom
ag_bonding_curve_no_bonded_currency
Jan 11, 2025
Merged

fix: ensure at least one currency in pool#844
Ad96el merged 1 commit intodevelopfrom
ag_bonding_curve_no_bonded_currency

Conversation

@Ad96el
Copy link
Contributor

@Ad96el Ad96el commented Jan 10, 2025

fixes #3747

The pool_id is based on the bonded currency IDs. If you attempt to create a pool twice without associating any bonded currencies, the pool_id will collide, resulting in an internal error.

@Ad96el Ad96el requested review from ntn-x2 and rflechtner January 10, 2025 08:14
@Ad96el Ad96el merged commit a611e1f into develop Jan 11, 2025
15 of 16 checks passed
@Ad96el Ad96el deleted the ag_bonding_curve_no_bonded_currency branch January 11, 2025 21:22
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.

2 participants