Skip to content

Commit

Permalink
clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
1xstj committed Nov 7, 2023
1 parent 3c92515 commit 70bb915
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 20 deletions.
4 changes: 4 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

45 changes: 25 additions & 20 deletions precompiles/staking/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "pallet-evm-precompile-staking"
version = "1.0.0"
authors = { workspace = true }
edition = "2021"
description = "A Precompile to make staking accessible to pallet-evm"
edition = "2021"
version = "1.0.0"

[dependencies]
log = { workspace = true }
Expand All @@ -14,27 +14,28 @@ tangle-primitives = { workspace = true }
# Moonbeam
precompile-utils = { workspace = true }


# Substrate
frame-support = { workspace = true }
frame-system = { workspace = true }
pallet-staking = { workspace = true }
parity-scale-codec = { workspace = true, features = ["max-encoded-len"] }
parity-scale-codec = { workspace = true, features = [ "max-encoded-len" ] }
sp-core = { workspace = true }
sp-io = { workspace = true }
sp-runtime = { workspace = true }
sp-std = { workspace = true }

# Frontier
fp-evm = { workspace = true }
pallet-evm = { workspace = true, features = ["forbid-evm-reentrancy"] }
pallet-evm = { workspace = true, features = [ "forbid-evm-reentrancy" ] }

[dev-dependencies]
derive_more = { workspace = true }
serde = { workspace = true }
sha3 = { workspace = true }

# Moonbeam
precompile-utils = { workspace = true, features = ["std", "testing"] }
precompile-utils = { workspace = true, features = [ "std", "testing" ] }

# Substrate
pallet-balances = { workspace = true, features = [ "std" ] }
Expand All @@ -44,21 +45,25 @@ scale-info = { workspace = true, features = [ "derive", "std" ] }
sp-runtime = { workspace = true, features = [ "std" ] }
pallet-staking = { workspace = true, features = [ "std" ] }
pallet-staking-reward-curve = { workspace = true }
sp-keystore = { workspace = true, features = ["std"] }
sp-staking = { workspace = true, features = ["std"] }
frame-election-provider-support = { workspace = true, features = [ "std" ] }
pallet-session = { workspace = true, features = [ "std" ] }
pallet-dkg-metadata = { workspace = true, features = [ "std" ] }
dkg-runtime-primitives = { workspace = true, features = [ "std" ] }
sp-staking = { workspace = true, features = [ "std" ] }
sp-keystore = { workspace = true, features = [ "std" ] }

[features]
default = ["std"]
default = [ "std" ]
std = [
"fp-evm/std",
"frame-support/std",
"frame-system/std",
"pallet-evm/std",
"pallet-staking/std",
"parity-scale-codec/std",
"precompile-utils/std",
"sp-core/std",
"sp-runtime/std",
"sp-std/std",
"tangle-primitives/std",
]
"fp-evm/std",
"frame-support/std",
"frame-system/std",
"pallet-evm/std",
"pallet-staking/std",
"parity-scale-codec/std",
"precompile-utils/std",
"sp-core/std",
"sp-runtime/std",
"sp-std/std",
"tangle-primitives/std",
]

0 comments on commit 70bb915

Please sign in to comment.