Skip to content

Commit

Permalink
chore: update the trusted setup to match the consensus-specs version (s…
Browse files Browse the repository at this point in the history
…igp#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
  • Loading branch information
kevaundray authored Jul 18, 2024
1 parent b0b142c commit 7afb230
Show file tree
Hide file tree
Showing 2 changed files with 8,267 additions and 1 deletion.
8,266 changes: 8,265 additions & 1 deletion common/eth2_network_config/built_in_network_configs/trusted_setup.json

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions crypto/kzg/src/trusted_setup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand Down

0 comments on commit 7afb230

Please sign in to comment.