This project is mirrored from https://github.com/osmosis-labs/osmosis.git.
Pull mirroring updated .
- 14 Jan, 2023 6 commits
-
-
Dev Ojha authored
-
Jacob Gadikian authored
-
Sishir Giri authored
[ValSet-Pref] Change GetValidatorSetPreference to return your existing staking distribution if you haven't set valset (#3857) * fixed store * finalizing test with existin delegation for MsgDelegate * completed delegate * added existingstakingposition to undelegate * withdraw checks existing staking delegations * removed unnecessary code * nit * removed unnecessay functions * added comments * fixed setvalset * rebased * matts feedback * added keeper unit test * devs and matts feedback * adams changes * nit * adams feedback
-
Nicolas Lara authored
* added better docs to crosschain swaps * added missing indent levels * cleanner docs
-
Adam Tucker authored
* feat/test(CL Fees): integrate fees into createPosition * implement MsgCollectFee Co-authored-by: Roman <roman@osmosis.team>
-
Roman authored
* feat/test(CL Fees): integrate fees into createPosition * Update x/concentrated-liquidity/fees_test.go Co-authored-by: Adam Tucker <adam@osmosis.team> * update test names * cl * Update x/concentrated-liquidity/lp_test.go Co-authored-by: Adam Tucker <adam@osmosis.team> * clean up tests Co-authored-by: Adam Tucker <adam@osmosis.team>
-
- 13 Jan, 2023 7 commits
-
-
Nicolas Lara authored
* small cleanup * added missing file
-
Nicolas Lara authored
-
Hieu Vu authored
* rename * update comment
-
Nicolas Lara authored
* initial tests * added tests of contracts up to transfer message * remove wasmd override * working crosschain swap test via IBC * added acks to tests and spec for handling packet acks. * remove ack override as I think we can get everything we need via queries * cleaner tests * added bad ack test * added initial implementation of ack reporting to listeners * added ack listeners * added missing channel and refactored ack success * added recovery test * added keeper and refactored types * cleanner acks with state in go * removed unnecessary listeners * added IBC stargate message * latest wasm * added ack callbacks * updated bad import in tests * gofumpt * gofumpt * remove unused file * removed memo on callback packets and add tests for acks * only removing the memo if the only key is the callback * added support for optional ack tracking * testing both paths * added hardcoded channels ...
-
Matt, Park authored
* Add Update Position test * Uncomment updatePosition * Update test cases with Adam & Romans review * Fix test cases * Update x/concentrated-liquidity/lp_test.go Co-authored-by: Roman <roman@osmosis.team> * Add test for negatives * Update x/concentrated-liquidity/lp_test.go Co-authored-by: Roman <roman@osmosis.team> * Romans review * Add romans review Co-authored-by: Roman <roman@osmosis.team>
-
Roman authored
* feat(CL Fees): collect fees * Update osmoutils/accum/accum.go * Update osmoutils/accum/accum.go * Update osmoutils/accum/accum_test.go * Update osmoutils/accum/accum_test.go * add check for position existing and test * godoc * tag * Update x/concentrated-liquidity/fees_test.go * godoc * Update x/concentrated-liquidity/fees_test.go Co-authored-by: Matt, Park <45252226+mattverse@users.noreply.github.com> * move helper to keeper_test.go * invalid position - different name test case * test that balancers are unchanged when error * fix confusing notation * test updates * test Co-authored-by: Matt, Park <45252226+mattverse@users.noreply.github.com>
-
Adam Tucker authored
-
- 12 Jan, 2023 6 commits
-
-
Adam Tucker authored
-
Matt, Park authored
* Use CacheCtx for Calc method * WIP: used cachedctx * Revert "WIP: used cachedctx" This reverts commit da1c9104 . * WIP:Write * Return WriteCtx for all calc methods * Update x/concentrated-liquidity/swaps_test.go * Update x/concentrated-liquidity/swaps.go Co-authored-by: Roman <roman@osmosis.team> * Update x/concentrated-liquidity/swaps.go Co-authored-by: Roman <roman@osmosis.team> * Add simple spec for calcInAmtGivenOut * Fix lint Co-authored-by: Roman <roman@osmosis.team>
-
Roman authored
* fix(CL Swaps): incorrect rounding; redundant computatations * strategy * fix strategy tests
-
Lặc authored
* intializePool test and spec updated * intializePool test: add recordLiquidity check * initializePool test: track record update * InitializePool test: stableswap pool testcase * initializePool test: CL pool given * initializePool test: minor fix * Update x/gamm/keeper/pool_service_test.go Co-authored-by: Matt, Park <45252226+mattverse@users.noreply.github.com> * Update x/gamm/keeper/pool_service_test.go Co-authored-by: Matt, Park <45252226+mattverse@users.noreply.github.com> * initializePool test: CL pool test case and check expected tokens and shares * merge conflict * redundant export * Update x/gamm/keeper/pool_service_test.go Co-authored-by: Roman <roman@osmosis.team> * initilizePool test: using mock for CL pool * initializePool test: update * initializePool test: initializePool via respective constructor and add conditional panic * Update x/gamm/keeper/pool_service_test.go Co-authored-by: Roman <roma...
-
Roman authored
* refacotr(CL Fees): prefix positions by pool id, owner and ticks * godoc * nolint * tag * Update x/concentrated-liquidity/fees.go Co-authored-by: Matt, Park <45252226+mattverse@users.noreply.github.com> * lint Co-authored-by: Matt, Park <45252226+mattverse@users.noreply.github.com>
-
Adam Tucker authored
* codec changes * initial push * fix tests * Update x/concentrated-liquidity/internal/math/tick.go Co-authored-by: Roman <roman@osmosis.team> * clean up negative exponent logic * global var comment * add comments to tick math * restrict k values * remove codec changes * add argument to CreatePool call * Update x/concentrated-liquidity/internal/math/tick.go Co-authored-by: Roman <roman@osmosis.team> * add tests for max and min k values * add tickToPrice k value max and min tests * rename total to totalPrice * add k dependent tick max and mins * fix negative tick logic * add new tick design to architecture md * max price and min k test * max price and min k test * fix swap tests * message server test fixes * update test * update validate basic tests * Update x/concentrated-liquidity/architecture.md Co-authored-by: Dev Ojha <ValarDragon@users.noreply.github.com> * remove comment * rename func to powTen * use default var * Apply suggestions from code review Co-authored-by: Roman <roman@osmosis.team> * lint * implement Roman's suggestion on notation change * change back to dec * return order * implement new min and max tick logic * clean up test * step down in prec immediately when entering neg * update test * Add testing equations for sage * fix import path * regen protos * implement stair step precision with bigDec * remove in between tick check * define error types * Update x/concentrated-liquidity/architecture.md Co-authored-by: Dev Ojha <ValarDragon@users.noreply.github.com> * reduce length of codec message title * add test cases and add error types * add back TicksToSqrtPrices * Revert "add back TicksToSqrtPrices" This reverts commit 50410c42 . * Update x/concentrated-liquidity/model/pool.go Co-authored-by: Roman <roman@osmosis.team> * Update x/concentrated-liquidity/swaps_test.go Co-authored-by: Roman <roman@osmosis.team> * update comments * add tickToPrice example * fix(CL): flaky TestChargeFee * define max/min spot price in keeper * address Roman's comments * address Roman's comments * add further tests * try to fix github md rendering * try to fix github md rendering * explain max and min spot price in md Co-authored-by: Roman <roman@osmosis.team> Co-authored-by: Dev Ojha <ValarDragon@users.noreply.github.com> Co-authored-by: mattverse <mattpark1028@gmail.com>
-
- 11 Jan, 2023 5 commits
-
-
Polkachu Intern authored
-
Nicolas Lara authored
* remove unnecessary prints * remove unnecessary comments and typo * generalize amount to make it easier to understand * remove typo
-
David Terpay authored
* new stores for admin and developer functionality + epoch fully implemented * testing for new store setters and getters + small update to stores * adding proposal handlers for protorev + test suite * implementing the developer fee split + testing * init for post handler testing updates nit * off by one edge case for fee splitting * Add posthandler functionality and tests Remove checkTx skip linting update after posthandler addition * rebasing and updating routes to swaprouter types * rebase, logging, clean up of proposal cli * constraining protorev by # routes traversed * nit * point system for route building * nit + posthandler checkTx update * configurable route weights * rebase * PR updates, moving constants to new file * rebase * additional comments for execution bounding Co-authored-by: Jeremy Liu <31809888+NotJeremyLiu@users.noreply.github.com>
-
Matt, Park authored
* Init fee growth outside * Remove Pool call
-
Matt, Park authored
* Delete position accum when 0 * Move position deletion logic to claimrewards * Update test
-
- 10 Jan, 2023 4 commits
-
-
Sishir Giri authored
* added new cli commands * added cli commands * added withdraw sim function * added simulator functions * working redelegation cli test
-
Roman authored
* fix(twap/e2e): set geometric accum to zero; reproduce testnet bug * test TestParseTwapFromBz * clean up
-
Nicolas Lara authored
* do not use osmocli (incompatible with other non-forked sdk) * using ibc-hooks without osmocli
-
Osmosis authored
Co-authored-by: p0mvn <p0mvn@users.noreply.github.com>
-
- 09 Jan, 2023 10 commits
-
-
Roman authored
-
Pham Anh Minh authored
* Rename swaprouter to poolmanager * Rename swap router to pool manager and swap-router to pool-manager * Update proto * keep swaprouter in swaprouter contract * fix linter
-
Adam Tucker authored
* codec changes * Update codec.go * address comments * lint
-
Roman authored
* feat(CL Fees): getInitialFeeGrowthOtsideForTick, chargeFee methods * godocs * TestChargeFee * nolint * update TestGetTickInfo * Update x/concentrated-liquidity/tick.go * Update x/concentrated-liquidity/fees.go * rename * Update x/concentrated-liquidity/fees_test.go Co-authored-by: Matt, Park <45252226+mattverse@users.noreply.github.com> * Update x/concentrated-liquidity/tick_test.go Co-authored-by: Matt, Park <45252226+mattverse@users.noreply.github.com> Co-authored-by: Matt, Park <45252226+mattverse@users.noreply.github.com>
-
Matt, Park authored
* Add accumulator to lp positions * Add test cases for initFeeAccum, calculateFeeGrowth * Add TestGetFeeGrowthOutside * Partially fix tests * Fixed all tests :P * Remove all lp.go related logic * Fix lint * Fix test
-
Roman authored
* reafctor(x/swaprouter, x/gamm): unify swap routes in swaprouter * changelog * remove deprecation messages * revert * merge * values for test routes * json serialization test * fix changelog
-
Nicolas Lara authored
## What is the purpose of the change This just adds a bit of documentation to the helper script for doing manual testing of ibc hooks.
-
Ruslan Akhtariev authored
* go work sum * MsgCreateConcentratedPool (de)ser check * test for MsgCreateConcentratedPool * MsgWithdrawPosition check * MsgWithdrawPosition test case * MsgCreatePosition check * MsgCreatePosition test case * add check to make sure result is expected and add else branch for msgs not yet checked * remove wrong test * fix test * commit not passed test * fix issue with MsgCreateConcentratedPool
-
Richard Liu authored
* fix order for JoinSwapShareAmountOut args * Revert "fix order for JoinSwapShareAmountOut args" This reverts commit 7991c1c2f6042b10b7c8621f07c7eec692fcea2e. * change help text * add line to changelog
-
Matt, Park authored
-
- 08 Jan, 2023 1 commit
-
-
Ruslan Akhtariev authored
* NewSwapExactAmountInCmd: migrate to osmocli / remove from gamm * NewSwapExactAmountOutCmd to osmocli * GetCmdNumPools query to osmocli/swaprouter * EstimateSwapExactAmountIn to osmocli and swaprouter * GetCmdEstimateSwapExactAmountOut to osmocli/swaprouter * TestGetCmdNumPools was a method for integration test suite??? removed it * change gamm to swaprouter in scripts/docs * restore go work sum * revert gamm deprecation * go work sum * back gamm * one more swaprouter to gamm change * change go work sum
-
- 07 Jan, 2023 1 commit
-
-
Nicolas Lara authored
* initial setup for manual and e2e tests * added cli for calculating the sender * tidy * added cleaner flags and better checks at the end * proper checks * cleanup * initial e2e tests * debugging * cleanup * tidy * remove import cycle * test cleanup * updated prefix * fix go test
-