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

Bump liquidity module v1.4.0 based sdk v0.44.0 #956

Merged

Conversation

dongsam
Copy link
Contributor

@dongsam dongsam commented Aug 27, 2021

Description

Liquidity module v1.3.0 is released tendermint/liquidity#439 ( discontinued due to sdk v0.44.0 released )

CHANGELOGS

  • #433 (sdk) Bump SDK version to v0.43.0.
  • #436 Validation MsgSwapWithinBatch and OfferCoinFee ceiling
    • When calculating OfferCoinFee, the decimal points are rounded up.
      • before (v1.2.x): MsgSwapWithinBatch.OfferCoinFee should be OfferCoin * params.SwapFeeRate/2 with Truncate or 0
      • after (v1.3.x): MsgSwapWithinBatch.OfferCoinFee should be OfferCoin * params.SwapFeeRate/2 with Ceil
    • Fix reserveOfferCoinFee residual Issue due to decimal error
  • #438 Fix PoolBatch index, beginHeight issues and genesis logic
    • Remove PoolBatchIndex
    • Fix PoolBatch.Index duplicated bug
    • Fix PoolBatch.BeginHeight consistency issue on genesis init logic

Liquidity module v1.4.0 is released, gravity-devs/liquidity v1.4.0 as well

CHANGELOGS


For contributor use:

  • 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

For admin use:

  • Added appropriate labels to PR (ex. WIP, R4R, docs, etc)
  • Reviewers assigned
  • Squashed all commits, uses message "Merge pull request #XYZ: [title]" (coding standards)

@codecov
Copy link

codecov bot commented Aug 27, 2021

Codecov Report

Merging #956 (f94f106) into start-upgrade (20b564b) will not change coverage.
The diff coverage is n/a.

@@              Coverage Diff               @@
##           start-upgrade     #956   +/-   ##
==============================================
  Coverage          10.55%   10.55%           
==============================================
  Files                 10       10           
  Lines               1071     1071           
==============================================
  Hits                 113      113           
  Misses               953      953           
  Partials               5        5           

@dongsam dongsam force-pushed the upgrade-liquidity-module-based-sdk-43 branch from 6b860ae to eb9ebda Compare August 31, 2021 02:40
@dongsam dongsam marked this pull request as ready for review August 31, 2021 02:59
@dongsam dongsam mentioned this pull request Aug 31, 2021
16 tasks
@dongsam
Copy link
Contributor Author

dongsam commented Sep 3, 2021

Cosmos-SDK v0.44.0 has been released, so will it be upgraded to based v0.44.0 instead of v0.43.0 in Gaia Vega upgrade? Then, we will also prepare for the upgrade of the liquidity module to the based v0.44.0

@yaruwangway
Copy link
Contributor

Cosmos-SDK v0.44.0 has been released, so will it be upgraded to based v0.44.0 instead of v0.43.0 in Gaia Vega upgrade? Then, we will also prepare for the upgrade of the liquidity module to the based v0.44.0

I think so. Please confirm this @okwme
which IBC-go version will you use ?

@colin-axner
Copy link
Contributor

which IBC-go version will you use ?

v1.1.0

Copy link
Contributor

@alessio alessio left a comment

Choose a reason for hiding this comment

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

Signing off. Thanks, folks 🙏

…liquidity-module-based-sdk-43

# Conflicts:
#	app/app.go
#	docs/migration/cosmoshub-6-vega-test.md
#	go.mod
#	go.sum
@dongsam dongsam changed the title Bump liquidity module based sdk v0.43.0 Bump liquidity module v1.4.0 based sdk v0.44.0 Sep 7, 2021
@dongsam
Copy link
Contributor Author

dongsam commented Sep 7, 2021

R4R: Since the Cosmos-sdk version of #942 was updated based on v0.44.0, the liquidity was also bumped to v1.4.0 release based on sdk v0.44.0 on this PR.
As was the latest version with Gaia, import to gravity-devs/liquidity, not to tendermint/liquidity.

…liquidity-module-based-sdk-43

# Conflicts:
#	go.sum
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
@yaruwangway yaruwangway merged commit fb20e65 into cosmos:start-upgrade Sep 14, 2021
yaruwangway added a commit that referenced this pull request Sep 14, 2021
* gaia upgrade prepare

* app updates

* app updates

* Update cmd/gaiad/cmd/root.go

* Update cmd/gaiad/cmd/root.go

* app updates

* app updates

* app updates

* gaia v5 to v6

* remove redundancy, change "umeeApp" to "gaiaApp"

* change upgrade name from "gaia-v6.0.0" to "vega"

* readme for local test

* add module versions

* add liquidity

* add authz and fee grant

* add authz and grantfee

* remove ibc from storeUpgrade

* change upgrade readme

* upgrade readme modify

* use a created validator

* change validator

* Bump liquidity module to v1.3.0 based sdk v0.43.0

* docs: update changelog for liquidity

* build: bump liquidity version to v1.4.0

* docs: update CHANGELOG.md

* docs: lint CHANGELOG.md

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

Co-authored-by: yaruwang <yaruwang.materials@gmail.com>
Co-authored-by: Aleksandr Bezobchuk <aleks.bezobchuk@gmail.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: billy rennekamp <billy.rennekamp@gmail.com>
Co-authored-by: kogisin <jaybkim2@gmail.com>
yaruwangway added a commit that referenced this pull request Sep 16, 2021
* gaia upgrade prepare

* app updates

* app updates

* Update cmd/gaiad/cmd/root.go

* Update cmd/gaiad/cmd/root.go

* app updates

* app updates

* app updates

* gaia v5 to v6

* remove redundancy, change "umeeApp" to "gaiaApp"

* change upgrade name from "gaia-v6.0.0" to "vega"

* readme for local test

* add module versions

* add liquidity

* add authz and fee grant

* add authz and grantfee

* remove ibc from storeUpgrade

* change upgrade readme

* upgrade readme modify

* use a created validator

* change validator

* Bump liquidity module to v1.3.0 based sdk v0.43.0

* docs: update changelog for liquidity

* build: bump liquidity version to v1.4.0

* docs: update CHANGELOG.md

* docs: lint CHANGELOG.md

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

Co-authored-by: yaruwang <yaruwang.materials@gmail.com>
Co-authored-by: Aleksandr Bezobchuk <aleks.bezobchuk@gmail.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: billy rennekamp <billy.rennekamp@gmail.com>
Co-authored-by: kogisin <jaybkim2@gmail.com>
yaruwangway added a commit that referenced this pull request Sep 16, 2021
* gaia upgrade prepare

* app updates

* app updates

* Update cmd/gaiad/cmd/root.go

* Update cmd/gaiad/cmd/root.go

* app updates

* app updates

* app updates

* gaia v5 to v6

* remove redundancy, change "umeeApp" to "gaiaApp"

* change upgrade name from "gaia-v6.0.0" to "vega"

* readme for local test

* add module versions

* add liquidity

* add authz and fee grant

* add authz and grantfee

* remove ibc from storeUpgrade

* change upgrade readme

* upgrade readme modify

* use a created validator

* change validator

* Bump liquidity module to v1.3.0 based sdk v0.43.0

* docs: update changelog for liquidity

* build: bump liquidity version to v1.4.0

* docs: update CHANGELOG.md

* docs: lint CHANGELOG.md

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

Co-authored-by: yaruwang <yaruwang.materials@gmail.com>
Co-authored-by: Aleksandr Bezobchuk <aleks.bezobchuk@gmail.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: billy rennekamp <billy.rennekamp@gmail.com>
Co-authored-by: kogisin <jaybkim2@gmail.com>
okwme added a commit that referenced this pull request Sep 17, 2021
* gaia upgrade prepare

* app updates

* app updates

* app updates

* Update cmd/gaiad/cmd/root.go

* Update cmd/gaiad/cmd/root.go

* gaia v5 to v6

* app updates

* app updates

* remove redundancy, change "umeeApp" to "gaiaApp"

* change upgrade name from "gaia-v6.0.0" to "vega"

* readme for local test

* add module versions

* add liquidity

* add authz and fee grant

* add authz and grantfee

* remove ibc from storeUpgrade

* change upgrade readme

* upgrade readme modify

* use a created validator

* change validator

* readme: upgrade by cosmosvisor

* rebase update go.mod

* sdk v0.44.0, ibc v1.1.0, liquidity v1.4.0

* add go.sum tendermint entry

* seal capabilityKeeper

* move local test readme to vega-test repo.

* add ibc ante handler

* tendermint 0.34.12 to 0.34.13

* change back tendermint version to v0.34.12

* Bump liquidity module v1.4.0 based sdk v0.44.0 (#956)

* gaia upgrade prepare

* app updates

* app updates

* Update cmd/gaiad/cmd/root.go

* Update cmd/gaiad/cmd/root.go

* app updates

* app updates

* app updates

* gaia v5 to v6

* remove redundancy, change "umeeApp" to "gaiaApp"

* change upgrade name from "gaia-v6.0.0" to "vega"

* readme for local test

* add module versions

* add liquidity

* add authz and fee grant

* add authz and grantfee

* remove ibc from storeUpgrade

* change upgrade readme

* upgrade readme modify

* use a created validator

* change validator

* Bump liquidity module to v1.3.0 based sdk v0.43.0

* docs: update changelog for liquidity

* build: bump liquidity version to v1.4.0

* docs: update CHANGELOG.md

* docs: lint CHANGELOG.md

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

Co-authored-by: yaruwang <yaruwang.materials@gmail.com>
Co-authored-by: Aleksandr Bezobchuk <aleks.bezobchuk@gmail.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: billy rennekamp <billy.rennekamp@gmail.com>
Co-authored-by: kogisin <jaybkim2@gmail.com>

* make upgrade name const

* use module manager to form fromVM map

* gaia upgrade prepare

* app updates

* app updates

* app updates

* app updates

* app updates

* remove redundancy, change "umeeApp" to "gaiaApp"

* change upgrade name from "gaia-v6.0.0" to "vega"

* readme for local test

* change upgrade readme

* upgrade readme modify

* use a created validator

* change validator

* readme: upgrade by cosmosvisor

* rebase update go.mod

* sdk v0.44.0, ibc v1.1.0, liquidity v1.4.0

* move local test readme to vega-test repo.

* tendermint 0.34.12 to 0.34.13

* change back tendermint version to v0.34.12

* Bump liquidity module v1.4.0 based sdk v0.44.0 (#956)

* gaia upgrade prepare

* app updates

* app updates

* Update cmd/gaiad/cmd/root.go

* Update cmd/gaiad/cmd/root.go

* app updates

* app updates

* app updates

* gaia v5 to v6

* remove redundancy, change "umeeApp" to "gaiaApp"

* change upgrade name from "gaia-v6.0.0" to "vega"

* readme for local test

* add module versions

* add liquidity

* add authz and fee grant

* add authz and grantfee

* remove ibc from storeUpgrade

* change upgrade readme

* upgrade readme modify

* use a created validator

* change validator

* Bump liquidity module to v1.3.0 based sdk v0.43.0

* docs: update changelog for liquidity

* build: bump liquidity version to v1.4.0

* docs: update CHANGELOG.md

* docs: lint CHANGELOG.md

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>

Co-authored-by: yaruwang <yaruwang.materials@gmail.com>
Co-authored-by: Aleksandr Bezobchuk <aleks.bezobchuk@gmail.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: billy rennekamp <billy.rennekamp@gmail.com>
Co-authored-by: kogisin <jaybkim2@gmail.com>

* app: update AnteHandler

* lint++

* lint++

* update VM versions

* lint++

* tendermint version change to 0.34.13

* lint++

* auth migration 1 -> 2

* clean todo from vega start-upgrade

* chore: update changelog

* bump ibc to v1.2.0

* rebase change

* rebase again

* auth module version change back to 1

* change log

Co-authored-by: yaruwang <yaruwang.materials@gmail.com>
Co-authored-by: billy rennekamp <billy.rennekamp@gmail.com>
Co-authored-by: dongsam <dongsamb@gmail.com>
Co-authored-by: kogisin <jaybkim2@gmail.com>
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.

8 participants