Skip to content

Commit

Permalink
Remove dependency from IterableStore
Browse files Browse the repository at this point in the history
  • Loading branch information
acerone85 committed Jan 22, 2025
1 parent ccd7294 commit bd2f0ca
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions crates/fraud_proofs/global_merkle_root/storage/src/update.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ use alloc::{
vec::Vec,
};
use fuel_core_storage::{
iter::IterableStore,
kv_store::KeyValueInspect,
transactional::StorageTransaction,
StorageAsMut,
Expand Down Expand Up @@ -89,7 +88,7 @@ pub trait UpdateMerklizedTables {

impl<Storage> UpdateMerklizedTables for StorageTransaction<Storage>
where
Storage: KeyValueInspect<Column = Column> + IterableStore,
Storage: KeyValueInspect<Column = Column>,
{
fn update_merklized_tables(
&mut self,
Expand Down Expand Up @@ -118,7 +117,7 @@ struct UpdateMerklizedTablesTransaction<'a, Storage> {

impl<'a, Storage> UpdateMerklizedTablesTransaction<'a, Storage>
where
Storage: KeyValueInspect<Column = Column> + IterableStore,
Storage: KeyValueInspect<Column = Column>,
{
// TODO(#2588): Proper result type
pub fn process_block(&mut self, block: &Block) -> anyhow::Result<()> {
Expand Down

0 comments on commit bd2f0ca

Please sign in to comment.