`charon publish`

未关闭
#3,871 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
go
领域
api, cli

调研方向

首先审查提议的 charon publish cluster 命令,以及 issue 中描述的现有 cluster-lock 发布流程。在围绕文档所述的向 https://api.obol.tech/v1/lock 发起的 POST 请求实现该命令之前,先确定设计并获得批准。自动化测试以及列出的 canary、test-cluster 和本地 compose simnet 检查全部通过后,即视为完成。

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

描述

protocol

🎯 Problem to be solved

Right now we tell people to run a curl command to publish a lock file they didn't publish at creation time. This is a tad rough around the edges. We could make a simple command for this. It might even become quite useful for cluster mutation.

🛠️ Proposed solution

  • Approved design doc: link
  • Core team consensus on the proposed solution

charon publish cluster that does curl -X POST -H "Content-Type: application/json" -d @.charon/cluster-lock.json https://api.obol.tech/v1/lock under the hood (ish).

🧪 Tests

  • Tested by new automated unit/integration/smoke tests
  • Manually tested on core team/canary/test clusters
  • Manually tested on local compose simnet

👐 Additional acceptance criteria

List any additional acceptance criteria for this issue to be marked as closed.

❌ Out of Scope

Maybe a charon publish operator which pushes performance tests associated with ENRs? Not a now problem.

主要语言
Go
星标
223
派生
139
平均合并
1 天 3 小时
30 天内合并 PR
63

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ObolNetwork/charon 的其他 Issue

查看 ObolNetwork/charon 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

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