-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Conversation
It looks like @seunlanlege signed our Contributor License Agreement. 👍 Many thanks, Parity Technologies CLA Bot |
Interesting; is this mostly used for testing then? can you elaborate a bit more? |
If this is based on what we have on parity-ethereum, yes @kianenigma - (a |
Rather than having Imagine if you could take an existing chain, locally swap consensus to "manual" and then check what result your transaction would have, how it changes over time (empty blocks being produced), etc. Using just the same tools that you use already (polkadot apps). |
869a86a
to
ab216f9
Compare
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.
Looks good, feels like you are on the right track.
7427e34
to
dc2a43c
Compare
dc2a43c
to
e46b475
Compare
82fc7dc
to
7e25fd6
Compare
@tomusdrw 👋 this is ready |
c038211
to
07dae12
Compare
07dae12
to
5c3fbd9
Compare
SYN @tomusdrw |
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.
lgtm! But still a few minor grumbles.
a066f55
to
7cf1e65
Compare
7db9b88
to
a85802e
Compare
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.
Looks good already, few tiny things still though.
c22f411
to
6669fd1
Compare
unbounded queues are evil Apply suggestions from code review Co-Authored-By: Robert Habermeier <rphmeier@gmail.com> add fork tests, docs, remove todos moar docs Update client/consensus/manual-seal/src/rpc.rs Co-Authored-By: Robert Habermeier <rphmeier@gmail.com> remove unbound generic, parameter, docs, deps, code style changes Apply suggestions from code review Co-Authored-By: Tomasz Drwięga <tomusdrw@users.noreply.github.com> code style chnges remove unused deps, remove dep renames, check if block is empty before importing, use ? for error propagation fix tests log errors for instant seal use debug code style changes, updated copyright dates use txpool::Pool instead of BasicPool, code style changes fixed tests
90afd41
to
150c08d
Compare
@tomusdrw done, 😅 |
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.
lgtm!
Is this been integrated anywhere? I want to find example of how to use this but found none. |
Manual Seal is a block production engine for single-node environments for testing.
It provides two RPC methods
engine_createBlock
andengine_finalizeBlock
for creating and finalizing blocks respectively.Alongside manual seal is instant seal, which creates blocks as soon as new transactions are available