mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-07 02:37:22 +00:00
968a30685f
* split off system randomness functions into a new module * bump spec and impl version * Move randomness to bottom of construct_runtime calls, move initialization into on_initialize * Update srml/randomness/Cargo.toml Co-Authored-By: Kian Paimani <5588131+kianenigma@users.noreply.github.com> * Update srml/randomness/src/lib.rs Co-Authored-By: Kian Paimani <5588131+kianenigma@users.noreply.github.com> * Update srml/randomness/src/lib.rs Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com> * Update srml/randomness/Cargo.toml Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com> * Improve system example * Update Cargo.lock * Fix randomness example * Get rid of the stored index * Add tests * Add a random test * Improve docs * Fix executive test :^) * Add a utility function to tests * Update srml/randomness/Cargo.toml Co-Authored-By: Gavin Wood <github@gavwood.com> * Update srml/randomness/src/lib.rs Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com> * Update srml/randomness/src/lib.rs Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com> * Change interpretation of block numbers * rename crate * refactor randomess module usage * change random material len to a const * Update srml/randomness-collective-flip/src/lib.rs Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com> * Update srml/randomness-collective-flip/src/lib.rs Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com>
48 lines
1.8 KiB
TOML
48 lines
1.8 KiB
TOML
[package]
|
|
name = "srml-contracts"
|
|
version = "2.0.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
serde = { version = "1.0.101", optional = true, features = ["derive"] }
|
|
pwasm-utils = { version = "0.11.0", default-features = false }
|
|
codec = { package = "parity-scale-codec", version = "1.0.0", default-features = false, features = ["derive"] }
|
|
parity-wasm = { version = "0.40.3", default-features = false }
|
|
wasmi-validation = { version = "0.2.0", default-features = false }
|
|
primitives = { package = "substrate-primitives", path = "../../core/primitives", default-features = false }
|
|
sr-primitives = { path = "../../core/sr-primitives", default-features = false }
|
|
runtime-io = { package = "sr-io", path = "../../core/sr-io", default-features = false }
|
|
rstd = { package = "sr-std", path = "../../core/sr-std", default-features = false }
|
|
sandbox = { package = "sr-sandbox", path = "../../core/sr-sandbox", default-features = false }
|
|
support = { package = "srml-support", path = "../support", default-features = false }
|
|
system = { package = "srml-system", path = "../system", default-features = false }
|
|
randomness-collective-flip = { package = "srml-randomness-collective-flip", path = "../randomness-collective-flip", default-features = false }
|
|
timestamp = { package = "srml-timestamp", path = "../timestamp", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
wabt = "0.9.2"
|
|
assert_matches = "1.3.0"
|
|
hex-literal = "0.2.1"
|
|
balances = { package = "srml-balances", path = "../balances" }
|
|
hex = "0.3.2"
|
|
timestamp = { package = "srml-timestamp", path = "../timestamp" }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"serde",
|
|
"codec/std",
|
|
"primitives/std",
|
|
"sr-primitives/std",
|
|
"randomness-collective-flip/std",
|
|
"runtime-io/std",
|
|
"rstd/std",
|
|
"sandbox/std",
|
|
"support/std",
|
|
"system/std",
|
|
"parity-wasm/std",
|
|
"pwasm-utils/std",
|
|
"wasmi-validation/std",
|
|
]
|