State Machine Breaking
- #994 - x/oracle refactor to use collections
- #991 - collections refactoring of keys and values
- #978 - x/vpool move state logic to collections
- #977 - x/perp add whitelisted liquidators
- #960 - x/common validate asset pair denoms
- #952 - x/perp move state logic to collections
- #872 - x/perp remove module balances from genesis
- #878 - rename
PremiumFraction
toFundingRate
- #900 - refactor x/vpool snapshot state management
- #904 - refactor: change Pool name to VPool in vpool module
- #894 - add the collections package!
- #897 - x/pricefeed - use collections.
- #933 - refactor(perp): remove whitelist and simplify state keys
- #959 - feat(vpool): complete genesis import export
- removed Params from genesis.
- added pair into ReserveSnapshot type.
- added validation of snapshots and snapshots in genesis.
- #975 - fix(perp): funding payment calculations
- #976 - refactor(epochs): refactor to increase readability and some tests
- EpochInfo.CurrentEpoch changed from int64 to uint64.
API Breaking
- #830 - test(vpool): Make missing fields for 'query vpool all-pools' display as empty strings.
- Improve test coverage of functions used in the query server.
- Added 'pair' field to the
all-pools
to make the prices array easier to digest
- #878 - rename
funding-payments
query tofunding-rate
- #880 - refactor
PostRawPrice
return values - #900 - fix x/vpool twap calculation to be bounded in time
- #919 - refactor(proto): vpool module files consistency
- MarkPriceChanged renamed to MarkPriceChangedEvent
- #875 - x/perp add MsgMultiLiquidate
- #979 - refactor and clean VPool.
Improvements
- #837 - simplify makefile, removing unused module creation and usage of new command to add vpool at genesis
- #836 - refactor(genesis): DRY improvements and functions added to localnet.sh for readability
- #842 - use self-hosted runner
- #843 - add timeout to github actions integration tests
- #847 - add command in localnet to whitelist oracle
- #848 - add check max leverage on add vpool in genesis command
- #858 - fix trading limit ratio check; checks in both directions on both quote and base assets
- #865 - refactor(vpool): clean up interface for CmdGetBaseAssetPrice to use add and remove as directions
- #868 - refactor dex integration tests to be independent between them
- #876 - chore(deps): bump github.com/spf13/viper from 1.12.0 to 1.13.0
- #879 - test(perp): liquidate cli test and genesis fix for testutil initGenFiles
- #889 - feat: decouple keeper from servers in pricefeed module
- #886 - feat: decouple keeper from servers in perp module
- #901 - refactor(vpool): remove
GetUnderlyingPrice
method - #902 - refactor(common): improve usability of
common.AssetPair
- #913 - chore(epochs): update x/epochs module
- #911 - test(perp): add
MsgOpenPosition
simulation tests - #917 - refactor(proto): perp module files consistency
- #920 - refactor(proto): pricefeed module files consistency
- #926 - feat: use spot twap for funding rate calculation
- #932 - refactor(perp): rename premium fraction to funding rate
- #963 - test: add collections api tests
- #971 - chore: use upstream 99designs/keyring module
- #964 - test(vpool): refactor flaky vpool cli test
- #956 - test(perp): partial liquidate unit test
- #981 - chore(testutil): clean up x/testutil packages
- #980 - test(perp): add
MsgClosePosition
,MsgAddMargin
, andMsgRemoveMargin
simulation tests - #987 - feat: create a query that directly returns all module accounts without pagination or iteration
- #982 - improvements for pricefeed genesis
- #989 - test(perp): cli test for AddMargin
- #1001 - chore(deps): bump github.com/spf13/cobra from 1.5.0 to 1.6.0
- #1013 - test(vpool): more calc twap tests and documentation
- #1012 - test(vpool): make vpool simulation with random parameters
- #1015 - feat(dex): throw error when swap output amount is less than 1
- #1018 - chore(dex): refactor to match best practice
- #1024 - refactor(oracle): remove Pair and PairList
- #1034 - refactor(proto): use proto-typed events x/dex
- #1035 - refactor(proto): use proto-typed events for epochs
Features
- #827 - feat(genesis): add cli command to add vpool at genesis
- #838 - feat(genesis): add cli command to whitelist oracles at genesis
- #846 - x/oracle remove reference pair
- #1019 - add fields to the snapshot reserve event
- #1010 - feeder: initialize oracle feeder core logic
- #966 - collections: add indexed map
- #852 - feat(genesis): add cli command to add pairs at genesis
- #861 - feat: query cumulative funding payments
- #985 - feat: query all active positions for a trader
- #997 - feat: emit
ReserveSnapshotSavedEvent
in vpool EndBlocker - #1011 - feat(perp): add DonateToEF cli command
Fixes
- #1023 - collections: golang compiler bug
- #1017 - collections: correctly reports value type and key in case of not found errors.
- #857 - x/perp add proper stateless genesis validation checks
- #874 - fix --home issue with unsafe-reset-all command, updating tendermint to v0.34.21
- #892 - chore: fix localnet script
- #925 - fix(vpool): snapshot iteration
- #930 - fix(vpool): snapshot iteration on mark twap
- #911 - fix(perp): handle issue where no vpool snapshots are found
- #958 - fix(pricefeed): add twap to prices query
- #961 - fix(perp): wire the funding rate query
- #993 - fix(vpool): fluctuation limit check
- #1000 - chore: bump cosmos-sdk to v0.45.9 to fix ibc bug
- #1002 - fix: update go.mod dependencies to fix the protocgen script
- #850 - x/vpool - properly validate vpools at genesis
- #854 - add buildx to the docker release workflow
CI
- #785 - ci: create simulations job
New Contributors
Full Changelog: v0.13.0...v0.15.0