Skip to content

Commit

Permalink
update for oracle
Browse files Browse the repository at this point in the history
  • Loading branch information
xlc committed May 26, 2020
1 parent acb6cd9 commit 2a2265d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -520,8 +520,8 @@ impl orml_auction::Trait for Runtime {

parameter_types! {
pub const MinimumCount: u32 = 1;
pub const ExpiresIn: Moment = 1000 * 60 * 30; // 30 mins
pub const OracleUnsignedPriority: TransactionPriority = TransactionPriority::max_value() - 1;
pub const ExpiresIn: Moment = 1000 * 60 * 60; // 60 mins
pub const OracleUnsignedPriority: TransactionPriority = TransactionPriority::max_value() * 0.9;
}

impl orml_oracle::Trait for Runtime {
Expand Down
8 changes: 4 additions & 4 deletions src/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,12 +207,12 @@ pub fn latest_mandala_testnet_config() -> ChainSpec {
vec![
// 5F98oWfz2r5rcRVnP9VCndg33DAAsky3iuoBSpaPUbgN9AJn
hex!["8815a8024b06a5b4c8703418f52125c923f939a5c40a717f6ae3011ba7719019"].into(),
// 5GeTpaLR637ztQqFvwCZocZhLp1QqHURKH6Gj7CZteRCAhMs
hex!["cab00722883a824e7fc368ff2ad53ffcce3fa3b794080311218bee8e902929df"].into(),
// 5Fe3jZRbKes6aeuQ6HkcTvQeNhkkRPTXBwmNkuAPoimGEv45
hex!["9e22b64c980329ada2b46a783623bcf1f1d0418f6a2b5fbfb7fb68dbac5abf0f"].into(),
],
vec![(
// 5F98oWfz2r5rcRVnP9VCndg33DAAsky3iuoBSpaPUbgN9AJn
hex!["8815a8024b06a5b4c8703418f52125c923f939a5c40a717f6ae3011ba7719019"].into(),
// 5Fe3jZRbKes6aeuQ6HkcTvQeNhkkRPTXBwmNkuAPoimGEv45
hex!["9e22b64c980329ada2b46a783623bcf1f1d0418f6a2b5fbfb7fb68dbac5abf0f"].into(),
hex!["9e22b64c980329ada2b46a783623bcf1f1d0418f6a2b5fbfb7fb68dbac5abf0f"].unchecked_into(),
)],
)
Expand Down

0 comments on commit 2a2265d

Please sign in to comment.