-
Notifications
You must be signed in to change notification settings - Fork 3
test: add fill-handling behavior integration tests #178
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Member
Author
433f0f7 to
ef41d7c
Compare
Fraser999
reviewed
Feb 3, 2026
Evalir
reviewed
Feb 3, 2026
Add comprehensive integration tests verifying the three distinct fill-handling behaviors across different drivers: - Call Bundle (SignetBundleDriver): OUTPUT missing fills without validation, just reports detected orders and fills - Send Bundle (SignetEthBundleDriver): ERROR on missing fills, stopping execution unless tx is marked revertible - Block Driver (SignetDriver): DROP TXN on missing fills, rejecting the invalid transaction but continuing block processing Tests use a shared scenario with three fill states (full, partial, missing) to verify each driver behaves correctly. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Remove redundant closure in wallet creation and apply rustfmt. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Address PR review feedback: - Remove unused `host_txs` parameter from `order_bundle()` function - Consolidate three identical `call_bundle` tests into one comprehensive test since call bundle performs no fill validation Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Address PR review feedback by verifying orderer balance changes: - accepts_with_valid_fills: assert balance decreased after order executed - drops_tx_on_partial_fills: assert balance unchanged when order dropped Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Update fill_behavior tests to use tokio::time::Instant instead of std::time::Instant to match the updated SignetEthBundleDriver API. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
659e743 to
7a9cff2
Compare
Fraser999
approved these changes
Feb 3, 2026
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Test Coverage
Call Bundle (
SignetBundleDriver) - 3 tests:Send Bundle (
SignetEthBundleDriver) - 4 tests:Block Driver (
SignetDriver) - 3 tests:Test plan
🤖 Generated with Claude Code