-
Notifications
You must be signed in to change notification settings - Fork 2
wip: add host sim #132
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
base: prestwich/remove-host-fills
Are you sure you want to change the base?
wip: add host sim #132
Conversation
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite. This stack of pull requests is managed by Graphite. Learn more about stacking. |
33415a3 to
d672bf5
Compare
579a7a3 to
a853470
Compare
a853470 to
19236a0
Compare
554d991 to
01d39a5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks solid so far, few qs
| candidate_orders.absorb(&tx_orders); | ||
|
|
||
| // Then we check that the fills are sufficient against the | ||
| // provided fill state. This does nothing on error. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't this be does nothing on success?
| // This is redundant with the driver, however, we double check here. | ||
| // If perf is hit too much we can remove. | ||
| self.rollup | ||
| .fill_state() | ||
| .check_ru_tx_events(&outputs.bundle_fills, &outputs.bundle_orders)?; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why double check? genuine question, want to understand the reasoning

wip: add host sim
fix: add host evm and fix fill detection