CodeChain-io/codechain

Empty blocks are generated in TPS checker

majecty opened this issue · 1 comments

The TPS checker script: https://github.com/CodeChain-io/codechain/blob/tps-checkdraft/test/src/tendermint.test/throuput.ts

When we run the TPS checker script, sometimes empty blocks are generated.

Since the TPS checker sends a lot of transactions, all blocks should not be empty. It is a weird situation.

I'm suspecting transaction propagation.

After making the TPS check script to use multi-process, it disappeared. It looks like transactions were not enough.