mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-02 16:21:42 +00:00
chore: update the trusted setup to match the consensus-specs version (#6117)
* chore: update the trusted setup to match the consensus-specs version * add g1_monomial to TrustedSetup struct * Merge branch 'unstable' into kw/add-official-trusted-setup * Merge branch 'unstable' into kw/add-official-trusted-setup
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -21,6 +21,8 @@ struct G2Point([u8; BYTES_PER_G2_POINT]);
|
||||
/// See https://github.com/ethereum/consensus-specs/blob/dev/presets/mainnet/trusted_setups/trusted_setup_4096.json
|
||||
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
|
||||
pub struct TrustedSetup {
|
||||
#[serde(rename = "g1_monomial")]
|
||||
g1_monomial_points: Vec<G1Point>,
|
||||
#[serde(rename = "g1_lagrange")]
|
||||
g1_points: Vec<G1Point>,
|
||||
#[serde(rename = "g2_monomial")]
|
||||
|
||||
Reference in New Issue
Block a user