You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Independently of the test and in advance of starting it, prepare a node image.
Node image is prepared via running init, amend-access-keys, and finalise in fork-network tool.
Test Setup (new part):
Create a network of nodes from prepared images.
Generate validator keys for all nodes
Distribute validator keys
Distribute list of validators and stakes to all nodes
Run fork-network init and fork-network set-validators on all nodes. Don't run finalise, as this will allow us to quickly revert back to original state by running reset.
Amend genesis config separately as a json (we can do it without any extra logic, just by running jq or something)
Test Setup (± old part):
Generate, and distribute node keys
Change configs (including boot_nodes)
Test (no changes):
Start nodes
Start traffic
I see us generating and distributing keys instead of using neard on machines to generate them for two reasons:
I don't know how init command are going to play with home dir that gone through fork-network
This flow is more natural in my mind (purely subjective)
I prepared this draft PR to show how I see keys management in forknet. Please, take a look #10956.
This is a tracking issue for the April effort of using forknet to add transition to stateless validation into our CI.
Tasks
The text was updated successfully, but these errors were encountered: