-
Notifications
You must be signed in to change notification settings - Fork 9
feat: migrate crab backing to use pallet! #560
feat: migrate crab backing to use pallet! #560
Conversation
5ba5bd3 to
c8ba4bd
Compare
|
To keep the crab backing pallet storage prefix unchanged,
|
|
it seems no solution to specify the storge prefix yet. |
c8ba4bd to
1818292
Compare
rename CrabBacking to DarwiniaCrabBacking, so the module name changed |
35e8612 to
046acba
Compare
|
@songtianyi Compilation failed and suggest to submit pull requests for each pallet migration. |
046acba to
c48831e
Compare
|
Could you follow #568's style? |
|
No storage in this pallet. Migration is not needed. The storage prefix changes doesn't affect anything. |
Part of #561.
Converts the crab backing pallet to the new pallet attribute macro introduced in #6877.
Upgrade guidelines used.
From checking upgrade guidelines
Common notes
The metadata for CrabBacking before migration
{ name: CrabBacking, storage: { prefix: DarwiniaCrabBacking, items: [] }, calls: null, events: null, constants: [ { name: ModuleId, type: ModuleId, value: da/crabk, documentation: [] } ], errors: [], index: 34 },The metadata for CrabBacking after migration
{ name: DarwiniaCrabBacking, storage: { prefix: DarwiniaCrabBacking, items: [] }, calls: null, events: null, constants: [ { name: ModuleId, type: ModuleId, value: da/crabk, documentation: [] } ], errors: [], index: 34 },