This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Allow specifying immediate finalize for manual-seal
#12106
Merged
paritytech-processbot
merged 2 commits into
master
from
cmichi-add-immediate-finalize-option-to-manual-seal
Sep 25, 2022
Merged
Allow specifying immediate finalize for manual-seal
#12106
paritytech-processbot
merged 2 commits into
master
from
cmichi-add-immediate-finalize-option-to-manual-seal
Sep 25, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmichi
added
A0-please_review
Pull request needs code review.
B0-silent
Changes should not be mentioned in any release notes
C1-low
PR touches the given topic and has a low impact on builders.
labels
Aug 25, 2022
cmichi
force-pushed
the
cmichi-add-immediate-finalize-option-to-manual-seal
branch
from
August 25, 2022 06:17
d1a581a
to
be258fe
Compare
bkchr
approved these changes
Aug 25, 2022
athei
approved these changes
Aug 25, 2022
@bkchr Thanks for the approval, CI is failing due to some clippy stuff unrelated to this PR: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/1773294. Could you force merge? Or how to continue? |
You just push a Fix. |
Hey, is anyone still working on this? Due to the inactivity this issue has been automatically marked as stale. It will be closed if no further activity occurs. Thank you for your contributions. |
stale
bot
added
the
A5-stale
Pull request did not receive any updates in a long time. No review needed at this stage. Close it.
label
Sep 24, 2022
athei
added
D2-notlive 💤
PR contains changes in a runtime directory that is not deployed to a chain that requires an audit.
B3-apinoteworthy
and removed
A5-stale
Pull request did not receive any updates in a long time. No review needed at this stage. Close it.
B0-silent
Changes should not be mentioned in any release notes
labels
Sep 25, 2022
bot merge |
paritytech-processbot
bot
deleted the
cmichi-add-immediate-finalize-option-to-manual-seal
branch
September 25, 2022 09:24
1 task
ark0f
pushed a commit
to gear-tech/substrate
that referenced
this pull request
Feb 27, 2023
Co-authored-by: Alexander Theißen <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
A0-please_review
Pull request needs code review.
C1-low
PR touches the given topic and has a low impact on builders.
D2-notlive 💤
PR contains changes in a runtime directory that is not deployed to a chain that requires an audit.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The
manual-seal
engine seals blocks automatically for each issued transaction, but doesn't finalize them until an RPCfinalize_block
call is explicitly issued.We need automatic finalization for
substrate-contracts-node
, where we usemanual-seal
for testing and CI purposes. Specifically I need this automatic finalization for introducing E2E testing for ink! smart contract developers (use-ink/ink#1234).To avoid breaking changes to the API this PR introduces a
fn run_instant_seal_and_finalize
, analog tofn run_instant_seal
right above it.