pallet macro: do not generate try-runtime related code when frame-support...
pallet macro: do not generate try-runtime related code when frame-support doesn't have try-runtime. (#5099)
Status: Ready for review
Fix https://github.com/paritytech/polkadot-sdk/issues/5092
Introduce a new macro in frame-support which discard content if
`try-runtime` is not enabled.
Use this macro inside `frame-support-procedural` to generate code only
when `frame-support` is compiled with `try-runtime`.
---------
Co-authored-by: Bastian Köcher <[email protected]>
parent
b9aa8ab6
Pipeline
#486166
waiting for manual action
with stages
in
1 hour, 16 minutes, and 48 seconds
Please register or sign in to comment