diff --git a/fendermint/vm/topdown/src/observation.rs b/fendermint/vm/topdown/src/observation.rs index cfa5d9814..d59c9d9fa 100644 --- a/fendermint/vm/topdown/src/observation.rs +++ b/fendermint/vm/topdown/src/observation.rs @@ -231,7 +231,7 @@ impl LinearizedParentBlockView { self.cumulative_effects_comm.as_slice(), to_append.as_slice(), ] - .concat(); + .concat(); let cid = Cid::new_v1(DAG_CBOR, Code::Blake2b256.digest(&bytes)); self.cumulative_effects_comm = cid.to_bytes(); } @@ -264,4 +264,4 @@ impl LinearizedParentBlockView { self.cumulative_effects_comm, )) } -} +} \ No newline at end of file diff --git a/fendermint/vm/topdown/src/syncer/poll.rs b/fendermint/vm/topdown/src/syncer/poll.rs index 1e73eb1e3..6bce1ae60 100644 --- a/fendermint/vm/topdown/src/syncer/poll.rs +++ b/fendermint/vm/topdown/src/syncer/poll.rs @@ -28,9 +28,9 @@ pub struct ParentPoll
{ #[async_trait] impl
ParentPoller for ParentPoll
-where - S: ParentViewStore + Send + Sync + 'static + Clone, - P: Send + Sync + 'static + ParentQueryProxy, + where + S: ParentViewStore + Send + Sync + 'static + Clone, + P: Send + Sync + 'static + ParentQueryProxy, { type Store = S; @@ -118,9 +118,9 @@ where } impl
ParentPoll
-where - S: ParentViewStore + Send + Sync + 'static, - P: Send + Sync + 'static + ParentQueryProxy, + where + S: ParentViewStore + Send + Sync + 'static, + P: Send + Sync + 'static + ParentQueryProxy, { pub fn new(config: ParentSyncerConfig, proxy: P, store: S, last_finalized: Checkpoint) -> Self { let (tx, _) = broadcast::channel(config.broadcast_channel_size); @@ -273,8 +273,8 @@ async fn fetch_data
(
height: BlockHeight,
block_hash: BlockHash,
) -> Result