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
{{ message }}
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.
solana stake-set-lockup does not provide a way on the CLI to convert a target lockup date into a number of epochs, but we have this method available in code, to set a number of years (ex: 0.75) and have the account reflect 9 months worth of epochs in lock.
The text was updated successfully, but these errors were encountered:
We want to be able to things like adding 6 months of lockup, so would need to ask "how many epochs is 0.5 years"? And then use that to call solana stake-set-lockup --lockup-epoch <EPOCH> with a higher epoch.
Note: we don't need to make this infinitely flexible, since the custodian will be the only user of this functionality, and with any luck, only needs to use it a few times this next year and then never again.
This issue has been automatically locked since there has not been any activity in past 7 days after it was closed. Please open a new issue for related bugs.
Problem
solana stake-set-lockup
does not provide a way on the CLI to convert a target lockup date into a number of epochs, but we have this method available in code, to set a number of years (ex: 0.75) and have the account reflect 9 months worth of epochs in lock.The text was updated successfully, but these errors were encountered: