File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
runtimes/bulletin-polkadot/tests Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -79,8 +79,8 @@ fn transaction_storage_runtime_sizes() {
7979 2000 , // 2 KB
8080 1 * 1024 * 1024 , // 1 MB
8181 4 * 1024 * 1024 , // 4 MB
82- 6 * 1024 * 1024 , // 6 MB
83- 8 * 1024 * 1024 , // 8 MB
82+ 4 * 1024 * 1024 , // another 4 MB (fails here)
83+ 4 * 1024 * 1024 , // another 4 MB
8484 ] ;
8585 let total_bytes: u64 = sizes. iter ( ) . map ( |s| * s as u64 ) . sum ( ) ;
8686
@@ -99,7 +99,7 @@ fn transaction_storage_runtime_sizes() {
9999 for size in sizes {
100100 let call = RuntimeCall :: TransactionStorage ( TxCall :: < runtime:: Runtime > :: store { data : vec ! [ 0u8 ; size] } ) ;
101101 let res = construct_and_apply_extrinsic ( alice_pair. clone ( ) , call) ;
102- assert ! ( res. is_ok( ) , "Failed at size={} bytes: {:?}" , size , res) ;
102+ assert ! ( res. is_ok( ) , "Failed at size={} bytes: {:?}" , block_number , res) ;
103103
104104 block_number += 1 ;
105105 run_to_block ( block_number, || None ) ;
You can’t perform that action at this time.
0 commit comments