This repository has been archived by the owner on Jun 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 36
Support pre-runtime digest and instant seal #15
Merged
Merged
Changes from 38 commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
0c3b5cc
checkpoint. Gonna try switching to preruntime digest first
JoshOrndorff 699f27d
pallet allows preruntime digests and validates at end of block
JoshOrndorff aee4b36
Merge branch 'joshy-instant-seal' into joshy-runtime-supports-prerunt…
JoshOrndorff ce3e0cc
remove incorrect comment
JoshOrndorff 4c142b9
factor slot prediction into helper function, start sketching manual s…
JoshOrndorff 74eb50c
better message for future self
JoshOrndorff 48c1877
preruntime digest interface
JoshOrndorff f34d824
`create_digest` compiles
JoshOrndorff 51040b0
service compiles
JoshOrndorff 791e919
whoe service checks
JoshOrndorff 3eea250
allow running from cli
JoshOrndorff 67c18cd
actually install our new manual seal consensus data provider
JoshOrndorff 65ab064
Handle no-key scenario
JoshOrndorff c97b9f4
Preruntime digest an no memoizing author account
JoshOrndorff 1cf6ede
remove wrong comment. Better to follow aura
JoshOrndorff 2265da2
prune commented inherent-related code
JoshOrndorff 5769f43
Hack in fake signature in manual seal.
JoshOrndorff aae5122
unused import
JoshOrndorff 1acb47f
verifier supports both digest types
JoshOrndorff e8caac9
duplicate code from verifier to executor wrapper
JoshOrndorff 2f3a9f4
author inherent no longer required
JoshOrndorff 770820c
sign blocks in manual seal !!
JoshOrndorff 521e5cb
Hack import queue so it works in instant seal although it is now brok…
JoshOrndorff 912eb75
prune some debugging logs
JoshOrndorff caf54d3
NimbusBlockImport with optional parachain rules
JoshOrndorff 3aecd84
we can use std on the client-side
JoshOrndorff c0867b0
remove unnecessary generic
JoshOrndorff 263a286
indentation and comment
JoshOrndorff 8b7adb4
use constant instead of hard-coded nmbs
JoshOrndorff c2ecc7d
code style: map instead of if let
JoshOrndorff df49153
assume relay chain slot beacon in manual seal for now
JoshOrndorff 20fe8b4
Actually checkvalidity and send notification when using preruntime di…
JoshOrndorff 8f232ac
Typos from code review
JoshOrndorff 36c0aec
Proper index
JoshOrndorff 20c07ee
Switch consensus worker from inherent to preruntime digest.
JoshOrndorff fdebe92
map from author id to account id in FindAuthor
JoshOrndorff 807e72b
more toward parachain consensus worker
JoshOrndorff e663411
Merge branch 'main' into joshy-runtime-supports-preruntime-digests
JoshOrndorff f16dd8f
Update nimbus-consensus/src/import_queue.rs
JoshOrndorff 03b3938
inherent is a no-op
JoshOrndorff 8c8ce30
Revert "more toward parachain consensus worker"
JoshOrndorff 9167b63
validators don't need backward compatability
JoshOrndorff 227800a
Merge branch 'main' into joshy-runtime-supports-preruntime-digests
JoshOrndorff 6272156
Merge branch 'main' into joshy-runtime-supports-preruntime-digests
JoshOrndorff 46eed0d
Fix incorrect merge conflict resolution. Still detect NimbusApi
JoshOrndorff e2d9492
Add copyright to manual seal file.
JoshOrndorff 9f65a45
Typo found by @girazoki
JoshOrndorff 4eca377
stray space
JoshOrndorff 7e18518
Single author in dev spec so that `run-instant-seal --dev` works with…
JoshOrndorff 1617137
warnings
JoshOrndorff fe2315c
Apply suggestions from code review
JoshOrndorff 05097c5
better weight in `on_initialize`
JoshOrndorff b0dd22c
thoughts about the legacy author inherent
JoshOrndorff 75e256d
sketch kick-off inherent in pallet
JoshOrndorff c3cf4b1
fees
JoshOrndorff ffb03c0
Update the inherent extrinsics
JoshOrndorff File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@joelamouche This is the change necessary to extract author information. Previously we just used the Consensus Digest. Now wee will use either the consensus digest or the preruntime digest. Eventually, support for the Consensus digest will be dropped.