Skip to content

Commit

Permalink
Add staking actions to EVM precompile (#265)
Browse files Browse the repository at this point in the history
  • Loading branch information
drewstone authored Oct 2, 2023
1 parent b932226 commit d12e316
Show file tree
Hide file tree
Showing 6 changed files with 358 additions and 22 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

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

9 changes: 8 additions & 1 deletion precompiles/staking/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,20 @@ version = "1.0.0"
log = { workspace = true }
num_enum = { workspace = true }
rustc-hex = { workspace = true }
tangle-primitives = { workspace = true }

# Moonbeam
precompile-utils = { workspace = true }
pallet-staking = { workspace = true }


# Substrate
frame-support = { workspace = true }
frame-system = { workspace = true }
pallet-staking = { workspace = true }
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
Expand Down Expand Up @@ -47,15 +50,19 @@ 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" ]
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",
]
Loading

0 comments on commit d12e316

Please sign in to comment.