mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-08 21:48:02 +00:00
bb2df2122e
* Add transactional storage functionality to OverlayChanges A collection already has a natural None state. No need to wrap it with an option. * Add storage transactions runtime interface * Add frame support for transactions * Fix committed typo * Rename 'changes' variable to 'overlay' * Fix renaming change * Fixed strange line break * Rename clear to clear_where * Add comment regarding delete value on mutation * Add comment which changes are covered by a transaction * Do force the arg to with_transaction return a Result * Use rust doc comments on every documentable place * Fix wording of insert_diry doc * Improve doc on start_transaction * Rename value to overlayed in close_transaction * Inline negation * Improve wording of close_transaction comments * Get rid of an expect by using get_or_insert_with * Remove trailing whitespace * Rename should to expected in tests * Rolling back a transaction must mark the overlay as dirty * Protect client initiated storage tx from being droped by runtime * Review nits * Return Err when entering or exiting runtime fails * Documentation fixup * Remove close type * Move enter/exit runtime to excute_aux in the state-machine * Rename Discard -> Rollback * Move child changeset creation to constructor * Move child spawning into the closure * Apply suggestions from code review Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * Fixup for code suggestion * Unify re-exports * Rename overlay_changes to mod.rs and move into subdir * Change proof wording * Adapt a new test from master to storage-tx * Suggestions from the latest round of review * Fix warning message Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
38 lines
1.0 KiB
TOML
38 lines
1.0 KiB
TOML
[package]
|
|
name = "sp-state-machine"
|
|
version = "0.8.0-rc3"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
description = "Substrate State Machine"
|
|
edition = "2018"
|
|
license = "Apache-2.0"
|
|
homepage = "https://substrate.dev"
|
|
repository = "https://github.com/paritytech/substrate/"
|
|
documentation = "https://docs.rs/sp-state-machine"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
log = "0.4.8"
|
|
parking_lot = "0.10.0"
|
|
hash-db = "0.15.2"
|
|
trie-db = "0.21.0"
|
|
trie-root = "0.16.0"
|
|
sp-trie = { version = "2.0.0-rc3", path = "../trie" }
|
|
sp-core = { version = "2.0.0-rc3", path = "../core" }
|
|
sp-panic-handler = { version = "2.0.0-rc3", path = "../panic-handler" }
|
|
codec = { package = "parity-scale-codec", version = "1.3.1" }
|
|
num-traits = "0.2.8"
|
|
rand = "0.7.2"
|
|
sp-externalities = { version = "0.8.0-rc3", path = "../externalities" }
|
|
itertools = "0.9"
|
|
smallvec = "1.4"
|
|
|
|
[dev-dependencies]
|
|
hex-literal = "0.2.1"
|
|
sp-runtime = { version = "2.0.0-rc3", path = "../runtime" }
|
|
pretty_assertions = "0.6.1"
|
|
|
|
[features]
|
|
default = []
|