Skip to content

Bootstrap network improvements#277

Open
fboucquez wants to merge 1 commit intodevfrom
networkPresetFile
Open

Bootstrap network improvements#277
fboucquez wants to merge 1 commit intodevfrom
networkPresetFile

Conversation

@fboucquez
Copy link
Copy Markdown
Owner

@fboucquez fboucquez commented Jul 6, 2021

This PR is the bootstrap changes required before the lerna split and symbol-network app.

There are several improvements.

  • custom preset cached on target
  • Renamed bootstrap preset for dualCurrency. Added singleCurrency preset.
  • Removed unused genesis state files after generating
  • Nemesis seed is shared across the different nodes avoiding duplicated files.
  • Improved unit testing. Heavily tested using expected target zip with lots of network/assembly/customPreset combinations.

Fixes #60
Fixes #245
Fixes #80

@fboucquez fboucquez force-pushed the networkPresetFile branch 8 times, most recently from 8e29cf1 to 7be59ce Compare July 6, 2021 17:30
@fboucquez fboucquez changed the title Private Network Improvements Local Network Improvements Jul 21, 2021
@fboucquez fboucquez changed the title Local Network Improvements Bootstrap network improvements Jul 22, 2021
@fboucquez fboucquez force-pushed the networkPresetFile branch 2 times, most recently from 696e3e2 to f97642b Compare July 23, 2021 12:40
@fboucquez fboucquez requested a review from yilmazbahadir July 23, 2021 12:50
@fboucquez fboucquez force-pushed the networkPresetFile branch 4 times, most recently from 801377f to a310699 Compare July 23, 2021 17:07
@sonarqubecloud
Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 9 Code Smells

No Coverage information No Coverage information
1.1% 1.1% Duplication

@fboucquez fboucquez force-pushed the networkPresetFile branch 5 times, most recently from 13c1ea2 to 06e78ba Compare October 18, 2021 22:21
@fboucquez fboucquez force-pushed the networkPresetFile branch 5 times, most recently from 1b31309 to 4f99c2e Compare November 25, 2021 09:46
@fboucquez fboucquez force-pushed the networkPresetFile branch 3 times, most recently from 30c989c to 788c803 Compare November 26, 2021 13:56
@sonarqubecloud
Copy link
Copy Markdown

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot E 1 Security Hotspot
Code Smell A 11 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@gimre-xymcity
Copy link
Copy Markdown

Why there are so many changes packed in a single review?

@gimre-xymcity
Copy link
Copy Markdown

what is the status of this?

@fboucquez
Copy link
Copy Markdown
Owner Author

fboucquez commented Dec 9, 2021

what is the status of this?

I'm a 2-3 of PRs away before dropping this branch. Once we have the other PRs merged, the first version of symbol-network would be able to use the official symbol-bootstrap lib.

https://github.com/fboucquez/symbol-network
https://hackmd.io/Ak7Sl1A6SkKV7ga0QW00LA

Eventually, if you are keen, symbol-network could be a submodule of symbol-bootstrap, similar to how this branch looks https://github.com/symbol/symbol-bootstrap/tree/multimodule (lerna multimodule monorepo)

@fboucquez fboucquez force-pushed the dev branch 11 times, most recently from 9627f1a to 347034c Compare January 14, 2022 14:59
singleCurrency and dualCurrency presets.
nemesis seed is shared across the different nodes avoiding duplicated files.
@sonarqubecloud
Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 4 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Private Explorer references Public Testnet Support for private nodes on existing networks Single/Double currency bootstrap preset

4 participants