Note: If using cosmosvisor, put binary under folder v8.1 which is the upgrade name
Highlights
This release includes changes in following major areas:
- Builder codes
- Clob transaction batching
- Cross IML
- New Market Liquidity Tier
Detailed Changes
Builder Codes
- This enables external parties to submit orders to dYdX and collect fees (per-order) for building and routing an order to the exchange.
- The address and fee, in parts per million, needs to be configured via the BuilderCodeParameters in the order message itself. The fee will be paid out when the given order is filled.
- Builder fees and addresses can be queried via the indexer using the /orders and /fills endpoints as usual. /orders contains details on the fee rate and builder address. /fills also contains the builder address as well as details on the amount charged per-fill.
Clob Transaction Batching
- This change allows multiple Clob messages (specifically pertaining to stateful orders) to be placed in a single transaction
- This also allows for one transfer to be included in a batched transaction call, allowing users to transfer money into an account and place in trade with order enforced.
Cross Instant Market Listings
- Markets are now allowed to be cross-launchable from the outset. By tagging assets in the marketmap as cross-launcable, on launch it will be cross margin.
IML Liquidity Tier
- Markets launched will now use the new IML_5x liquidity tier
What's Changed
- remove single clob msg restriction for stateful orders (backport #2737) by @mergify in #2829
- [ENG-94] Replace skip-mev/slinky with dydxprotocol/slinky (backport #2789) by @mergify in #2831
- [ENG-4] Add cross-margin launch for listings (backport #2804) by @mergify in #2830
- [ENG-29] Use New Instant Liquidity Tier for IML (backport #2744) by @mergify in #2832
- Fix(orderbook): Fix to-indexer order replacement logic (backport #2855) by @mergify in #2881
- fix close position order by not replaying fully filled reduce-only IOC orders (backport #2867) by @mergify in #2882
- verbose logging for py and js releases (backport #2874) by @mergify in #2883
- fix py release workflow (backport #2876) by @mergify in #2884
- fix js release workflow (backport #2878) by @mergify in #2885
- update testnet chain ID from dydx-testnet-1 to dydx-testnet-4 (backport #2892) by @mergify in #2894
- [ENG-143] Add an upgrade handler for v8.1 (backport #2880) by @mergify in #2898
- Add tx batching gas decorator fix (backport #2888) by @mergify in #2902
- [CT-1362] Support Builder Codes in the Protocol (backport #2837) by @mergify in #2903
- [CT-1363] Support Builder Codes in the Indexer (backport #2861) by @mergify in #2930
- Don't default to null in builder codes migration (backport #2935) by @mergify in #2937
Full Changelog: protocol/v8.0.13...protocol/v8.1.0