Skip to content

Commit

Permalink
chore: bump kzg-rs version (#1726)
Browse files Browse the repository at this point in the history
* chore: bump `kzg-rs` version

* fix: remove serde req

* ci: check `kzg-rs` in no-std mode

* chore: update kzg-rs dep

* Update .github/workflows/ci.yml

* Update .github/workflows/ci.yml
  • Loading branch information
0xWOLAND authored Aug 28, 2024
1 parent a46a88b commit c75e095
Show file tree
Hide file tree
Showing 4 changed files with 96 additions and 57 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
strategy:
fail-fast: false
matrix:
features: ["", "optimism"]
features: ["", "optimism,kzg-rs"]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
Expand Down
142 changes: 93 additions & 49 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions crates/precompile/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@ c-kzg = { version = "1.0.3", default-features = false, optional = true, features
] }

# Optionally use `kzg-rs` for a pure Rust implementation of KZG point evaluation.
kzg-rs = { version = "0.1", default-features = false, features = [
'cache',
], optional = true }
kzg-rs = { version = "0.2.2", default-features = false, optional = true }

# BLS12-381 precompiles
blst = { version = "0.3.13", optional = true }
Expand Down
5 changes: 1 addition & 4 deletions crates/primitives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ c-kzg = { version = "1.0.3", default-features = false, optional = true, features
] }

# Optionally use `kzg-rs` for a pure Rust implementation of KZG.
kzg-rs = { version = "0.1", default-features = false, features = [
'cache',
], optional = true }
kzg-rs = { version = "0.2.2", default-features = false, optional = true }

# utility
enumn = "0.1"
Expand Down Expand Up @@ -75,7 +73,6 @@ serde = [
"bitvec/serde",
"bitflags/serde",
"c-kzg?/serde",
"kzg-rs?/serde",
]
arbitrary = [
"std",
Expand Down

0 comments on commit c75e095

Please sign in to comment.