11use crate :: {
2- DataCompat , DbZenithHeader , RuChain , ZenithHeaders ,
2+ DataCompat , DbZenithHeader , RuChain , SignetDbRw , ZenithHeaders ,
33 tables:: { DbSignetEvent , JournalHashes , SignetEvents } ,
44 traits:: RuWriter ,
55} ;
@@ -11,9 +11,9 @@ use reth::{
1111 primitives:: { Account , StaticFileSegment } ,
1212 providers:: {
1313 AccountReader , BlockBodyIndicesProvider , BlockNumReader , BlockReader , BlockWriter , Chain ,
14- DBProvider , DatabaseProviderRW , HistoryWriter , OriginalValuesKnown , ProviderError ,
15- ProviderResult , StageCheckpointWriter , StateWriter , StaticFileProviderFactory ,
16- StaticFileWriter , StorageLocation ,
14+ DBProvider , HistoryWriter , OriginalValuesKnown , ProviderError , ProviderResult ,
15+ StageCheckpointWriter , StateWriter , StaticFileProviderFactory , StaticFileWriter ,
16+ StorageLocation ,
1717 } ,
1818} ;
1919use reth_db:: {
@@ -25,7 +25,7 @@ use reth_db::{
2525} ;
2626use reth_prune_types:: { MINIMUM_PRUNING_DISTANCE , PruneMode } ;
2727use signet_evm:: BlockResult ;
28- use signet_node_types:: { NodeTypesDbTrait , SignetNodeTypes } ;
28+ use signet_node_types:: NodeTypesDbTrait ;
2929use signet_types:: primitives:: RecoveredBlock ;
3030use signet_zenith:: {
3131 Passage :: { self , Enter , EnterToken } ,
@@ -35,7 +35,7 @@ use signet_zenith::{
3535use std:: ops:: RangeInclusive ;
3636use tracing:: { debug, instrument, trace, warn} ;
3737
38- impl < Db > RuWriter for DatabaseProviderRW < Db , SignetNodeTypes < Db > >
38+ impl < Db > RuWriter for SignetDbRw < Db >
3939where
4040 Db : NodeTypesDbTrait ,
4141{
@@ -430,7 +430,6 @@ where
430430 /// see the documentation for each function.
431431 fn append_host_block (
432432 & self ,
433- host_height : u64 ,
434433 header : Option < Zenith :: BlockHeader > ,
435434 transacts : impl IntoIterator < Item = Transact > ,
436435 enters : impl IntoIterator < Item = Passage :: Enter > ,
@@ -480,7 +479,7 @@ where
480479
481480 self . update_pipeline_stages ( ru_height, false ) ?;
482481
483- debug ! ( target: "signet_db_lifecycle" , host_height , ru_height, "Appended blocks" ) ;
482+ debug ! ( target: "signet_db_lifecycle" , ru_height, "Appended blocks" ) ;
484483
485484 Ok ( ( ) )
486485 }
0 commit comments