diff --git a/Cargo.lock b/Cargo.lock index 2848c574c..7e0ec86ef 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8806,14 +8806,18 @@ name = "pallet-evm-precompile-staking" version = "1.0.0" dependencies = [ "derive_more", + "dkg-runtime-primitives 0.0.1 (git+https://github.com/webb-tools/dkg-substrate.git?tag=v0.4.7)", "fp-evm", + "frame-election-provider-support", "frame-support", "frame-system", "log", "num_enum 0.5.11", "pallet-balances", + "pallet-dkg-metadata", "pallet-dkg-proposals", "pallet-evm", + "pallet-session", "pallet-staking", "pallet-staking-reward-curve", "pallet-timestamp", diff --git a/precompiles/staking/Cargo.toml b/precompiles/staking/Cargo.toml index c24d61413..a54c165ac 100644 --- a/precompiles/staking/Cargo.toml +++ b/precompiles/staking/Cargo.toml @@ -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 } @@ -14,11 +14,12 @@ 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 } @@ -26,7 +27,7 @@ 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 } @@ -34,7 +35,7 @@ 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" ] } @@ -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", +] \ No newline at end of file