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

program: fill perp order accepts multiple makers #341

Merged
merged 31 commits into from
Mar 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
d95326c
init
crispheaney Jan 31, 2023
c4dd1ec
program: dont use vec without capacity
crispheaney Jan 31, 2023
bcb1b58
referrer working
crispheaney Jan 31, 2023
e7ad2f4
Merge branch 'master' into crispheaney/multiple-makers
crispheaney Feb 25, 2023
a38c1a1
fix lifetime for jit maker
crispheaney Feb 27, 2023
5073166
tests working
crispheaney Feb 27, 2023
1be328e
fix some easy warnings
crispheaney Feb 27, 2023
183d6de
perp jit maker
crispheaney Feb 28, 2023
9f4e5fc
name tweak
crispheaney Feb 28, 2023
ad9ec8b
add placeAndMakePerp order
crispheaney Feb 28, 2023
10973e1
update get_referrer_info
crispheaney Feb 28, 2023
dad2364
fix warning
crispheaney Feb 28, 2023
24ab5fe
make the loading of user and user stats map more backwards compatible
crispheaney Feb 28, 2023
b63cd18
change multipleMakerOrders test to have multiple makers
crispheaney Feb 28, 2023
c579752
fix warnings
crispheaney Feb 28, 2023
49c92a7
dont let client pass in same maker twice
crispheaney Feb 28, 2023
c0096d6
maker_order_info renamed to maker_orders_info
crispheaney Mar 1, 2023
6f9e894
add get_ref to user maps
crispheaney Mar 1, 2023
7a59dda
add multiple makers test for get_maker_order_info
crispheaney Mar 1, 2023
ed670c8
add jit maker test
crispheaney Mar 1, 2023
4d09844
tweak sort_maker_orders to make them less likely to have false positive
crispheaney Mar 1, 2023
bfeb2d2
test for two_makers_with_max_orders
crispheaney Mar 1, 2023
f0595b9
Merge branch 'master' into crispheaney/multiple-makers
0xbigz Mar 2, 2023
176b9d3
multipleMakerOrders.ts and changes for success
0xbigz Mar 2, 2023
67efeb1
fix memory runnung out
crispheaney Mar 2, 2023
9fd07cc
tests/multipleMakerOrders.ts: finish p2 test
0xbigz Mar 2, 2023
f6f6ed8
tests/multipleMakerOrders.ts: fix assert
0xbigz Mar 2, 2023
4d1f247
fixed vector size for get_maker_orders_info
crispheaney Mar 3, 2023
dff08ac
dont append order records to vec, just immediately
crispheaney Mar 3, 2023
f0837a8
fix unsubscribe for multipleMakerOrders.ts
crispheaney Mar 3, 2023
bed48be
CHANGELOG
crispheaney Mar 3, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Features

- program: allow multiple makers in fill_perp_order ([#341](https://github.com/drift-labs/protocol-v2/pull/341))

### Fixes

### Breaking
Expand Down
Loading