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:
kevaundray
2024-07-18 02:45:09 +01:00
committed by GitHub
parent b0b142c9b7
commit 7afb230e56
2 changed files with 8267 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@@ -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")]