Summary
The ProtocolFeeRecipientUpdated event must contain both the old and new recipient addresses. A unit test should assert each field individually to confirm the event is emitted correctly after a successful update.
Scope
- Record the current protocol fee recipient as the old address
- Call
update_protocol_fee_recipient with a new address
- Capture the emitted event and assert
old_recipient matches the previous address
- Assert
new_recipient matches the address passed to the update call
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
The
ProtocolFeeRecipientUpdatedevent must contain both the old and new recipient addresses. A unit test should assert each field individually to confirm the event is emitted correctly after a successful update.Scope
update_protocol_fee_recipientwith a new addressold_recipientmatches the previous addressnew_recipientmatches the address passed to the update callAcceptance Criteria
old_recipientfield matches address before the updatenew_recipientfield matches the address passed inETA: 12 hours
Coordinate on Telegram