Closed danwt closed 3 weeks ago
There are too many callsites and ad hoc actions occuring across the unbonding code. Each semantic action needs to happen in once place and be triggered by hooks or clean calls.
There is also too much WET code.
https://github.com/dymensionxyz/dymension/blob/acd9d13935a98dd43d13affdd440a78c85f3a961/x/sequencer/keeper/unbond.go#L1-L183
@mtsitrin I believe you said you will handle some of this in your rotation PR
There are too many callsites and ad hoc actions occuring across the unbonding code. Each semantic action needs to happen in once place and be triggered by hooks or clean calls.
There is also too much WET code.
https://github.com/dymensionxyz/dymension/blob/acd9d13935a98dd43d13affdd440a78c85f3a961/x/sequencer/keeper/unbond.go#L1-L183