Bastian Köcher
74428fa8ac
generate_storage_alias: Rewrite as proc macro attribute ( #11387 )
...
* generate_storage_alias: Rewrite as proc macro attribute
This rewrites the `generate_storage_alias!` declarative macro as proc-macro attribute. While doing
this the name is changed to `storage_alias`. The prefix can now also be the name of a pallet. This
makes storage aliases work in migrations for all kind of chains and not just for the ones that use
predefined prefixes.
* Fix compilation and FMT
* Moare fixes
* 🤦
* ......
* Rework the syntax and support instancing
* FMT
* Prefix variants with `Storage`
* Make it compile
* Fix where clause on rust stable
2022-05-17 18:45:56 -04:00
..
2022-05-16 10:07:00 +02:00
2022-05-16 10:07:00 +02:00
2022-05-16 10:07:00 +02:00
2022-05-16 10:07:00 +02:00
2022-05-16 10:07:00 +02:00
2022-05-16 10:07:00 +02:00
2022-05-17 18:45:56 -04:00
2022-05-16 10:07:00 +02:00
2022-05-16 10:07:00 +02:00
2022-05-16 10:07:00 +02:00
2022-05-16 10:07:00 +02:00
2022-05-17 21:12:02 +00:00
2022-05-17 21:12:02 +00:00
2022-05-17 20:28:34 +02:00
2022-05-17 18:45:56 -04:00
2022-05-16 10:07:00 +02:00
2022-05-16 10:07:00 +02:00
2022-05-16 10:07:00 +02:00
2022-05-16 10:07:00 +02:00
2022-05-17 18:45:56 -04:00
2022-05-16 10:07:00 +02:00
2022-05-16 10:25:34 +02:00
2022-05-16 10:07:00 +02:00
2022-05-17 20:28:34 +02:00
2022-05-16 10:07:00 +02:00
2022-05-16 10:07:00 +02:00
2022-05-16 10:07:00 +02:00
2022-05-17 21:12:02 +00:00
2022-05-17 20:28:34 +02:00
2022-05-16 10:07:00 +02:00
2022-05-16 10:07:00 +02:00
2022-05-16 10:07:00 +02:00
2022-05-16 10:07:00 +02:00
2022-05-17 21:12:02 +00:00
2022-05-17 18:45:56 -04:00
2022-05-16 10:07:00 +02:00
2022-05-16 10:07:00 +02:00
2022-05-16 10:07:00 +02:00
2022-05-16 10:07:00 +02:00
2022-05-16 10:07:00 +02:00
2022-05-16 10:07:00 +02:00
2022-05-16 10:07:00 +02:00
2022-05-16 10:07:00 +02:00
2022-05-17 20:28:34 +02:00
2022-05-17 21:12:02 +00:00
2022-05-17 18:45:56 -04:00
2022-05-16 10:07:00 +02:00
2022-05-16 10:07:00 +02:00
2022-05-17 18:45:56 -04:00
2022-05-17 18:45:56 -04:00
2022-05-16 10:07:00 +02:00
2022-05-17 21:12:02 +00:00
2022-05-16 10:07:00 +02:00
2022-05-16 10:07:00 +02:00
2022-05-17 21:12:02 +00:00
2022-05-04 13:38:54 +00:00
2022-05-16 13:38:12 +00:00
2022-05-16 10:07:00 +02:00
2022-05-17 20:28:34 +02:00
2022-05-16 10:07:00 +02:00