- 09 Sep, 2022 6 commits
-
-
mergify[bot] authored
(cherry picked from commit 4bbd3fb4 ) Co-authored-by:
Dev Ojha <ValarDragon@users.noreply.github.com>
-
mergify[bot] authored
(cherry picked from commit 85beb4f5 ) Co-authored-by:
Dev Ojha <ValarDragon@users.noreply.github.com>
-
mergify[bot] authored
* Start changelog prepartion * asdf (cherry picked from commit f02f5e93 ) Co-authored-by:
Dev Ojha <ValarDragon@users.noreply.github.com>
-
mergify[bot] authored
* TWAP: Simplify historical pool index (#2641) * Simplify pool indexing * gofmt + error fix * test key change + fix bug in it * Delete more unused code * Fix unused lint * cleaner contains error test implementation Co-authored-by:
Adam Tucker <adam@osmosis.team> (cherry picked from commit 5b740510 ) # Conflicts: # x/twap/types/keys.go * Fix conflict Co-authored-by:
Dev Ojha <ValarDragon@users.noreply.github.com> Co-authored-by:
Dev Ojha <dojha@berkeley.edu>
-
mergify[bot] authored
(cherry picked from commit fd16eeb8 ) Co-authored-by:
Roman <roman@osmosis.team>
-
mergify[bot] authored
(cherry picked from commit 43812d81 ) Co-authored-by:
Roman <roman@osmosis.team>
-
- 08 Sep, 2022 8 commits
-
-
mergify[bot] authored
* Add failing test to demonstrate error * Commit bug fix (cherry picked from commit c4766c73 ) Co-authored-by:
Dev Ojha <ValarDragon@users.noreply.github.com>
-
mergify[bot] authored
* Add type safety to query whitelist * bring back commented out tests * add godoc (cherry picked from commit b888f888 ) Co-authored-by:
Dev Ojha <ValarDragon@users.noreply.github.com>
-
mergify[bot] authored
* twap safety check * adam suggestion (cherry picked from commit 8c8a9a60 ) Co-authored-by:
Sishir Giri <sis1001@berkeley.edu>
-
mergify[bot] authored
* Add Proto reset to stargate qurier * Code review from Dev * Add test case (cherry picked from commit ace98ab1 ) Co-authored-by:
Matt, Park <45252226+mattverse@users.noreply.github.com>
-
mergify[bot] authored
* test(e2e/twap): create a swap post upgrade and twap pruning (#2606) * drive by error handling changes * test(e2e/twap): swap and pruning * lint * Update tests/e2e/configurer/chain/queries.go * Update tests/e2e/configurer/chain/queries.go * Update tests/e2e/configurer/chain/commands.go Co-authored-by:
Adam Tucker <adam@osmosis.team> * update tests * remove ordering Co-authored-by:
Adam Tucker <adam@osmosis.team> Co-authored-by:
Dev Ojha <ValarDragon@users.noreply.github.com> (cherry picked from commit 37b890b2 ) * Add time range safety check to GetArithmeticTwapToNow Co-authored-by:
Roman <roman@osmosis.team> Co-authored-by:
Dev Ojha <dojha@berkeley.edu>
-
mergify[bot] authored
* Fix the multi_asset pool pruning bug * add test case that used to fail (cherry picked from commit 02e6ebbe ) Co-authored-by:
Dev Ojha <ValarDragon@users.noreply.github.com>
-
mergify[bot] authored
* TWAP notes/fixes from code review * missed noet * remove erroneous todo * Apply suggestions from code review Co-authored-by:
Adam Tucker <adam@osmosis.team> * remove a TODO Co-authored-by:
Adam Tucker <adam@osmosis.team> (cherry picked from commit e68debd7 ) Co-authored-by:
Dev Ojha <ValarDragon@users.noreply.github.com>
-
mergify[bot] authored
Refactor: Change Pool API to have separate methods for `JoinPool` and `JoinPoolNoSwap` (#2133) (#2634) * split out no swap joins on pool interface and implement changes for balancer * minor refactor and comment changes for clarity * minor comment changes for review clarity * add tests for new calcs * fix merge-related issues * add changelog entry * add failure case test and make existing tests more robust * clean up validation logic * factor out common denom check and add tests for it * add additional test cases * apply new internal fx where relevant and ensure proper testing * add test case and improve test readability * add tests for edge cases and clean up existing tests * add duplicate pool edge case test * minor comment updates from code review Co-authored-by:
Roman <roman@osmosis.team> * remove remainingCoins return value from internal no-swap calcs * update mocks * move ensuredenominpool test to amm tests * minor comment updates from code review Co-authored-by:
Roman <roman@osmosis.team> * pass ctx through no-swap pool joins * add multi asset and edge case tests to calcnoswap Co-authored-by:
Adam Tucker <adamleetucker@outlook.com> Co-authored-by:
Roman <roman@osmosis.team> (cherry picked from commit 4de8bdf9 ) Co-authored-by:
alpo <62043214+AlpinYukseloglu@users.noreply.github.com> Co-authored-by:
alpo <yukseloglua@berkeley.edu>
-
- 07 Sep, 2022 6 commits
-
-
Dev Ojha authored
-
alpo authored
-
Dev Ojha authored
-
Matt, Park authored
* Add stargate queries * Fix test * Remove initial whitelist queries * Add initial bindings, change names * Remove cosmos protos * Fix lint * Update wasm binary * Revert "Update wasm binary" This reverts commit eb216a11 . * Bez's review * Add test cases * Remove logs * WIP: return json marshalled response * Add Test Case * Add changelog * Modify Changelog * Normalize -> ProtoToJson * Fix merge conflict * Add stargate querier test * Add alot more test cases * Add test case for breaking grpc querier * Update wasmbinding/query_plugin_test.go Co-authored-by:
Roman <roman@osmosis.team> * code review from upstream * Add initial Stargate whitelist * Fix lint * Fix test * Update wasmbinding/stargate_whitelist.go * Update wasmbinding/stargate_whitelist.go Co-authored-by:
Roman <roman@osmosis.team> Co-authored-by:
Dev Ojha <ValarDragon@users.noreply.github.com>
-
Roman authored
* fix(build): proto generation * custom proto builder image
-
Osmosis authored
* auto: update Go import paths to v12 * updates Co-authored-by:
p0mvn <p0mvn@users.noreply.github.com> Co-authored-by:
Roman <roman@osmosis.team>
-
- 06 Sep, 2022 5 commits
-
-
Roman authored
Closes: #XXX ## What is the purpose of the change Fixing simulator breakage from: https://github.com/osmosis-labs/osmosis/pull/2617 to unblock CI ## Testing and Verifying This change is a trivial rework / code cleanup without any test coverage. ## Documentation and Release Note - Does this pull request introduce a new feature or user-facing behavior changes? no - Is a relevant changelog entry added to the `Unreleased` section in `CHANGELOG.md`? no - How is the feature or change documented? not applicable
-
Matt, Park authored
* Add stargate queries * Fix test * Remove initial whitelist queries * Add initial bindings, change names * Remove cosmos protos * Fix lint * Update wasm binary * Revert "Update wasm binary" This reverts commit eb216a11 . * Bez's review * Add test cases * Remove logs * WIP: return json marshalled response * Add Test Case * Add changelog * Modify Changelog * Normalize -> ProtoToJson * Fix merge conflict * Add stargate querier test * Add alot more test cases * Add test case for breaking grpc querier * Update wasmbinding/query_plugin_test.go Co-authored-by:
Roman <roman@osmosis.team> * code review from upstream Co-authored-by:
Roman <roman@osmosis.team>
-
Dev Ojha authored
* Move db code to be managed on its own * Start removing tb.FailNow() in exchange for normal error handling * Move header construction to mock_tendermint * Remove an unhelpful events logging * remove an arg * wip * import SQL from file * add comment
-
Dev Ojha authored
-
Matt, Park authored
* Add tests * Fix test * Adams reviwe * Adams review * Revert updateRecord test Co-authored-by:
Dev Ojha <dojha@berkeley.edu>
-
- 05 Sep, 2022 7 commits
-
-
Roman authored
-
Adam Tucker authored
* add addToExistingLock tests * second test pass * clean up unused * address Roman's suggestions
-
Adam Tucker authored
* mutation test fixes twap * specify error in test * more fixes * pool fix * alphabetical order for denoms * fix store test * add test for LexicographicalOrderDenoms * separate join pool test * move NewTwapRecord to main keeper * merge main fixes * fix lexicographic order of test * mutation fix changes * Update listeners_test.go * update listeners_test * fix listener test * fix issue * add back parsedTime * change from health to height check * reverted for clarity * add errors file * fix errors * merge * fix test * clean up * rearrange * fix more tests * Update x/twap/types/keys.go Co-authored-by:
Roman <roman@osmosis.team> * address Roman's suggestion * address comment Co-authored-by:
Roman <roman@osmosis.team> Co-authored-by:
Dev Ojha <ValarDragon@users.noreply.github.com>
-
alpo authored
-
Dev Ojha authored
* Deduplicate cosmwasm test * Add diff patterns
-
Matt, Park authored
-
Miguel Dingli authored
* Add .go extension to genesis_test file * Fix errors in genesis_test.go - InitGenesis call - NextPoolId -> NextPoolNumber
-
- 03 Sep, 2022 5 commits
-
-
Dev Ojha authored
* Propert check interface & manager definition * driveby gamm move actions to file * Start cleaning up more of the initialization code * Remove enocding config param to app * Simplify more of the setup logic * More simulator instantiation cleanup
-
Dev Ojha authored
* Remove enocding config param to app * Remove encoding config arg to NewOsmosisApp * ADd Changelog
-
Dev Ojha authored
* Move spot price safety checks to keeper layer + safety checks * Fix safety issues * Update app/apptesting/gamm.go Co-authored-by:
Nicolas Lara <nicolaslara@gmail.com> * Update constant, duplicate bounds check in TWAP * Fix existing tests * Return max spot price when overflowing * Update x/gamm/keeper/pool_service.go Co-authored-by:
Matt, Park <45252226+mattverse@users.noreply.github.com> * Set last error time in particular case * Add defer case test * Update x/gamm/keeper/pool_service_test.go Co-authored-by:
Nicolas Lara <nicolaslara@gmail.com> Co-authored-by:
Matt, Park <45252226+mattverse@users.noreply.github.com>
-
Hieu Vu authored
-
Roman authored
* ux(e2e): Makefile steps to run e2e test suite locally * upgrade variable * remove old image and fix tag capitalization
-
- 02 Sep, 2022 3 commits
-
-
Gjermund Bjaanes authored
-
Ajaz Ahmed Ansari authored
-
Roman authored
* feat(twap): pruning keep the newest record under keep threshold * switch to milliseconds * comments * Update x/twap/logic_test.go * Update x/twap/api_test.go Co-authored-by:
Adam Tucker <adam@osmosis.team> * Update x/twap/api_test.go Co-authored-by:
Adam Tucker <adam@osmosis.team> * fix keeping newest across pools * rename for clarity * Update x/twap/listeners_test.go Co-authored-by:
Adam Tucker <adam@osmosis.team> * Update x/twap/listeners_test.go Co-authored-by:
Adam Tucker <adam@osmosis.team> * ns * switch error in new test * fix errors in TestGetArithmeticTwap * more errors in api * fix TestPruneRecords * update specs * lint * generalize test cases * remove dead code * lastKeptTime * Update x/twap/api_test.go Co-authored-by:
Matt, Park <45252226+mattverse@users.noreply.github.com> * Update x/twap/api_test.go Co-authored-by:
Matt, Park <45252226+mattverse@users.noreply.github.com> * Update x/twap/listeners_test.go Co-authored-by:
Matt, Park <45252226+mattverse@users.noreply.github.com> * improve readability in TestPruneRecordsBeforeTimeButNewest * Update x/twap/store.go Co-authored-by:
Dev Ojha <ValarDragon@users.noreply.github.com> * move errors to types * correct comment Co-authored-by:
Adam Tucker <adam@osmosis.team> Co-authored-by:
Matt, Park <45252226+mattverse@users.noreply.github.com> Co-authored-by:
Dev Ojha <ValarDragon@users.noreply.github.com>
-