Skip to content

Commit 3dbf64a

Browse files
committed
fix warnings
1 parent 27f46a9 commit 3dbf64a

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

batcher/aligned-batcher/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
use aligned_sdk::communication::serialization::{cbor_deserialize, cbor_serialize};
2-
use aws_sdk_s3::operation::list_bucket_intelligent_tiering_configurations::builders::ListBucketIntelligentTieringConfigurationsFluentBuilder;
32
use config::NonPayingConfig;
43
use connection::{send_message, WsMessageSink};
54
use dotenvy::dotenv;
@@ -1062,7 +1061,7 @@ impl Batcher {
10621061
BatchQueueEntryPriority::new(max_fee, nonce),
10631062
self.max_batch_byte_size,
10641063
self.max_batch_proof_qty,
1065-
);
1064+
)?;
10661065

10671066
// Update metrics
10681067
let queue_len = batch_state_lock.batch_queue.len();

batcher/aligned-batcher/src/types/batch_queue.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,9 @@ pub(crate) fn try_push_to_queue(
216216
batch_queue: &mut BatchQueue,
217217
item: BatchQueueEntry,
218218
priority: BatchQueueEntryPriority,
219-
max_batch_byte_size: usize,
220-
max_batch_proof_qty: usize,
221-
) -> Result<(), ()> {
219+
_max_batch_byte_size: usize,
220+
_max_batch_proof_qty: usize,
221+
) -> Result<(), BatcherError> {
222222
// if let Ok(verification_data_bytes) =
223223
// cbor_serialize(&verification_data.verification_data)
224224
// {

0 commit comments

Comments
 (0)