Skip to content

Commit 93ff3c7

Browse files
authored
chore: public necessary type for custom pbs pipeline (#194)
1 parent 1305b46 commit 93ff3c7

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

crates/common/src/pbs/types/kzg.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ impl FromStr for KzgCommitment {
9494
}
9595

9696
// PROOF
97-
const BYTES_PER_PROOF: usize = 48;
97+
pub const BYTES_PER_PROOF: usize = 48;
9898

9999
#[derive(Debug, Clone)]
100100
pub struct KzgProof(pub [u8; BYTES_PER_PROOF]);

crates/common/src/pbs/types/mod.rs

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,17 @@ mod kzg;
77
mod spec;
88
mod utils;
99

10-
pub use beacon_block::{SignedBlindedBeaconBlock, SubmitBlindedBlockResponse};
11-
pub use execution_payload::{Transaction, EMPTY_TX_ROOT_HASH};
12-
pub use get_header::{GetHeaderParams, GetHeaderResponse, SignedExecutionPayloadHeader};
10+
pub use beacon_block::{PayloadAndBlobs, SignedBlindedBeaconBlock, SubmitBlindedBlockResponse};
11+
pub use blobs_bundle::{Blob, BlobsBundle};
12+
pub use execution_payload::{
13+
ExecutionPayload, ExecutionPayloadHeader, Transaction, Transactions, Withdrawal,
14+
EMPTY_TX_ROOT_HASH,
15+
};
16+
pub use get_header::{
17+
ExecutionPayloadHeaderMessage, GetHeaderParams, GetHeaderResponse, SignedExecutionPayloadHeader,
18+
};
19+
pub use kzg::{
20+
KzgCommitment, KzgCommitments, KzgProof, KzgProofs, BYTES_PER_COMMITMENT, BYTES_PER_PROOF,
21+
};
1322
pub use spec::{DenebSpec, EthSpec};
1423
pub use utils::{Version, VersionedResponse};

0 commit comments

Comments
 (0)