mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-24 17:11:05 +00:00
Enable cross-chain Coretime region transfers (#3077)
This PR allows Coretime regions to be transferable via XCM. --------- Co-authored-by: Dónal Murray <donal.murray@parity.io>
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
use super::*;
|
||||
use frame_support::{
|
||||
pallet_prelude::{DispatchResult, *},
|
||||
traits::nonfungible::{Inspect, Transfer},
|
||||
traits::nonfungible::{Inspect, Mutate, Transfer},
|
||||
};
|
||||
use sp_std::vec::Vec;
|
||||
|
||||
@@ -50,3 +50,7 @@ impl<T: Config> Transfer<T::AccountId> for Pallet<T> {
|
||||
Self::do_transfer((*index).into(), None, dest.clone()).map_err(Into::into)
|
||||
}
|
||||
}
|
||||
|
||||
// We don't allow any of the mutate operations, so the default implementation is used, which will
|
||||
// return `TokenError::Unsupported` in case any of the operations is called.
|
||||
impl<T: Config> Mutate<T::AccountId> for Pallet<T> {}
|
||||
|
||||
Reference in New Issue
Block a user