[TIP-7] V1.12.0 Software Upgrade Proposal
-
The v1.12.0 software upgrade for Switcheo TradeHub will improve AMM quoting and reduce block times.
The upgrade contains the following improvements and bugfixes:
Improvements
- Add subaccount query, see oracle readme.
- Build binary with cleveldb adapter. Existing nodes that have started with goleveldb (default) will not be able to use cleveldb, but must still install leveldb package in their machine as the binary will require those headers. Only fresh installation will use cleveldb. You can check your
db_backend
in~/.switcheod/config/config.toml
. - Save oracle votes to db for better analytics.
- Purge orders from state that have reached end state (
filled
,cancelled
). The v1.12.0 upgrade migration handler will remove all orders that have reached end state from the orders state store. API data is unaffected. - AMM will now quote up to half the linked liquidity pool reserves.
Bug Fixes
- Fix wrong last price in
/get_market_stats
API endpoint, - Fix wrongly shifted decimals places in websocket
get_market_stats
,market_stats
channels. - Fix recent trades in websocket
get_recent_trades
andrecent_trades
channels. - Fix AMM not requoting orderbooks when swap fee changes
- Fix cancelled stop orders still existing in account's open orders. The v1.12.0 upgrade migration handler will remove all orders that have reached end state from the accounts' open orders state store. API data is unaffected.
- Fix allocated margin being added to untriggered stop-limit orders during market leverage change.
V1.12.0 Binary Checksum:
sha256:5b0c968de222b7648771e6e6e39b99ac230ccacc185107c8785b6babb2ad8896
V1.12.0 Binary Download: Link
-
On-chain proposal submitted for voting at: https://switcheo.org/governance/proposal/26?net=main