You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not elegant since it's potentially millions of ton and the elector doesn't handle bounced messages. If we somehow reach a weird state that the depositor is frozen, the stake will be lost.
It's not easy to reach a state where the depositor is frozen, because it just sent a transaction to ask to recover state, but still, this should be fixed.
During the next elector update, please consider sending recovered stake with bounce=false, so if the recipient is somehow frozen, it will still be received.
The text was updated successfully, but these errors were encountered:
The elector currently sends back the stake with bouce=true:
https://github.com/newton-blockchain/ton/blob/b38d227a469666d83ac535ad2eea80cb49d911b8/crypto/smartcont/elector-code.fc#L421
This is not elegant since it's potentially millions of ton and the elector doesn't handle bounced messages. If we somehow reach a weird state that the depositor is frozen, the stake will be lost.
It's not easy to reach a state where the depositor is frozen, because it just sent a transaction to ask to recover state, but still, this should be fixed.
During the next elector update, please consider sending recovered stake with bounce=false, so if the recipient is somehow frozen, it will still be received.
The text was updated successfully, but these errors were encountered: