File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
pallets/transaction-storage/src Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -298,15 +298,15 @@ pub mod pallet {
298298 fn integrity_test ( ) {
299299 assert ! (
300300 !T :: MaxBlockTransactions :: get( ) . is_zero( ) ,
301- "Not useful if data cannot be stored "
301+ "MaxTransactionSize must be greater than zero "
302302 ) ;
303- assert ! ( !T :: MaxTransactionSize :: get( ) . is_zero( ) , "Not useful if data cannot be stored " ) ;
303+ assert ! ( !T :: MaxTransactionSize :: get( ) . is_zero( ) , "MaxTransactionSize must be greater than zero " ) ;
304304 let default_period = sp_transaction_storage_proof:: DEFAULT_STORAGE_PERIOD . into ( ) ;
305305 let storage_period = GenesisConfig :: < T > :: default ( ) . storage_period ;
306- assert_eq ! ( storage_period, default_period, "Not useful if data is not stored " ) ;
306+ assert_eq ! ( storage_period, default_period, "GenesisConfig.storage_period must match DEFAULT_STORAGE_PERIOD " ) ;
307307 assert ! (
308308 !T :: AuthorizationPeriod :: get( ) . is_zero( ) ,
309- "Not useful if authorizations are never valid "
309+ "AuthorizationPeriod must be greater than zero "
310310 ) ;
311311 }
312312 }
You can’t perform that action at this time.
0 commit comments