Skip to content

fix: restore two-step ownership entrypoints#154

Open
Yusufolosun wants to merge 1 commit into
BCPathway:mainfrom
Yusufolosun:fix/two-step-ownership-transfer
Open

fix: restore two-step ownership entrypoints#154
Yusufolosun wants to merge 1 commit into
BCPathway:mainfrom
Yusufolosun:fix/two-step-ownership-transfer

Conversation

@Yusufolosun
Copy link
Copy Markdown

Closes #52

Summary

Reintroduces propose_ownership and cancel_ownership entrypoints and validates the two-step ownership flow with targeted tests.

Root Cause

The contract only exposed propose_owner/cancel_transfer, so the ownership API described in the issue was missing the expected entrypoint names.

Changes

  • Added propose_ownership and cancel_ownership wrapper entrypoints preserving existing logic
  • Updated ownership tests to exercise the full propose/accept/cancel flow

Testing

  • cargo test -p bc-forge-token

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 29, 2026

@Yusufolosun 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

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.

[Contract] Re-implement Two-Step Ownership Transfer

1 participant