Repository navigation
Conversation
7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1309
Objective
Improves BridgeWise's cross-chain routing and execution platform by implementing and verifying access-control role revocation behavior, enforcing strict asset and chain boundaries, eliminating duplicate/unsafe execution, and exposing actionable diagnostic evidence for operators without logging sensitive secrets or transaction payloads.
Scope & Key Changes
contracts/BridgeCoreAccessControl.sol):DEFAULT_ADMIN_ROLE,OPERATOR_ROLE,EXECUTOR_ROLE, andROUTER_ROLE.verifyRoleRevocation(bytes32 role, address account)restricted toOPERATOR_ROLEto verify and emitRoleRevocationVerifiedevidence for auditability during incidents or maintenance.RoleNotRevoked(bytes32 role, address account)if an unrevoked role is queried.executedTransfersbitmap/mapping, reverting duplicate executions with custom errorTransferAlreadyExecuted(bytes32 transferId)and emittingExecutionAttemptRejected.uint256[50] private __gap) to safeguard upgrade compatibility.contracts/test/BridgeCoreAccessControl.spec.ts):AccessControlUnauthorizedAccount).verifyRoleRevocationsuccess and revert behavior when roles remain active.docs/VERIFY_ACCESS_CONTROL_ROLE_REVOCATION.md):Acceptance Criteria Verification
feat/verify-access-control-role-revocationusing local git configuration.