File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -148,8 +148,9 @@ function printStatistics(dataSize) {
148148 console . log ( '═══════════════════════════════════════════════════════════════════════════════' ) ;
149149 for ( const blockNum of sortedBlocks ) {
150150 const count = txsPerBlock [ blockNum ] ;
151+ const size = formatBytes ( count * CHUNK_SIZE ) ;
151152 const bar = '█' . repeat ( count ) ;
152- console . log ( `| Block #${ blockNum . toString ( ) . padEnd ( 10 ) } | ${ count . toString ( ) . padStart ( 3 ) } txs | ${ bar } ` ) ;
153+ console . log ( `| Block #${ blockNum . toString ( ) . padEnd ( 10 ) } | ${ count . toString ( ) . padStart ( 3 ) } txs | ${ size . padEnd ( 12 ) } | ${ bar } ` ) ;
153154 }
154155 console . log ( '═══════════════════════════════════════════════════════════════════════════════' ) ;
155156 console . log ( '\n' ) ;
@@ -213,7 +214,7 @@ async function main() {
213214 const { sudoSigner, _ } = setupKeyringAndSigners ( SEED , '//Bigdatasigner' ) ;
214215
215216 // Let's do parallelism with multiple accounts
216- const signers = Array . from ( { length : 12 } , ( _ , i ) => {
217+ const signers = Array . from ( { length : 18 } , ( _ , i ) => {
217218 if ( ! signerDiscriminator ) {
218219 return newSigner ( `//Signer${ i + 1 } ` )
219220 } else {
You can’t perform that action at this time.
0 commit comments