Skip to content

Commit

Permalink
updated runtime-common
Browse files Browse the repository at this point in the history
  • Loading branch information
lemunozm committed Aug 5, 2024
1 parent 8a4c0b8 commit ca0872a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion runtime/common/src/changes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ impl<T: Changeable, Options: Clone> RuntimeChange<T, Options> {
use sp_std::vec;

let epoch = Requirement::NextEpoch;
let week = Requirement::DelayTime(SECONDS_PER_WEEK as u32);
let week = Requirement::DelayTime(SECONDS_PER_WEEK.inner as u32);
let blocked = Requirement::BlockedByLockedRedemptions;

match self {
Expand Down
3 changes: 2 additions & 1 deletion runtime/common/src/oracle.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
use cfg_primitives::{
conversion::fixed_point_to_balance,
types::{AccountId, Balance, PoolId},
Millis,
};
use cfg_traits::{HasLocalAssetRepresentation, Millis, PoolInspect, ValueProvider};
use cfg_traits::{HasLocalAssetRepresentation, PoolInspect, ValueProvider};
use cfg_types::{
fixed_point::{Quantity, Ratio},
oracles::OracleKey,
Expand Down

0 comments on commit ca0872a

Please sign in to comment.