forked from osmosis-labs/osmosis
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Dev/takeover 1886 #2
Merged
Ehsan-saradar
merged 54 commits into
quasar-finance:feature/add_details_to_join_exit_pool_reponse
from
osmosis-labs:dev/takeover_1886
Jul 7, 2022
Merged
Dev/takeover 1886 #2
Ehsan-saradar
merged 54 commits into
quasar-finance:feature/add_details_to_join_exit_pool_reponse
from
osmosis-labs:dev/takeover_1886
Jul 7, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…de auditing process (#1848) * chain json schema added * pre-release code-auditing process docs initialization * prerelease binary creation tool added * fixed a letter-typo in chain-schema * linked to v10 upgrade boilerplate, small phrasing changes * md linter ifxes * Update CONTRIBUTING.md Co-authored-by: Roman <[email protected]> * Replaced gofmt section with just make-format * Added resource for auto-formatting in Go Co-authored-by: Roman <[email protected]>
* WIP * finalize * Add dev code review * Update x/tokenfactory/keeper/admins_test.go Co-authored-by: Roman <[email protected]> * Add comments and fix tests * Fix merge conflicts Co-authored-by: Roman <[email protected]>
* Fix epochs modules tests * Remove debug code * Fix altered API usage within superfluid * Add changelog entry * Add more AddEpochInfo checks * Fix superfluid tests * Update osmoutils/slice_helper.go Co-authored-by: Aleksandr Bezobchuk <[email protected]> * Changelog nit * Apply Roman's suggestions! Co-authored-by: Roman <[email protected]> * add const * Apply roman's suggestion of tests w/ non-default values * Apply roman's comment update suggestions * AddEpochInfo comment * fix gomod order Co-authored-by: Aleksandr Bezobchuk <[email protected]> Co-authored-by: Roman <[email protected]>
) Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.5 to 1.8.0. - [Release notes](https://github.com/stretchr/testify/releases) - [Commits](stretchr/testify@v1.7.5...v1.8.0) --- updated-dependencies: - dependency-name: github.com/stretchr/testify dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* refactor: e2e initialization package * fix merge issues * md lint * update init image * add logic for printing errors to debug containers * environment variables in configuration docs * Update tests/e2e/initialization/README.md Co-authored-by: Adam Tucker <[email protected]> * remove node script - to be added in future PR Co-authored-by: Adam Tucker <[email protected]>
* Write test for AddEpochInfo * Remove prior todo comment * Add failing test * Update x/epochs/keeper/epoch_test.go Co-authored-by: Roman <[email protected]> Co-authored-by: Aleksandr Bezobchuk <[email protected]> Co-authored-by: Roman <[email protected]>
* add invariant to check locks amount * format
…n querying delegation by delegator (#1539) * add normarl staking query for superfluid * add TestGRPCQuerySuperfluidDelegationsWithNormalStaking * add Query Delegation * combine hieuvubk's work on Osmo equivalent. The idea belongs to hieuvubk * change proto and cli * minor * change name to total-delegation-by-delegator * another minor :v * last minor * Apply suggestions from code review Co-authored-by: Matt, Park <[email protected]> * apply changes from review * add feature to changelog.md * minor fix in changelog Co-authored-by: Matt, Park <[email protected]>
… gauge ID (#1815) * added percentage * added tests
* chore: mint module docs and clean up * rename LasteHalvenEpoch to LastReductionEpoch * lint * revert proto comments * spec * try removing simulation * client module changes * client/rest * more proto fixes * avoid listing minting params in spec * Update proto/osmosis/mint/v1beta1/mint.proto Co-authored-by: Dev Ojha <[email protected]> * update comment in hooks.go * Revert "try removing simulation" w/o Makefile change This reverts commit 5a06bf1. * randomize mint gen state simulation * fix full sim tests * fix TestAppStateDeterminism * fix TestAppStateDeterminism * change expected epochIdentifier to day * address Dev's comments to hardcode certain parameters * Update x/mint/types/minter_test.go Co-authored-by: Dev Ojha <[email protected]> * remove unused variable * Update proto/osmosis/mint/v1beta1/genesis.proto Co-authored-by: Matt, Park <[email protected]> * Update proto/osmosis/mint/v1beta1/mint.proto Co-authored-by: Matt, Park <[email protected]> * Update x/mint/types/hooks.go Co-authored-by: Matt, Park <[email protected]> * make prot-all * remove unused Co-authored-by: Dev Ojha <[email protected]> Co-authored-by: Matt, Park <[email protected]>
* test: x/mint thirdening * add logic for estimating supply * estimate expected supply w/o offset * identify the sources of rounding issues * transcribe calculations * clean up for readability * Update x/mint/keeper/hooks_test.go Co-authored-by: Aleksandr Bezobchuk <[email protected]> * fix merge conflicts and link a correct issue Co-authored-by: Aleksandr Bezobchuk <[email protected]>
* add many clarifying comments and docs for logic that was confusing during audit * update comments for clarity * Update x/gamm/keeper/multihop.go Co-authored-by: Matt, Park <[email protected]> * Update x/gamm/keeper/genesis.go Co-authored-by: Aleksandr Bezobchuk <[email protected]> * Update x/gamm/keeper/genesis.go Co-authored-by: Aleksandr Bezobchuk <[email protected]> * Update x/gamm/keeper/multihop.go Co-authored-by: Aleksandr Bezobchuk <[email protected]> * Apply suggestions from code review Co-authored-by: Aleksandr Bezobchuk <[email protected]> * add more clarifying comments * apply suggestions from review Co-authored-by: Matt, Park <[email protected]> Co-authored-by: Aleksandr Bezobchuk <[email protected]>
* e2e: remove unused skipRunValidatorIndexes * remove error log
* e2e: ExecCmd debug log on error * update * update
…test for stableswap (#1456) * Generalize inverse testing from balancer package to pool-models * Add stableswap inverse testing * fixed failing lint test * Update x/gamm/pool-models/internal/test_helpers/test_helpers.go Co-authored-by: Roman <[email protected]> * Add test * Address Bez's review * Fix test * Update x/gamm/pool-models/internal/test_helpers/test_helpers.go Co-authored-by: Aleksandr Bezobchuk <[email protected]> Co-authored-by: Xiangan He <[email protected]> Co-authored-by: Xiangan He <[email protected]> Co-authored-by: Roman <[email protected]> Co-authored-by: Aleksandr Bezobchuk <[email protected]>
…1941) * remove height gating from JoinPool * remove corresponding broken functions
* Fix extendlock api * Apply suggestions from code review * Add changelog Co-authored-by: Dev Ojha <[email protected]> Co-authored-by: Dev Ojha <[email protected]>
* chore: audit, clean up and tests for mint genesis * remove unused integration_test.go * restore check for account existence in InitGenesis * unit test CreateDeveloperVestingModuleAccount * table-driven tests for SetInitialSupplyOffsetDuringMigration * TestMintInitGenesis * reduce suite verbosity in TestMintInitGenesis * refactor TestSetInitialSupplyOffsetDuringMigration with setupDeveloperAccountTestcase * refactor TestCreateDeveloperVestingModuleAccount with setupDeveloperAccountTestcase * refactor TestMintExportGenesis * clean up * lint errors * remove height gated assertions; move module account creation test to TestMintInitGenesis * Update x/mint/keeper/genesis_test.go Co-authored-by: Matt, Park <[email protected]> * Update x/mint/keeper/genesis_test.go Co-authored-by: Matt, Park <[email protected]> * Update x/mint/keeper/keeper.go Co-authored-by: Matt, Park <[email protected]> * address Matt's comment about supply offset * Apply suggestions from code review Co-authored-by: Matt, Park <[email protected]> * remove init genesis keepers * GetModuleAccount comment * Update x/mint/keeper/genesis.go Co-authored-by: Matt, Park <[email protected]>
* Add lock method refactor * Delete duplciated testing * Update x/lockup/keeper/lock.go Co-authored-by: Aleksandr Bezobchuk <[email protected]> * Add tests implement feedback from code review * Add test cases Co-authored-by: Aleksandr Bezobchuk <[email protected]>
* test: helper function for assertions conditional on panics * added devs comments * matts comment
* lint: stylecheck * merge conflict * pool asset lint
* e2e: refactor initialization with single node logic * lint and remove redundant getters from node * restore accidental change * rename init to InitChain * persistentPeers typo
* updates * updates * updates * updates * Update x/tokenfactory/README.md Co-authored-by: Roman <[email protected]> * Update x/tokenfactory/module.go Co-authored-by: Roman <[email protected]> * updates * updates Co-authored-by: Roman <[email protected]>
* Unlocking tests * Add test cases * Update x/lockup/keeper/lock_test.go Co-authored-by: Roman <[email protected]> * Apply suggestions from code review Co-authored-by: Roman <[email protected]> * cleanup Co-authored-by: Roman <[email protected]>
…1981) * Remove the EndBlock ordering constraints, that didn't matter before * Remove unused superfluid end block logic
* Add TWAP stub package * Fix unused lint
Ehsan-saradar
merged commit Jul 7, 2022
b2411d1
into
quasar-finance:feature/add_details_to_join_exit_pool_reponse
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes: #XXX
What is the purpose of the change
(E.g.: This pull request improves documation of area A by adding ....
Brief Changelog
(for example:)
Testing and Verifying
(Please pick one of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)
Documentation and Release Note
Unreleased
section inCHANGELOG.md
? (yes / no)x/<module>/spec/
) / Osmosis docs repo / not documented)