Skip to content

Commit

Permalink
state: fix unused warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
delbonis committed Jul 26, 2024
1 parent d2c28e0 commit 0a66c57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions crates/state/src/client_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
use arbitrary::Arbitrary;
use borsh::{BorshDeserialize, BorshSerialize};

use crate::{
chain_state::ChainState, id::L2BlockId, l1::L1BlockId, prelude::L2Block,
state_queue::StateQueue,
};
use crate::{id::L2BlockId, l1::L1BlockId};

/// High level client's state of the network. This is local to the client, not
/// coordinated as part of the L2 chain.
Expand Down
2 changes: 1 addition & 1 deletion crates/state/src/operation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ pub fn apply_writes_to_state(
}

// If everything checks out we can just remove them.
let blocks = l1v
let _blocks = l1v
.local_unaccepted_blocks
.drain(..diff)
.collect::<Vec<_>>();
Expand Down

0 comments on commit 0a66c57

Please sign in to comment.