mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 08:07:58 +00:00
df6ef1780f
* Initial approach * Introduce the pallet-contracts-common crate * Add rent::compute_rent_projection * Wire everything together * Fix build error. * Rename EvictionDate → EvictionAt. * Clean. * Renaming and cleaning. * Add documentation for rent_projection RPC. * Add documentation for rent_projection runtime API. * Refactor rent_budget. Merge it with subsistence_treshold. * Bump impl_version * Constrain RPC impl with Block::Header::Number. * Rename pallet-contracts-common into -primitives * Add a comment for `compute_rent_projection` on the usage * Small tidying
48 lines
1.8 KiB
TOML
48 lines
1.8 KiB
TOML
[package]
|
|
name = "pallet-contracts"
|
|
version = "2.0.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
license = "GPL-3.0"
|
|
|
|
[dependencies]
|
|
serde = { version = "1.0.101", optional = true, features = ["derive"] }
|
|
pwasm-utils = { version = "0.12.0", default-features = false }
|
|
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false, features = ["derive"] }
|
|
parity-wasm = { version = "0.41.0", default-features = false }
|
|
wasmi-validation = { version = "0.3.0", default-features = false }
|
|
sp-core = { version = "2.0.0", default-features = false, path = "../../primitives/core" }
|
|
sp-runtime = { version = "2.0.0", default-features = false, path = "../../primitives/runtime" }
|
|
sp-io = { version = "2.0.0", default-features = false, path = "../../primitives/io" }
|
|
sp-std = { version = "2.0.0", default-features = false, path = "../../primitives/std" }
|
|
sp-sandbox = { version = "0.8.0", default-features = false, path = "../../primitives/sandbox" }
|
|
frame-support = { version = "2.0.0", default-features = false, path = "../support" }
|
|
frame-system = { version = "2.0.0", default-features = false, path = "../system" }
|
|
pallet-contracts-primitives = { version = "2.0.0", default-features = false, path = "common" }
|
|
|
|
[dev-dependencies]
|
|
wabt = "0.9.2"
|
|
assert_matches = "1.3.0"
|
|
hex-literal = "0.2.1"
|
|
pallet-balances = { version = "2.0.0", path = "../balances" }
|
|
pallet-timestamp = { version = "2.0.0", path = "../timestamp" }
|
|
pallet-randomness-collective-flip = { version = "2.0.0", path = "../randomness-collective-flip" }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"serde",
|
|
"codec/std",
|
|
"sp-core/std",
|
|
"sp-runtime/std",
|
|
"sp-io/std",
|
|
"sp-std/std",
|
|
"sp-sandbox/std",
|
|
"frame-support/std",
|
|
"frame-system/std",
|
|
"parity-wasm/std",
|
|
"pwasm-utils/std",
|
|
"wasmi-validation/std",
|
|
"pallet-contracts-primitives/std",
|
|
]
|