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

Remove claim module #1299

Closed
wants to merge 10 commits into from
Closed

Remove claim module #1299

wants to merge 10 commits into from

Conversation

faddat
Copy link
Member

@faddat faddat commented Apr 19, 2022

Closes: #1299

Description

This pr removes the claim module and its base branch is v8.x because it contains state-breaking changes.


For contributor use:

  • Targeted PR against correct branch (see CONTRIBUTING.md)
  • Updated relevant documentation (docs/) or specification (x/<module>/spec/)
  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
  • Re-reviewed Files changed in the Github PR explorer

jlbit and others added 10 commits April 18, 2022 21:34
* refactor: ExitSwapExternAmountOut

* better name for interface extension

* implement types.PoolExitSwapExternAmountOutExtension

* update changelog

* interface assertion for PoolI in balancer pool

* err check on extendedPool.ExitSwapExternAmountOut

* ZeroDec()

* comma in calcPoolInGivenSingleOut call

* redundnet type in calcPoolInGivenSingleOut

* comment for feeRatio

* fix comment for calcPoolInGivenSingleOut and the converse

* whitespace in ExitSwapExternAmountOut

* fix changelog entry

* godoc for PoolExitSwapExternAmountOutExtension

* fmt

* gofumpt

* deduct shares on exit, make exit pool logic shared, improve names

* rename to ExitSwapExactAmountOutExtension

* comment out TestNewExitSwapShareAmountInCmd

* fix ExitSwapExactAmountOut by truncating int on return from calcPoolSharesInGivenSingleAssetOut

* revert x/gamm/cli_test.go to original state with TestNewExitSwapExternAmountOutCmd uncommented

* uncomment ExitSwapExactAmountOut in TestActiveBalancerPool

* change variable name to exitingCoins

* fmt

* Update x/gamm/keeper/pool_service.go

* Update x/gamm/pool-models/balancer/amm.go

* Update x/gamm/keeper/pool_service.go

Co-authored-by: Aleksandr Bezobchuk <[email protected]>
* superfluid staking docs

* superfluid staking docs

Co-authored-by: Xiangan He <[email protected]>
* Update archivenode.bash

* Update archivenode.bash

* Update archivenode.bash
* update all builders

* rbuilder images are prefixed by osmolabs

* update makefile

* use root instead of builder user and other minor changes

* correct lib path in Makefile

* LINK_STATICALLY in Makefile

* docs for builder

* update README

* changelog entry

* remove make clean from .build.sh

* improve readme

* remove spurious whitespace in Makefile

* fix formatting for build-reproducible

* update cosmwasm path in makefile

* copy from /home/builder in build-reproducible

* change wasm file pemissions to non-root
* Diagram for superfluid staking

Moving the diagram to this repo from the docs repo. 
WIP

* adding diagram image

* removed diagram, moved to chain repo

* add superfluid diagram
@github-actions github-actions bot added C:CLI C:x/claim C:x/gamm Changes, features and bugs related to the gamm module. C:x/superfluid Type:build labels Apr 19, 2022
@ValarDragon
Copy link
Member

ValarDragon commented Apr 20, 2022

Thanks for making this! Could you just PR the removal of the claims module commit to main? I think we should just cut v8.x off of main once its ready.

should hopefully just be

git checkout main
git checkout -b faddat/remove-claims-v2 
git cherrypick 35cd278cbb0de5c141a87cacbce8c21d40d7839e

We want all commits to feature release branches to be done via labels and the backport bot, unless explicitly needed otherwise.

@faddat
Copy link
Member Author

faddat commented Apr 20, 2022

Sure! So for now it is OK to make state breaking changes to main?

When I make that PR, should I keep the v8 's ?

@faddat faddat closed this Apr 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C:CLI C:x/claim C:x/gamm Changes, features and bugs related to the gamm module. C:x/superfluid
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

7 participants