Skip to content

Commit

Permalink
temp commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jpraynaud committed Feb 8, 2024
1 parent db18840 commit b9f63a1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -268,11 +268,11 @@ jobs:
strategy:
fail-fast: false
matrix:
mode: ["std"]
mode: ["std", "p2p"]
era: ${{ fromJSON(needs.build-ubuntu-X64.outputs.eras) }}
cardano_node_version: ["8.7.3"]
hard_fork_latest_era_at_epoch: [0,10,100]
run_id: ["#1","#2"]
run_id: ["#1","#2","#3"]
extra_args: [""]

include:
Expand Down
6 changes: 4 additions & 2 deletions mithril-common/src/chain_observer/pallas_observer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,15 +119,17 @@ impl PallasChainObserver {
#[async_trait]
impl ChainObserver for PallasChainObserver {
async fn get_current_epoch(&self) -> Result<Option<Epoch>, ChainObserverError> {
let mut client = self.get_client().await?;
/* let mut client = self.get_client().await?;
let epoch = self.get_epoch(client.statequery()).await?;
self.post_process_statequery(&mut client).await?;
client.abort().await;
Ok(Some(Epoch(epoch as u64)))
Ok(Some(Epoch(epoch as u64))) */
let fallback = self.get_fallback();
fallback.get_current_epoch().await
}

async fn get_current_datums(
Expand Down

0 comments on commit b9f63a1

Please sign in to comment.