ソースを参照

benchmark: proposals/discussion: update version

conectado 4 年 前
コミット
87f10c914d

+ 1 - 1
Cargo.lock

@@ -3580,7 +3580,7 @@ dependencies = [
 
 [[package]]
 name = "pallet-proposals-discussion"
-version = "3.0.0"
+version = "3.0.1"
 dependencies = [
  "frame-benchmarking",
  "frame-support",

+ 1 - 1
runtime-modules/proposals/discussion/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = 'pallet-proposals-discussion'
-version = '3.0.0'
+version = '3.0.1'
 authors = ['Joystream contributors']
 edition = '2018'
 

+ 1 - 1
runtime-modules/proposals/discussion/src/benchmarking.rs

@@ -67,7 +67,7 @@ fn member_account<T: membership::Trait>(
     (account_id, T::MemberId::from(id.try_into().unwrap()))
 }
 
-const MAX_BYTES: u32 = 50000;
+const MAX_BYTES: u32 = 16384;
 
 benchmarks! {
     _ { }