Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] main from dydxprotocol:main #6

Open
wants to merge 791 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
791 commits
Select commit Hold shift + click to select a range
91714c5
Remove unnecessary logs (#2238)
dydxwill Sep 11, 2024
6db737c
[OTE-730] add test to check register affiliate auth (#2235)
affanv14 Sep 11, 2024
9e93027
[CT-1040] Push Notifications (2 of 4) - Add Token To Postgres (#2188)
adamfraser Sep 12, 2024
51e6d2f
[CT-1040] Push Notifications (3 of 4) - Add RegisterToken to Comlink …
adamfraser Sep 12, 2024
5acd685
[CT-1040] Push Notifications (4 of 4) - Send Notifications From Ender…
adamfraser Sep 12, 2024
10189d6
Fix vulcan post processing metrics not emitted for short term orders …
roy-dydx Sep 12, 2024
9fd093a
[TRA-530] When changing market pair name, validate that new pair exis…
hwray Sep 12, 2024
ac1e578
[OTE-776] Implement GetAllRevshares (#2228)
affanv14 Sep 12, 2024
e5ec435
[OTE-696] Emit register affiliate event on successful registration (#…
affanv14 Sep 13, 2024
b0947a8
Fix log message (#2248)
chenyaoy Sep 13, 2024
759498f
[OTE-779] Check affiliate tiers are strictly increasing before updati…
affanv14 Sep 13, 2024
9c3d96d
[OTE-760] implement comlink affiliate metadata endpoint (#2243)
jerryfan01234 Sep 13, 2024
052e47d
fix lint for affiliates (#2255)
affanv14 Sep 13, 2024
0aa8383
[OTE-761] Affiliates comlink total volume and address (#2254)
jerryfan01234 Sep 13, 2024
8cc37b2
[TRA-571] Add query to get intervaled PnL ticks. (#2247)
vincentwschau Sep 13, 2024
cbd23b1
[CT-1160] add relevant protos to dydxprotocol (#2162)
jayy04 Sep 15, 2024
1c7884e
[TRA-572] Add upsert vault event. (#2250)
vincentwschau Sep 16, 2024
d964f26
[OTE-695] Aggregate referred volume in endblocker (#2218)
affanv14 Sep 16, 2024
8522246
[CT-1179] add licensing info for x/accountplus and attributions to Os…
jayy04 Sep 16, 2024
03454e4
[OTE-780] Add client code for affiliates (#2252)
affanv14 Sep 16, 2024
025cc85
[OTE-456] FNS x OE: stage `FinalizeBlock` events and emit in `Precomm…
teddyding Sep 16, 2024
521ed1b
add megavault operator params and update message (#2259)
tqin7 Sep 16, 2024
2882271
[TRA-599] Set market pair for telemetry in Slinky Daemon (#2239)
chenyaoy Sep 16, 2024
46a1c88
Add instance to vulcan metrics (#2265)
roy-dydx Sep 16, 2024
9577fe0
[OTE-687] Bump fee tiers for referees (#2217)
affanv14 Sep 16, 2024
9fe7566
[CT-1190] Emit `FinalizeBlock` updates in single batch. (#2260)
teddyding Sep 16, 2024
b7879b1
[TRA-487] Move currency pair id cache to store (#2072)
chenyaoy Sep 16, 2024
16b65ab
[OTE-777][OTE-690][OTE-688] Update clob code to add revshare logic (#…
affanv14 Sep 16, 2024
f70540d
Fix broken vulcan tests (#2268)
roy-dydx Sep 16, 2024
0330ae7
[TRA-571] Add vault table and vault event version/subtype. (#2263)
vincentwschau Sep 17, 2024
0051e87
allow megavault operator to set vault params (#2262)
tqin7 Sep 17, 2024
2ec1ade
[CT-1161] add signature verification authenticator (#2183)
jayy04 Sep 17, 2024
889980e
Adam/ct 1040 push notifications stack 5 (#2241)
adamfraser Sep 17, 2024
5f97bdd
[CT-1193] introduce authenticator manager (#2256)
jayy04 Sep 17, 2024
7faee36
[TRA-531] When market pair changes, disable old market and enable new…
chenyaoy Sep 17, 2024
f2fb2b9
[TRA-572] Add handler for upsert vault events to ender. (#2274)
vincentwschau Sep 17, 2024
4fc6109
add megavault withdrawal fee estimation (#2242)
tqin7 Sep 17, 2024
9c38c1e
include operator params in vault params query (#2281)
tqin7 Sep 17, 2024
3cb2978
[OTE-762] replace comlink affiliate snapshot endpoint stub with real …
jerryfan01234 Sep 17, 2024
ba731b0
only create clob pair during deliver tx and cli cmd for pml (#2272)
shrenujb Sep 18, 2024
a0b2a88
add ability to allocate to vaults (#2277)
tqin7 Sep 18, 2024
486b265
[CT-1194] add more relevant authenticators (#2275)
jayy04 Sep 18, 2024
903e10a
[TRA-572] Send upsert vault event when setting parameters of vault. (…
vincentwschau Sep 18, 2024
e0b5afa
[TRA-571] Add resolution argument to vault PnL endpoint. (#2282)
vincentwschau Sep 18, 2024
036d234
Set to-vulcan topic to 150 partitions (#2286)
roy-dydx Sep 18, 2024
b37ff5e
allow operator and governance to retrieve from vaults (#2290)
tqin7 Sep 18, 2024
e2727fe
add megavault withdrawal msg (#2288)
tqin7 Sep 19, 2024
b7c2ce7
re-enable tests on vault best fee tier and order size changing due to…
tqin7 Sep 19, 2024
aaa0860
[TRA-621] Sweep bank funds of megavault into subaccount. (#2293)
vincentwschau Sep 19, 2024
25dbec5
Sp/vault post only orders (#2198)
sr33j Sep 19, 2024
728d53a
[OTE-790]Implement affiliates whitelist logic (#2258)
affanv14 Sep 19, 2024
cee80fc
Revert "Sp/vault post only orders (#2198)" (#2296)
tqin7 Sep 19, 2024
dde2216
disable deactivating vaults with positive equity (#2301)
tqin7 Sep 20, 2024
3752694
emit transfer event on vault allocation, retrieval, and withdrawal (#…
tqin7 Sep 20, 2024
5a02618
[OTE-757] add update affiliate info roundtable (#2233)
jerryfan01234 Sep 20, 2024
e4c84f0
Add event for swept funds. (#2307)
vincentwschau Sep 20, 2024
5abfb15
add quoting logic of deactivated, stand-by, close-only modes of vault…
tqin7 Sep 20, 2024
2286785
exclude deactivated vaults from megavault equity (#2308)
tqin7 Sep 20, 2024
18f76cc
[TRA-625] Add upgrade handler for migrating vault params. (#2304)
vincentwschau Sep 20, 2024
82598aa
[OTE-755] Wrap wallet total volume roundtable queries in transaction …
jerryfan01234 Sep 20, 2024
63802c6
[CT-1195] add keeper methods and msg server implementation (#2285)
jayy04 Sep 20, 2024
900984e
[CT-1196] move replay protectin out of sigverify (#2257)
jayy04 Sep 20, 2024
a01cb54
[OTE-821] Affiliates roundtable metrics (#2311)
jerryfan01234 Sep 20, 2024
53cca79
cancel existing orders when setting a vault to deactivated or stand-b…
tqin7 Sep 23, 2024
9144e78
feat: usdt protection in antehandler (#2315)
Sep 23, 2024
06eeb77
Remove open interest handler (#2319)
dydxwill Sep 23, 2024
2e41d17
[OTE-815] Update GetTierForAffiliates and MsgRegisterAffiliates to ha…
affanv14 Sep 23, 2024
637c237
Add Orderbook Mid Price Cache (#2289)
adamfraser Sep 23, 2024
ebf8fe4
add megavault withdrawal info query (#2316)
tqin7 Sep 23, 2024
79db31a
add check for invalid skew factor (#2249)
sr33j Sep 23, 2024
0601feb
add megavault owner shares query (#2323)
tqin7 Sep 23, 2024
6197344
Sp/vault post only orders (#2297)
sr33j Sep 23, 2024
b0034d0
Add TransferToVault keeper method (#2327)
shrenujb Sep 23, 2024
cc59dd2
[OTE-817] update trading rewards with new logic (#2300)
affanv14 Sep 24, 2024
1659f93
[OTE-816] Update Revshare logic for affiliates (#2298)
affanv14 Sep 24, 2024
e4249ec
[OTE-788] Update revshare safety (#2284)
affanv14 Sep 24, 2024
3202ca4
[CT-1197] add query methods for smart account (#2313)
jayy04 Sep 24, 2024
5883104
cap total size of vault orders in close only mode (#2329)
tqin7 Sep 24, 2024
c34d56d
include client ids in vault query (#2328)
tqin7 Sep 24, 2024
1a33334
Revert "Add Orderbook Mid Price Cache (#2289)" (#2333)
adamfraser Sep 24, 2024
ab83828
[OTE-784] Limit addresses for compliance check to dydx wallets with d…
jerryfan01234 Sep 24, 2024
f346663
Add Orderbook Mid Price Cache (#2338)
adamfraser Sep 25, 2024
78de680
Add current equity as a pnl tick. (#2335)
vincentwschau Sep 25, 2024
f051378
Update MsgSetActiveState proto (#2337)
jayy04 Sep 25, 2024
02d0b34
Mergify for v7 branches (#2343)
adamfraser Sep 25, 2024
cc1b795
Fix: deterministically fetch perp info from state (#2341)
ttl33 Sep 25, 2024
9fcbcc8
Add sql script latency metrics (#2356)
dydxwill Sep 25, 2024
0760d3e
[TRA-617] Integrate PML and Megavault (#2331)
shrenujb Sep 25, 2024
6f9ede5
[OTE-829] upgrade handler for affiliates (#2332)
affanv14 Sep 25, 2024
4270782
[CT-1198] Add smart account and circuit break ante handler (#2325)
jayy04 Sep 25, 2024
8dcc2ca
enable username generation roundtable (#2361)
jerryfan01234 Sep 26, 2024
3019562
[OTE-823] Fix FNS onchain events staging + retrieval logic (#2318)
teddyding Sep 26, 2024
35a70aa
Use vault table rather than placeholder config flags to fetch vaults.…
vincentwschau Sep 26, 2024
25fed3f
Add OE Abort rate test flag (#2366)
teddyding Sep 26, 2024
59b6b7a
Add oracle prices index on ("marketId", "effectiveAtHeight") (#2368)
dydxwill Sep 26, 2024
5d082e2
[TRA-617] Fix calculation for atomic resolution (#2360)
shrenujb Sep 26, 2024
11fcc4e
Include getting main subaccount equity / pnl for megavault PnL query.…
vincentwschau Sep 26, 2024
53258cb
Add a cli method for vault withdrawal (#2369)
shrenujb Sep 26, 2024
60cc7aa
[OTE-839] add query for unconditional revshare (#2380)
affanv14 Sep 26, 2024
7193a10
[OTE-840] add missing HasEndBlocker interface (#2384)
affanv14 Sep 27, 2024
424b3f3
migrate vault shares to megavault shares in v7 upgrade handler (backp…
mergify[bot] Sep 27, 2024
5533a8f
Add function to fetch availability zone id (#2326) (#2390)
roy-dydx Sep 27, 2024
59ca02f
register deprecated MsgSetVaultQuotingParams (#2392)
tqin7 Sep 27, 2024
0a3b3b8
Create consumer using rack id (#2352) (#2393)
roy-dydx Sep 27, 2024
98486d9
initialize megavault module account in 7.0.0 upgrade handler (#2394)
tqin7 Sep 27, 2024
6221a9e
[CT-1203] add clob pair id and subaccount num filters (#2388)
jayy04 Sep 30, 2024
19fd34d
[CT-1237] enable messages and add ante decorator to the chain (#2375)
jayy04 Sep 30, 2024
d583dbc
Internalize logic to stage FinalizeBlock events (#2399)
teddyding Sep 30, 2024
3adc282
[CT-1258] add order removal reason for expired permissioned keys (#2407)
jayy04 Sep 30, 2024
07fc0b6
[CT-1259] account plus module code cleanup (#2408)
jayy04 Sep 30, 2024
233c147
[CT-629] Fix entryPrice calc (#2415)
dydxwill Oct 1, 2024
ce94992
Filter out to single tick per interval. (#2403)
vincentwschau Oct 1, 2024
d89e1a5
Add tests for when market pair name changes (#2280)
chenyaoy Oct 1, 2024
93e44ff
Fix flaky vault test. (#2422)
vincentwschau Oct 1, 2024
a282777
Revert "[CT-629] Fix entryPrice calc" (#2425)
dydxwill Oct 1, 2024
2097b85
chore: Bump Cometbft to log proposer when proposal is rejected (#2421)
teddyding Oct 1, 2024
b57eb4c
[OTE-846] Bazooka sequential clear (#2423)
jerryfan01234 Oct 1, 2024
1085e59
[TRA-611] Get MarketPrice exponent from marketmap (#2324)
chenyaoy Oct 1, 2024
672169b
Fix issue with flaky candle test (#2430)
adamfraser Oct 2, 2024
a2eacde
[CT-1202] logic to handle unauthorized maker orders when authenticato…
jayy04 Oct 2, 2024
a9a116c
Update large cap params in genesis (#2431)
chenyaoy Oct 2, 2024
e2438dd
feat: upgrade to connect/v2 (#2419)
Oct 2, 2024
53b298b
Move FinalizeBlock event staging logic into a generic EventStager (#2…
teddyding Oct 2, 2024
829b68b
Update GetAllRevshare to handle liquidations (#2413)
affanv14 Oct 2, 2024
ed1179d
remove deprecated params from x/vault params query (#2387)
tqin7 Oct 2, 2024
9fecfc5
Return undefined from getOrderbookMidPriceMap (#2441)
adamfraser Oct 2, 2024
922a9b5
[TRA-654] add listing module state init into v7 upgrade handler (#2432)
shrenujb Oct 3, 2024
af18d0c
[CT-1259] move account plus test functions to testutil (#2444)
jayy04 Oct 3, 2024
12c2ee9
Split affiliate info fees by taker and maker (#2439)
jerryfan01234 Oct 3, 2024
8fdf8c5
Fix bug with PnL aggregation. (#2446)
vincentwschau Oct 3, 2024
cbf7574
Update indexer testnet url (#2312)
Christopher-Li Oct 3, 2024
c87960e
[OTE-849] Add metrics to track revenue shares (#2449)
affanv14 Oct 3, 2024
52d48f8
[CT-1268] fix genesis for account plus (#2452)
jayy04 Oct 3, 2024
dbd45b2
[TRA-671] Prevent connect messages in x/authz (#2434)
chenyaoy Oct 3, 2024
77cef30
fix tsnonce preventing multisignature bug (#2453)
jerryfan01234 Oct 3, 2024
161c34d
feat: make PML compatible with OE by staging in-memory CLOB side effe…
teddyding Oct 3, 2024
2a90ed0
in testing, megavault main subaccount has 0 usdc by default (#2462)
tqin7 Oct 3, 2024
64fa696
Update sidecar to connect v2 (#2458)
chenyaoy Oct 3, 2024
537bf4a
don't initialize megavault subaccount if balance is 0 in genesis (#2464)
tqin7 Oct 3, 2024
deff758
Get latest hourly tick to compute final tick for megavault PnL. (#2454)
vincentwschau Oct 3, 2024
eefff67
remove megavault subaccount from sample pregenesis (#2467)
tqin7 Oct 3, 2024
264cb06
add afflaiteReferredMakerRebates field to response (#2473)
jerryfan01234 Oct 4, 2024
34c1ea2
[CT-1262] add e2e tests for new auth flow failure cases (#2461)
jayy04 Oct 8, 2024
d1ac09b
[OTE-852] Register rpc routes in module (#2480)
affanv14 Oct 14, 2024
4dfde85
[OTE-863] update username generation query (#2482)
affanv14 Oct 14, 2024
bee57fe
Improve vault endpoint performance. (#2475)
vincentwschau Oct 14, 2024
c8f8a4a
[CT-629] Fix entryPrice calc (#2455)
dydxwill Oct 14, 2024
9449952
Fix test flakiness due to using inconsistent time. (#2485)
vincentwschau Oct 15, 2024
ca15c4d
Add GRPC gateway route for listing module and add hard cap setting (#…
shrenujb Oct 15, 2024
40e16b4
Don't increment messageId for custom ping messages (#2493)
dydxwill Oct 16, 2024
150513c
[OTE-876] update roundtable loop timings for instrumentation and uncr…
affanv14 Oct 16, 2024
4208b7b
[OTE-877] deprecate OI indexer update event (#2499)
affanv14 Oct 16, 2024
78b2f93
set each megavault share to be worth 0.001 usdc on 7.x upgrade (#2492)
tqin7 Oct 16, 2024
a18eb61
[OTE-880] Emit log in case of collisions (#2500)
affanv14 Oct 16, 2024
e4aa393
add metadata to megavault operator params (#2509)
tqin7 Oct 16, 2024
9ea4ffe
Remove orderbook cache roundtable job (#2510)
adamfraser Oct 17, 2024
bf2035d
Rename MATIC to POL in genesis and tests (#2503)
chenyaoy Oct 17, 2024
f7249a8
[TRA-721] Enforce sidecar versions (#2491)
chenyaoy Oct 17, 2024
0f8efed
Add config var to exclude specific stateful order ids from being proc…
vincentwschau Oct 17, 2024
66d7a5d
Drop patch number from upgrade name, v7.0.0 to v7.0 (#2512)
adamfraser Oct 18, 2024
ac1556b
FNS polish - metrics, max msg size, default flag values (#2517)
jonfung-dydx Oct 18, 2024
8cb09b4
Add script to get insurance fund balances (#2516)
ttl33 Oct 18, 2024
301b438
reusing subscription ids (#2518)
jonfung-dydx Oct 18, 2024
8a866a5
add wallet when transfer to subaccount (#2519)
jerryfan01234 Oct 18, 2024
b829b28
update migration to stop excessive consumption of computation (#2521)
affanv14 Oct 18, 2024
0eff57c
FNS - bounds check raw subscription payload int vals (#2523)
jonfung-dydx Oct 21, 2024
0a28594
Get funding index maps for vault positions in chunks. (#2525)
vincentwschau Oct 22, 2024
b9fcc40
Protocol support for Rust (#2172)
therustmonk Oct 22, 2024
fe80931
Vulcan topic to 210 partitions (#2528)
roy-dydx Oct 22, 2024
bcd05e3
Bump SDK - Always Reset OE (#2531)
teddyding Oct 22, 2024
9c214d0
[CT-1262] add e2e tests for permissioned keys success cases (#2479)
jayy04 Oct 22, 2024
317a74e
Fix typo and add test for invalid vaults. (#2535)
vincentwschau Oct 22, 2024
15aa042
Add missing fields to perpetual markets kafka update (#2539)
shrenujb Oct 25, 2024
b5a95d4
Change Rust protobufs crate name, license reference (#2541)
v0-e Oct 27, 2024
61c2d54
Use Rust proto crate name as `dydx-proto` (#2543)
v0-e Oct 28, 2024
4ccfe2b
De-duplicate and filter out invalid pnl ticks for megavault. (#2540)
vincentwschau Oct 28, 2024
338f1ce
[TRA-513] Deprecate exchange config json and min exchanges (#2524)
chenyaoy Oct 28, 2024
0e185fd
Full node streaming -- perp position to signed int (#2544)
jonfung-dydx Oct 28, 2024
2198a3b
[OTE-882] Add prefix to accountplus keeper (#2526)
jerryfan01234 Oct 28, 2024
f6101a3
[CT-1307] Make pnl ticks computation consistent within a transaction.…
vincentwschau Oct 30, 2024
407bea2
pass shares to withdraw in megavault withdrawal query rest endpoint (…
tqin7 Oct 31, 2024
ad89431
Dont set default value for fills rows (#2552)
adamfraser Nov 4, 2024
9d3e3cb
Add gRPC gateway routing for affiliate queries (#2554)
teddyding Nov 5, 2024
62fdf68
Bump Comet version (#2556)
teddyding Nov 6, 2024
de6d106
Update Rust protos, dependencies enhancements (#2538)
v0-e Nov 13, 2024
d1c64f6
fix(affiliates): [OTE-898] Refactor subaccount username generation (#…
teddyding Nov 14, 2024
4633b85
Allow configuring day vault PnL starts. (#2570)
vincentwschau Nov 14, 2024
95a80ef
Use alphanumeric suffix for username (#2573)
teddyding Nov 15, 2024
c26c8b8
fix(affiliates): Generate username with address, not subaccount id (#…
teddyding Nov 15, 2024
898fb93
Use repeatable read for pnl tick generation. (#2578)
vincentwschau Nov 18, 2024
dbdaa87
fix(affiliate): Use DB transaction for username generation; add more …
teddyding Nov 18, 2024
76c18b6
Fix username generator unit test (#2582)
teddyding Nov 18, 2024
80414ac
fix(affiliates): exclude liquidation fees in referred fee calculation…
teddyding Nov 20, 2024
aa9ff70
Update cosmossdk.io/math to v1.4.0 (#2588)
vincentwschau Nov 20, 2024
e700de9
[CT-1320] proto for FNS price updates (#2586)
jayy04 Nov 21, 2024
e3d812e
[TRA-507] Add new gov message for upgrading markets: UpgradeIsolatedP…
hwray Nov 22, 2024
395f448
Check for invalid addresses in `SetAffiliateWhitelist` (#2594)
teddyding Nov 22, 2024
fefd10e
[CT-1321] subscribe to market prices streaming services (#2592)
jayy04 Nov 22, 2024
9a1cde3
Optimize query for latest pnl tick at specific time. (#2599)
vincentwschau Nov 22, 2024
80b3113
Revert "[CT-629] Fix entryPrice calc (#2455)" (#2600)
vincentwschau Nov 22, 2024
92733ca
Use materialized view for vault pnl data. (#2598)
vincentwschau Nov 22, 2024
8d0570d
feat(oe): Enable OE by default (target: v8.0+) (#2595)
teddyding Nov 25, 2024
8f0899e
Start refresh vault PnL task. (#2603)
vincentwschau Nov 25, 2024
4eaca4a
make megavault withdrawal logging more succinct (#2607)
tqin7 Nov 25, 2024
744a58b
Use release env for release github workflow (#2608)
ttl33 Nov 25, 2024
6aee32b
Fix vaults PnL endpoint. (#2612)
vincentwschau Nov 25, 2024
7454ced
Candles Cache Improvements (#2590)
adamfraser Nov 26, 2024
5553dc8
Upgrade connect dependency to allow market authorities to remove mark…
chenyaoy Nov 26, 2024
6682638
[TRA-507] Add Indexer changes for UpgradeIsolatedPerpetualToCross (#2…
hwray Nov 26, 2024
115acf7
[CT-1326] send price updates after block is finalized (#2611)
jayy04 Nov 26, 2024
4d9f2d0
[TRA-890] Return nearest hour PnL as final data point for vaults pnl.…
vincentwschau Nov 26, 2024
3566800
Update `DefaultFundingPpm` for PML markets (#2610)
teddyding Nov 27, 2024
9a66300
[TRA-885] Upgrade handler to set market, perp and clob pair id to fix…
shrenujb Nov 27, 2024
6ca9b4e
allow megavault operator to set default quoting params (#2620)
tqin7 Nov 27, 2024
35ecc0a
Fix flaky Candles test (#2619)
adamfraser Nov 27, 2024
369a0c1
feat(blocktime): Use gov-controlled`next_block_delay` to replace `tim…
teddyding Nov 29, 2024
b062a1c
[CT-1327] place post only orders first in prepare check state (#2618)
jayy04 Dec 2, 2024
fc51db9
update localnet sidecar to 2.1.2 (#2622)
chenyaoy Dec 3, 2024
ab98dd4
fix(affiliates): Fix logic in affiliate referred volume aggregation (…
teddyding Dec 6, 2024
8c7d85f
Revert "Use release env for release github workflow (#2608)" (#2626)
jayy04 Dec 6, 2024
a957b13
Run account plus migration in v8 upgrade (#2628)
jayy04 Dec 6, 2024
fc5ff36
fix transfers parent SA API for external addresses in transfers (#2630)
shrenujb Dec 7, 2024
c9f988b
Remove unused line in transfer controller (#2632)
teddyding Dec 10, 2024
87a43cd
fix(affiliates): Reject self referral in `RegisterAffiliate` (#2637)
teddyding Dec 10, 2024
bed7a87
Increase FNS default numbers and close connections properly with reas…
jayy04 Dec 10, 2024
1b03acb
Fix uncaught postgres error (#2635)
roy-dydx Dec 10, 2024
7da33a6
Increase orderbook mid price cache duration to 60 seconds (#2633)
adamfraser Dec 10, 2024
f95f663
Add athena tables for affiliates/vaults. (#2636)
vincentwschau Dec 11, 2024
03c53ce
Add permissioned keys cli (#2644)
jayy04 Dec 11, 2024
3d59131
Enable permissioned keys by default (#2645)
jayy04 Dec 12, 2024
196dc84
Improve query to find candles map. (#2650)
vincentwschau Dec 12, 2024
d8a1d79
fix(feetiers): Reject malformed address in query (#2653)
teddyding Dec 13, 2024
7117942
chore: Add EIGEN,BOME as isolatd market in default test genesis (#2651)
teddyding Dec 13, 2024
6a13081
fix(affiliates): Check address is valid in `ReferredBy` query [OTE-89…
teddyding Dec 16, 2024
5fd53fc
feat(accountplus): Add query for accountplus account state (#2659)
teddyding Dec 16, 2024
a3aea35
Switch connect v2 back to slinky v1 (#2657)
chenyaoy Dec 16, 2024
81ec99c
Improve vault start pnl query. (#2664)
vincentwschau Dec 17, 2024
fa7038b
Support non critical opt extions in clob and sending cli (#2667)
jayy04 Dec 19, 2024
59abb7b
base64 encode permissioned keys config arg (#2668)
jayy04 Dec 23, 2024
6973144
Fix sidecar version checker (#2671)
chenyaoy Dec 27, 2024
2a79ca0
Patch for ASA-2024-0012 and 0013. (#2666)
vincentwschau Jan 8, 2025
4cdfae6
[CT-1338] Add channel and id properties to error message on subscript…
vincentwschau Jan 8, 2025
b2674f5
Add subaccount usernames table to list of tables to export. (#2677)
vincentwschau Jan 8, 2025
36c4da5
Move memstore hydration initialized flag to memstore (#2681)
jayy04 Jan 13, 2025
949b46c
chore(oe): More info log for OE (#2683)
teddyding Jan 13, 2025
e32ddca
feat(blocktime): Implement query for SynchronyParams (#2686)
teddyding Jan 14, 2025
9db19a0
chore: Fix typo in `get-synchrony-params` (#2688)
teddyding Jan 15, 2025
c0d7369
fix: add metadata to more errors (#2690)
tyleroooo Jan 15, 2025
56cc48e
Cast oracle price to bigint and then numeric to get proper values (#2…
shrenujb Jan 16, 2025
247dff9
Add schema checks for addresses in url endpoints (#2692)
shrenujb Jan 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
65 changes: 65 additions & 0 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,68 @@ pull_request_rules:
backport:
branches:
- release/protocol/v4.x
- name: backport to release/indexer/v5.x branch
conditions:
- base=main
- label=backport/indexer/v5.x
actions:
backport:
branches:
- release/indexer/v5.x
- name: backport to release/protocol/v5.x branch
conditions:
- base=main
- label=backport/protocol/v5.x
actions:
backport:
branches:
- release/protocol/v5.x
- name: backport to release/protocol/v5.1.x branch
conditions:
- base=main
- label=backport/protocol/v5.1.x
actions:
backport:
branches:
- release/protocol/v5.1.x
- name: backport to release/protocol/v5.2.x branch
conditions:
- base=main
- label=backport/protocol/v5.2.x
actions:
backport:
branches:
- release/protocol/v5.2.x
- name: backport to release/indexer/v6.x branch
conditions:
- base=main
- label=backport/indexer/v6.x
actions:
backport:
branches:
- release/indexer/v6.x
- name: backport to release/protocol/v6.x branch
conditions:
- base=main
- label=backport/protocol/v6.x
actions:
backport:
branches:
- release/protocol/v6.x
- name: backport to release/indexer/v7.x branch
conditions:
- base=main
- label=backport/indexer/v7.x
actions:
backport:
branches:
- release/indexer/v7.x
- name: backport to release/protocol/v7.x branch
conditions:
- base=main
- label=backport/protocol/v7.x
actions:
backport:
branches:
- release/protocol/v7.x

2 changes: 1 addition & 1 deletion .github/workflows/indexer-api-documentation-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on: # yamllint disable-line rule:truthy
push:
branches:
- main
- 'release/indexer/v0.[0-9]+.x' # e.g. release/indexer/v0.1.x
- 'release/indexer/v[0-9]+.[0-9]+.x' # e.g. release/indexer/v0.1.x
- 'release/indexer/v[0-9]+.x' # e.g. release/indexer/v1.x
paths:
- 'indexer/**'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/indexer-build-and-push-dev-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ on: # yamllint disable-line rule:truthy
push:
branches:
- main
- 'release/[a-z]+/v0.[0-9]+.x' # e.g. release/indexer/v0.1.x
- 'release/[a-z]+/v[0-9]+.x' # e.g. release/indexer/v1.x
- 'release/indexer/v[0-9]+.[0-9]+.x' # e.g. release/indexer/v0.1.x
- 'release/indexer/v[0-9]+.x' # e.g. release/indexer/v1.x
# TODO(DEC-837): Customize github build and push to ECR by service with paths

jobs:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/indexer-build-and-push-mainnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ on: # yamllint disable-line rule:truthy
push:
branches:
- main
- 'release/[a-z]+/0.[0-9]+.x' # e.g. release/indexer/v0.1.x
- 'release/[a-z]+/v[0-9]+.x' # e.g. release/indexer/v1.x
- 'release/indexer/v[0-9]+.[0-9]+.x' # e.g. release/indexer/v0.1.x
- 'release/indexer/v[0-9]+.x' # e.g. release/indexer/v1.x
# TODO(DEC-837): Customize github build and push to ECR by service with paths

jobs:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/indexer-build-and-push-testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ on: # yamllint disable-line rule:truthy
push:
branches:
- main
- 'release/[a-z]+/v0.[0-9]+.x' # e.g. release/indexer/v0.1.x
- 'release/[a-z]+/v[0-9]+.x' # e.g. release/indexer/v1.x
- 'release/indexer/v[0-9]+.[0-9]+.x' # e.g. release/indexer/v0.1.x
- 'release/indexer/v[0-9]+.x' # e.g. release/indexer/v1.x
# TODO(DEC-837): Customize github build and push to ECR by service with paths

jobs:
Expand Down
32 changes: 31 additions & 1 deletion .github/workflows/indexer-build-docker-image-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on: # yamllint disable-line rule:truthy
push:
branches:
- main
- 'release/indexer/v0.[0-9]+.x' # e.g. release/indexer/v0.1.x
- 'release/indexer/v[0-9]+.[0-9]+.x' # e.g. release/indexer/v0.1.x
- 'release/indexer/v[0-9]+.x' # e.g. release/indexer/v1.x
paths:
- 'indexer/**'
Expand Down Expand Up @@ -77,3 +77,33 @@ jobs:
DOCKER_BUILDKIT=1 docker build \
--platform amd64 \
-f Dockerfile.bazooka.remote .

check-build-auxo:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./indexer
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16

- name: Install pnpm
run:
npm install -g [email protected]

- name: Build and install
run: |
pnpm install --loglevel warn --frozen-lockfile
pnpm run build:prod:all

- name: Build docker image for auxo
id: build-image
run: |
DOCKER_BUILDKIT=1 docker build \
--platform amd64 \
-f Dockerfile.auxo.remote .
2 changes: 1 addition & 1 deletion .github/workflows/indexer-build-test-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on: # yamllint disable-line rule:truthy
push:
branches:
- main
- 'release/indexer/v0.[0-9]+.x' # e.g. release/indexer/v0.1.x
- 'release/indexer/v[0-9]+.[0-9]+.x' # e.g. release/indexer/v0.1.x
- 'release/indexer/v[0-9]+.x' # e.g. release/indexer/v1.x
paths:
- 'indexer/**'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/indexer-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on: # yamllint disable-line rule:truthy
push:
branches:
- main
- 'release/indexer/v0.[0-9]+.x' # e.g. release/indexer/v0.1.x
- 'release/indexer/v[0-9]+.[0-9]+.x' # e.g. release/indexer/v0.1.x
- 'release/indexer/v[0-9]+.x' # e.g. release/indexer/v1.x
paths:
- 'indexer/**'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/proto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on: # yamllint disable-line rule:truthy
push:
branches:
- main
- 'release/protocol/v0.[0-9]+.x' # e.g. release/protocol/v0.1.x
- 'release/protocol/v[0-9]+.[0-9]+.x' # e.g. release/protocol/v0.1.x
- 'release/protocol/v[0-9]+.x' # e.g. release/protocol/v1.x
paths:
# Keep in sync with above
Expand Down
49 changes: 49 additions & 0 deletions .github/workflows/protocol-benchmark.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Protocol Benchmark
on: # yamllint disable-line rule:truthy
pull_request:
paths:
- 'protocol/**'
push:
branches:
- main
- 'release/protocol/v[0-9]+.[0-9]+.x' # e.g. release/protocol/v0.1.x
- 'release/protocol/v[0-9]+.x' # e.g. release/protocol/v1.x
paths:
- 'protocol/**'

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
benchmark:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./protocol
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Setup Golang
uses: actions/setup-go@v3
with:
go-version: 1.22
- name: Prune Docker system to free up space
run: |
docker system prune -a --volumes -f
- name: Run Benchmarks
run: make benchmark | tee ./benchmark_output.txt
- name: Download previous benchmark data
uses: actions/cache@v4
with:
path: ./cache
key: ${{ runner.os }}-benchmark
- name: Store benchmark result
uses: benchmark-action/github-action-benchmark@v1
with:
tool: 'go'
output-file-path: ./protocol/benchmark_output.txt
external-data-json-path: ./cache/benchmark-data.json
fail-on-alert: true
alert-threshold: '150%'
save-data-file: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
48 changes: 48 additions & 0 deletions .github/workflows/protocol-build-and-push-mainnet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Protocol Build & Push Image to AWS ECR

on: # yamllint disable-line rule:truthy
pull_request:
branches:
- 'release/protocol/v[0-9]+.[0-9]+.x' # e.g. release/protocol/v0.1.x
- 'release/protocol/v[0-9]+.x' # e.g. release/protocol/v1.x
push:
branches:
- 'release/protocol/v[0-9]+.[0-9]+.x' # e.g. release/protocol/v0.1.x
- 'release/protocol/v[0-9]+.x' # e.g. release/protocol/v1.x

jobs:
build-and-push-mainnet:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./protocol
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: '0' # without this, ignite fails.

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID_VALIDATOR_MAINNET }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY_VALIDATOR_MAINNET }}
aws-region: ap-northeast-1

- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1

- name: Build, Tag, and Push the Image to Amazon ECR
id: build-image
env:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
ECR_REPOSITORY: mainnet-full-node
run: |
make localnet-build-amd64
commit_hash=$(git rev-parse --short=7 HEAD)
docker build \
--platform amd64 \
-t $ECR_REGISTRY/$ECR_REPOSITORY:$commit_hash \
-f testing/mainnet/Dockerfile .
docker push $ECR_REGISTRY/$ECR_REPOSITORY --all-tags
4 changes: 2 additions & 2 deletions .github/workflows/protocol-build-and-push-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ on: # yamllint disable-line rule:truthy
push:
branches:
- main
- 'release/[a-z]+/v0.[0-9]+.x' # e.g. release/protocol/v0.1.x
- 'release/[a-z]+/v[0-9]+.x' # e.g. release/protocol/v1.x
- 'release/protocol/v[0-9]+.[0-9]+.x' # e.g. release/protocol/v0.1.x
- 'release/protocol/v[0-9]+.x' # e.g. release/protocol/v1.x

jobs:
build-and-push-snapshot-dev:
Expand Down
49 changes: 49 additions & 0 deletions .github/workflows/protocol-build-and-push-testnet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Protocol Build & Push Image to AWS ECR

on: # yamllint disable-line rule:truthy
pull_request:
branches:
- 'release/protocol/v[0-9]+.[0-9]+.x' # e.g. release/protocol/v0.1.x
- 'release/protocol/v[0-9]+.x' # e.g. release/protocol/v1.x
push:
branches:
- 'release/protocol/v[0-9]+.[0-9]+.x' # e.g. release/protocol/v0.1.x
- 'release/protocol/v[0-9]+.x' # e.g. release/protocol/v1.x

jobs:
build-and-push-testnet:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./protocol
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: '0' # without this, ignite fails.

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID_VALIDATOR_TESTNET }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY_VALIDATOR_TESTNET }}
aws-region: us-east-2

- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1

- name: Build, Tag, and Push the Image to Amazon ECR
id: build-image
env:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
ECR_REPOSITORY: testnet-validator
AWS_REGION: us-east-2
run: |
make localnet-build-amd64
commit_hash=$(git rev-parse --short=7 HEAD)
docker build \
--platform amd64 \
-t $ECR_REGISTRY/$ECR_REPOSITORY:$commit_hash \
-f testing/testnet/Dockerfile .
docker push $ECR_REGISTRY/$ECR_REPOSITORY --all-tags
6 changes: 3 additions & 3 deletions .github/workflows/protocol-build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ on: # yamllint disable-line rule:truthy
push:
branches:
- main
- 'release/[a-z]+/v0.[0-9]+.x' # e.g. release/protocol/v0.1.x
- 'release/[a-z]+/v[0-9]+.x' # e.g. release/protocol/v1.x
- 'release/protocol/v[0-9]+.[0-9]+.x' # e.g. release/protocol/v0.1.x
- 'release/protocol/v[0-9]+.x' # e.g. release/protocol/v1.x

jobs:
build-and-push-dev:
Expand Down Expand Up @@ -222,4 +222,4 @@ jobs:
--platform amd64 \
-t $ECR_REGISTRY/$ECR_REPOSITORY:$commit_hash \
-f testing/testnet-staging/Dockerfile .
docker push $ECR_REGISTRY/$ECR_REPOSITORY --all-tags
docker push $ECR_REGISTRY/$ECR_REPOSITORY --all-tags
4 changes: 2 additions & 2 deletions .github/workflows/protocol-container-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on: # yamllint disable-line rule:truthy
push:
branches:
- main
- 'release/protocol/v0.[0-9]+.x' # e.g. release/protocol/v0.1.x
- 'release/protocol/v[0-9]+.[0-9]+.x' # e.g. release/protocol/v0.1.x
- 'release/protocol/v[0-9]+.x' # e.g. release/protocol/v1.x
paths:
- 'protocol/**'
Expand All @@ -27,7 +27,7 @@ jobs:
- name: Setup Golang
uses: actions/setup-go@v3
with:
go-version: 1.21
go-version: 1.22
- name: Build images
run: DOCKER_BUILDKIT=1 make test-container-build
- name: Run container tests
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/protocol-exchange-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on: # yamllint disable-line rule:truthy
push:
branches:
- main
- 'release/protocol/v0.[0-9]+.x' # e.g. release/protocol/v0.1.x
- 'release/protocol/v[0-9]+.[0-9]+.x' # e.g. release/protocol/v0.1.x
- 'release/protocol/v[0-9]+.x' # e.g. release/protocol/v1.x
paths:
- 'protocol/daemons/**'
Expand All @@ -30,7 +30,7 @@ jobs:
name: Setup Golang
uses: actions/setup-go@v3
with:
go-version: 1.21
go-version: 1.22
-
name: Display go version
run: go version
Expand Down
Loading
Loading