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

feat(dre): Improve the summary of the subnet resize NNS proposals #924

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

sasa-tomic
Copy link
Member

@sasa-tomic sasa-tomic commented Sep 13, 2024

In addition to the improved summary:

Changes:

  • arguments --add and --remove now include default values, allowing users to omit these values if not needed.
  • the id field has an alias of subnet-id for improved readability.

Refactor: the execute method now uses the subnet_manager to resize the subnet and proposes the subnet change using the runner. This makes the resize functionality very similar to the replace functionality, so more code can be shared between the two.

In addition to the improved summary:

Changes:
- arguments --add and --remove now include default values, allowing users to omit these values if not needed.
-- the `id` field has an alias of `subnet-id` for improved readability.

Refactor: the `execute` method now uses the `subnet_manager` to resize the subnet and proposes the subnet change using the `runner`. This makes the `resize` functionality very similar to the `replace` functionality, so more code can be shared between the two.
@sasa-tomic sasa-tomic requested a review from a team as a code owner September 13, 2024 14:48
@sasa-tomic sasa-tomic merged commit 52604c4 into main Sep 13, 2024
4 checks passed
@sasa-tomic sasa-tomic deleted the sat-dre-subnet-resize-summary branch September 13, 2024 15:41
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.

2 participants