mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-06 05:38:00 +00:00
b24b66c991
* Provide basic breakpoints * Rename to Observer * Rename feature. Single trait. Borrow-checker * : frame_system::Config * Confused type name * Minor bugs * pub trait * No unnecessary cloning * Make node compile with all features * Move everything debug-related to a single module * Add docs and implementation for () * fmt * Make it feature-gated or for tests * Prepare testing kit * Testcase * Fmt * Use feature in dev-deps * ? * feature propagation * AAAA * lol, that doesn't make much sense to me * Turn on * clippy * Remove self dep * fmt, feature-gating test * Noop to trigger CI * idk * add feature to pipeline * Corrupt test to see if it is actually being run * Revert change * Doc for conf type * Review * Imports * ... * Remove debug for kitchen-sink * Move test * Fix imports * I must have already tried this one...
118 lines
4.1 KiB
TOML
118 lines
4.1 KiB
TOML
[package]
|
|
name = "pallet-contracts"
|
|
version = "4.0.0-dev"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2021"
|
|
build = "build.rs"
|
|
license = "Apache-2.0"
|
|
homepage = "https://substrate.io"
|
|
repository = "https://github.com/paritytech/substrate/"
|
|
description = "FRAME pallet for WASM contracts"
|
|
readme = "README.md"
|
|
include = ["src/**/*", "README.md", "CHANGELOG.md"]
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
bitflags = "1.3"
|
|
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = [
|
|
"derive",
|
|
"max-encoded-len",
|
|
] }
|
|
scale-info = { version = "2.5.0", default-features = false, features = ["derive"] }
|
|
log = { version = "0.4", default-features = false }
|
|
serde = { version = "1", optional = true, features = ["derive"] }
|
|
smallvec = { version = "1", default-features = false, features = [
|
|
"const_generics",
|
|
] }
|
|
wasmi = { version = "0.30", default-features = false }
|
|
impl-trait-for-tuples = "0.2"
|
|
|
|
# Only used in benchmarking to generate contract code
|
|
wasm-instrument = { version = "0.4", optional = true, default-features = false }
|
|
rand = { version = "0.8", optional = true, default-features = false }
|
|
rand_pcg = { version = "0.3", optional = true }
|
|
|
|
# Substrate Dependencies
|
|
environmental = { version = "1.1.4", default-features = false }
|
|
frame-benchmarking = { version = "4.0.0-dev", default-features = false, path = "../benchmarking", optional = true }
|
|
frame-support = { version = "4.0.0-dev", default-features = false, path = "../support" }
|
|
frame-system = { version = "4.0.0-dev", default-features = false, path = "../system" }
|
|
pallet-balances = { version = "4.0.0-dev", path = "../balances", optional = true, default-features = false }
|
|
pallet-contracts-primitives = { version = "24.0.0", default-features = false, path = "primitives" }
|
|
pallet-contracts-proc-macro = { version = "4.0.0-dev", path = "proc-macro" }
|
|
sp-api = { version = "4.0.0-dev", default-features = false, path = "../../primitives/api" }
|
|
sp-core = { version = "21.0.0", default-features = false, path = "../../primitives/core" }
|
|
sp-io = { version = "23.0.0", default-features = false, path = "../../primitives/io" }
|
|
sp-runtime = { version = "24.0.0", default-features = false, path = "../../primitives/runtime" }
|
|
sp-std = { version = "8.0.0", default-features = false, path = "../../primitives/std" }
|
|
|
|
[dev-dependencies]
|
|
array-bytes = "6.1"
|
|
assert_matches = "1"
|
|
env_logger = "0.9"
|
|
pretty_assertions = "1"
|
|
wat = "1"
|
|
|
|
# Substrate Dependencies
|
|
pallet-balances = { version = "4.0.0-dev", path = "../balances" }
|
|
pallet-timestamp = { version = "4.0.0-dev", path = "../timestamp" }
|
|
pallet-insecure-randomness-collective-flip = { version = "4.0.0-dev", path = "../insecure-randomness-collective-flip" }
|
|
pallet-utility = { version = "4.0.0-dev", path = "../utility" }
|
|
pallet-proxy = { version = "4.0.0-dev", path = "../proxy" }
|
|
sp-keystore = { version = "0.27.0", path = "../../primitives/keystore" }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"serde",
|
|
"codec/std",
|
|
"scale-info/std",
|
|
"sp-core/std",
|
|
"sp-runtime/std",
|
|
"sp-io/std",
|
|
"sp-std/std",
|
|
"frame-benchmarking?/std",
|
|
"frame-support/std",
|
|
"frame-system/std",
|
|
"wasm-instrument/std",
|
|
"wasmi/std",
|
|
"pallet-contracts-primitives/std",
|
|
"pallet-contracts-proc-macro/full",
|
|
"log/std",
|
|
"rand/std",
|
|
"environmental/std",
|
|
"pallet-balances?/std",
|
|
"pallet-insecure-randomness-collective-flip/std",
|
|
"pallet-proxy/std",
|
|
"pallet-timestamp/std",
|
|
"pallet-utility/std",
|
|
"sp-api/std",
|
|
"sp-keystore/std"
|
|
]
|
|
runtime-benchmarks = [
|
|
"frame-benchmarking/runtime-benchmarks",
|
|
"rand",
|
|
"rand_pcg",
|
|
"wasm-instrument",
|
|
"pallet-balances/runtime-benchmarks",
|
|
"frame-support/runtime-benchmarks",
|
|
"frame-system/runtime-benchmarks",
|
|
"pallet-proxy/runtime-benchmarks",
|
|
"pallet-timestamp/runtime-benchmarks",
|
|
"pallet-utility/runtime-benchmarks",
|
|
"sp-runtime/runtime-benchmarks"
|
|
]
|
|
try-runtime = [
|
|
"frame-support/try-runtime",
|
|
"frame-system/try-runtime",
|
|
"pallet-balances/try-runtime",
|
|
"pallet-insecure-randomness-collective-flip/try-runtime",
|
|
"pallet-proxy/try-runtime",
|
|
"pallet-timestamp/try-runtime",
|
|
"pallet-utility/try-runtime",
|
|
"sp-runtime/try-runtime",
|
|
]
|
|
unsafe-debug = []
|