Skip to content

Commit 970db7d

Browse files
committed
Improve serialization and add tests
1 parent 15c8d13 commit 970db7d

File tree

12 files changed

+802
-882
lines changed

12 files changed

+802
-882
lines changed

crates/Cargo.lock

Lines changed: 10 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/batcher/src/connection.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use tokio_tungstenite::{
1818
pub(crate) type WsMessageSink = Arc<RwLock<SplitSink<WebSocketStream<TcpStream>, Message>>>;
1919

2020
pub(crate) async fn send_batch_inclusion_data_responses(
21-
finalized_batch: &[BatchQueueEntry],
21+
finalized_batch: Vec<BatchQueueEntry>,
2222
batch_merkle_tree: &MerkleTree<VerificationCommitmentBatch>,
2323
) -> Result<(), BatcherError> {
2424
// Finalized_batch is ordered as the PriorityQueue, ordered by: ascending max_fee && if max_fee is equal, by descending nonce.

0 commit comments

Comments
 (0)