Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

expose offchain worker storage prefix #3977

Merged
merged 4 commits into from
Nov 1, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions core/offchain/src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ fn unavailable_yet<R: Default>(name: &str) -> R {
}

const LOCAL_DB: &str = "LOCAL (fork-aware) DB";
/// Local Storage Prefix used by the Offchain Worker API to
pub const STORAGE_PREFIX: &[u8] = b"storage";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps in such case it's better suited in primitives/offchain?


impl<Storage, Block> OffchainExt for Api<Storage, Block>
Expand Down