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

Sender fixes #734

Merged
merged 4 commits into from
Jun 20, 2024
Merged

Sender fixes #734

merged 4 commits into from
Jun 20, 2024

Conversation

dancoombs
Copy link
Collaborator

Combo of 3 PRs: #725 #722 #723

Copy link

codecov bot commented Jun 18, 2024

Codecov Report

Attention: Patch coverage is 76.04603% with 229 lines in your changes missing coverage. Please review.

Project coverage is 57.15%. Comparing base (1ccd847) to head (16f7006).

Additional details and impacted files

Impacted file tree graph

Files Coverage Δ
crates/builder/src/emit.rs 36.00% <ø> (+21.33%) ⬆️
crates/provider/src/traits/provider.rs 100.00% <ø> (ø)
crates/builder/src/bundle_proposer.rs 90.37% <99.43%> (+1.25%) ⬆️
crates/builder/src/transaction_tracker.rs 81.17% <97.29%> (+1.61%) ⬆️
crates/builder/src/sender/mod.rs 0.91% <0.00%> (-0.15%) ⬇️
bin/rundler/src/cli/builder.rs 0.00% <0.00%> (ø)
crates/builder/src/sender/raw.rs 0.00% <0.00%> (ø)
crates/provider/src/ethers/provider.rs 0.00% <0.00%> (ø)
crates/builder/src/task.rs 0.00% <0.00%> (ø)
crates/builder/src/bundle_sender.rs 72.80% <91.45%> (+72.80%) ⬆️

... and 1 file with indirect coverage changes

Flag Coverage Δ
unit-tests 57.15% <76.04%> (+2.49%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
rundler binary 0.00% <0.00%> (ø)
builder 59.54% <82.61%> (+13.78%) ⬆️
dev 0.00% <ø> (ø)
pool 65.07% <ø> (ø)
provider 16.10% <0.00%> (-0.58%) ⬇️
rpc 25.66% <ø> (ø)
sim 78.13% <ø> (+0.26%) ⬆️
tasks ∅ <ø> (∅)
types 65.45% <ø> (ø)
utils 18.28% <ø> (ø)

@@ -196,6 +196,17 @@ pub enum OpRejectionReason {
FailedRevalidation { error: SimulationError },
/// Operation reverted during bundle formation simulation with message
FailedInBundle { message: Arc<String> },
/// Operation's storage slot condition was not met
ConditionNotMet(ConditionNotMetReason),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ConditionNotMet is a somewhat ambiguous enum name, maybe something like StorageConditionNotMet?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like its descriptive enough since we have a "Conditional" sender, so this enum is coupled with that name

crates/builder/src/sender/mod.rs Outdated Show resolved Hide resolved
@dancoombs dancoombs force-pushed the danc/sender-fixes branch from f01429f to e94744a Compare June 20, 2024 18:22
@dancoombs dancoombs merged commit 421ff18 into danc/tt-polling Jun 20, 2024
7 checks passed
@dancoombs dancoombs deleted the danc/sender-fixes branch June 20, 2024 18:53
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.

3 participants