Skip to content

Commit

Permalink
Added 'std' features to Balances (#548)
Browse files Browse the repository at this point in the history
* Added 'std' features to Balances

* Removed Balances from build dep
  • Loading branch information
PoisonPhang authored Feb 2, 2022
1 parent cb09fd6 commit 5c1eab8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions frame/crowdloan-rewards/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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" }

Expand Down Expand Up @@ -70,7 +69,6 @@ std = [
runtime-benchmarks = [
"hex-literal",
"libsecp256k1",
"balances",
"frame-benchmarking",
"sp-application-crypto",
"frame-support/runtime-benchmarks",
Expand Down

0 comments on commit 5c1eab8

Please sign in to comment.