Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Polkadot v0.9.29 #1041

Merged
merged 39 commits into from
Oct 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
6890c58
Update to polkadot v0.9.29 (#1040)
gruberb Oct 25, 2022
69c611f
pallet-pools: Enable default-features in dev-deps
NunoAlexandre Oct 18, 2022
a53f51a
Align all serde depds to v1.0.119
NunoAlexandre Oct 19, 2022
53fa863
cargo: update to fetch latest internal revisions
NunoAlexandre Oct 19, 2022
58315fa
Set all dev.dependencies' default-features=true
NunoAlexandre Oct 19, 2022
8433aba
try: getrandom = { version = "0.2", features = ["js"] }
NunoAlexandre Oct 19, 2022
52d08a8
sort std
gruberb Oct 19, 2022
c9b2675
try: Add getrandom with default-features = false
NunoAlexandre Oct 19, 2022
eb51944
Fix wrong 'default-features = true'
NunoAlexandre Oct 19, 2022
4c70f54
Sort benchmarks
gruberb Oct 19, 2022
194276e
Sorting
gruberb Oct 21, 2022
8d16698
Fix weights in dev runtime
gruberb Oct 20, 2022
d753fb1
Fix command.rs
gruberb Oct 20, 2022
a60dec8
flake.nix
gruberb Oct 21, 2022
74cfa1d
Remove std entries left behind
NunoAlexandre Oct 20, 2022
5d2f0b8
Clean up explicit dependency on getrandom
NunoAlexandre Oct 20, 2022
720cdbe
fmt
NunoAlexandre Oct 20, 2022
6e27019
Adjusting mocks and runtimes
gruberb Oct 20, 2022
135e0cc
Adjust to new execute_block function and replace Weights in mocks
gruberb Oct 20, 2022
63a8918
flake.nix
gruberb Oct 20, 2022
2508bde
Trying to adjust to new try_execute_block
gruberb Oct 20, 2022
740da2a
Adding try-runtime to std
gruberb Oct 20, 2022
c0427a0
Drop getrandom 💡
NunoAlexandre Oct 20, 2022
62bae90
Update Cargo.lock
gruberb Oct 21, 2022
4168e2d
flake.nix
gruberb Oct 21, 2022
06ccb1e
Remove logs
gruberb Oct 21, 2022
fef0f49
Adding try-runtime
gruberb Oct 24, 2022
9c23d43
Adjust try-runtimes
gruberb Oct 24, 2022
314b876
Add try-runtimes
gruberb Oct 24, 2022
fe495f7
Use latest chainbridge
gruberb Oct 24, 2022
f156d80
Update integration tests
gruberb Oct 24, 2022
70061c6
flake.nix
gruberb Oct 24, 2022
077e180
Adjusting interest-accrual to new Weight type
gruberb Oct 24, 2022
b9a2645
Fix typo
gruberb Oct 24, 2022
ec18a66
Small fixes
gruberb Oct 25, 2022
1caad8d
set dev-defaults to true, update fudge timers
gruberb Oct 25, 2022
db83730
cargo fmt
gruberb Oct 25, 2022
19ddafe
Update weight scripts
gruberb Oct 25, 2022
9ee905d
Remove
gruberb Oct 25, 2022
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
1,584 changes: 885 additions & 699 deletions Cargo.lock

Large diffs are not rendered by default.

175 changes: 90 additions & 85 deletions Cargo.toml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docker-compose-local-relay.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: '3'
services:
node_alice:
container_name: alice
image: "parity/polkadot:v0.9.26"
image: "parity/polkadot:v0.9.29"
ports:
- "30333:30333"
- "9933:9933"
Expand Down Expand Up @@ -32,7 +32,7 @@ services:

node_bob:
container_name: bob
image: "parity/polkadot:v0.9.26"
image: "parity/polkadot:v0.9.29"
ports:
- "30344:30333"
- "9935:9933"
Expand Down
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
};

# This is a hash of all the Cargo dependencies, for reproducibility.
cargoSha256 = "sha256-DaDG1kJPZRjt2zR77zZZp7XAxDBEEq9/5XawVp7wzm8=";
cargoSha256 = "YysY+c0tr1+bGwkI7ncLMP1InefimXYAXAZjsxH5o3g=";

nativeBuildInputs = with pkgs; [ clang git-mock pkg-config ];
buildInputs = with pkgs; [ openssl ] ++ (
Expand Down
14 changes: 7 additions & 7 deletions libs/primitives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ scale-info = { version = "2.0", default-features = false, features = ["derive"]
serde = { version = "1.0.119" }

# substrate primitives dependencies
sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" }
sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" }
sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" }
sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" }
sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.29" }
sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.29" }
sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.29" }
sp-consensus-aura = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.29" }

# substrate frame dependencies
frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" }
frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" }
pallet-collective = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" }
frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.29" }
frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.29" }
pallet-collective = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.29" }


[features]
Expand Down
2 changes: 1 addition & 1 deletion libs/primitives/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ pub mod constants {
pub const NORMAL_DISPATCH_RATIO: Perbill = Perbill::from_percent(75);

/// We allow for 0.5 seconds of compute with a 6 second average block time.
pub const MAXIMUM_BLOCK_WEIGHT: Weight = WEIGHT_PER_SECOND / 2;
pub const MAXIMUM_BLOCK_WEIGHT: Weight = WEIGHT_PER_SECOND.saturating_div(2);

pub const MICRO_CFG: Balance = 1_000_000_000_000; // 10−6 0.000001
pub const MILLI_CFG: Balance = 1_000 * MICRO_CFG; // 10−3 0.001
Expand Down
4 changes: 2 additions & 2 deletions libs/proofs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ targets = ['x86_64-unknown-linux-gnu']
[dependencies]
codec = { package = 'parity-scale-codec', version = '3.0.0', features = ['derive'] , default-features = false }
scale-info = { version = "2.0", default-features = false, features = ["derive"] }
sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" }
sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.29" }

[dev-dependencies]
sp-core = { git = "https://github.com/paritytech/substrate", default-features = true, branch = "polkadot-v0.9.26" }
sp-core = { git = "https://github.com/paritytech/substrate", default-features = true, branch = "polkadot-v0.9.29" }

[features]
default = ['std']
Expand Down
14 changes: 7 additions & 7 deletions libs/traits/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,22 @@ version = '0.1.0'
targets = ['x86_64-unknown-linux-gnu']

[dependencies]
serde = { version = "1.0.102" }
serde = { version = "1.0.119" }
mustermeiszer marked this conversation as resolved.
Show resolved Hide resolved
codec = { package = 'parity-scale-codec', version = '3.0.0', features = ['derive'] , default-features = false }
scale-info = { version = "2.0", default-features = false, features = ["derive"] }
impl-trait-for-tuples = "0.2.1"

frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" }
sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" }
sp-arithmetic = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" }
sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" }
frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.29" }
sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.29" }
sp-arithmetic = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.29" }
sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.29" }

orml-asset-registry = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = false, branch = "polkadot-v0.9.26" }
orml-asset-registry = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = false, branch = "polkadot-v0.9.29" }

cfg-primitives = { path = '../primitives', default-features = false }

[dev-dependencies]
orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = true, branch = "polkadot-v0.9.26" }
orml-traits = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = true, branch = "polkadot-v0.9.29" }
cfg-types = { path = '../types', default-features = true }

[features]
Expand Down
18 changes: 9 additions & 9 deletions libs/types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,22 @@ bitflags = "1.3"
serde = { version = "1.0.119" }

# substrate dependencies
sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" }
frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" }
frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" }
sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" }
sp-arithmetic = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" }
frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.29" }
sp-arithmetic = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.29" }
sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.29" }
frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.29" }
sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.29" }

xcm = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "release-v0.9.26" }
polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "release-v0.9.26" }
orml-asset-registry = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = false, branch = "polkadot-v0.9.26" }
xcm = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "release-v0.9.29" }
polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false , branch = "release-v0.9.29" }
orml-asset-registry = { git = "https://github.com/open-web3-stack/open-runtime-module-library", default-features = false, branch = "polkadot-v0.9.29" }

# local dependencies
cfg-traits = { path = '../traits', default-features = false }
cfg-primitives = { path = '../primitives', default-features = false }

[dev-dependencies]
frame-support = { git = "https://github.com/paritytech/substrate", default-features = true , branch = "polkadot-v0.9.26" }
frame-support = { git = "https://github.com/paritytech/substrate", default-features = true , branch = "polkadot-v0.9.29" }

[features]
default = ['std']
Expand Down
27 changes: 14 additions & 13 deletions pallets/anchors/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,28 @@ version = '2.0.0'
targets = ['x86_64-unknown-linux-gnu']

[dependencies]
serde = { version = "1.0.102" }
serde = { version = "1.0.119" }
codec = { package = 'parity-scale-codec', version = '3.0.0', features = ['derive'] , default-features = false }
scale-info = { version = "2.0", default-features = false, features = ["derive"] }

frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" }
frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" }
sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" }
sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" }
sp-arithmetic = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" }
pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" }
sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.26" }
cfg-traits = { path = "../../libs/traits", default-features = false }
frame-support = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.29" }
frame-system = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.29" }
sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.29" }
sp-std = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.29" }
sp-arithmetic = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.29" }
pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.29" }
pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.29" }
sp-core = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.29" }

# optional dependencies for benchmarking
frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false , optional = true , branch = "polkadot-v0.9.26" }
frame-benchmarking = { git = "https://github.com/paritytech/substrate", default-features = false , optional = true , branch = "polkadot-v0.9.29" }

[dev-dependencies]
pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = true , branch = "polkadot-v0.9.26" }
sp-io = { git = "https://github.com/paritytech/substrate", default-features = true , branch = "polkadot-v0.9.26" }
pallet-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", default-features = true , branch = "polkadot-v0.9.26" }
pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = true , branch = "polkadot-v0.9.26" }
pallet-balances = { git = "https://github.com/paritytech/substrate", default-features = true , branch = "polkadot-v0.9.29" }
sp-io = { git = "https://github.com/paritytech/substrate", default-features = true , branch = "polkadot-v0.9.29" }
pallet-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", default-features = true , branch = "polkadot-v0.9.29" }
pallet-authorship = { git = "https://github.com/paritytech/substrate", default-features = true , branch = "polkadot-v0.9.29" }

[features]
default = ['std']
Expand Down
81 changes: 81 additions & 0 deletions pallets/anchors/src/migration.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
use super::*;

pub mod fix_evict_date {
use frame_support::{log, traits::Get, weights::Weight};

use super::*;

pub const HARDCODED_EVICTED_DATE: u32 = 19200;

#[cfg(feature = "try-runtime")]
use frame_support::ensure; // Not in prelude for try-runtime

#[cfg(feature = "try-runtime")]
pub fn pre_migrate<T: Config>() -> Result<(), &'static str> {
ensure!(
LatestEvictedDate::<T>::get() == None,
"State already initialized"
);
Ok(())
}

pub fn migrate<T: Config>() -> Weight {
if LatestEvictedDate::<T>::get().is_none() {
LatestEvictedDate::<T>::put(HARDCODED_EVICTED_DATE);
log::info!("pallet_anchors: fix evict date");
return T::DbWeight::get().writes(1);
}

Weight::from_ref_time(0)
}

#[cfg(feature = "try-runtime")]
pub fn post_migrate<T: Config>() -> Result<(), &'static str> {
ensure!(
LatestEvictedDate::<T>::get() == Some(HARDCODED_EVICTED_DATE),
"State not initialized"
);
Ok(())
}
}

#[cfg(test)]
#[cfg(feature = "try-runtime")]
mod test {
use frame_support::assert_ok;

use super::*;
use crate::{
mock::{new_test_ext, Origin, Test},
{self as pallet_anchors},
};

#[test]
fn evict_anchors_working_after_migration() {
new_test_ext().execute_with(|| {
// Check migration:
assert_ok!(fix_evict_date::pre_migrate::<Test>());
assert!(fix_evict_date::post_migrate::<Test>().is_err());

fix_evict_date::migrate::<Test>();

assert_ok!(fix_evict_date::post_migrate::<Test>());
assert!(fix_evict_date::pre_migrate::<Test>().is_err());

// Check correct evict behaviour after migration:
let current_day = common::MILLISECS_PER_DAY
* (fix_evict_date::HARDCODED_EVICTED_DATE as u64 + MAX_LOOP_IN_TX * 3);

pallet_timestamp::Pallet::<Test>::set_timestamp(current_day);

assert_ok!(pallet_anchors::Pallet::<Test>::evict_anchors(
Origin::signed(1)
));

assert_eq!(
LatestEvictedDate::<Test>::get(),
Some(fix_evict_date::HARDCODED_EVICTED_DATE + MAX_LOOP_IN_TX as u32)
);
});
}
}
48 changes: 24 additions & 24 deletions pallets/anchors/src/weights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,53 +40,53 @@ pub trait WeightInfo {
pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
fn pre_commit() -> Weight {
(65_453_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
(Weight::from_ref_time(65_453_000))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}

fn commit() -> Weight {
(104_841_000 as Weight)
.saturating_add(T::DbWeight::get().reads(7 as Weight))
.saturating_add(T::DbWeight::get().writes(5 as Weight))
(Weight::from_ref_time(104_841_000))
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}

fn evict_pre_commits() -> Weight {
(2_764_733_000 as Weight)
.saturating_add(T::DbWeight::get().reads(100 as Weight))
.saturating_add(T::DbWeight::get().writes(100 as Weight))
(Weight::from_ref_time(2_764_733_000))
.saturating_add(T::DbWeight::get().reads(100_u64))
.saturating_add(T::DbWeight::get().writes(100_u64))
}

fn evict_anchors() -> Weight {
(12_387_595_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1008 as Weight))
.saturating_add(T::DbWeight::get().writes(1504 as Weight))
(Weight::from_ref_time(12_387_595_000))
.saturating_add(T::DbWeight::get().reads(1008_u64))
.saturating_add(T::DbWeight::get().writes(1504_u64))
}
}

// For backwards compatibility and tests
impl WeightInfo for () {
fn pre_commit() -> Weight {
(65_453_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(3 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
(Weight::from_ref_time(65_453_000))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}

fn commit() -> Weight {
(104_841_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(7 as Weight))
.saturating_add(RocksDbWeight::get().writes(5 as Weight))
(Weight::from_ref_time(104_841_000))
.saturating_add(RocksDbWeight::get().reads(7_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}

fn evict_pre_commits() -> Weight {
(2_764_733_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(100 as Weight))
.saturating_add(RocksDbWeight::get().writes(100 as Weight))
(Weight::from_ref_time(2_764_733_000))
.saturating_add(RocksDbWeight::get().reads(100_u64))
.saturating_add(RocksDbWeight::get().writes(100_u64))
}

fn evict_anchors() -> Weight {
(12_387_595_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(1008 as Weight))
.saturating_add(RocksDbWeight::get().writes(1504 as Weight))
(Weight::from_ref_time(12_387_595_000))
.saturating_add(RocksDbWeight::get().reads(1008_u64))
.saturating_add(RocksDbWeight::get().writes(1504_u64))
}
}
33 changes: 33 additions & 0 deletions pallets/bridge-mapping/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
[package]
authors = ['buterajay@protonmail.com']
description = 'Access control list for bridge paths across chains'
edition = '2021'
license = "LGPL-3.0"
name = 'pallet-bridge-mapping'
repository = "https://github.com/centrifuge/centrifuge-chain/pallets/bridge-mapping"
version = '2.0.0'

[package.metadata.docs.rs]
targets = ['x86_64-unknown-linux-gnu']

[dependencies]
codec = { package = 'parity-scale-codec', version = '3.0.0', features = ['derive'] , default-features = false }
scale-info = { version = "2.0", default-features = false, features = ["derive"] }
frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.29" }
frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.29" }
sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.29" }

[dev-dependencies]
sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
sp-io = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.29" }
cfg-primitives = { path = "../../libs/primitives" }

[features]
default = ['std']
std = [
'codec/std',
'scale-info/std',
'frame-support/std',
'frame-system/std',
'sp-runtime/std',
]
Loading