mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 05:51:02 +00:00
update most of the dependencies (#1946)
* update tiny-keccak to 0.2 * update deps except bitvec and shared_memory * fix some warning after futures upgrade * remove useless package rename caused by bug in cargo-upgrade * revert parity-util-mem * * remove unused import * cargo update * remove all renames on parity-scale-codec * remove the leftovers * remove unused dep
This commit is contained in:
@@ -6,11 +6,11 @@ edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
bitvec = { version = "0.17.4", default-features = false, features = ["alloc"] }
|
||||
codec = { package = "parity-scale-codec", version = "1.3.4", default-features = false, features = ["derive"] }
|
||||
parity-scale-codec = { version = "1.3.5", default-features = false, features = ["derive"] }
|
||||
log = "0.4.11"
|
||||
rustc-hex = { version = "2.0.1", default-features = false }
|
||||
serde = { version = "1.0.102", features = [ "derive" ], optional = true }
|
||||
derive_more = { version = "0.99.11" }
|
||||
rustc-hex = { version = "2.1.0", default-features = false }
|
||||
serde = { version = "1.0.117", features = [ "derive" ], optional = true }
|
||||
derive_more = "0.99.11"
|
||||
|
||||
sp-api = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
||||
inherents = { package = "sp-inherents", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
||||
@@ -36,14 +36,14 @@ frame-benchmarking = { git = "https://github.com/paritytech/substrate", branch =
|
||||
|
||||
xcm = { package = "xcm", path = "../../xcm", default-features = false }
|
||||
primitives = { package = "polkadot-primitives", path = "../../primitives", default-features = false }
|
||||
libsecp256k1 = { version = "0.3.2", default-features = false, optional = true }
|
||||
libsecp256k1 = { version = "0.3.5", default-features = false, optional = true }
|
||||
|
||||
rand = { version = "0.7", default-features = false }
|
||||
rand = { version = "0.7.3", default-features = false }
|
||||
rand_chacha = { version = "0.2.2", default-features = false }
|
||||
|
||||
[dev-dependencies]
|
||||
futures = "0.3.4"
|
||||
hex-literal = "0.2.1"
|
||||
futures = "0.3.8"
|
||||
hex-literal = "0.3.1"
|
||||
keyring = { package = "sp-keyring", git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
sp-trie = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
pallet-babe = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
@@ -51,8 +51,8 @@ sp-application-crypto = { git = "https://github.com/paritytech/substrate", branc
|
||||
pallet-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
pallet-staking-reward-curve = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
pallet-treasury = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||
serde_json = "1.0.41"
|
||||
libsecp256k1 = "0.3.2"
|
||||
serde_json = "1.0.59"
|
||||
libsecp256k1 = "0.3.5"
|
||||
sp-version = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
||||
sc-keystore = { git = "https://github.com/paritytech/substrate", branch = "master"}
|
||||
|
||||
@@ -62,7 +62,7 @@ default = ["std"]
|
||||
no_std = []
|
||||
std = [
|
||||
"bitvec/std",
|
||||
"codec/std",
|
||||
"parity-scale-codec/std",
|
||||
"rustc-hex/std",
|
||||
"serde",
|
||||
"primitives/std",
|
||||
|
||||
@@ -25,7 +25,7 @@ use frame_support::{
|
||||
dispatch::DispatchResult,
|
||||
weights::{DispatchClass, Weight},
|
||||
};
|
||||
use codec::{Encode, Decode};
|
||||
use parity_scale_codec::{Encode, Decode};
|
||||
use frame_system::ensure_root;
|
||||
|
||||
/// All configuration of the runtime with respect to parachains and parathreads.
|
||||
|
||||
@@ -229,7 +229,7 @@ mod tests {
|
||||
use primitives::v1::BlockNumber;
|
||||
use frame_support::StorageValue;
|
||||
use frame_support::traits::{OnFinalize, OnInitialize};
|
||||
use codec::Encode;
|
||||
use parity_scale_codec::Encode;
|
||||
use crate::mock::{Configuration, new_test_ext, System, Dmp, GenesisConfig as MockGenesisConfig};
|
||||
|
||||
pub(crate) fn run_to_block(to: BlockNumber, new_session: Option<Vec<BlockNumber>>) {
|
||||
|
||||
@@ -19,7 +19,7 @@ use crate::{
|
||||
configuration::{self, HostConfiguration},
|
||||
initializer, paras, dmp,
|
||||
};
|
||||
use codec::{Decode, Encode};
|
||||
use parity_scale_codec::{Decode, Encode};
|
||||
use frame_support::{
|
||||
decl_storage, decl_module, decl_error, ensure, traits::Get, weights::Weight, StorageMap,
|
||||
StorageValue, dispatch::DispatchResult,
|
||||
@@ -882,7 +882,7 @@ impl<T: Trait> Module<T> {
|
||||
|
||||
let notification_bytes = {
|
||||
use xcm::v0::Xcm;
|
||||
use codec::Encode as _;
|
||||
use parity_scale_codec::Encode as _;
|
||||
|
||||
Xcm::HrmpNewChannelOpenRequest {
|
||||
sender: u32::from(origin),
|
||||
@@ -939,7 +939,7 @@ impl<T: Trait> Module<T> {
|
||||
<Self as Store>::HrmpAcceptedChannelRequestCount::insert(&origin, accepted_cnt + 1);
|
||||
|
||||
let notification_bytes = {
|
||||
use codec::Encode as _;
|
||||
use parity_scale_codec::Encode as _;
|
||||
use xcm::v0::Xcm;
|
||||
|
||||
Xcm::HrmpChannelAccepted {
|
||||
@@ -982,7 +982,7 @@ impl<T: Trait> Module<T> {
|
||||
|
||||
let config = <configuration::Module<T>>::config();
|
||||
let notification_bytes = {
|
||||
use codec::Encode as _;
|
||||
use parity_scale_codec::Encode as _;
|
||||
use xcm::v0::Xcm;
|
||||
|
||||
Xcm::HrmpChannelClosing {
|
||||
|
||||
@@ -31,7 +31,7 @@ use frame_support::{
|
||||
decl_storage, decl_module, decl_error, decl_event, ensure, debug,
|
||||
dispatch::DispatchResult, IterableStorageMap, weights::Weight, traits::Get,
|
||||
};
|
||||
use codec::{Encode, Decode};
|
||||
use parity_scale_codec::{Encode, Decode};
|
||||
use bitvec::{order::Lsb0 as BitOrderLsb0, vec::BitVec};
|
||||
use sp_staking::SessionIndex;
|
||||
use sp_runtime::{DispatchError, traits::{One, Saturating}};
|
||||
|
||||
@@ -26,7 +26,7 @@ use frame_support::{
|
||||
decl_storage, decl_module, decl_error, traits::Randomness,
|
||||
};
|
||||
use sp_runtime::traits::One;
|
||||
use codec::{Encode, Decode};
|
||||
use parity_scale_codec::{Encode, Decode};
|
||||
use crate::{
|
||||
configuration::{self, HostConfiguration},
|
||||
paras, scheduler, inclusion, dmp, ump, hrmp,
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
use sp_std::result;
|
||||
use sp_runtime::traits::BadOrigin;
|
||||
use primitives::v1::Id as ParaId;
|
||||
use codec::{Decode, Encode};
|
||||
use parity_scale_codec::{Decode, Encode};
|
||||
|
||||
/// Origin for the parachains.
|
||||
#[derive(PartialEq, Eq, Clone, Encode, Decode, sp_core::RuntimeDebug)]
|
||||
|
||||
@@ -36,7 +36,7 @@ use frame_support::{
|
||||
traits::Get,
|
||||
weights::Weight,
|
||||
};
|
||||
use codec::{Encode, Decode};
|
||||
use parity_scale_codec::{Encode, Decode};
|
||||
use crate::{configuration, initializer::SessionChangeNotification};
|
||||
use sp_core::RuntimeDebug;
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ use frame_support::{
|
||||
decl_storage, decl_module, decl_error,
|
||||
weights::Weight,
|
||||
};
|
||||
use codec::{Encode, Decode};
|
||||
use parity_scale_codec::{Encode, Decode};
|
||||
use sp_runtime::traits::{Saturating, Zero};
|
||||
|
||||
use rand::{SeedableRng, seq::SliceRandom};
|
||||
|
||||
Reference in New Issue
Block a user