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

Nara fixes for amm #5076

Merged
merged 8 commits into from
Feb 22, 2024
Merged

Nara fixes for amm #5076

merged 8 commits into from
Feb 22, 2024

Conversation

ignazio-bovo
Copy link
Contributor

@ignazio-bovo ignazio-bovo commented Feb 16, 2024

As agreed :

  • selling is not possible if the amm_provided_supply < amount_of_crt_to_sell
  • transaction fees from the amm are burned immediately
  • I have added a helper function on the numerical.rs utility library, I plan on adding more test, in the meantime the review can start

Copy link
Contributor

@freakstatic freakstatic left a comment

Choose a reason for hiding this comment

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

LGTM!

@kdembler
Copy link
Member

kdembler commented Feb 20, 2024

@ignazio-bovo sorry if it's a stupid question, but why does this PR result in changes in metadata?

Edit: nevermind, that's because of new error type

Copy link
Member

@kdembler kdembler left a comment

Choose a reason for hiding this comment

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

LGTM, would be good to get Mokhtar's approval as well

Copy link
Member

@kdembler kdembler left a comment

Choose a reason for hiding this comment

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

LGTM, would be good to get Mokhtar's approval as well

@kdembler kdembler merged commit 1c6b7f8 into Joystream:nara Feb 22, 2024
23 of 24 checks passed
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.

None yet

3 participants