Assign unique storage names to pallets. (#5010)

* Assign unique storage names to pallets.

* Bump spec

* Upgrade logic for finality tracker (untested)

* Logic for migrating Identity (untested)

* Logic for migrating transaction-payment

* Fix tests

* Fix `decl_storage` build

* Contract -> Contracts

* Update Cargo.lock

* bump spec

* update migration

* Fix merge error

* Migration for contracts

* Remove serde

* Remove some illegal spaces and Options

* Fix types in identity.

* Minor variable rename

Co-authored-by: Gavin Wood <gavin@parity.io>
This commit is contained in:
Shawn TabriziandGavin Wood authored and GitHub committed 2020-03-14 12:44:48 +01:00
1 parent 7285cbc801
commit 74f8db5def
16 files changed
+246 -11

No files matched your search

+1 -1
View File
@@ -131,7 +131,7 @@ pub trait Trait: frame_system::Trait + pallet_timestamp::Trait {
}
decl_storage! {
trait Store for Module<T: Trait> as Example {
trait Store for Module<T: Trait> as EVM {
Accounts get(fn accounts) config(): map hasher(blake2_256) H160 => Account;
AccountCodes: map hasher(blake2_256) H160 => Vec<u8>;
AccountStorages: double_map hasher(blake2_256) H160, hasher(blake2_256) H256 => H256;