Closed hackfisher closed 2 years ago
Without the withdraw_unbond
, some locks will be left in the system.
Unused data in Crab 5C6bMMPaSxfcquDEeZ5MQQNFACRABHm8wnqYDS93Ju9AXpp2 5EcLCgMC4Rc7wisVTwXem4D179wwYyV4QhUT7y1FcP8FXbqe
Related to some confusion found recently in apps by @JayJay1024
Close, as we have withdraw_unbond
now.
How to deal with the old data, see darwinia-network/darwinia-2.0#63.
May be we should add trait "clear_data()" for each pallet module for they to clear unused data.
And
clear_data()
can be called during transfer in balance module.