-
Notifications
You must be signed in to change notification settings - Fork 10
feat: add devnet custom genesis, aura and grandpa support #935
Conversation
b1ddb4c
to
8e9e272
Compare
@harrysolovay @tjjfvi For example, Moonbean manages consensus with their
|
That seems like a good path, but not necessarily expressing it in the TS. What's the most likely user story? Given that devs will generate the chainspec for their target chain, maybe they could pass the entire chainspec str, from which we'd extract the genesis config? Any simpler way to go about this? |
For this story, I would just merge a custom genesis with the default genesis generated from the binary chain spec (for example, On the other hand, if devs pass a chainspec, I would just use that chainspec, add the bootnodes and use the genesis from that chainspec. For this, I would assume that the dev has already customized the genesis for their needs. |
02810ed
to
a58800c
Compare
741c55c
to
816aee6
Compare
816aee6
to
b50f1d7
Compare
f3450b1
to
c1cdf03
Compare
Co-authored-by: Harry Solovay <harrysolovay@gmail.com>
f1d9f55
to
edfed8c
Compare
edfed8c
to
2ddc313
Compare
Resolves #889
How to test?
aura
andgrandpa
, compile substratenode-template
./tmp/cbfda8c3/relay/alice/stderr
and validate that blocks are produced and finalized5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty
(orawait chain.Sudo.Key.value()
)