AcalaNetwork / chopsticks

Create parallel reality of your Substrate network.
Apache License 2.0
133 stars 80 forks source link

normal sealing mode #737

Closed shunjizhan closed 5 months ago

shunjizhan commented 5 months ago

Currently it only supports "instant sealing" mode, where block production stops if there is no new tx. This works perfectly for most scenarios where we only care about state changes.

However this has some small issues when running chopsticks as a long-running fork testnet, for example:

A "normal sealing" mode would be nice a have for the fork testnet, where the behavior is more consistent with the original chain. i.e produce block every configurable X seconds no matter if there is new transaction.

ermalkaleci commented 5 months ago

there's also the option to call RPC dev_newBlock every x seconds

xlc commented 5 months ago

duplicates of #101