osmosis
osmosis copied to clipboard
The AMM Laboratory
## Background #2294 added pruning logic to the [`AfterEpochEnd`](https://github.com/osmosis-labs/osmosis/blob/5e74b564c796519cae7d528b08cd3af95ccfb71f/x/gamm/twap/hook_listener.go#L29) hook. We should add some test cases to ensure full coverage of the hook ## Suggested Design - test that it...
## Background Add migration logic for creating initial TWAP records for every existing pool, at upgrade time. The logic for 'migrating' an existing pool is the same for creating a...
The major version used in a git tag must be the same as the Go module version (defined in go.mod) at that revision. Otherwise, that rev isn't importable. ``` $...
Closes: #1995 ## What is the purpose of the change Change `TestGetModuleToDistributeCoins` and `TestGetModuleDistributedCoins` into table driven tests `SetupNewGauge` and `SetupNewGaugeWithDenom` now takes in an additional param `numEpochsPaidOver` ## Documentation...
## Background We need more tests around the end block flow. There was one test added in #2168 that shows in the normal case, it works. We should extract that...
## What is the purpose of the change This PR adds multi-record test for `GetArithmeticTwap` in `api_test.go` in the existing test for `GetArithmeticTwap`. This PR also adds test cases for...
## Background Current `EstimateSwap` queries, namely `EstimateSwapExactAmountIn` and `EstimateSwapExactAmountOut` and the `EstimateSwap` API in the bindings query does not only estimate swaps but includes the actual process of swapping to...
Closes: https://github.com/osmosis-labs/osmosis/pull/2190 Closes: https://github.com/osmosis-labs/osmosis/pull/2098 ## What is the purpose of the change Add whitelisted stargate queries and ensure deterministic query. The difference of this PR with the previous PR(#2190) is...
## Background ATM, the SFS module has [ABCI queries](https://github.com/osmosis-labs/osmosis/blob/main/proto/osmosis/superfluid/query.proto) for the total amount of Osmos SFS staked & some more granular queries. Specifically, there are queries for SFSDelegationsByDelegator and SuperFluidDelegationsByValidatorDenom....