Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Wizdave97 committed Oct 13, 2023
1 parent 7a922d2 commit ef9ef8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ async fn test_client_sync() {
#[cfg(test)]
#[allow(non_snake_case)]
#[tokio::test]
#[ignore]
async fn test_sync_committee_hand_offs() {
let sync_committee_prover = setup_prover();
let state_period = 805;
Expand Down Expand Up @@ -506,6 +507,7 @@ pub struct EventResponse {

fn setup_prover() -> SyncCommitteeProver {
dotenv::dotenv().ok();
let consensus_url = std::env::var("BEACON_URL").unwrap_or("http://localhost:3500".to_string());
let consensus_url =
std::env::var("CONSENSUS_NODE_URL").unwrap_or("http://localhost:3500".to_string());
SyncCommitteeProver::new(consensus_url)
}
1 change: 0 additions & 1 deletion parachain/modules/ismp/sync-committee/src/optimism.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ use crate::{
utils::{derive_array_item_key, get_contract_storage_root, get_value_from_proof, to_bytes_32},
};
use alloc::{format, string::ToString};
use alloy_primitives::{Bytes, B256};
use alloy_rlp::Decodable;
use ethabi::ethereum_types::{H160, H256, U128, U256};
use ismp::{
Expand Down

0 comments on commit ef9ef8e

Please sign in to comment.