consensus-shipyard / ipc-actors

Rust implementation of the IPC actors for FVM
MIT License
6 stars 3 forks source link

Delay the release of collateral by validators in `leave` #106

Open adlrocha opened 1 year ago

adlrocha commented 1 year ago

A call to leave from a validator releases the validator's stake immediately in the current implementation. This is possible because there's no slashing. Once slashing is implemented in the system, we can't release validator's stake immediately, and we should include a delay for the validator to be able to recover their stake to prevent a validator from being able to run with their funds before any active complaint/dispute for slashing it may be involved is settled.