mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 02:51:01 +00:00
fix/ignore cargo deny issues (#1183)
This commit is contained in:
committed by
Bastian Köcher
parent
44a6416ffc
commit
f4a82d4e81
@@ -8,7 +8,7 @@ license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
||||
|
||||
[dependencies]
|
||||
codec = { package = "parity-scale-codec", version = "2.2.0", default-features = false }
|
||||
libsecp256k1 = { version = "0.3.4", default-features = false, features = ["hmac"], optional = true }
|
||||
libsecp256k1 = { version = "0.7", default-features = false, features = ["hmac"], optional = true }
|
||||
log = { version = "0.4.14", default-features = false }
|
||||
serde = { version = "1.0", optional = true }
|
||||
|
||||
@@ -26,7 +26,7 @@ sp-runtime = { git = "https://github.com/paritytech/substrate", branch = "master
|
||||
sp-std = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
||||
|
||||
[dev-dependencies]
|
||||
libsecp256k1 = { version = "0.3.4", features = ["hmac"] }
|
||||
libsecp256k1 = { version = "0.7", features = ["hmac"] }
|
||||
hex-literal = "0.3"
|
||||
|
||||
[features]
|
||||
|
||||
@@ -180,7 +180,7 @@ mod tests {
|
||||
validators::ValidatorsSource,
|
||||
BlocksToPrune, BridgeStorage, Headers, PruningRange,
|
||||
};
|
||||
use secp256k1::SecretKey;
|
||||
use libsecp256k1::SecretKey;
|
||||
|
||||
const TOTAL_VALIDATORS: usize = 3;
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ use crate::{
|
||||
};
|
||||
use bp_eth_poa::{Address, AuraHeader, H256, U256};
|
||||
use frame_support::{parameter_types, traits::GenesisBuild, weights::Weight};
|
||||
use secp256k1::SecretKey;
|
||||
use libsecp256k1::SecretKey;
|
||||
use sp_runtime::{
|
||||
testing::Header as SubstrateHeader,
|
||||
traits::{BlakeTwo256, IdentityLookup},
|
||||
|
||||
@@ -34,7 +34,7 @@ use bp_eth_poa::{
|
||||
signatures::{secret_to_address, sign, SignHeader},
|
||||
Address, AuraHeader, Bloom, Receipt, SealedEmptyStep, H256, U256,
|
||||
};
|
||||
use secp256k1::SecretKey;
|
||||
use libsecp256k1::SecretKey;
|
||||
use sp_std::prelude::*;
|
||||
|
||||
/// Gas limit valid in test environment.
|
||||
|
||||
@@ -401,7 +401,7 @@ mod tests {
|
||||
};
|
||||
use bp_eth_poa::{compute_merkle_root, rlp_encode, TransactionOutcome, H520, U256};
|
||||
use hex_literal::hex;
|
||||
use secp256k1::SecretKey;
|
||||
use libsecp256k1::SecretKey;
|
||||
use sp_runtime::transaction_validity::TransactionTag;
|
||||
|
||||
const GENESIS_STEP: u64 = 42;
|
||||
|
||||
Reference in New Issue
Block a user