Skip to content

Commit d4d8b93

Browse files
committed
wip: implement 'get_current_chain_point' placeholder for PallasChainChainObserver
The implementation with pallas is not done yet.
1 parent 2c83bf9 commit d4d8b93

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

mithril-common/src/chain_observer/pallas_observer.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ use std::{
2525
use crate::{
2626
chain_observer::{interface::*, ChainAddress, TxDatum},
2727
crypto_helper::{encode_bech32, KESPeriod, OpCert},
28-
entities::{Epoch, StakeDistribution},
28+
entities::{ChainPoint, Epoch, StakeDistribution},
2929
CardanoNetwork, StdResult,
3030
};
3131

@@ -384,6 +384,11 @@ impl ChainObserver for PallasChainObserver {
384384
Ok(Some(Epoch(epoch as u64)))
385385
}
386386

387+
async fn get_current_chain_point(&self) -> Result<Option<ChainPoint>, ChainObserverError> {
388+
// TODO: Implement get_current_chain_point with pallas
389+
todo!("Implement get_current_chain_point")
390+
}
391+
387392
async fn get_current_datums(
388393
&self,
389394
address: &ChainAddress,

0 commit comments

Comments
 (0)