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 6374555
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions nearx/src/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 6374555

Please sign in to comment.