mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 17:28:00 +00:00
f85d6dc6dd
* save: compiles and tests pass * save: added global * done + test * cleanup * changelog update * cleanup * address feedback, step 1 * address feedback, step 2 * address feedback, step 3 * returned updated gas_estimation_call_runtime test * clippy fix * address feedback, step 4 * address feedback, step 5 * move data from context to inputs * docs fix * Apply suggestions from code review Co-authored-by: Alexander Theißen <alex.theissen@me.com> * address feedback, step 6 --------- Co-authored-by: Alexander Theißen <alex.theissen@me.com>
92 lines
3.3 KiB
TOML
92 lines
3.3 KiB
TOML
[package]
|
|
name = "pallet-contracts"
|
|
version = "4.0.0-dev"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2021"
|
|
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.2.2", default-features = false, features = [
|
|
"derive",
|
|
"max-encoded-len",
|
|
] }
|
|
scale-info = { version = "2.1.1", default-features = false, features = ["derive"] }
|
|
log = { version = "0.4", default-features = false }
|
|
wasm-instrument = { 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.20", default-features = false }
|
|
wasmparser = { package = "wasmparser-nostd", version = "0.91", default-features = false }
|
|
impl-trait-for-tuples = "0.2"
|
|
|
|
# Only used in benchmarking to generate random contract code
|
|
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-contracts-primitives = { version = "7.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 = "7.0.0", default-features = false, path = "../../primitives/core" }
|
|
sp-io = { version = "7.0.0", default-features = false, path = "../../primitives/io" }
|
|
sp-runtime = { version = "7.0.0", default-features = false, path = "../../primitives/runtime" }
|
|
sp-std = { version = "5.0.0", default-features = false, path = "../../primitives/std" }
|
|
|
|
[dev-dependencies]
|
|
array-bytes = "4.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" }
|
|
sp-keystore = { version = "0.13.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",
|
|
"wasmparser/std",
|
|
"environmental/std",
|
|
]
|
|
runtime-benchmarks = [
|
|
"frame-benchmarking/runtime-benchmarks",
|
|
"rand",
|
|
"rand_pcg",
|
|
]
|
|
try-runtime = ["frame-support/try-runtime"]
|