From 8c56d4390df81f8a49a4f955691b540fbf2a134b Mon Sep 17 00:00:00 2001 From: dastansam Date: Sat, 4 May 2024 15:14:55 +0200 Subject: [PATCH] Add prdoc --- prdoc/pr_4378.prdoc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 prdoc/pr_4378.prdoc diff --git a/prdoc/pr_4378.prdoc b/prdoc/pr_4378.prdoc new file mode 100644 index 0000000000000..13b1182f275f2 --- /dev/null +++ b/prdoc/pr_4378.prdoc @@ -0,0 +1,15 @@ +# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0 +# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json + +title: "Use `versioned_type!` macro for `VersionedXcm`" + +doc: + - audience: Runtime Dev + description: | + Currently, all other versioned types in the `stagin-xcm` are created using `versioned_type!` macro, except for `VersionedXcm`. + This PR adds changes `versioned_type` macro so that it can be used for `VersionedXcm` as well. This is done by adding optional + generic type param to an enum that is passed to the macro. + +crates: + - name: staging-xcm + bump: minor