Summary
This issue tracks Starknet signer-rotation hardening for OmniBridge signature verification.
Scope
starknet/src/omni_bridge.cairo
starknet/src/bridge_types.cairo
starknet/tests/test_contract.cairo
Motivation
The bridge signer (omni_bridge_derived_address) is constructor-set and currently has no dedicated rotation path. Operationally, a direct admin-governed rotation function is needed for controlled key migration/incident response.
Proposed Changes
- Add admin-only setter for
omni_bridge_derived_address.
- Emit signer-rotation event with old/new signer and admin actor.
- Add tests for:
- authorized rotation
- unauthorized rotation rejection
- successful
fin_transfer with signature from rotated signer
Acceptance Criteria
- Admin can rotate signer address via dedicated method.
- Non-admin rotation attempts are rejected by access control.
- Post-rotation
fin_transfer validates signatures from new signer.
- Starknet test suite passes.
Summary
This issue tracks Starknet signer-rotation hardening for OmniBridge signature verification.
Scope
starknet/src/omni_bridge.cairostarknet/src/bridge_types.cairostarknet/tests/test_contract.cairoMotivation
The bridge signer (
omni_bridge_derived_address) is constructor-set and currently has no dedicated rotation path. Operationally, a direct admin-governed rotation function is needed for controlled key migration/incident response.Proposed Changes
omni_bridge_derived_address.fin_transferwith signature from rotated signerAcceptance Criteria
fin_transfervalidates signatures from new signer.