Skip to content

Commit 77cd8a6

Browse files
committed
Updated skills
1 parent 3c11289 commit 77cd8a6

9 files changed

Lines changed: 24 additions & 7 deletions

File tree

.claude/skills/add-operators/SKILL.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ user-invokable: true
66

77
# Add Operators
88

9+
> **Warning:** This is an alpha feature and is not yet recommended for production use.
10+
911
Expand a Charon cluster by adding new operators. This is a coordinated operation involving both existing and new operators.
1012

1113
## Prerequisites
@@ -14,8 +16,9 @@ Read `scripts/edit/add-operators/README.md` for full details if needed.
1416

1517
Common prerequisites:
1618
1. `.env` file exists with `NETWORK` and `VC` variables set
17-
2. Docker is running
18-
3. `jq` installed
19+
2. `.charon` directory with `cluster-lock.json` and `charon-enr-private-key`
20+
3. Docker is running
21+
4. `jq` installed
1922

2023
## Role Selection
2124

@@ -57,6 +60,7 @@ Ask if the user needs to generate an ENR (first time setup):
5760
```
5861

5962
This creates `.charon/charon-enr-private-key` and displays the ENR. Tell the user to **share this ENR with the existing operators**.
63+
The existing operators, in turn, need to share the `cluster-lock.json` with the new operators, which contains the current cluster configuration and is required for the P2P ceremony.
6064

6165
#### Step 2: Join the Ceremony
6266

.claude/skills/add-validators/SKILL.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ user-invokable: true
66

77
# Add Validators
88

9+
> **Warning:** This is an alpha feature and is not yet recommended for production use.
10+
911
Add new validators to an existing Charon distributed validator cluster. All operators must run this simultaneously as it requires a P2P ceremony.
1012

1113
## Prerequisites

.claude/skills/export-asdb/SKILL.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ user-invokable: true
66

77
# Export Anti-Slashing Database
88

9+
> **Warning:** This is an alpha feature and is not yet recommended for production use.
10+
911
Export the EIP-3076 anti-slashing database from the validator client. The VC container must be stopped before export.
1012

1113
## Prerequisites

.claude/skills/import-asdb/SKILL.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ user-invokable: true
66

77
# Import Anti-Slashing Database
88

9+
> **Warning:** This is an alpha feature and is not yet recommended for production use.
10+
911
Import an EIP-3076 anti-slashing database into the validator client. The VC container must be stopped.
1012

1113
## Prerequisites

.claude/skills/recreate-private-keys/SKILL.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ user-invokable: true
66

77
# Recreate Private Keys
88

9+
> **Warning:** This is an alpha feature and is not yet recommended for production use.
10+
911
Refresh private key shares held by operators while keeping the same validator public keys. Validators stay registered on the beacon chain - only the operator key shares change. All operators must participate simultaneously.
1012

1113
## Use Cases

.claude/skills/remove-operators/SKILL.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ user-invokable: true
66

77
# Remove Operators
88

9+
> **Warning:** This is an alpha feature and is not yet recommended for production use.
10+
911
Remove one or more operators from a Charon cluster. Whether removed operators need to participate depends on fault tolerance.
1012

1113
## Prerequisites

.claude/skills/replace-operator/SKILL.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ user-invokable: true
66

77
# Replace Operator
88

9+
> **Warning:** This is an alpha feature and is not yet recommended for production use.
10+
911
Replace a single operator in a Charon cluster with a new one. All participating operators (remaining + new) run a `charon alpha edit replace-operator` ceremony together (P2P via relay). The new operator must receive the current cluster-lock.json before the ceremony begins.
1012

1113
## Prerequisites
@@ -61,11 +63,12 @@ Ask if the user needs to generate an ENR:
6163
./scripts/edit/replace-operator/new-operator.sh --generate-enr
6264
```
6365

64-
This creates `.charon/charon-enr-private-key` and displays the ENR. Tell the user to **share this ENR with the remaining operators**.
66+
This creates `.charon/charon-enr-private-key` and displays the ENR. Tell the user to **share this ENR with the existing operators**.
67+
The existing operators, in turn, need to share the `cluster-lock.json` with the new operators, which contains the current cluster configuration and is required for the P2P ceremony.
6568

6669
#### Step 2: Run the Ceremony
6770

68-
After receiving the current `cluster-lock.json` from remaining operators (BEFORE the ceremony):
71+
After receiving the current `cluster-lock.json` from remaining operators:
6972
- `--cluster-lock`: Path to the received `cluster-lock.json`
7073
- `--old-enr`: ENR of the operator being replaced
7174
- Whether to use `--dry-run` first

scripts/edit/add-operators/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ There are two scripts for the two roles involved:
2525
- Docker running
2626
- `jq` installed
2727
- **Existing operators**: `.charon` directory with `cluster-lock.json` and `validator_keys`
28-
- **New operators**: Charon ENR private key (generated via `--generate-enr`)
28+
- **New operators**: `cluster-lock.json` received from existing operators, and ENR private key (generated via `--generate-enr`)
2929

3030
## For Existing Operators
3131

scripts/edit/replace-operator/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Automates the complete workflow for operators staying in the cluster:
3636
--old-enr "enr:-..."
3737
```
3838

39-
**Before running**: Share your current `cluster-lock.json` with the new operator so they can participate in the ceremony.
39+
**Before running**: Share your current `cluster-lock.json` with the new operator so it can participate in the ceremony.
4040

4141
### Options
4242

@@ -68,7 +68,7 @@ Two-step workflow for the new operator joining the cluster.
6868
./scripts/edit/replace-operator/new-operator.sh --generate-enr
6969
```
7070

71-
**Step 2:** After receiving `cluster-lock.json` from remaining operators (BEFORE the ceremony), run the ceremony together with all other operators:
71+
**Step 2:** After receiving `cluster-lock.json` from remaining operators, run the ceremony together with all other operators:
7272

7373
```bash
7474
./scripts/edit/replace-operator/new-operator.sh \

0 commit comments

Comments
 (0)