When updating to use the latest Substrate with V14 metadata, your runtime will fail to compile.
The following steps are required to make your pallets/runtime compatible. The compiler will guide you...
- Remove any
#[pallet::metadata(..)]
attributes from the pallet Event definition. - Add
scale-info
dependency to pallet and runtime crates:scale-info = { version = "1.0.0", default-features = false, features = ["derive"] }
std = [ "scale-info/std" ]