Skip to content

Nara fixes for amm#5076

Merged
kdembler merged 8 commits intoJoystream:narafrom
dobertRowneySr:nara-fixes-for-amm
Feb 22, 2024
Merged

Nara fixes for amm#5076
kdembler merged 8 commits intoJoystream:narafrom
dobertRowneySr:nara-fixes-for-amm

Conversation

@dobertRowneySr
Copy link
Copy Markdown
Collaborator

@dobertRowneySr dobertRowneySr 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
Copy Markdown
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
Copy Markdown
Collaborator

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
Copy Markdown
Collaborator

@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
Copy Markdown
Collaborator

@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
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.

3 participants