Skip to content

Commit

Permalink
make BlockViewStorage::new pub (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
nekomoto911 authored Jan 1, 2025
1 parent 1ac5fe8 commit c3ad429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/gravity-storage/src/block_view_storage/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ fn get_state_provider<Client: StateProviderFactory + 'static>(
}

impl<Client: StateProviderFactory + 'static> BlockViewStorage<Client> {
fn new(client: Client, block_number: u64, block_hash: B256) -> Self {
pub fn new(client: Client, block_number: u64, block_hash: B256) -> Self {
Self { client, inner: Mutex::new(BlockViewStorageInner::new(block_number, block_hash)) }
}
}
Expand Down

0 comments on commit c3ad429

Please sign in to comment.