mirror of
https://github.com/datahaven-xyz/datahaven
synced 2026-05-24 09:50:01 +00:00
## Add Identity Precompile Adds the pallet Identity precompile to `mainnet`, `stagenet`, and `testnet` according to Moonbeam's configuration. ### Changes: - Added `pallet-evm-precompile-identity` dependency to workspace - Added and configured at address `2072` for all runtimes The precompile provides a Solidity interface access to the Substrate Identity pallet functionality. --------- Co-authored-by: Ahmad Kaouk <56095276+ahmadkaouk@users.noreply.github.com> Co-authored-by: Steve Degosserie <723552+stiiifff@users.noreply.github.com>
55 lines
1.4 KiB
TOML
55 lines
1.4 KiB
TOML
[package]
|
|
name = "pallet-evm-precompile-identity"
|
|
authors = { workspace = true }
|
|
description = "A Precompile to improve Identity usability."
|
|
edition = "2021"
|
|
version = "0.1.0"
|
|
|
|
[dependencies]
|
|
|
|
# Substrate
|
|
frame-support = { workspace = true }
|
|
frame-system = { 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 }
|
|
pallet-identity = { workspace = true }
|
|
|
|
# Frontier
|
|
fp-evm = { workspace = true }
|
|
pallet-evm = { workspace = true, features = [ "forbid-evm-reentrancy" ] }
|
|
precompile-utils = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
|
|
pallet-balances = { workspace = true, features = [ "std" ] }
|
|
pallet-timestamp = { workspace = true, features = [ "std" ] }
|
|
parity-scale-codec = { workspace = true, features = [
|
|
"max-encoded-len",
|
|
"std",
|
|
] }
|
|
precompile-utils = { workspace = true, features = [ "std", "testing" ] }
|
|
scale-info = { workspace = true, features = [ "derive", "std" ] }
|
|
sp-runtime = { workspace = true, features = [ "std" ] }
|
|
|
|
[features]
|
|
default = [ "std" ]
|
|
std = [
|
|
"fp-evm/std",
|
|
"frame-support/std",
|
|
"frame-system/std",
|
|
"pallet-evm/std",
|
|
"pallet-identity/std",
|
|
"parity-scale-codec/std",
|
|
"precompile-utils/std",
|
|
"sp-core/std",
|
|
"sp-io/std",
|
|
"sp-runtime/std",
|
|
"sp-std/std",
|
|
]
|
|
runtime-benchmarks = [
|
|
"frame-support/runtime-benchmarks",
|
|
"frame-system/runtime-benchmarks",
|
|
]
|