Closed ivpavici closed 2 months ago
I can take it since it's related to time and blocks
in CLI it could be governed by:
--block-generation <ON_DEMAND|PERIODIC>
--block-generation-period # only usable with --block-generation PERIODIC
requires a merge of https://github.com/0xSpaceShard/starknet-devnet-rs/pull/480/files but I already started based on this branch
I'll implement --block-generation-on <transaction|demand|<SECONDS>
as discussed on the chat.
A new block should be created at a fixed time interval selected by the user.
This functionality exists in Anvil and Katana:
evm_setIntervalMining
in https://book.getfoundry.sh/reference/anvil/#special-methods