Skip to content

Commit

Permalink
depend-o-pocalipse (#9450)
Browse files Browse the repository at this point in the history
Remove unneeded dependencies and dev-dependencies.
Made self_destruct test not dependent on wasm bin size.  
Updated code related to deprecated warning on tracing-subscriber `scope()` 
( See tokio-rs/tracing#1429 )
  • Loading branch information
gilescope authored Aug 13, 2021
1 parent 0a5e09f commit ce94fa4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ targets = ["x86_64-unknown-linux-gnu"]
codec = { package = "parity-scale-codec", version = "2.2.0", default-features = false, features = ["max-encoded-len"] }
frame-support = { version = "4.0.0-dev", default-features = false, path = "../support" }
frame-system = { version = "4.0.0-dev", default-features = false, path = "../system" }
sp-core = { version = "4.0.0-dev", default-features = false, path = "../../primitives/core" }
sp-io = { version = "4.0.0-dev", default-features = false, path = "../../primitives/io" }
sp-runtime = { version = "4.0.0-dev", default-features = false, path = "../../primitives/runtime" }
sp-std = { version = "4.0.0-dev", default-features = false, path = "../../primitives/std" }
Expand Down
5 changes: 3 additions & 2 deletions src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,9 @@ impl InstanceFilter<Call> for ProxyType {
fn filter(&self, c: &Call) -> bool {
match self {
ProxyType::Any => true,
ProxyType::JustTransfer =>
matches!(c, Call::Balances(pallet_balances::Call::transfer(..))),
ProxyType::JustTransfer => {
matches!(c, Call::Balances(pallet_balances::Call::transfer(..)))
},
ProxyType::JustUtility => matches!(c, Call::Utility(..)),
}
}
Expand Down

0 comments on commit ce94fa4

Please sign in to comment.