Skip to content

Commit

Permalink
Fix swork-benchmarking build error
Browse files Browse the repository at this point in the history
  • Loading branch information
wuhaixian1984 committed Sep 11, 2024
1 parent 25846e0 commit 610e8cd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cstrml/swork/benchmarking/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ parameter_types! {
pub const FileReplica: u32 = 4;
pub const InitFileByteFee: Balance = 1000; // Need align with FileDuration and FileBaseReplica
pub const InitFileKeysCountFee: Balance = 1000;
pub const InitMaxFileByteFee: Balance = 1_000_000;
pub const InitMaxFileKeysCountFee: Balance = 1_000_000;
pub const InitMaxFileBaseFee: Balance = 1_000_000_000_000;
pub const StorageReferenceRatio: (u128, u128) = (1, 2);
pub const StorageIncreaseRatio: Perbill = Perbill::from_percent(1);
pub const StorageDecreaseRatio: Perbill = Perbill::from_percent(1);
Expand All @@ -108,6 +111,9 @@ impl market::Config for Test {
type FileReplica = FileReplica;
type InitFileByteFee = InitFileByteFee;
type InitFileKeysCountFee = InitFileKeysCountFee;
type InitMaxFileByteFee = InitMaxFileByteFee;
type InitMaxFileBaseFee = InitMaxFileBaseFee;
type InitMaxFileKeysCountFee = InitMaxFileKeysCountFee;
type StorageReferenceRatio = StorageReferenceRatio;
type StorageIncreaseRatio = StorageIncreaseRatio;
type StorageDecreaseRatio = StorageDecreaseRatio;
Expand Down

0 comments on commit 610e8cd

Please sign in to comment.