Skip to content

Commit

Permalink
More naming refactors
Browse files Browse the repository at this point in the history
  • Loading branch information
danielSanchezQ committed Sep 21, 2023
1 parent 7bfa965 commit eeb13b1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions nomos-core/src/block/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,11 @@ where
}

#[must_use]
pub fn with_blobs(mut self, blobs: impl Iterator<Item = C> + 'static) -> Self {
self.blobs = Some(Box::new(blobs));
pub fn with_blobs_certificates(
mut self,
blobs_certificates: impl Iterator<Item = C> + 'static,
) -> Self {
self.blobs = Some(Box::new(blobs_certificates));
self
}

Expand Down
2 changes: 1 addition & 1 deletion nomos-services/consensus/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ where
.with_proposer(id)
.with_beacon_state(beacon)
.with_transactions(txs)
.with_blobs([].into_iter())
.with_blobs_certificates([].into_iter())
.build()
else {
panic!("Proposal block should always succeed to be built")
Expand Down

0 comments on commit eeb13b1

Please sign in to comment.