3

Currently my consensus engine is Babe, and my finality gadget is Grandpa. But for testing environments I'm wondering if that there is a way to manually force the engine to produce a new block when I request.

Is there a way to implement this? or is it impossible for now?

1 Answer 1

2

One requirement of Babe is to produce at least one block per epoch.

You could create a "test" runtime with instant seal to achieve the result you desire.

Here are couple implementations of instant seal:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.