Skip to content

Commit

Permalink
Adjust visibility of constants to support halo2-scaffold (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnwhitton authored Jul 6, 2023
1 parent dcd3ef9 commit 87a8747
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions axiom-eth/src/keccak/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ mod builder;
mod tests;

pub use builder::*;
pub(crate) type FixedLenRLCs<F> = Vec<(RlcFixedTrace<F>, RlcFixedTrace<F>)>;
pub(crate) type VarLenRLCs<F> = Vec<(RlcTrace<F>, RlcFixedTrace<F>)>;
pub type FixedLenRLCs<F> = Vec<(RlcFixedTrace<F>, RlcFixedTrace<F>)>;
pub type VarLenRLCs<F> = Vec<(RlcTrace<F>, RlcFixedTrace<F>)>;

pub(crate) const KECCAK_CONTEXT_ID: usize = usize::MAX;

Expand Down
2 changes: 1 addition & 1 deletion axiom-eth/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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))]
Expand Down

0 comments on commit 87a8747

Please sign in to comment.