0chain / 0chain/zboxcli

error message for `unstake` is not user friendly

未关闭 适合新手
#584 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Go
星标
28
派生
23
PR 合并指标
30 天内没有已合并 PR

描述

Currently during stake pool unlock, we show this error
![2024-01-25 17 03 30](https://github.com/0chain/zboxcli/assets/9148277/9cf1a29c-ad2c-4f97-ae4b-66c0d0ead570)

it should be more like:

sp-unlock not allowed until all active allocations are cancelled by respective owners. So that users know the reason for the error.

贡献指南

这个仓库没有索引到贡献指南

调研方向

在 CLI 代码库中查找在质押池解锁期间显示的错误消息,很可能在命令处理文件如 `cmd/unstake.go` 或类似文件中。找到当前通用错误生成的位置,并将其更新为提供的更具描述性的文本。通过在具有活跃分配的场景中运行 unstake 命令来测试更改,以验证新消息是否出现。

由索引模型根据 Issue 内容生成。

评估

技术栈
go
领域
cli
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
描述清楚
新手友好度
70/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。