This project is mirrored from https://github.com/osmosis-labs/osmosis.git.
Pull mirroring updated .
- 28 Feb, 2023 4 commits
-
-
Max Holloway authored
There was a small markdown mistake that made the markdown render kinda funny.
-
Roman authored
-
Adam Tucker authored
* add swap fee whitelist * add zero to allowed fee and add test * change remaining tests to use valid swap fee * add 1% to auth fees * fix comment * remove const, add default values * add test to validateSwapFee
-
Matt, Park authored
* Add force transfer, mintTo, burnFrom * Add proto
-
- 27 Feb, 2023 2 commits
-
-
Nicolas Lara authored
* updated wasmd * updated ibc hooks
-
dependabot[bot] authored
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.1 to 1.8.2. - [Release notes](https://github.com/stretchr/testify/releases) - [Commits](https://github.com/stretchr/testify/compare/v1.8.1...v1.8.2 ) --- updated-dependencies: - dependency-name: github.com/stretchr/testify dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- 24 Feb, 2023 5 commits
-
-
Nicolas Lara authored
* cleanner response. Always adding tracking. * cleanup * added tests * added docs
-
Nicolas Lara authored
-
Roman authored
-
Osmosis authored
Co-authored-by:
p0mvn <p0mvn@users.noreply.github.com>
-
David Terpay authored
* moving step size to be part of each hot route, better stateless validation for msgs, edge case fix for binary search * adding a protorev specification file * stateless validation for more msgs * adding protorev to overview spec * md formatting * readme nit fixes * Add enabled query to cli * Update params when updating enabled status --------- Co-authored-by:
Jeremy Liu <31809888+NotJeremyLiu@users.noreply.github.com>
-
- 23 Feb, 2023 9 commits
-
-
Aidan Salzmann authored
* migrate stXXX/XXX constant product pool -> stableswap pool * update upgrade unittest * send LP tokens to lpWallet * update tests * add join, exit unittest * add checks per comments * one more comment * lp pre-upgrade * clean up and TODOs * fix e2e * add query * rm TestMigrateBalancerToStable, update ExitPool in upgrade_test.go * rm TestMigrateBalancerToStable * update changelog * fix e2e * more assertions for TestMigrateBalancerToStablePools * lint --------- Co-authored-by:
Roman <roman@osmosis.team>
-
Sishir Giri authored
* all test * added extra test * fixed comments
-
alpo authored
* initial push * push * untracked files * add untracked files * merge branches * add changes required for fees * lint * fix test errors * clean up * remove print lines * feat: single fee accum (#4116) * single fee accum * lint * no longer need to get all positions for fee * incentive accum initialization * lint * Update x/concentrated-liquidity/store_test.go Co-authored-by:
Sishir Giri <sis1001@berkeley.edu> * add lower level tests and make uptime accum access private * lint * add gotests for helper fn * Update test to use existing variable Co-authored-by:
Roman <roman@osmosis.team> * create or update records upon position creation/update * add tests and clean up * sync position-related changes * add support for negative liquidity delta * add and test helper & set up tick initialization logic * implement accumulator updates on tick crossing and clean up proto * clean up comments * minor test cleanup * ensure accum initalization follows conventions and clean up tests * update pool proto and CL pool extension for tracking liq changes * update new field at pool initialization and add tests * comment todos * clean up naming and move empty options to global var * add clarifying comments and lint * implement IncentiveRecord proto * add comments * lint * set up wiring for proto * implement updateUptimeAccumulatorsToNow * implement and test calcAccruedIncentivesForAccum * add tests for new helpers * minor comment updates Co-authored-by:
Roman <roman@osmosis.team> * accum test updates * lint * clean up diff * lint * update go.mod for e2e * clean up proto and add error message * lint * sketch out testing approach * set up keys * clean up diff * clean up comments * lint * implement set and get for incentive records * comment cleanup * minor comment and test cleanup * clean up tests and comments * [CL Incentives] Implement `setIncentiveRecords` and `getIncentiveRecords` (#4283) * set up keys * implement set and get for incentive records * comment cleanup * minor comment and test cleanup * Revert "[CL Incentives] Implement `setIncentiveRecords` and `getIncentiveRecords` (#4283)" (#4294) This reverts commit de7c1467 . * set incentive records in new position tests * fix merge conflicts * add check for init position record values * fix and finalize uptime accum position tests * fix go mod for e2e * clean up diff * add err check to accum update * fix rounding error * go mod tidy * fix conflicts * fix e2e * update go mod * remove redundant values from incentive record state * cleanup from review --------- Co-authored-by:
Adam Tucker <adamleetucker@outlook.com> Co-authored-by:
Adam Tucker <adam@osmosis.team> Co-authored-by:
Sishir Giri <sis1001@berkeley.edu> Co-authored-by:
Roman <roman@osmosis.team>
-
Sishir Giri authored
* added sqrt check * Added all wolfram * nit * rebased * work * go work sum fix * rebased * rebase fix * fixed some fees * fixed test * added checks * fixed * fix gosum * fixed conflicts * Update x/concentrated-liquidity/swaps_test.go * Update x/concentrated-liquidity/swaps_test.go
-
Hieu Vu authored
* add NewQuerier func * poolmanager regis query server * lint * check query not alter state
-
Roman authored
-
Nicolas Lara authored
* added rate limits in upgrade * added upgrade test * refactor rate limiting tests and added rate limits pre-upgrade * lint * goimports * experiments for E2E * post merge lints * added RL before upgrade * just get the latest contract * experiments * updated wasm file * remove unnecessary prints * bad check * experiments without e2e * removed unnecessary fmt * param space initialization for rate limiting (#4360) * param space initialization for rate limiting * lint * better test * properly initialize empty params * fix typo * adding RL to E2E * removing RL again from E2E * debug * genesis * genesis 2 * add genesis and solve params bug * uncomment setup rate limiting * added configurable gov module * clean up * clean up and genesis test * upgrade handler * genesis clean up * clean up e2e * wire querier * route fix * fix router * debug things * fix init genesis bug * push fix * lint * fix * clean up upgrades * testing propper params after upgrade in E2E * "properly" unmarshaling the parm * goimports * allowing for types other than objects in cosmwasm queries * fix check for param reset * remove unnecessary prints * compiled with the proper vesion of workspace optimizer * Revert "compiled with the proper vesion of workspace optimizer" This reverts commit ab5cf6cd . * added length check * params experiment for test with state-export --------- Co-authored-by:
Roman <roman@osmosis.team> Co-authored-by:
Roman <ackhtariev@gmail.com>
-
Nicolas Lara authored
* removing swap_amount param * remove bad import * compiled wasm * compiled with the proper vesion of workspace optimizer
-
Matt, Park authored
* Add before send hoooks * Rename query * Fix lint * Nicolas review
-
- 22 Feb, 2023 3 commits
-
-
Roman authored
* test(e2e): upgrade e2e init image for Stride migration * update tag
-
Roman authored
* Setup e2e test for Stride pool migratio * add pool shares to balances of pool addresses in e2e genesis * remove debugging log * Update x/poolmanager/create_pool.go Co-authored-by:
Sishir Giri <sis1001@berkeley.edu> * Update proto/osmosis/poolmanager/v1beta1/genesis.proto Co-authored-by:
Sishir Giri <sis1001@berkeley.edu> * Update tests/e2e/initialization/config.go Co-authored-by:
Sishir Giri <sis1001@berkeley.edu> * proto --------- Co-authored-by:
Sishir Giri <sis1001@berkeley.edu>
-
Nicolas Lara authored
* new wasm size * add changelog
-
- 21 Feb, 2023 1 commit
-
-
Roman authored
-
- 20 Feb, 2023 9 commits
-
-
Roman authored
-
Nicolas Lara authored
* added initial icq params * added ntoe * using the stargate whitelist directly. Adding cosmwasm queries * removed note * fixed lint
-
Roman authored
-
Roman authored
* fix(x/twap): incorrect time delta due to nanoseconds in time * remove logs * more clean ups * changelog * restore arithmetic twap test * remove old * unskip geometric * Update x/twap/types/utils.go Co-authored-by:
Matt, Park <45252226+mattverse@users.noreply.github.com> * comment --------- Co-authored-by:
Matt, Park <45252226+mattverse@users.noreply.github.com>
-
Nicolas Lara authored
* added initial icq params * added ntoe
-
dependabot[bot] authored
Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.51.1 to 1.51.2. - [Release notes](https://github.com/golangci/golangci-lint/releases) - [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md) - [Commits](https://github.com/golangci/golangci-lint/compare/v1.51.1...v1.51.2 ) --- updated-dependencies: - dependency-name: github.com/golangci/golangci-lint dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Roman authored
-
alpo authored
* initial push * push * untracked files * add untracked files * merge branches * add changes required for fees * lint * fix test errors * clean up * remove print lines * feat: single fee accum (#4116) * single fee accum * lint * no longer need to get all positions for fee * incentive accum initialization * lint * Update x/concentrated-liquidity/store_test.go Co-authored-by:
Sishir Giri <sis1001@berkeley.edu> * add lower level tests and make uptime accum access private * lint * add gotests for helper fn * Update test to use existing variable Co-authored-by:
Roman <roman@osmosis.team> * create or update records upon position creation/update * add tests and clean up * sync position-related changes * add support for negative liquidity delta * add and test helper & set up tick initialization logic * implement accumulator updates on tick crossing and clean up proto * clean up comments * minor test cleanup * ensure accum initalization follows conventions and clean up tests * update pool proto and CL pool extension for tracking liq changes * update new field at pool initialization and add tests * comment todos * clean up naming and move empty options to global var * add clarifying comments and lint * implement IncentiveRecord proto * add comments * lint * set up wiring for proto * implement updateUptimeAccumulatorsToNow * implement and test calcAccruedIncentivesForAccum * add tests for new helpers * minor comment updates Co-authored-by:
Roman <roman@osmosis.team> * accum test updates * lint * clean up diff * lint * update go.mod for e2e * clean up proto and add error message * lint * set up keys * implement set and get for incentive records * comment cleanup * minor comment and test cleanup * [CL Incentives] Implement `setIncentiveRecords` and `getIncentiveRecords` (#4283) * set up keys * implement set and get for incentive records * comment cleanup * minor comment and test cleanup * Revert "[CL Incentives] Implement `setIncentiveRecords` and `getIncentiveRecords` (#4283)" (#4294) This reverts commit de7c1467 . * fix go mod for e2e * fix rounding error * go mod tidy * fix conflicts * fix e2e * update go mod --------- Co-authored-by:
Adam Tucker <adamleetucker@outlook.com> Co-authored-by:
Adam Tucker <adam@osmosis.team> Co-authored-by:
Sishir Giri <sis1001@berkeley.edu> Co-authored-by:
Roman <roman@osmosis.team>
-
alpo authored
* initial push * push * untracked files * add untracked files * merge branches * add changes required for fees * lint * fix test errors * clean up * remove print lines * feat: single fee accum (#4116) * single fee accum * lint * no longer need to get all positions for fee * incentive accum initialization * lint * Update x/concentrated-liquidity/store_test.go Co-authored-by:
Sishir Giri <sis1001@berkeley.edu> * add lower level tests and make uptime accum access private * lint * add gotests for helper fn * Update test to use existing variable Co-authored-by:
Roman <roman@osmosis.team> * create or update records upon position creation/update * add tests and clean up * sync position-related changes * add support for negative liquidity delta * add and test helper & set up tick initialization logic * implement accumulator updates on tick crossing and clean up proto * clean up comments * minor test cleanup * ensure accum initalization follows conventions and clean up tests * update pool proto and CL pool extension for tracking liq changes * update new field at pool initialization and add tests * comment todos * clean up naming and move empty options to global var * add clarifying comments and lint * implement IncentiveRecord proto * add comments * lint * set up wiring for proto * implement updateUptimeAccumulatorsToNow * implement and test calcAccruedIncentivesForAccum * add tests for new helpers * minor comment updates Co-authored-by:
Roman <roman@osmosis.team> * accum test updates * lint * clean up diff * lint * update go.mod for e2e * clean up proto and add error message * lint * [CL Incentives] Implement `setIncentiveRecords` and `getIncentiveRecords` (#4283) * set up keys * implement set and get for incentive records * comment cleanup * minor comment and test cleanup * Revert "[CL Incentives] Implement `setIncentiveRecords` and `getIncentiveRecords` (#4283)" (#4294) This reverts commit de7c1467 . * fix go mod for e2e * fix rounding error * go mod tidy * fix conflicts * fix e2e * update go mod --------- Co-authored-by:
Adam Tucker <adamleetucker@outlook.com> Co-authored-by:
Adam Tucker <adam@osmosis.team> Co-authored-by:
Sishir Giri <sis1001@berkeley.edu> Co-authored-by:
Roman <roman@osmosis.team>
-
- 17 Feb, 2023 6 commits
-
-
Roman authored
* test(CL Fees): computeFeeChargePerSwapStep function * move export * TestUpdateFeeGrowthGlobal * conflicts
-
Ruslan Akhtariev authored
* withdraw position cmd * WithdrawPosition: frozenUntil * WithdrawPosition: little type fix * wip * refactoring * testing * withdraw position to e2e * remove testing print * rename back the CL test * remove unrelated docs --------- Co-authored-by:
Roman <roman@osmosis.team>
-
Roman authored
* docs(CL): begin converting `architecture.md` into module spec * Update x/concentrated-liquidity/architecture.md Co-authored-by:
Adam Tucker <adam@osmosis.team> * Update x/concentrated-liquidity/architecture.md Co-authored-by:
Adam Tucker <adam@osmosis.team> --------- Co-authored-by:
Adam Tucker <adam@osmosis.team>
-
Roman authored
* refactor(CL): MsgCollectFeesResponse field from TokenOut to CollectedFees * fix proto and regen go mod
-
Adam Tucker authored
* fix(CL): fix swap and fee problems in compute swap step * lint * fix scripts * clean up Python scripts * clean up scripts more * clean up prefix * spec update * fix computeFeeChargePerSwapStepOutGivenIn * improve swap step comments * lint * TODO comments * address TODOs / strategy tests * TestGetAmountRemainingLessFee * add logs * remove print * initial push * upgrade osmoutils tag * update accum after claiming rewards * error check * functional fees * Revert "functional fees" This reverts commit 111a69bf . * additional fixes from call * Update x/concentrated-liquidity/fees.go Co-authored-by:
Roman <roman@osmosis.team> * merge main * add preparePositionAccumulator with tests * cover new tick logic with test * edit correct calc func * tests: functional test for CL fees (#4282) * fee functional test * fix/test(CL Swaps): fix cross tick logic, re-estimate tests; final changes for functional tests (#4301) * extract loop to helper func * add noUSDC/ETHExpected const * parameterize numPositons by type * add numSwaps to positions struct --------- Co-authored-by:
Roman <roman@osmosis.team> --------- Co-authored-by:
Roman <roman@osmosis.team>
-
ducnt131 authored
* Update hermes version for e2e * Update hermes command * Update hermes command * Update hermes command * config file specifies deprecated setting * hermes create channel update * hermes create channel update * update some argument * Update success string to determine success
-
- 16 Feb, 2023 1 commit
-
-
Jeremy Liu authored
* Add generalized tests Added: - 4 pool mainnet route test - 2 pool mainnet route test - Non-osmo/atom denom test * Add stableswap doomsday test - Currently panics due to solveCFMMBinarySearchMulti in stableswap calculation * Add tests for pool point limits - Tests that the per tx limit works properly - Tests that the per block limit works properly * Add pre-check before binary search - Adds a pre-check before the binary search that tells us if we need to run the binary search at all - Reduces overall computation/time by avoiding binary searching profit amounts over routes without any profit opportunity * Add denom to make test pass - Added "test/3" denom to test non-osmo/atom denoms in previous PR - didn't notice it broke one test that expected us to only have 2 denoms, so adding "test/3" here so everything passes * Implement minimum change to have smarter binary search bounds - This implements a way for us to have a b...
-