Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nemesis configuration improvements #337

Merged
merged 3 commits into from
Dec 9, 2021

Conversation

fboucquez
Copy link
Owner

@fboucquez fboucquez commented Nov 28, 2021

1. Fixed config/start --preset and --assembly options (it was the other way around) Already merged in another pr
2. Removed unnecessary currency names from custom preset. It can be provided and resolved from the nemesis.mosaics field
3. Moved "opt-in" addresses/balances from nemesis to nemesis.mosiac. User (or symbol-network) can provide balances for multiple mosaics, although most of the time there is only one nemesis mosaic (like xym).
4. Allow a node to be excluded from nemesis (no balance or linked transactions).
5. Allow users to provide node nemesis balance. If the balance is calculated, it will be less than maxHarvesterBalance
6. Better nemesis supply distribution and exception handling. Added unit tests.

If this is too much I can split further. Note I would be creating a new PR where the genesis related configuration is moved to their own class/service

@fboucquez fboucquez marked this pull request as draft November 28, 2021 19:41
Copy link
Contributor

@segfaultxavi segfaultxavi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some mixed-up options...

README.md Outdated Show resolved Hide resolved
src/commands/config.ts Outdated Show resolved Hide resolved
src/commands/config.ts Outdated Show resolved Hide resolved
src/commands/config.ts Outdated Show resolved Hide resolved
@fboucquez fboucquez force-pushed the nemesis_configuration_improvements branch from c1f1e34 to 4c20a1c Compare December 6, 2021 11:55
@fboucquez fboucquez changed the title DRAFT - Nemesis configuration improvements Nemesis configuration improvements Dec 6, 2021
@fboucquez fboucquez force-pushed the nemesis_configuration_improvements branch from 4c20a1c to b78a287 Compare December 6, 2021 12:00
@fboucquez fboucquez marked this pull request as ready for review December 6, 2021 12:06
@fboucquez fboucquez force-pushed the nemesis_configuration_improvements branch from b78a287 to c37a67e Compare December 6, 2021 12:07
src/model/ConfigPreset.ts Show resolved Hide resolved
src/service/ConfigLoader.ts Outdated Show resolved Hide resolved
@fboucquez fboucquez force-pushed the nemesis_configuration_improvements branch from c37a67e to 44a137e Compare December 6, 2021 14:37
@sonarcloud
Copy link

sonarcloud bot commented Dec 8, 2021

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 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@fboucquez fboucquez merged commit 8b1e8f4 into dev Dec 9, 2021
@fboucquez fboucquez deleted the nemesis_configuration_improvements branch December 9, 2021 02:13
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.

None yet

4 participants