Skip to content

Commit 66ca12f

Browse files
authored
chore: typos and updates (#263)
1 parent ed8ba53 commit 66ca12f

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

LICENSE-MIT

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2024 Commit-Boost
3+
Copyright (c) 2025 Commit-Boost
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

crates/pbs/src/mev_boost/submit_block.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -176,20 +176,20 @@ async fn send_submit_block(
176176
}
177177

178178
if let Some(blobs) = &block_response.data.blobs_bundle {
179-
let expected_committments = &signed_blinded_block.message.body.blob_kzg_commitments;
180-
if expected_committments.len() != blobs.blobs.len() ||
181-
expected_committments.len() != blobs.commitments.len() ||
182-
expected_committments.len() != blobs.proofs.len()
179+
let expected_commitments = &signed_blinded_block.message.body.blob_kzg_commitments;
180+
if expected_commitments.len() != blobs.blobs.len() ||
181+
expected_commitments.len() != blobs.commitments.len() ||
182+
expected_commitments.len() != blobs.proofs.len()
183183
{
184184
return Err(PbsError::Validation(ValidationError::KzgCommitments {
185-
expected_blobs: expected_committments.len(),
185+
expected_blobs: expected_commitments.len(),
186186
got_blobs: blobs.blobs.len(),
187187
got_commitments: blobs.commitments.len(),
188188
got_proofs: blobs.proofs.len(),
189189
}));
190190
}
191191

192-
for (i, comm) in expected_committments.iter().enumerate() {
192+
for (i, comm) in expected_commitments.iter().enumerate() {
193193
// this is safe since we already know they are the same length
194194
if *comm != blobs.commitments[i] {
195195
return Err(PbsError::Validation(ValidationError::KzgMismatch {

0 commit comments

Comments
 (0)