Summary
cancel_and_claim() correctly checks if config.paused { return Err(VestingError::Paused); }. There is no test verifying this rejection. A paused schedule must not be atomically claimed and cancelled — the admin should unpause first to establish a clear vested amount.
Tasks
Labels: testing, forge-vesting
Summary
cancel_and_claim()correctly checksif config.paused { return Err(VestingError::Paused); }. There is no test verifying this rejection. A paused schedule must not be atomically claimed and cancelled — the admin should unpause first to establish a clear vested amount.Tasks
pause()as admincancel_and_claim()— assertErr(VestingError::Paused)config.cancelledis stillfalsecancel_and_claim()— assert successLabels:
testing,forge-vesting