This project is mirrored from https://github.com/osmosis-labs/osmosis.git.
Pull mirroring updated .
- 21 Dec, 2022 7 commits
-
-
Dev Ojha authored
-
Dev Ojha authored
-
Dev Ojha authored
* Move osmomath into its own go.mod * Fix go mods * fix osmomath test build * Tryfix e2e test * Try removing osmomath from the copy line? * Add osmomath to first copy * Try another layer * Make build work off of tagged releases * Switch prod and E2E builds to ignore go work * Fix merge conflict * Add root dir to go work * Fix conflict
-
Roman authored
* feat(x/twap): use exp2 in twapPow; add overflow test * Update x/twap/strategy_test.go * tests * clean up * Update x/twap/logic.go Co-authored-by: Dev Ojha <ValarDragon@users.noreply.github.com> * one hundred years Co-authored-by: Dev Ojha <ValarDragon@users.noreply.github.com>
-
Adam Tucker authored
-
Roman authored
* feat(osmomath): exp2 function * export exp2 * changelog * refactor ErrTolerance to use Dec instead of Int for additive tolerance * Update osmomath/exp2.go * Update osmomath/exp2.go * Update osmomath/exp2.go * Update osmomath/exp2_test.go * Update osmomath/exp2_test.go * feat(osmomath): Power and PowerMut with decimal exponent * changelog * merge conflict * clean up * remove `PowerMut` * update spec about error bound * Update CHANGELOG.md * Update CHANGELOG.md Co-authored-by: Dev Ojha <ValarDragon@users.noreply.github.com> Co-authored-by: Dev Ojha <ValarDragon@users.noreply.github.com>
-
Roman authored
* refactor(x/gamm, x/swaprouter): move multihop and estimate swap * remove multihop * lint * remove cl test * remove cl test * rebase fixes * Update app/keepers/keepers.go * merge conflict * use route instead of swap * updates * updates * remvoe test that was moved to another PR * GetPool does not poke * remove genesis tests * godocs * rename to pool manager in x/txfees * add TODOs for CL pool * Update x/gamm/keeper/swap.go Co-authored-by: Adam Tucker <adam@osmosis.team> * pool manager * pool manager * comment * GetPoolAndPoke * add safety check in gamm swap exact amount in and test * remove redundant interface declaration in gamm * finalize removal Co-authored-by: Adam Tucker <adam@osmosis.team>
-
- 20 Dec, 2022 3 commits
-
-
Sishir Giri authored
* moved logic * one approach * fixed test * removed unnessary code * progress * fix test * working test * moved tests * moved tests * rebase with new code * fixed test * added keeper constructor * roman comments
-
Nicolas Lara authored
-
Roman authored
-
- 19 Dec, 2022 5 commits
-
-
Roman authored
* test(x/swaprouter): TestGetPoolModule * adam comment
-
David Terpay authored
* refactoring route building to use SwapAmountInRoutes * adding statistics keeper + keeper testing * lint fixes * Add MultihopEstimateOutGivenExactAmountIn to expected keeper * Create rebalance.go - Includes all rebalance/trading logic - Interfaces with Posthandler which called IterateRoutes and ExecuteTrade based on results from IterateRoutes * Add testing for rebalance.go file * nit * Remove duplicate code Refactored rebalance_test to create routes once and use throughout all the individual tests * Remove duplicate computation, improve naming, improve errors * Change binary search method to not rely on an input array - In genesis, we instead create a maxInputAmount and use that to create the inputAmounts on the fly. - Step size is 1 OSMO/ATOM - Max is 2^14 (~16,000 OSMO), to keep iterations to max 14 * Update tests for new binary search input method * lint fix + moving constants to genesis file * comment fix Co-authored-by: Jeremy Liu <31809888+NotJeremyLiu@users.noreply.github.com>
-
Roman authored
-
dependabot[bot] authored
Bumps [go.uber.org/multierr](https://github.com/uber-go/multierr) from 1.8.0 to 1.9.0. - [Release notes](https://github.com/uber-go/multierr/releases) - [Changelog](https://github.com/uber-go/multierr/blob/master/CHANGELOG.md) - [Commits](https://github.com/uber-go/multierr/compare/v1.8.0...v1.9.0 ) --- updated-dependencies: - dependency-name: go.uber.org/multierr dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Dev Ojha authored
* Satisfy store_helper code * Make osmoutils tests not integrated
-
- 17 Dec, 2022 3 commits
-
-
Roman authored
* refactor(app/apptesting): PrepareBalancerPool helpers * improve godoc * merge conflict
-
Ruslan Akhtariev authored
* refactor query.go * add test case for GetCmdDenomAuthorityMetadata * test case for GetCmdDenomsFromCreator
-
Jacob Gadikian authored
* preserve changes to linter * from the top * phew * golangci-lint run ./... --fix * Revert gofumpt Co-authored-by: Dev Ojha <dojha@berkeley.edu>
-
- 16 Dec, 2022 11 commits
-
-
Roman authored
* fix(gamm): SpotPrice keeper function * fix amm mock * changelog * try fixing wasmbindings * fix stableswap tests * fix txfees tests * fixes * minor fixes * comment * Update x/gamm/keeper/grpc_query.go * Update x/gamm/pool-models/balancer/pool.go * fix comment * nicolas's comment
-
Roman authored
* feat(osmomath): exp2 function * export exp2 * changelog * refactor ErrTolerance to use Dec instead of Int for additive tolerance * Update osmomath/exp2.go * Update osmomath/exp2.go * Update osmomath/exp2.go * Update osmomath/exp2_test.go * Update osmomath/exp2_test.go * do bit shift instead of multiplication * godoc about error bounds * comment about bit shift equivalency * merge conflict * improve godoc * typo * remove TODOs - confirmed obsolete * Runge's phenomenon comment
-
Roman authored
* refactor(x/gamm): remove CreatePool and pool id index in gamm * fix TestMigrateExistingPoolsError * fix TestGammExportGenesis * pool incentives use swaprouter to get pool id * restore downtime detector * remove swaprouter init * fix TestInactivePoolFreezeSwaps * GetNextPoolId deprecation comment * fix TestQueryNumPools2 * simulation * lint * Update app/keepers/keepers.go * lint
-
Roman authored
* test(x/twap): 3-asset geometric logic tests * clean up
-
Dev Ojha authored
* Remove osmomath's dependency on osmoassert & gammtypes * Add note in gamm constant * Bring pack conditional panic * One more cond panic
-
Roman authored
-
Dev Ojha authored
* Move binary search from osmomath to osmoutils * Add changelog
-
Sishir Giri authored
* work started * added struct method * added min max functions * ran protos * fixed test * test working * test working * working algorithm * removed unnecessary code * cleanup * adams suggestions * removed mature time return * fixed test * updated readme * added comments * added more comments
-
Niccolo Raspa authored
* Remove search bar from swagger * Enable swagger in localOsmosis * Avoid running jobs in parallel * Revert "Enable swagger in localOsmosis" This reverts commit 254f2615. * Revert "Remove search bar from swagger" This reverts commit e896d024.
-
Nicolas Lara authored
* added ack callbacks * updated bad import in tests * 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 * renamed ibc_hooks to ibchooks * renaming helper method * renamed callback key * added missing store key to upgrade * added apline debug image so that sh is available * fixed callback param * fixed readme * Update x/ibc-hooks/wasm_hook.go Co-authored-by: Adam Tucker <adam@osmosis.team> * added test for empty memo * renamed ibc hooks keeper * removed unused import * fofumpt * deleting the key once it's no longer needed * Update x/ibc-hooks/README.md Co-authored-by: Dev Ojha <ValarDragon@users.noreply.github.com> * Update x/ibc-hooks/README.md Co-authored-by: Dev Ojha <ValarDragon@users.noreply.github.com> * Update x/ibc-hooks/README.md Co-authored-by: Dev Ojha <ValarDragon@users.noreply.github.com> * renamed packet without memo Co-authored-by: Adam Tucker <adam@osmosis.team> Co-authored-by: Dev Ojha <ValarDragon@users.noreply.github.com>
-
PJEstrada authored
-
- 15 Dec, 2022 5 commits
-
-
Mirel Dalčeković authored
* JoinPoolNoSwap change due to tokenInMaxs checks * panic message better explained
-
Nicolas Lara authored
* removing the second check as it breaks the yml file * only running on rust changes * fixed if * making my life easier * remove output check, as output is required * bring back lint Co-authored-by: Dev Ojha <dojha@berkeley.edu>
-
Roman authored
* refactor(x/swaprouter): use fee from swaprouter's params * move pool creation fee test to swaprouter * fix simulation by updating fee in swaprouter * remove todo
-
Roman authored
-
Dev Ojha authored
* Swaprouter create pool logic-only migration * godoc update * align e2e init logic * improve err msg * Return error earlier * feat(x/swaprouter): add migrations (#3734) * feat(x/swaprouter): add migrations * migrate params * test * updates * updates * Rename to match cl branch Co-authored-by: Roman <roman@osmosis.team>
-
- 14 Dec, 2022 6 commits
-
-
Roman authored
* refactor(osmomath): replace Power with PowerInteger * changelog * changelog 2
-
Dev Ojha authored
-
Dev Ojha authored
* WIP * Switch to enum * Remove params query * Add query * Add wiring, add import/export test * Start begin block test * Finish keeper tests * Add CLI * Wire downtime detector CLI + queries * more module wiring * add types test * Fix state alteration test * Fix superfluid test * Add stargate whitelist support * Apply code comment * Rename folder * Add requested godoc * Update x/downtime-detector/genesis.go Co-authored-by: Adam Tucker <adam@osmosis.team> * Apply adam suggestion for having a `-` * move genesis test to own file Co-authored-by: Adam Tucker <adam@osmosis.team>
-
Mirel Dalčeković authored
## What is the purpose of the change This PR is created during the Informal Systems audit, after analysis of the existing specification and code inspection Auditing is performed on commit hash: https://github.com/osmosis-labs/osmosis/commit/42d73f1cc1c52e85561518be1014b730ef6b7a12 ## Brief Changelog - GAMM/README.md is expanded with certain details that we found important to know and understand during the creation of the TLA spec for the GAMM module - Diagrams added for easier understanding of code structure of GAMM module base and two types of pool styles (balancer and stableswap) - minor changes in function descriptions to hold the explanation of the actual implementation ## Testing and Verifying *(Please pick one of the following options)* This change is a trivial rework / code cleanup without any test coverage. ## Documentation and Release Note - Does this pull request introduces a new feature or user-facing behavior changes? no - Is a relevant change...
-
Roman authored
* refactor/test(osmomath): change package of decimal_test.go to osmomath_test * restore power test
-
Roman authored
* refactor(osmoutils): use Dec for additive tolerance instead of Int * changelog
-