You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See paritytech/substrate#1427. MemoryDB is different from a lot of Rust storage types in that the new function takes an argument. I think it would make more sense for MemoryDB::new to construct an empty DB, alike, MemoryDB::default. A new from_data function could be added that replaces the old new function:
See paritytech/substrate#1427.
MemoryDB
is different from a lot of Rust storage types in that thenew
function takes an argument. I think it would make more sense forMemoryDB::new
to construct an empty DB, alike,MemoryDB::default
. A newfrom_data
function could be added that replaces the oldnew
function:The text was updated successfully, but these errors were encountered: