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
The story validator stake command fails when providing a validator public key in Base64 format but works with hex format. The CLI should handle both formats or provide clear documentation about the required format.
Current Behavior
When using a Base64-encoded public key, the command fails with an error:
Add Base64 format support to the CLI
Include a built-in conversion utility in the CLI (e.g., story utils convert-pubkey)
Add format validation and helpful error messages
Update documentation to clearly specify the required public key format
Environment
Story version: v0.12.1
OS: Linux
Architecture: amd64
Additional Context
This issue affects validator setup and might cause confusion for new validators trying to stake tokens.
The text was updated successfully, but these errors were encountered:
Bug Description
The
story validator stake
command fails when providing a validator public key in Base64 format but works with hex format. The CLI should handle both formats or provide clear documentation about the required format.Current Behavior
When using a Base64-encoded public key, the command fails with an error:
Error message:
Expected Behavior
The CLI should either:
Workaround
Currently, users need to manually convert Base64 to hex format using additional tools. For example, using Python:
After conversion, the command works successfully:
Suggested Solutions
Add Base64 format support to the CLI
Include a built-in conversion utility in the CLI (e.g., story utils convert-pubkey)
Add format validation and helpful error messages
Update documentation to clearly specify the required public key format
Environment
Story version: v0.12.1
OS: Linux
Architecture: amd64
Additional Context
This issue affects validator setup and might cause confusion for new validators trying to stake tokens.
The text was updated successfully, but these errors were encountered: