resolve merge conflicts

This commit is contained in:
Eitan Seri-Levi
2026-02-17 18:10:22 -08:00
57 changed files with 802 additions and 495 deletions

View File

@@ -196,7 +196,7 @@ impl<E: EthSpec> SignedBuilderBid<E> {
.pubkey()
.decompress()
.map(|pubkey| {
let domain = spec.get_builder_domain();
let domain = spec.get_builder_application_domain();
let message = self.message.signing_root(domain);
self.signature.verify(&pubkey, message)
})

View File

@@ -4,6 +4,7 @@ pub const APPLICATION_DOMAIN_BUILDER: u32 = 16777216;
#[derive(Debug, PartialEq, Clone, Copy)]
pub enum ApplicationDomain {
/// NOTE: This domain is only used for out-of-protocol block building, DO NOT use it for Gloas/ePBS.
Builder,
}

View File

@@ -549,7 +549,9 @@ impl ChainSpec {
// This should be updated to include the current fork and the genesis validators root, but discussion is ongoing:
//
// https://github.com/ethereum/builder-specs/issues/14
pub fn get_builder_domain(&self) -> Hash256 {
//
// NOTE: This domain is only used for out-of-protocol block building, DO NOT use it for Gloas/ePBS.
pub fn get_builder_application_domain(&self) -> Hash256 {
self.compute_domain(
Domain::ApplicationMask(ApplicationDomain::Builder),
self.genesis_fork_version,

View File

@@ -31,7 +31,7 @@ impl SignedValidatorRegistrationData {
.pubkey
.decompress()
.map(|pubkey| {
let domain = spec.get_builder_domain();
let domain = spec.get_builder_application_domain();
let message = self.message.signing_root(domain);
self.signature.verify(&pubkey, message)
})