Skip to content

Commit

Permalink
Add prdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
dastansam committed May 4, 2024
1 parent 61a62b7 commit 8c56d43
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions prdoc/pr_4378.prdoc
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 8c56d43

Please sign in to comment.