Skip to content
This repository has been archived by the owner on Sep 15, 2023. It is now read-only.

Commit

Permalink
implement skeleton to support the builder API
Browse files Browse the repository at this point in the history
  • Loading branch information
ralexstokes committed May 10, 2022
1 parent 4cd4836 commit 562fc43
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/api_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ use ethereum_consensus::altair::mainnet::{
SignedContributionAndProof, SyncCommitteeContribution, SyncCommitteeMessage,
};
use ethereum_consensus::bellatrix::mainnet::{BlindedBeaconBlock, SignedBlindedBeaconBlock};
use ethereum_consensus::builder::SignedValidatorRegistration;
use ethereum_consensus::networking::Multiaddr;
use ethereum_consensus::phase0::mainnet::{
Attestation, AttestationData, AttesterSlashing, BeaconBlock, BeaconState, Fork,
Expand Down Expand Up @@ -307,9 +308,16 @@ impl Client {
Ok(())
}

pub async fn register_proposers(
pub async fn prepare_proposers(
registrations: &[BeaconProposerRegistration],
) -> Result<(), Error> {
Ok(())
}

// endpoint for builder registrations
pub async fn register_validators(
registrations: &[SignedValidatorRegistration],
) -> Result<(), Error> {
Ok(())
}
}

0 comments on commit 562fc43

Please sign in to comment.