mithril_stm/circuits/halo2/
constants.rs

1//! Constants used by the Halo2 prototype.
2
3pub use midnight_curves::EDWARDS_D;
4
5use crate::circuits::halo2::types::JubjubBase;
6
7/// Domain separation tag for the unique Schnorr signature.
8/// Mirrors the value used in `mithril-circuits` (prototype stage).
9pub const DST_UNIQUE_SIGNATURE: JubjubBase = JubjubBase::from_raw([2, 2, 0, 0]);
10pub const DST_LOTTERY: JubjubBase = JubjubBase::from_raw([3, 3, 0, 0]);