From 5c1eab888a237a80a96fc65ef1ba1b948e193fb7 Mon Sep 17 00:00:00 2001 From: Connor Davis <17688291+PoisonPhang@users.noreply.github.com> Date: Wed, 2 Feb 2022 04:11:58 -0600 Subject: [PATCH] Added 'std' features to Balances (#548) * Added 'std' features to Balances * Removed Balances from build dep --- frame/crowdloan-rewards/Cargo.toml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frame/crowdloan-rewards/Cargo.toml b/frame/crowdloan-rewards/Cargo.toml index c9ac573167e..6dce6408bc4 100644 --- a/frame/crowdloan-rewards/Cargo.toml +++ b/frame/crowdloan-rewards/Cargo.toml @@ -23,7 +23,7 @@ libsecp256k1 = { version = "0.7.0", default-features = false, features = [ "static-context", ] } hex-literal = "0.3" -balances = { package = "pallet-balances", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false } +balances = { package = "pallet-balances", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false, features = [ "std" ]} [dependencies] ### Benchmarking @@ -32,7 +32,6 @@ libsecp256k1 = { version = "0.7.0", default-features = false, optional = true, f "hmac", "static-context", ] } -balances = { package = "pallet-balances", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13", default-features = false, optional = true } frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } sp-application-crypto = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.13" } @@ -70,7 +69,6 @@ std = [ runtime-benchmarks = [ "hex-literal", "libsecp256k1", - "balances", "frame-benchmarking", "sp-application-crypto", "frame-support/runtime-benchmarks",