8000 feat(cli): support forum post link simulation by sasa-tomic · Pull Request #1364 · dfinity/dre · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat(cli): support forum post link simulation #1364

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

Merged
merged 1 commit into from
Mar 12, 2025

Conversation

sasa-tomic
Copy link
Member

Primary Changes

  • Forum Post Link Simulation:

    • Added forum_post_link_for_simulation method to ForumParameters to generate a link for simulation purposes.
    • Updated simulate function implementations in GovernanceCanisterProposalExecutor, ProposalExecutionViaGovernanceCanister, and IcAdmin traits to include an optional forum post link description when simulating proposals.
    • Modified functions to print the forum post link description during simulations for better traceability.
  • Unit Tests:

    • Adjusted unit tests to accommodate the additional forum post link parameter in proposal simulation.

### Additions
- Introduced `forum_post_link_for_simulation` method to `ForumParameters` for handling forum post link.
- Extended `simulate` methods across multiple executors to accept `forum_post_link_description`.

### Updates
- Modified `simulate_proposal` function signature to include `forum_post_link_description`.
- Adjusted simulator functions to log the forum post link when running simulations.

### Testing
- Updated unit tests to handle additional `forum_post_link_description` parameter.
@sasa-tomic sasa-tomic self-assigned this Mar 12, 2025
@sasa-tomic sasa-tomic marked this pull request as ready for review March 12, 2025 10:53
@sasa-tomic sasa-tomic requested a review from a team as a code owner March 12, 2025 10:53
@sasa-tomic sasa-tomic merged commit 0baceb4 into main Mar 12, 2025
7 checks passed
@sasa-tomic sasa-tomic deleted the feature/simulation-forum-post-link branch March 12, 2025 10:57
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
0