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(builder): remember last cancel txn fees on underpriced #893

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

dancoombs
Copy link
Collaborator

No description provided.

&& gas_fees.max_priority_fee_per_gas > t.gas_fees.max_priority_fee_per_gas
}) {
self.transactions.push(PendingTransaction {
tx_hash: B256::ZERO,
Copy link
Collaborator

Choose a reason for hiding this comment

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

are we meant to store a zero hash here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah, its a marker that the transaction isn't actually pending (since it got rejected)

Copy link
Collaborator

Choose a reason for hiding this comment

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

I assume its just cause it was not succesful

Copy link

codecov bot commented Oct 30, 2024

Codecov Report

Attention: Patch coverage is 0% with 34 lines in your changes missing coverage. Please review.

Project coverage is 58.69%. Comparing base (25a749c) to head (953cb4c).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
crates/builder/src/transaction_tracker.rs 0.00% 34 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

Files with missing lines Coverage Δ
crates/builder/src/transaction_tracker.rs 73.92% <0.00%> (-2.42%) ⬇️
Flag Coverage Δ
unit-tests 58.69% <0.00%> (-0.04%) ⬇️

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

Components Coverage Δ
rundler binary 0.00% <ø> (ø)
builder 63.02% <0.00%> (-0.22%) ⬇️
dev ∅ <ø> (∅)
pool 66.74% <ø> (ø)
provider 20.84% <ø> (ø)
rpc 25.87% <ø> (ø)
sim 76.76% <ø> (ø)
tasks ∅ <ø> (∅)
types 67.83% <ø> (ø)
utils 29.38% <ø> (ø)

&& gas_fees.max_priority_fee_per_gas > t.gas_fees.max_priority_fee_per_gas
}) {
self.transactions.push(PendingTransaction {
tx_hash: B256::ZERO,
Copy link
Collaborator

Choose a reason for hiding this comment

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

I assume its just cause it was not succesful

@dancoombs dancoombs merged commit 57d28f5 into main Oct 31, 2024
11 checks passed
@dancoombs dancoombs deleted the danc/fix-cancel-replace branch October 31, 2024 00:14
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