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

Dev/takeover 1886 #2

Conversation

ValarDragon
Copy link

Closes: #XXX

What is the purpose of the change

Add a description of the overall background and high level changes that this PR introduces

(E.g.: This pull request improves documation of area A by adding ....

Brief Changelog

(for example:)

  • The metadata is stored in the blob store on job creation time as a persistent artifact
  • Deployments RPC transmits only the blob storage reference
  • Daemons retrieve the RPC data from the blob cache

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:)

  • Added unit test that validates ...
  • Added integration tests for end-to-end deployment with ...
  • Extended integration test for ...
  • Manually verified the change by ...

Documentation and Release Note

  • Does this pull request introduce a new feature or user-facing behavior changes? (yes / no)
  • Is a relevant changelog entry added to the Unreleased section in CHANGELOG.md? (yes / no)
  • How is the feature or change documented? (not applicable / specification (x/<module>/spec/) / Osmosis docs repo / not documented)

xBalbinus and others added 30 commits June 27, 2022 08:34
…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]>
* 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
…trary denoms (#1930)

* add denom equivalence check for input vs. expected

* add test for new logic

* refactor new logic and add more relevant error messages

* update changelog

* Revert "update changelog"

This reverts commit fa33bf7.

* Update changelog
…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]>
ValarDragon and others added 24 commits July 2, 2022 20:04
* 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 Ehsan-saradar merged commit b2411d1 into quasar-finance:feature/add_details_to_join_exit_pool_reponse Jul 7, 2022
@ValarDragon ValarDragon deleted the dev/takeover_1886 branch August 12, 2022 19:52
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.