Skip to content

fix: implement fixes for issues #710, #721, #723, #725 - #727

Merged
Jaydbrown merged 1 commit into
conduit-protocol:mainfrom
devjayy43:fix/issues-710-721-723-725
Sep 27, 2026
Merged

Jaydbrown merged 1 commit into
conduit-protocol:mainfrom
devjayy43:fix/issues-710-721-723-725

Conversation

@devjayy43

Copy link
Copy Markdown
Contributor

What does this PR do?

Type of change

  • Bug fix
  • New feature
  • Refactor (no behaviour change)
  • Test coverage
  • Documentation
  • Security fix

Related issue

Closes #

Changes

File Change

Checklist

  • cargo fmt --all — no diff
  • cargo clippy --all-targets -- -D warnings — zero warnings
  • cargo test --all — all tests pass
  • New public functions have tests covering the happy path and each error variant
  • All arithmetic uses checked_* methods
  • require_auth() called before any state mutation in modified functions
  • State mutations happen before cross-contract calls (token transfers)
  • Events emitted for all external state changes
  • CHANGELOG.md updated under [Unreleased]
  • docs/architecture.md updated if design changed
  • ADR written if a significant design decision was made

Security notes

Testing notes

…l#721, conduit-protocol#723, conduit-protocol#725

- conduit-protocol#721: Add cross-contract error code validation to prevent duplicates
  Enhanced validate-error-codes.py to check for duplicate error codes
  across different contracts, not just within each contract.

- conduit-protocol#725: Add proposal execution expiry window to governor
  Implemented minimal proposal system with:
  - Proposal struct with execution window (e.g., 14 days)
  - propose() to create admin-gated proposals
  - execute_proposal() with expiry window enforcement
  - ProposalStatus tracking (Pending/Executed/Cancelled)

- conduit-protocol#723: Add test for clawback prevention while paused
  Added sender_cannot_clawback_while_paused() test that verifies
  clawback fails with NotPaused error when stream is paused.

- conduit-protocol#710: Add cancel_proposal capability for proposal author
  Implemented cancel_proposal() allowing authors to cancel
  pending proposals before voting starts.
@drips-wave

drips-wave Bot commented Sep 27, 2026

Copy link
Copy Markdown

@devjayy43 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Jaydbrown
Jaydbrown merged commit c6b5a5c into conduit-protocol:main Sep 27, 2026
3 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants