Releases: dydxprotocol/v4-chain
Release protocol/v8.0.3
For indexer full node. Can be applied on a rolling basis. Include defaultFundingPpm
in PerpetualMarketCreateEvent
/UpdatePerpetualMarketEvent
.
What's Changed
- feat(funding): Add
defaultFunding8hrPpm
field to Perpetual Create/Update indexer events (backport #2674) by @mergify in #2700
Full Changelog: protocol/v8.0.2...protocol/v8.0.3
Release Indexer v8.0.1
Release Indexer v8.0.0
What's Changed
- Revert "Add Orderbook Mid Price Cache (#2289)" by @adamfraser in #2333
- [OTE-784] Limit addresses for compliance check to dydx wallets with deposit by @jerryfan01234 in #2330
- Add Orderbook Mid Price Cache by @adamfraser in #2338
- Add current equity as a pnl tick. by @vincentwschau in #2335
- Add sql script latency metrics by @dydxwill in #2356
- enable username generation roundtable by @jerryfan01234 in #2361
- Use vault table rather than placeholder config flags to fetch vaults. by @vincentwschau in #2364
- Add oracle prices index on ("marketId", "effectiveAtHeight") by @dydxwill in #2368
- Include getting main subaccount equity / pnl for megavault PnL query. by @vincentwschau in #2376
- Add function to fetch availability zone id (#2326) by @roy-dydx in #2390
- Create consumer using rack id (#2352) by @roy-dydx in #2393
- [CT-629] Fix entryPrice calc by @dydxwill in #2415
- Filter out to single tick per interval. by @vincentwschau in #2403
- Revert "[CT-629] Fix entryPrice calc" by @dydxwill in #2425
- [OTE-846] Bazooka sequential clear by @jerryfan01234 in #2423
- Fix issue with flaky candle test by @adamfraser in #2430
- Return undefined from getOrderbookMidPriceMap by @adamfraser in #2441
- Split affiliate info fees by taker and maker by @jerryfan01234 in #2439
- Fix bug with PnL aggregation. by @vincentwschau in #2446
- Update indexer testnet url by @Christopher-Li in #2312
- Get latest hourly tick to compute final tick for megavault PnL. by @vincentwschau in #2454
- [OTE-863] update username generation query by @affanv14 in #2482
- [CT-629] Fix entryPrice calc by @dydxwill in #2455
- Fix test flakiness due to using inconsistent time. by @vincentwschau in #2485
- Don't increment messageId for custom ping messages by @dydxwill in #2493
- [OTE-876] update roundtable loop timings for instrumentation and uncrossing by @affanv14 in #2494
- [OTE-877] deprecate OI indexer update event by @affanv14 in #2499
- [OTE-880] Emit log in case of collisions by @affanv14 in #2500
- Remove orderbook cache roundtable job by @adamfraser in #2510
- Add config var to exclude specific stateful order ids from being processed. by @vincentwschau in #2513
- add wallet when transfer to subaccount by @jerryfan01234 in #2519
- update migration to stop excessive consumption of computation by @affanv14 in #2521
- Get funding index maps for vault positions in chunks. by @vincentwschau in #2525
- Vulcan topic to 210 partitions by @roy-dydx in #2528
- Fix typo and add test for invalid vaults. by @vincentwschau in #2535
- Add missing fields to perpetual markets kafka update by @shrenujb in #2539
- De-duplicate and filter out invalid pnl ticks for megavault. by @vincentwschau in #2540
- [CT-1307] Make pnl ticks computation consistent within a transaction. by @vincentwschau in #2548
- Dont set default value for fills rows by @adamfraser in #2552
- fix(affiliates): [OTE-898] Refactor subaccount username generation by @teddyding in #2569
- Allow configuring day vault PnL starts. by @vincentwschau in #2570
- Use alphanumeric suffix for username by @teddyding in #2573
- fix(affiliates): Generate username with address, not subaccount id by @teddyding in #2575
- Use repeatable read for pnl tick generation. by @vincentwschau in #2578
- fix(affiliate): Use DB transaction for username generation; add more stats for update… by @teddyding in #2579
- Fix username generator unit test by @teddyding in #2582
- Optimize query for latest pnl tick at specific time. by @vincentwschau in #2599
- Revert "[CT-629] Fix entryPrice calc (#2455)" by @vincentwschau in #2600
- Use materialized view for vault pnl data. by @vincentwschau in #2598
- Start refresh vault PnL task. by @vincentwschau in #2603
- Candles Cache Improvements by @adamfraser in #2590
- [TRA-507] Add Indexer changes for UpgradeIsolatedPerpetualToCross by @hwray in #2597
- [TRA-890] Return nearest hour PnL as final data point for vaults pnl. by @vincentwschau in #2616
- Fix flaky Candles test by @adamfraser in #2619
- fix transfers parent SA API for external addresses in transfers by @shrenujb in #2630
- Remove unused line in transfer controller by @teddyding in #2632
- Fix uncaught postgres error (backport #2635) by @mergify in #2641
- Increase orderbook mid price cache duration to 60 seconds (backport #2633) by @mergify in #2642
- Improve query to find candles map. (backport #2650) by @mergify in #2670
- Improve vault start pnl query. (backport #2664) by @mergify in #2669
Full Changelog: indexer/v7.0.12...indexer/v8.0.0
Release protocol/v8.0.2
This release can be applied on rolling basis.
Not required for validator node. Fixes an issue on full node tx_search
query.
What's Changed
- fix(tx_search): Set
cometbft-db
tov0.12
to fix tx_search issue (Long-term fix needed) (backport #2699) by @mergify in #2701
Full Changelog: protocol/v8.0.1...protocol/v8.0.2
Indexer/v8.0.2
This release contains logic needed for indexer to handle default funding emitted from protocol. Includes a Database migration, so should be applied through auxo
.
What's Changed
- Backport changes to support default funding on indexer by @teddyding in #2702
Full Changelog: indexer/v8.0.1...indexer/v8.0.2
Release protocol/v8.0.1 (Upgrade name: v8.0)
Note: If using cosmosvisor, put binary under folder v8.0
which is the upgrade name
Highlights
This release includes changes in following major areas:
- Permissioned Keys
- Marketmap Removals
Detailed Changes
Permissioned Keys
Enables API traders to leverage permissioned keys for granular control of account permissions and improved risk and safety.
Marketmap Removals
Enables removal of non-enabled (unlaunched) markets from the marketmap by the elected marketmapper(s) and by governance.
Gov Controlled Block-Time
Adds SynchronyParams
under x/block-time
module that enables governance to control the next_block_delay
and hence blocktime.
Upgrading Markets
Enables isolated-margin markets to be upgraded to cross-margin by governance.
What's Changed
- Revert "Add Orderbook Mid Price Cache (#2289)" by @adamfraser in #2333
- [OTE-784] Limit addresses for compliance check to dydx wallets with deposit by @jerryfan01234 in #2330
- Add Orderbook Mid Price Cache by @adamfraser in #2338
- Add current equity as a pnl tick. by @vincentwschau in #2335
- Update MsgSetActiveState proto by @jayy04 in #2337
- Mergify for v7 branches by @adamfraser in #2343
- Fix: deterministically fetch perp info from state by @ttl33 in #2341
- Add sql script latency metrics by @dydxwill in #2356
- [TRA-617] Integrate PML and Megavault by @shrenujb in #2331
- [OTE-829] upgrade handler for affiliates by @affanv14 in #2332
- [CT-1198] Add smart account and circuit break ante handler by @jayy04 in #2325
- enable username generation roundtable by @jerryfan01234 in #2361
- [OTE-823] Fix FNS onchain events staging + retrieval logic by @teddyding in #2318
- Use vault table rather than placeholder config flags to fetch vaults. by @vincentwschau in #2364
- chore: add OE Abort rate debug flag by @teddyding in #2366
- Add oracle prices index on ("marketId", "effectiveAtHeight") by @dydxwill in #2368
- [TRA-617] Fix calculation for atomic resolution by @shrenujb in #2360
- Include getting main subaccount equity / pnl for megavault PnL query. by @vincentwschau in #2376
- Add a cli method for vault withdrawal by @shrenujb in #2369
- [OTE-839] add query for unconditional revshare by @affanv14 in #2380
- [OTE-840] add missing HasEndBlocker interface by @affanv14 in #2384
- migrate vault shares to megavault shares in v7 upgrade handler (backport #2379) by @mergify in #2381
- Add function to fetch availability zone id (#2326) by @roy-dydx in #2390
- register deprecated MsgSetVaultQuotingParams by @tqin7 in #2392
- Create consumer using rack id (#2352) by @roy-dydx in #2393
- initialize megavault module account in 7.0.0 upgrade handler by @tqin7 in #2394
- [CT-1203] add clob pair id and subaccount num filters by @jayy04 in #2388
- [CT-1237] enable messages and add ante decorator to the chain by @jayy04 in #2375
- bug: Internalize FNS logic to stage FinalizeBlock events by @teddyding in #2399
- [CT-1258] add order removal reason for expired permissioned keys by @jayy04 in #2407
- [CT-1259] account plus module code cleanup by @jayy04 in #2408
- [CT-629] Fix entryPrice calc by @dydxwill in #2415
- Filter out to single tick per interval. by @vincentwschau in #2403
- Add tests for when market pair name changes by @chenyaoy in #2280
- Fix flaky vault test. by @vincentwschau in #2422
- Revert "[CT-629] Fix entryPrice calc" by @dydxwill in #2425
- chore: Bump Cometbft to log proposer when proposal is rejected by @teddyding in #2421
- [OTE-846] Bazooka sequential clear by @jerryfan01234 in #2423
- [TRA-611] Get MarketPrice exponent from marketmap by @chenyaoy in #2324
- Fix issue with flaky candle test by @adamfraser in #2430
- [CT-1202] logic to handle unauthorized maker orders when authenticato… by @jayy04 in #2412
- Update large cap params in genesis by @chenyaoy in #2431
- feat: upgrade to connect/v2 by @aljo242 in #2419
- Move FinalizeBlock event staging logic into a generic EventStager by @teddyding in #2435
- Update GetAllRevshare to handle liquidations by @affanv14 in #2413
- remove deprecated params from x/vault params query by @tqin7 in #2387
- Return undefined from getOrderbookMidPriceMap by @adamfraser in #2441
- [TRA-654] add listing module state init into v7 upgrade handler by @shrenujb in #2432
- [CT-1259] move account plus test functions to testutil by @jayy04 in #2444
- Split affiliate info fees by taker and maker by @jerryfan01234 in #2439
- Fix bug with PnL aggregation. by @vincentwschau in #2446
- Update indexer testnet url by @Christopher-Li in #2312
- [OTE-849] Add metrics to track revenue shares by @affanv14 in #2449
- [CT-1268] fix genesis for account plus by @jayy04 in #2452
- [TRA-671] Prevent connect messages in x/authz by @chenyaoy in #2434
- fix tsnonce preventing multisignature bug by @jerryfan01234 in #2453
- feat: make PML compatible with OE by staging in-memory CLOB side effects by @teddyding in #2447
- in testing, megavault main subaccount has 0 usdc by default by @tqin7 in #2462
- Update sidecar to connect v2 by @chenyaoy in #2458
- don't initialize megavault subaccount if balance is 0 in genesis by @tqin7 in #2464
- Get latest hourly tick to compute final tick for megavault PnL. by @vincentwschau in #2454
- remove megavault subaccount from sample pregenesis by @tqin7 in #2467
- add afflaiteReferredMakerRebates field to response by @jerryfan01234 in #2473
- [CT-1262] add e2e tests for new auth flow failure cases by @jayy04 in #2461
- [OTE-852] Register rpc routes in module by @affanv14 in #2480
- [OTE-863] update username generation query by @affanv14 in #2482
- Improve vault endpoint performance. by @vincentwschau in #2475
- [CT-629] Fix entryPrice calc by @dydxwill in #2455
- Fix test flakiness due to using inconsistent time. by @vincentwschau in #2485
- Add GRPC gateway route for listing module and add hard cap setting by @shrenujb in #2489
- Don't increment messageId for custom ping messages by @dydxwill in #2493
- [OTE-876] update roundtable loop timings for instrumentation and uncrossing by @affanv14 in #2494
- [OTE-877] deprecate OI indexer update event by @affanv14 in #2499
- set each megavault share to be worth 0.001 usdc on 7.x upgrade by @tqin7 in #2492
- [OTE-880] Emit log in case of collisions by @affanv14 in #2500
- add metadata to megavault operator params by @tqin7 in #2509
- Remove orderbook cache roundtable job by @adamfraser in #2510
- Rename MATIC to POL in genesis and tests b...
Indexer v7.0.12
Release protocol/v8.0.1-rc0
Release candidate for v8.0.1 binary. Fixes an issue on restart.
What's Changed
- Patch for ASA-2024-0012 and 0013. (backport #2666) by @mergify in #2675
- Move memstore hydration initialized flag to memstore (backport #2681) by @mergify in #2682
- chore(oe): More info log for OE (backport #2683) by @mergify in #2684
Full Changelog: protocol/v8.0.0-rc1...protocol/v8.0.1-rc0
Release protocol/v8.0.0-rc1
Release candidate for v8.0.0 binary. Requires breaking upgrade from v7.x.x (upgrade name: v8.0), but non-breaking from v8.0.0-rc0.
What's Changed
Full Changelog: protocol/v8.0.0-rc0...protocol/v8.0.0-rc1
Release protocol/v8.0.0-rc0
Release candidate for v8.0.0
binary. Requires breaking upgrade from v7.x.x
(upgrade name: v8.0
)
Highlights
This release includes changes in following major areas:
- Permissioned Keys
- Marketmap Removals
Detailed Changes
Permissioned Keys
Enables API traders to leverage permissioned keys for granular control of account permissions and improved risk and safety.
Marketmap Removals
Enables removal of non-enabled (unlaunched) markets from the marketmap by the elected marketmapper(s) and by governance.
Gov Controlled Block-Time
Adds SynchronyParams
under x/block-time
module that enables governance to control the next_block_delay
and hence blocktime.
What's Changed
- Revert "Add Orderbook Mid Price Cache (#2289)" by @adamfraser in #2333
- [OTE-784] Limit addresses for compliance check to dydx wallets with deposit by @jerryfan01234 in #2330
- Add Orderbook Mid Price Cache by @adamfraser in #2338
- Add current equity as a pnl tick. by @vincentwschau in #2335
- Update MsgSetActiveState proto by @jayy04 in #2337
- Mergify for v7 branches by @adamfraser in #2343
- Fix: deterministically fetch perp info from state by @ttl33 in #2341
- Add sql script latency metrics by @dydxwill in #2356
- [TRA-617] Integrate PML and Megavault by @shrenujb in #2331
- [OTE-829] upgrade handler for affiliates by @affanv14 in #2332
- [CT-1198] Add smart account and circuit break ante handler by @jayy04 in #2325
- enable username generation roundtable by @jerryfan01234 in #2361
- [OTE-823] Fix FNS onchain events staging + retrieval logic by @teddyding in #2318
- Use vault table rather than placeholder config flags to fetch vaults. by @vincentwschau in #2364
- chore: add OE Abort rate debug flag by @teddyding in #2366
- Add oracle prices index on ("marketId", "effectiveAtHeight") by @dydxwill in #2368
- [TRA-617] Fix calculation for atomic resolution by @shrenujb in #2360
- Include getting main subaccount equity / pnl for megavault PnL query. by @vincentwschau in #2376
- Add a cli method for vault withdrawal by @shrenujb in #2369
- [OTE-839] add query for unconditional revshare by @affanv14 in #2380
- [OTE-840] add missing HasEndBlocker interface by @affanv14 in #2384
- migrate vault shares to megavault shares in v7 upgrade handler (backport #2379) by @mergify in #2381
- Add function to fetch availability zone id (#2326) by @roy-dydx in #2390
- register deprecated MsgSetVaultQuotingParams by @tqin7 in #2392
- Create consumer using rack id (#2352) by @roy-dydx in #2393
- initialize megavault module account in 7.0.0 upgrade handler by @tqin7 in #2394
- [CT-1203] add clob pair id and subaccount num filters by @jayy04 in #2388
- [CT-1237] enable messages and add ante decorator to the chain by @jayy04 in #2375
- bug: Internalize FNS logic to stage FinalizeBlock events by @teddyding in #2399
- [CT-1258] add order removal reason for expired permissioned keys by @jayy04 in #2407
- [CT-1259] account plus module code cleanup by @jayy04 in #2408
- [CT-629] Fix entryPrice calc by @dydxwill in #2415
- Filter out to single tick per interval. by @vincentwschau in #2403
- Add tests for when market pair name changes by @chenyaoy in #2280
- Fix flaky vault test. by @vincentwschau in #2422
- Revert "[CT-629] Fix entryPrice calc" by @dydxwill in #2425
- chore: Bump Cometbft to log proposer when proposal is rejected by @teddyding in #2421
- [OTE-846] Bazooka sequential clear by @jerryfan01234 in #2423
- [TRA-611] Get MarketPrice exponent from marketmap by @chenyaoy in #2324
- Fix issue with flaky candle test by @adamfraser in #2430
- [CT-1202] logic to handle unauthorized maker orders when authenticato… by @jayy04 in #2412
- Update large cap params in genesis by @chenyaoy in #2431
- feat: upgrade to connect/v2 by @aljo242 in #2419
- Move FinalizeBlock event staging logic into a generic EventStager by @teddyding in #2435
- Update GetAllRevshare to handle liquidations by @affanv14 in #2413
- remove deprecated params from x/vault params query by @tqin7 in #2387
- Return undefined from getOrderbookMidPriceMap by @adamfraser in #2441
- [TRA-654] add listing module state init into v7 upgrade handler by @shrenujb in #2432
- [CT-1259] move account plus test functions to testutil by @jayy04 in #2444
- Split affiliate info fees by taker and maker by @jerryfan01234 in #2439
- Fix bug with PnL aggregation. by @vincentwschau in #2446
- Update indexer testnet url by @Christopher-Li in #2312
- [OTE-849] Add metrics to track revenue shares by @affanv14 in #2449
- [CT-1268] fix genesis for account plus by @jayy04 in #2452
- [TRA-671] Prevent connect messages in x/authz by @chenyaoy in #2434
- fix tsnonce preventing multisignature bug by @jerryfan01234 in #2453
- feat: make PML compatible with OE by staging in-memory CLOB side effects by @teddyding in #2447
- in testing, megavault main subaccount has 0 usdc by default by @tqin7 in #2462
- Update sidecar to connect v2 by @chenyaoy in #2458
- don't initialize megavault subaccount if balance is 0 in genesis by @tqin7 in #2464
- Get latest hourly tick to compute final tick for megavault PnL. by @vincentwschau in #2454
- remove megavault subaccount from sample pregenesis by @tqin7 in #2467
- add afflaiteReferredMakerRebates field to response by @jerryfan01234 in #2473
- [CT-1262] add e2e tests for new auth flow failure cases by @jayy04 in #2461
- [OTE-852] Register rpc routes in module by @affanv14 in #2480
- [OTE-863] update username generation query by @affanv14 in #2482
- Improve vault endpoint performance. by @vincentwschau in #2475
- [CT-629] Fix entryPrice calc by @dydxwill in #2455
- Fix test flakiness due to using inconsistent time. by @vincentwschau in #2485
- Add GRPC gateway route for listing module and add hard cap setting by @shrenujb in #2489
- Don't increment messageId for custom ping messages by @dydxwill in #2493
- [OTE-876] update roundtable loop timings for instrumentation and uncrossing by @affanv14 in #2494
- [OTE-877] deprecate OI indexer update event by @affanv14 in #2499
- set each megavault share to be worth 0.001 usdc on 7.x upgrade by @tqin7 in #2492
- [OTE-880] Emit log in case of collisions by @affanv14 in #2500
- add metadata to megavault operator params by @tqin7 in #2509
- Remove orderbook cache roundtable job by @adamfraser in #2510
- Rename MATIC to POL in genesis and tests by @chenyaoy in #2503
- [TRA-721] Enforce side...