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: self-building payloads in kurtosis devnet #104

Merged
merged 4 commits into from
Jul 3, 2024

Conversation

merklefruit
Copy link
Collaborator

@merklefruit merklefruit commented Jul 3, 2024

  • fixed: signature error on get_header response with fallback payloads
  • fixed: added fork_version to compute builder_domain for signing builder-api messages
  • fixed: wrong return type for get_payload (due to serde enum tag versioning)
  • fixed: SSZ transactions_root and withdrawals_root in consensus execution payload header instead of MPT

merklefruit and others added 3 commits July 3, 2024 00:15
Co-authored-by: thedevbirb <lorenzo@chainbound.io>
Co-authored-by: thedevbirb <lorenzo@chainbound.io>
@merklefruit merklefruit changed the title fix: signature error on get_header response with fallback payloads fix: self-building payloads in kurtosis devnet Jul 3, 2024
@merklefruit merklefruit marked this pull request as ready for review July 3, 2024 11:24
Comment on lines 117 to +118
// TODO: add included blobs here
blobs_bundle: None,
blobs_bundle: Default::default(),
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

we should add an issue for this: support blobs across the self building pipeline

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Copy link
Contributor

@thedevbirb thedevbirb left a comment

Choose a reason for hiding this comment

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

LFG

bolt-sidecar/src/builder/payload_builder.rs Outdated Show resolved Hide resolved
Comment on lines +103 to +111
/// Get the slot time for the given chain in seconds.
pub fn slot_time(&self) -> u64 {
match self {
Chain::Mainnet => 12,
Chain::Holesky => 12,
Chain::Kurtosis => 2,
Chain::Helder => 12,
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd still keep the slot time as a separate CLI arg, with default 12, in case we want to run the devnet with a more realistic slot time. We can do it in a separate PR

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 we should refactor the Chain configs to another file perhaps

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

bolt-sidecar/src/config.rs Outdated Show resolved Hide resolved
@merklefruit merklefruit merged commit a896649 into feat/fallback-builder-api Jul 3, 2024
@merklefruit merklefruit deleted the feat/sign-header branch July 3, 2024 12:37
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