Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
refcell committed Sep 16, 2024
1 parent b6d8ff2 commit 6281db9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/derive/src/online/blob_provider.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! Contains an online implementation of the [BlobProvider] trait.
use alloc::{boxed::Box, string::String, vec::Vec};
pub use alloy_eips::eip4844::Blob;
use alloy_eips::eip4844::Blob;
use anyhow::{anyhow, ensure};
use async_trait::async_trait;
use core::marker::PhantomData;
Expand Down
4 changes: 2 additions & 2 deletions crates/derive/src/stages/channel_bank.rs
Original file line number Diff line number Diff line change
Expand Up @@ -303,11 +303,11 @@ mod tests {
assert!(channel_bank.channels.is_empty());
assert_eq!(trace_store.lock().iter().filter(|(l, _)| matches!(l, &Level::WARN)).count(), 0);
assert_eq!(channel_bank.ingest_frame(frame.clone()), Ok(()));
assert_eq!(channel_bank.size(), kona_primitives::FRAME_OVERHEAD);
assert_eq!(channel_bank.size(), op_alloy_protocol::FRAME_OVERHEAD);
assert_eq!(channel_bank.channels.len(), 1);
// This should fail since the frame is already ingested.
assert_eq!(channel_bank.ingest_frame(frame), Ok(()));
assert_eq!(channel_bank.size(), kona_primitives::FRAME_OVERHEAD);
assert_eq!(channel_bank.size(), op_alloy_protocol::FRAME_OVERHEAD);
assert_eq!(channel_bank.channels.len(), 1);
assert_eq!(trace_store.lock().iter().filter(|(l, _)| matches!(l, &Level::WARN)).count(), 1);
}
Expand Down

0 comments on commit 6281db9

Please sign in to comment.