diff --git a/pallets/ddc-clusters/src/lib.rs b/pallets/ddc-clusters/src/lib.rs index ba9b91aba..0f7b149d1 100644 --- a/pallets/ddc-clusters/src/lib.rs +++ b/pallets/ddc-clusters/src/lib.rs @@ -70,7 +70,7 @@ pub mod pallet { /// The current storage version. const STORAGE_VERSION: frame_support::traits::StorageVersion = - frame_support::traits::StorageVersion::new(2); + frame_support::traits::StorageVersion::new(3); #[pallet::pallet] #[pallet::storage_version(STORAGE_VERSION)] diff --git a/pallets/ddc-payouts/src/lib.rs b/pallets/ddc-payouts/src/lib.rs index df280d392..15365307c 100644 --- a/pallets/ddc-payouts/src/lib.rs +++ b/pallets/ddc-payouts/src/lib.rs @@ -257,6 +257,7 @@ pub mod pallet { NoBucketWithId, NotBucketOwner, IncorrectClusterId, + ClusterProtocolParamsNotSet, } #[pallet::storage] @@ -624,7 +625,7 @@ pub mod pallet { // deduct fees let fees = T::ClusterProtocol::get_fees_params(&cluster_id) - .map_err(|_| Error::::NotExpectedClusterState)?; + .map_err(|_| Error::::ClusterProtocolParamsNotSet)?; let total_customer_charge = (|| -> Option { billing_report diff --git a/runtime/cere-dev/src/lib.rs b/runtime/cere-dev/src/lib.rs index 41251e123..00cbc7b72 100644 --- a/runtime/cere-dev/src/lib.rs +++ b/runtime/cere-dev/src/lib.rs @@ -146,7 +146,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { // and set impl_version to 0. If only runtime // implementation changes and behavior does not, then leave spec_version as // is and increment impl_version. - spec_version: 54109, + spec_version: 54110, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 19, @@ -1402,7 +1402,7 @@ pub type SignedPayload = generic::SignedPayload; pub type CheckedExtrinsic = generic::CheckedExtrinsic; /// Runtime migrations -type Migrations = (); +type Migrations = (pallet_ddc_clusters::migrations::v3::MigrateToV3,); /// Executive: handles dispatch to the various modules. pub type Executive = frame_executive::Executive<