From 87a8747bca788885be5e5fd8507a6ba8ee1657ce Mon Sep 17 00:00:00 2001 From: John Date: Wed, 5 Jul 2023 18:23:07 -0700 Subject: [PATCH] Adjust visibility of constants to support halo2-scaffold (#14) --- axiom-eth/src/keccak/mod.rs | 4 ++-- axiom-eth/src/lib.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/axiom-eth/src/keccak/mod.rs b/axiom-eth/src/keccak/mod.rs index eeed51c8..58adbb67 100644 --- a/axiom-eth/src/keccak/mod.rs +++ b/axiom-eth/src/keccak/mod.rs @@ -59,8 +59,8 @@ mod builder; mod tests; pub use builder::*; -pub(crate) type FixedLenRLCs = Vec<(RlcFixedTrace, RlcFixedTrace)>; -pub(crate) type VarLenRLCs = Vec<(RlcTrace, RlcFixedTrace)>; +pub type FixedLenRLCs = Vec<(RlcFixedTrace, RlcFixedTrace)>; +pub type VarLenRLCs = Vec<(RlcTrace, RlcFixedTrace)>; pub(crate) const KECCAK_CONTEXT_ID: usize = usize::MAX; diff --git a/axiom-eth/src/lib.rs b/axiom-eth/src/lib.rs index fe268b62..105cfdb2 100644 --- a/axiom-eth/src/lib.rs +++ b/axiom-eth/src/lib.rs @@ -50,7 +50,7 @@ pub mod util; #[cfg(feature = "providers")] pub mod providers; -pub(crate) const ETH_LOOKUP_BITS: usize = 8; // always want 8 to range check bytes +pub const ETH_LOOKUP_BITS: usize = 8; // always want 8 to range check bytes #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)] #[cfg_attr(feature = "clap", derive(clap::ValueEnum))]