Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to enable manual sealing of blocks when in dev mode #151

Merged
merged 2 commits into from
Dec 18, 2023

Conversation

mattdean-digicatapult
Copy link
Contributor

@mattdean-digicatapult mattdean-digicatapult commented Dec 18, 2023

When running integration tests on repositories that depend on dscp-node we have to limit tests that interact with the chain because of the 6s block generation time. This PR enables a --manual_seal option when running with --dev that will allow us to manually trigger block generation and finalisation usng an RPC command. This should make it much more practical for us to have an extensive suite of integration tests.

@mattdean-digicatapult mattdean-digicatapult marked this pull request as ready for review December 18, 2023 15:39
Copy link
Contributor

@dblane-digicatapult dblane-digicatapult left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should add some tests for this flag?

@mattdean-digicatapult
Copy link
Contributor Author

Should add some tests for this flag?

I honestly don't see how @dblane-digicatapult without adding some substantial apparatus to the node. Given we don't test any of the rest of the CLI this doesn't seem like a regression.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants