Enhance decl storage (#777)

* enhance macro decl_storage()

* update the state root hash

* fix one comment
This commit is contained in:
guanqun authored and Gav Wood committed 2018-10-05 14:20:32 +02:00
1 parent 200a716a1a
commit 1cc0e3b6ea
28 files changed
+2031 -1459

No files matched your search

+1 -2
View File
@@ -256,9 +256,8 @@ pub enum StorageFunctionType {
#[derive(Clone, PartialEq, Eq, Encode)]
#[cfg_attr(feature = "std", derive(Decode, Debug, Serialize))]
pub enum StorageFunctionModifier {
None,
Optional,
Default,
Required,
}
/// All metadata about the outer dispatch.