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

Release gravity-devs/liquidity v1.4.1 #5

Merged
merged 5 commits into from
Oct 25, 2021

Conversation

dongsam
Copy link
Collaborator

@dongsam dongsam commented Oct 18, 2021

Description

This PR for release liquidity v1.4.1 of gravity-devs

Ref


Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • Targeted PR against correct branch (see CONTRIBUTING.md)
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Code follows the module structure standards.
  • Wrote unit and integration tests
  • Updated relevant documentation (docs/) or specification (x/<module>/spec/)
  • Added relevant godoc comments.
  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
  • Re-reviewed Files changed in the Github PR explorer
  • Review Codecov Report in the comment section below once CI passes

feat: bump Cosmos SDK from v0.44.0 to v0.44.1
(cherry picked from commit 9e955b0b7dba4c4e9a09e6d2415ce4181b62e90b)
feat: bump cosmos-sdk to v0.44.2
(cherry picked from commit e118e210d418594210f4f4862e03de1bfac6d050)
* fix: wip poc for reproduce and fix poolcoin truncation

* fix: simplify calculation logic and add more tests

WIP

* fix: use equality check in MintingPoolCoinsInvariant

* test: fix expected value

due to the change in deposit logic, expected value in test
also changed

* test: add test for MintingPoolCoinsInvariant

* fix: update deposit truncation logic and simulation ordering

* docs: update changelog and readme

* fix: revert MulTruncate to Mul on Deposit

Co-authored-by: Hanjun Kim <hallazzang@gmail.com>
(cherry picked from commit 616985fcd33900d12b54846900780830e0aab2b9)
* test: add testcase for cover small withdrawal case

* test: add test case for CreatePool

* fix: refactor and optimize depleted pool validation

* feat: add overflow checking logic

* chore: add testcase and remove comments

* test: add test code for big deposit

* fix: apply PR suggestions

* fix: add overflow checking logic and test cases
@dongsam dongsam marked this pull request as ready for review October 25, 2021 09:47
@dongsam dongsam requested review from hallazzang and jaybxyz October 25, 2021 09:47
@dongsam dongsam merged commit a919f89 into master Oct 25, 2021
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