mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-19 19:15:41 +00:00
feat/ocw/bookkeeping (#5200)
Co-Authored-By: Kian Paimani <5588131+kianenigma@users.noreply.github.com> Co-Authored-By: Tomasz Drwięga <tomusdrw@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
f66168505b
commit
72ee7d5797
@@ -12,12 +12,17 @@ repository = "https://github.com/paritytech/substrate/"
|
||||
targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
[dependencies]
|
||||
sp-core = { version = "2.0.0-dev", default-features = false, path = "../core" }
|
||||
sp-api = { version = "2.0.0-dev", default-features = false, path = "../api" }
|
||||
sp-runtime = { version = "2.0.0-dev", default-features = false, path = "../runtime" }
|
||||
|
||||
[dev-dependencies]
|
||||
sp-state-machine = { version = "0.8.0-alpha.5", default-features = false, path = "../state-machine" }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"sp-core/std",
|
||||
"sp-api/std",
|
||||
"sp-runtime/std"
|
||||
]
|
||||
|
||||
@@ -19,8 +19,8 @@
|
||||
#![cfg_attr(not(feature = "std"), no_std)]
|
||||
#![warn(missing_docs)]
|
||||
|
||||
/// Local Storage Prefix used by the Offchain Worker API to
|
||||
pub const STORAGE_PREFIX: &[u8] = b"storage";
|
||||
/// Re-export of parent module scope storage prefix.
|
||||
pub use sp_core::offchain::STORAGE_PREFIX as STORAGE_PREFIX;
|
||||
|
||||
sp_api::decl_runtime_apis! {
|
||||
/// The offchain worker api.
|
||||
|
||||
Reference in New Issue
Block a user