Skip to content

Commit

Permalink
test: disable broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
Donovan Dall committed Jul 3, 2024
1 parent cadad4c commit 6fceee5
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions nearx/src/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ mod beefy_tests {
use std::str::FromStr;

use serial_test::serial;
use test_utils::{mainnet_state, CryptoHash};
use test_utils::CryptoHash;

use super::*;
use crate::{
Expand All @@ -71,7 +71,7 @@ mod beefy_tests {
};

type Testnet = FixturesConfig<config::Testnet>;
type Mainnet = FixturesConfig<config::Mainnet>;
type _Mainnet = FixturesConfig<config::Mainnet>;

#[test]
#[serial]
Expand All @@ -93,25 +93,25 @@ mod beefy_tests {
builder_suite(define, writer, assertions);
}

#[test]
#[serial]
#[ignore]
fn sync_e2e_mainnet() {
let (header, _, _) = mainnet_state();
let header = header.hash().0;

let define = |b: &mut B| {
super::SyncCircuit::<Mainnet>::define(b);
};
let writer = |input: &mut PI| {
input.evm_write::<CryptoHashVariable>(header.into());
};
let assertions = |mut output: PO| {
let hash = output.evm_read::<CryptoHashVariable>();
println!("hash: {:?}", hash);
};
builder_suite(define, writer, assertions);
}
// #[test]
// #[serial]
// #[ignore]
// fn sync_e2e_mainnet() {
// let (header, _, _) = mainnet_state();
// let header = header.hash().0;

// let define = |b: &mut B| {
// super::SyncCircuit::<Mainnet>::define(b);
// };
// let writer = |input: &mut PI| {
// input.evm_write::<CryptoHashVariable>(header.into());
// };
// let assertions = |mut output: PO| {
// let hash = output.evm_read::<CryptoHashVariable>();
// println!("hash: {:?}", hash);
// };
// builder_suite(define, writer, assertions);
// }

#[test]
#[serial]
Expand Down

0 comments on commit 6fceee5

Please sign in to comment.