mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-21 23:08:23 +00:00
c-kzg lib update
This commit is contained in:
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -969,7 +969,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "c-kzg"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/ethereum/c-kzg-4844?rev=fd24cf8e1e2f09a96b4e62a595b4e49f046ce6cf#fd24cf8e1e2f09a96b4e62a595b4e49f046ce6cf"
|
||||
source = "git+https://github.com/ethereum/c-kzg-4844?rev=cfdd9e5f8f6fa4375034733ad06cb9d1030a0fd9#cfdd9e5f8f6fa4375034733ad06cb9d1030a0fd9"
|
||||
dependencies = [
|
||||
"bindgen 0.64.0",
|
||||
"cc",
|
||||
|
||||
@@ -16,7 +16,7 @@ serde_derive = "1.0.116"
|
||||
ethereum_serde_utils = "0.5.0"
|
||||
hex = "0.4.2"
|
||||
ethereum_hashing = "1.0.0-beta.2"
|
||||
c-kzg = {git = "https://github.com/ethereum/c-kzg-4844", rev = "fd24cf8e1e2f09a96b4e62a595b4e49f046ce6cf" }
|
||||
c-kzg = {git = "https://github.com/ethereum/c-kzg-4844", rev = "cfdd9e5f8f6fa4375034733ad06cb9d1030a0fd9" }
|
||||
arbitrary = { version = "1.0", features = ["derive"], optional = true }
|
||||
|
||||
[features]
|
||||
|
||||
@@ -21,7 +21,7 @@ struct G2Point([u8; BYTES_PER_G2_POINT]);
|
||||
/// See https://github.com/ethereum/consensus-specs/blob/dev/presets/mainnet/trusted_setups/testing_trusted_setups.json
|
||||
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
|
||||
pub struct TrustedSetup {
|
||||
#[serde(rename = "setup_G1")]
|
||||
#[serde(rename = "setup_G1_lagrange")]
|
||||
#[serde(deserialize_with = "deserialize_g1_points")]
|
||||
g1_points: Vec<G1Point>,
|
||||
#[serde(rename = "setup_G2")]
|
||||
|
||||
Reference in New Issue
Block a user