Migrate pallet-grandpa to attribute macros (#8724)

* frame/grandpa: migrate Config

* frame/grandpa: migrate decl_module

* frame/grandpa: migrate decl_event

* frame/grandpa: migrate decl_error

* frame/grandpa: migrate decl_storage

* frame/grandpa: make report_equivocation_unsigned pub(super)

* frame/grandpa: remove unused imports

* frame/grandpa: replace deprecated Module with Pallet

* frame/grandpa: add RawEvent for compatibility

* frame/grandpa: create migration to new storage prefix

* frame/grandpa: bump version to 4.0.0

* frame/grandpa: address review comments

* Try using version 3.1 instead

* frame/grandpa: tweak log text to say cancelled
This commit is contained in:
Jon Häggblad authored and GitHub committed 2021-05-26 16:26:15 +00:00
1 parent 4ee5da2403
commit acef22bbd2
14 files changed
+417 -225

No files matched your search

@@ -19,7 +19,7 @@ frame-support = { version = "3.0.0", default-features = false, path = "../../sup
frame-system = { version = "3.0.0", default-features = false, path = "../../system" }
pallet-babe = { version = "3.0.0", default-features = false, path = "../../babe" }
pallet-balances = { version = "3.0.0", default-features = false, path = "../../balances" }
pallet-grandpa = { version = "3.0.0", default-features = false, path = "../../grandpa" }
pallet-grandpa = { version = "3.1.0", default-features = false, path = "../../grandpa" }
pallet-im-online = { version = "3.0.0", default-features = false, path = "../../im-online" }
pallet-offences = { version = "3.0.0", default-features = false, features = ["runtime-benchmarks"], path = "../../offences" }
pallet-session = { version = "3.0.0", default-features = false, path = "../../session" }