Skip to content
Snippets Groups Projects
Commit 0f36291c authored by Wei Tang's avatar Wei Tang
Browse files

Add back necessary storage items

parent d312dc98
Branches
No related merge requests found
use primitives::{BlockNumber, Hash, ValidatorId};
use primitives::{H256, BlockNumber, Hash, ValidatorId};
use primitives::storage::well_known_keys;
use srml_support::storage::unhashed;
use state::{ActiveState, CrystallizedState, BlockVoteInfo};
use super::UncheckedExtrinsic;
use super::Digest as DigestT;
......@@ -9,6 +10,12 @@ storage_items! {
pub ParentHash: b"sys:parenthash" => default Hash;
pub ExtrinsicsRoot: b"sys:extrinsicsroot" => default Hash;
pub Digest: b"sys:digest" => default DigestT;
pub BlockHashesBySlot: b"sys:blockhashesbyslot" => map [ u64 => H256 ];
pub Active: b"sys:active" => default ActiveState;
pub ActiveRoot: b"sys:activeroot" => default H256;
pub Crystallized: b"sys:crystallized" => default CrystallizedState;
pub CrystallizedRoot: b"sys:crystallizedroot" => default H256;
pub BlockVoteCache: b"sys:blockvotecache" => default map [ H256 => BlockVoteInfo ];
}
pub struct UncheckedExtrinsics;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment