mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 05:11:09 +00:00
expose offchain worker storage prefix (#3977)
* expose offchain worker storage prefix * add docs * move STORAGE_PREFIX to primitives
This commit is contained in:
committed by
GitHub
parent
2ff04d332d
commit
4852763d73
@@ -22,6 +22,9 @@
|
||||
use client::decl_runtime_apis;
|
||||
use sr_primitives::traits::NumberFor;
|
||||
|
||||
/// Local Storage Prefix used by the Offchain Worker API to
|
||||
pub const STORAGE_PREFIX: &[u8] = b"storage";
|
||||
|
||||
decl_runtime_apis! {
|
||||
/// The offchain worker api.
|
||||
pub trait OffchainWorkerApi {
|
||||
|
||||
Reference in New Issue
Block a user