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
In StakeToSBTPlugin::stake, default weight is used when lock_time is not matched with any config. Is that designed?
I think the default weight may not be suitable here, the may be two situations:
It may cover mistakes and not in line with user expectations, especially when user stake a large amount of token with a long lock_time by mistake or bug of the DAO. User may never get they token back.
User can hack the system to get SBT by stake in very short lock_time , 1 second for example.
I think ABORT is ok when the input lock_time is not matched with any config.
The text was updated successfully, but these errors were encountered:
In StakeToSBTPlugin::stake, default weight is used when
lock_time
is not matched with any config. Is that designed?I think the default weight may not be suitable here, the may be two situations:
lock_time
by mistake or bug of the DAO. User may never get they token back.lock_time
, 1 second for example.I think ABORT is ok when the input
lock_time
is not matched with any config.The text was updated successfully, but these errors were encountered: