mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-19 14:35:40 +00:00
9676ce6f36
* `ecdsa::Public::to_eth_address` + test, beefy-mmr `convert()` to use it, contracts Ext interface * `seal_ecdsa_to_eth_address` all but benchmark done * `seal_ecdsa_to_eth_address` + wasm test * `seal_ecdsa_to_eth_address` + benchmark * fixed dependencies * Apply suggestions from code review Co-authored-by: Alexander Theißen <alex.theissen@me.com> * fixes from review #1 * ecdsa::Public(*pk).to_eth_address() moved to frame_support and contracts to use it * beefy-mmr to use newly added frame_support function for convertion * a doc fix * import fix * benchmark fix-1 (still fails) * benchmark fixed * Apply suggestions from code review Co-authored-by: Alexander Theißen <alex.theissen@me.com> * fixes on Alex T feedback * to_eth_address() put into extension trait for sp-core::ecdsa::Public * Update frame/support/src/crypto/ecdsa.rs Co-authored-by: Alexander Theißen <alex.theissen@me.com> * Update frame/contracts/src/wasm/mod.rs Co-authored-by: Alexander Theißen <alex.theissen@me.com> * fixes on issues pointed out in review * benchmark errors fixed * fmt fix * EcdsaRecoverFailed err docs updated * Apply suggestions from code review Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * make applied suggestions compile * get rid of unwrap() in runtime * Remove expect Co-authored-by: Alexander Theißen <alex.theissen@me.com> Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> Co-authored-by: Bastian Köcher <info@kchr.de>
54 lines
2.0 KiB
TOML
54 lines
2.0 KiB
TOML
[package]
|
|
name = "pallet-beefy-mmr"
|
|
version = "4.0.0-dev"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2021"
|
|
license = "Apache-2.0"
|
|
description = "BEEFY + MMR runtime utilities"
|
|
repository = "https://github.com/paritytech/substrate"
|
|
|
|
[dependencies]
|
|
hex = { version = "0.4", optional = true }
|
|
codec = { version = "3.0.0", package = "parity-scale-codec", default-features = false, features = ["derive"] }
|
|
log = { version = "0.4.13", default-features = false }
|
|
scale-info = { version = "2.0.1", default-features = false, features = ["derive"] }
|
|
serde = { version = "1.0.136", optional = true }
|
|
|
|
frame-support = { version = "4.0.0-dev", path = "../support", default-features = false }
|
|
frame-system = { version = "4.0.0-dev", path = "../system", default-features = false }
|
|
pallet-mmr = { version = "4.0.0-dev", path = "../merkle-mountain-range", default-features = false }
|
|
pallet-session = { version = "4.0.0-dev", path = "../session", default-features = false }
|
|
|
|
sp-core = { version = "6.0.0", path = "../../primitives/core", default-features = false }
|
|
sp-io = { version = "6.0.0", path = "../../primitives/io", default-features = false }
|
|
sp-runtime = { version = "6.0.0", path = "../../primitives/runtime", default-features = false }
|
|
sp-std = { version = "4.0.0", path = "../../primitives/std", default-features = false }
|
|
|
|
beefy-merkle-tree = { version = "4.0.0-dev", path = "./primitives", default-features = false }
|
|
beefy-primitives = { version = "4.0.0-dev", path = "../../primitives/beefy", default-features = false }
|
|
pallet-beefy = { version = "4.0.0-dev", path = "../beefy", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
sp-staking = { version = "4.0.0-dev", path = "../../primitives/staking" }
|
|
hex-literal = "0.3"
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"beefy-merkle-tree/std",
|
|
"beefy-primitives/std",
|
|
"codec/std",
|
|
"frame-support/std",
|
|
"frame-system/std",
|
|
"hex",
|
|
"log/std",
|
|
"pallet-beefy/std",
|
|
"pallet-mmr/std",
|
|
"pallet-session/std",
|
|
"serde",
|
|
"sp-core/std",
|
|
"sp-io/std",
|
|
"sp-runtime/std",
|
|
"sp-std/std",
|
|
]
|