From 90dac031999581cab77c0d43105d808e7a2fa8a2 Mon Sep 17 00:00:00 2001 From: Dmitry Demin Date: Wed, 20 Nov 2024 07:04:56 +0100 Subject: [PATCH] Fix zsa consensus tests --- zebra-chain/src/orchard_zsa/tests.rs | 3 +++ zebra-consensus/src/lib.rs | 2 ++ 2 files changed, 5 insertions(+) diff --git a/zebra-chain/src/orchard_zsa/tests.rs b/zebra-chain/src/orchard_zsa/tests.rs index a5d2fee1572..2a757269874 100644 --- a/zebra-chain/src/orchard_zsa/tests.rs +++ b/zebra-chain/src/orchard_zsa/tests.rs @@ -1,3 +1,6 @@ +/// FIXME: refactor orchard_zsa/tests (possibly move vectors to zebra-tests), remove cfg(test) here etc. +#[cfg(test)] mod blocks; + /// FIXME: pub is needed to access test vectors from another crates, remove it then pub mod vectors; diff --git a/zebra-consensus/src/lib.rs b/zebra-consensus/src/lib.rs index 95381fd9e07..c61a1fe408d 100644 --- a/zebra-consensus/src/lib.rs +++ b/zebra-consensus/src/lib.rs @@ -65,3 +65,5 @@ pub use router::RouterError; /// A boxed [`std::error::Error`]. pub type BoxError = Box; + +mod zsa;