8000 refactor: encapsulate prep and bump logic by prestwich · Pull Request #107 · init4tech/builder · GitHub
[go: up one dir, main page]

Skip to content

refactor: encapsulate prep and bump logic #107

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

Open
wants to merge 6 commits into
base: prestwich/some-cleaning-submit
Choose a base branch
from

Conversation

prestwich
Copy link
Member
@prestwich prestwich commented Jun 13, 2025

Encapsulate logic for the following processes:

  • Tx preparation
  • fee bumping

So that they are out of the main retrying loop

Closes ENG-1084

Copy link
Member Author
prestwich commented Jun 13, 2025

@dylanlott dylanlott force-pushed the prestwich/bumpable-prep branch from 48a1e82 to 4f0445e Compare June 14, 2025 00:21
@dylanlott dylanlott force-pushed the prestwich/bumpable-prep branch from 4f0445e to ecc8355 Compare June 14, 2025 02:35
src/utils.rs Outdated

let blob_basefee = prev_header
.next_block_blob_fee(BlobParams::prague())
.expect("signet deployed after 4844 active");
Copy link
Contributor

Choose a reason for hiding this comment

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

So, this expect was panicking at runtime. I updated it to an unwrap_or and it defaults to the Prague value, but I'm not sure why it was panicking.

Copy link
Contributor
@dylanlott dylanlott left a comment

Choose a reason for hiding this comment

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

Tested and working in dev-net with the commits that patch the expect issue. Approving to unblock.

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.

2 participants
0