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

fix: validate against large order sizes that may caught internal over… #10178

Merged
merged 1 commit into from Nov 27, 2023

Conversation

wwestgarth
Copy link
Contributor

closes #10177

Adds validation that the order size that we might be regsitering with the position engine isn't so large that it'll cause us to overflow. We do this both in command validation, and order valiation in the execution engine.

If we do somehow have an order that makes its way through, we now panic ealier with more helpful error-text.

@wwestgarth wwestgarth requested a review from a team as a code owner November 27, 2023 13:41
@wwestgarth wwestgarth merged commit 332b312 into develop Nov 27, 2023
16 checks passed
@wwestgarth wwestgarth deleted the 10177-fix-overflow branch November 27, 2023 16:09
jeremyletang pushed a commit that referenced this pull request Nov 27, 2023
fix: validate against large order sizes that may caught internal over…
jeremyletang pushed a commit that referenced this pull request Dec 1, 2023
fix: validate against large order sizes that may caught internal over…
jeremyletang pushed a commit that referenced this pull request Dec 9, 2023
fix: validate against large order sizes that may caught internal over…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Panic on fairground
4 participants