From 1e9a30eb34dbba0c8d9812fba7ad407046b6ab6c Mon Sep 17 00:00:00 2001 From: Timofey Luin Date: Thu, 30 Nov 2023 00:03:43 +0100 Subject: [PATCH] fix CI tests --- lightclient-circuits/config/sync_step_20.json | 40 +++++++++++++++++++ lightclient-circuits/tests/step.rs | 10 +---- 2 files changed, 41 insertions(+), 9 deletions(-) create mode 100644 lightclient-circuits/config/sync_step_20.json diff --git a/lightclient-circuits/config/sync_step_20.json b/lightclient-circuits/config/sync_step_20.json new file mode 100644 index 00000000..5e5db520 --- /dev/null +++ b/lightclient-circuits/config/sync_step_20.json @@ -0,0 +1,40 @@ +{ + "params": { + "k": 20, + "num_advice_per_phase": [ + 21 + ], + "num_fixed": 1, + "num_lookup_advice_per_phase": [ + 3, + 0, + 0 + ], + "lookup_bits": 8, + "num_instance_columns": 1 + }, + "break_points": [ + [ + 1048565, + 1048564, + 1048566, + 1048565, + 1048565, + 1048566, + 1048566, + 1048566, + 1048564, + 1048565, + 1048566, + 1048564, + 1048566, + 1048566, + 1048564, + 1048564, + 1048566, + 1048564, + 1048566, + 1048566 + ] + ] +} \ No newline at end of file diff --git a/lightclient-circuits/tests/step.rs b/lightclient-circuits/tests/step.rs index bbba9385..8e02fd4f 100644 --- a/lightclient-circuits/tests/step.rs +++ b/lightclient-circuits/tests/step.rs @@ -22,17 +22,9 @@ fn test_eth2_spec_mock_1( #[exclude("deneb*")] path: PathBuf, ) { - run_test_eth2_spec_mock::<16, 20>(path) + run_test_eth2_spec_mock::<18, 20>(path) } -#[rstest] -fn test_eth2_spec_mock_3( - #[files("../consensus-spec-tests/tests/minimal/capella/light_client/sync/pyspec_tests/**")] - #[exclude("deneb*")] - path: PathBuf, -) { - run_test_eth2_spec_mock::<17, 20>(path) -} fn run_test_eth2_spec_mock(path: PathBuf) { let (sync_witness, rotation_witness) = read_test_files_and_gen_witness(&path);