One question, is there a way to make Ganache execute more than 1 single transaction per block?
Good question, this is a question about Ganache
and I found a correct answer:
Ganache can be configured to mine new blocks on a specific time interval.
With this setting enabled you are able to include multiple transactions in a single block.
To enable this functionality in the GUI, access the settings by clicking the gear icon in the top right corner.
Choose “Server” settings.
From there you will be able to disable auto-mining and set the number of seconds between blocks.
To enable it in
ganache-cli
, include the--blockTime [number]
flag when launching the program.[number]
is the number of seconds between blocks.
If you want to look at the original answer, you can find here: https://ethereum.stackexchange.com/questions/78451/how-to-insert-multiple-transactions-into-one-block-in-ganache-gui