Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 1 addition & 10 deletions Cargo.lock

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

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,6 @@ sp-keystore = { git = "https://github.com/paritytech/polkadot-sdk.git", tag = "p
w3f-bls = { git = "https://github.com/opentensor/bls", branch = "fix-no-std", default-features = false }
ark-crypto-primitives = { version = "0.4.0", default-features = false }
ark-scale = { version = "0.0.11", default-features = false }
sp-ark-bls12-381 = { git = "https://github.com/paritytech/arkworks-substrate", package = "sp-ark-bls12-381", default-features = false }
ark-bls12-381 = { version = "0.4.0", default-features = false }
ark-serialize = { version = "0.4.0", default-features = false }
ark-ff = { version = "0.4.0", default-features = false }
Expand Down
6 changes: 3 additions & 3 deletions pallets/drand/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ scale-info = { workspace = true, features = ["derive"] }
serde = { workspace = true, features = ["derive"] }
serde_json.workspace = true
log.workspace = true
hex = { workspace = true, features = ["serde"] }
hex = { workspace = true, features = ["serde", "alloc"] }
sha2.workspace = true
anyhow.workspace = true
# frame deps
Expand All @@ -29,7 +29,7 @@ sp-io.workspace = true
sp-runtime.workspace = true
sp-std.workspace = true
# arkworks dependencies
sp-ark-bls12-381.workspace = true
sp-crypto-ec-utils = { workspace = true, features = ["bls12-381"] }
ark-bls12-381 = { workspace = true, features = ["curve"] }
ark-serialize = { workspace = true, features = ["derive"] }
ark-ff.workspace = true
Expand Down Expand Up @@ -64,7 +64,7 @@ std = [
"serde/std",
"serde_json/std",
"hex/std",
"sp-ark-bls12-381/std",
"sp-crypto-ec-utils/std",
"ark-bls12-381/std",
"ark-serialize/std",
"ark-ff/std",
Expand Down
2 changes: 1 addition & 1 deletion pallets/drand/src/bls12_381.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

use ark_ec::pairing::Pairing;
use ark_std::{Zero, ops::Neg};
use sp_ark_bls12_381::{
use sp_crypto_ec_utils::bls12_381::{
Bls12_381 as Bls12_381Opt, G1Affine as G1AffineOpt, G2Affine as G2AffineOpt,
};

Expand Down
2 changes: 1 addition & 1 deletion pallets/drand/src/verifier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ use ark_ec::{AffineRepr, hashing::HashToCurve};
use ark_serialize::CanonicalSerialize;
use codec::Decode;
use sha2::{Digest, Sha256};
use sp_ark_bls12_381::{G1Affine as G1AffineOpt, G2Affine as G2AffineOpt};
use sp_crypto_ec_utils::bls12_381::{G1Affine as G1AffineOpt, G2Affine as G2AffineOpt};
use tle::curves::drand::TinyBLS381;
use w3f_bls::engine::EngineBLS;

Expand Down
2 changes: 1 addition & 1 deletion runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
// `spec_version`, and `authoring_version` are the same between Wasm and native.
// This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use
// the compatible custom types.
spec_version: 353,
spec_version: 354,
impl_version: 1,
apis: RUNTIME_API_VERSIONS,
transaction_version: 1,
Expand Down
Loading