Browse Source

vouchers: reduce initial default object limits

Mokhtar Naamani 3 years ago
parent
commit
bb011dbebe
1 changed files with 3 additions and 3 deletions
  1. 3 3
      runtime-modules/storage/src/data_directory.rs

+ 3 - 3
runtime-modules/storage/src/data_directory.rs

@@ -42,11 +42,11 @@ use crate::*;
 /// The default maximum storage size (bytes) that lead can set on the voucher of an owner
 pub const DEFAULT_VOUCHER_SIZE_LIMIT_UPPER_BOUND: u64 = 540_000_000_000;
 /// The default maximum number of objects that lead can set on the voucher of an owner
-pub const DEFAULT_VOUCHER_OBJECTS_LIMIT_UPPER_BOUND: u64 = 50_000;
+pub const DEFAULT_VOUCHER_OBJECTS_LIMIT_UPPER_BOUND: u64 = 15_000;
 /// The default frame_system global storage limits
-pub const DEFAULT_GLOBAL_VOUCHER: Voucher = Voucher::new(110_000_000_000_000, 100_000_000);
+pub const DEFAULT_GLOBAL_VOUCHER: Voucher = Voucher::new(110_000_000_000_000, 10_000_000);
 /// The default initial owner voucher
-pub const DEFAULT_VOUCHER: Voucher = Voucher::new(110_000_000_000, 10_000);
+pub const DEFAULT_VOUCHER: Voucher = Voucher::new(110_000_000_000, 5_000);
 /// The default starting upload blocked status
 pub const DEFAULT_UPLOADING_BLOCKED_STATUS: bool = false;