LinkedMap doesn't implement StoragePrefixedMap (#4760)

* LinkedMap doesn't implement StoragePrefixedMap

* fix test
This commit is contained in:
thiolliere
2020-01-29 13:36:52 +01:00
committed by GitHub
parent 2c90562818
commit 556c80e792
2 changed files with 0 additions and 18 deletions
@@ -167,18 +167,6 @@ pub fn decl_and_impl(scrate: &TokenStream, def: &DeclStorageDefExt) -> TokenStre
);
quote!(
impl<#impl_trait> #scrate::storage::StoragePrefixedMap<#value_type>
for #storage_struct #optional_storage_where_clause
{
fn module_prefix() -> &'static [u8] {
#instance_or_inherent::PREFIX.as_bytes()
}
fn storage_prefix() -> &'static [u8] {
#storage_name_str.as_bytes()
}
}
impl<#impl_trait> #scrate::#storage_generator_trait for #storage_struct
#optional_storage_where_clause
{