Skip to content

Commit

Permalink
fix: oracle collection bench tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wischli committed Mar 28, 2024
1 parent 12959cb commit 1bd2a30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pallets/oracle-collection/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pub const NOW: Timestamp = 1000;

frame_support::parameter_types! {
#[derive(Clone, PartialEq, Eq, Debug, TypeInfo, Encode, Decode, MaxEncodedLen)]
pub const MaxFeedersPerKey: u32 = 10;
pub const MaxFeedersPerKey: u32 = 5;
}

frame_support::construct_runtime!(
Expand Down Expand Up @@ -96,7 +96,7 @@ impl pallet_oracle_collection::Config for Runtime {
type CollectionId = CollectionId;
type FeederId = AccountId;
type IsAdmin = MockIsAdmin;
type MaxCollectionSize = ConstU32<10>;
type MaxCollectionSize = ConstU32<100>;
type MaxFeedersPerKey = MaxFeedersPerKey;
type OracleKey = OracleKey;
type OracleProvider = MockProvider;
Expand Down

0 comments on commit 1bd2a30

Please sign in to comment.