You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
asset-registry: Pass Asset Id to AuthorityOrigin (#762)
* asset-registry: Pass Asset Id to AuthorityOrigin
Different AssetId's may require different origin checks, which is
currently not possible. These changes use EnsureOriginWithArg to allow
users of this pallet to tailor the origin check to take the `asset_id`
itself in consideration when choosing the specific `EnsureOrigin`
implementation to be applied.
* fixup!
* Update asset-registry/src/mock/para.rs
* Update asset-registry/src/mock/para.rs
* fmt
Co-authored-by: Shaun Wang <[email protected]>
Co-authored-by: Bryan Chen <[email protected]>
0 commit comments