Skip to content

Commit

Permalink
chore: bump version to 2.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
abdulhakim2902 committed Oct 5, 2022
1 parent 0e19788 commit 4b2b211
Show file tree
Hide file tree
Showing 3 changed files with 76 additions and 4 deletions.
67 changes: 66 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion runtime/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = 'debio-runtime'
version = '2.2.1'
version = '2.2.2'
edition = '2021'
license = 'AGPL-3.0'
authors = ['DeBio Dev Team <[email protected]>']
Expand Down
11 changes: 9 additions & 2 deletions runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
// `spec_version`, and `authoring_version` are the same between Wasm and native.
// This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use
// the compatible custom types.
spec_version: 2021,
spec_version: 2022,
impl_version: 1,
apis: RUNTIME_API_VERSIONS,
transaction_version: 1,
Expand Down Expand Up @@ -715,6 +715,11 @@ parameter_types! {
pub const LabPalletId: PalletId = PalletId(*b"dbio/lab");
}

parameter_types! {
// Six days in milliseconds
pub const UnstakePeriode: Moment = 6 * 24 * 60 * 60 * 1000;
}

impl labs::Config for Runtime {
type Event = Event;
type Currency = Balances;
Expand Down Expand Up @@ -766,8 +771,10 @@ impl service_request::Config for Runtime {
type Event = Event;
type TimeProvider = Timestamp;
type Currency = Balances;
type Assets = OctopusAssets;
type Labs = Labs;
type Orders = Orders;
type Services = Services;
type UnstakePeriode = UnstakePeriode;
type ServiceRequestWeightInfo = ();
}

Expand Down

0 comments on commit 4b2b211

Please sign in to comment.