You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Closes: #1183
## Description
Adds comments for all of the pool interface methods.
Deletes some deadcode around the IsActive function / test thats not really achieving much at the moment. It also changes its API to take in ctx directly.
______
For contributor use:
- [ ] Targeted PR against correct branch (see [CONTRIBUTING.md](https://github.com/cosmos/gaia/blob/main/CONTRIBUTING.md#pr-targeting))
- [ ] Updated relevant documentation (`docs/`) or specification (`x/<module>/spec/`)
- [ ] Added a relevant changelog entry to the `Unreleased` section in `CHANGELOG.md`
- [ ] Re-reviewed `Files changed` in the Github PR explorer
p0mvn
changed the title
Document PoolI interface in x/gamm/types/pool.go
[x/gamm] Document PoolI interface in x/gamm/types/pool.goMay 9, 2022
Background
The methods in the pool interface are the meat n bones of the AMM state machine, or are at least a large part of it.
Being so, each of these methods in the interface should be very very well documented with godocs.
Many of these methods already have some godocs next to the implementation. E.g.:
osmosis/x/gamm/pool-models/balancer/amm.go
Line 42 in a68928e
We should ensure that these match
Originally posted by @alexanderbez in #1147 (comment)
Acceptance Criteria
osmosis/x/gamm/pool-models/balancer/amm.go
Line 42 in a68928e
The text was updated successfully, but these errors were encountered: