Skip to content

Commit

Permalink
Amend fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ebma committed Aug 24, 2023
1 parent 0ce16d9 commit be03684
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pallets/oracle/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pub use orml_oracle::{DataFeeder, DataProvider, TimestampedValue};
#[cfg(test)]
pub mod mock;

#[cfg(any(test, feature = "testing-utils"))]
#[cfg(feature = "testing-utils")]
pub mod oracle_mock;

pub mod types;
Expand Down
2 changes: 1 addition & 1 deletion testchain/runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ impl oracle::Config for Runtime {
type WeightInfo = oracle::SubstrateWeight<Runtime>;
type DataProvider = DataProviderImpl;

#[cfg(feature = "testing-utils")]
#[cfg(any(feature = "runtime-benchmarks", feature = "testing-utils"))]
type DataFeedProvider = MockDataCollector<AccountId, Moment>;
}

Expand Down

0 comments on commit be03684

Please sign in to comment.