Summary
Calling the initialize function on an already-initialized contract should revert. An integration test should confirm the revert occurs, the error code is correct, and none of the existing protocol config values were overwritten by the failed call.
Scope
- Initialize the contract with admin A and fee bps 300
- Attempt to re-initialize with admin B and fee bps 500
- Assert the second call reverts with the already-initialized error code
- Assert admin and fee bps remain as set in the first initialization
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
Calling the initialize function on an already-initialized contract should revert. An integration test should confirm the revert occurs, the error code is correct, and none of the existing protocol config values were overwritten by the failed call.
Scope
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram