Skip to content

Commit 3e1044e

Browse files
committed
chore!: rename evm-single and grpc-single
1 parent e5aa2c3 commit 3e1044e

38 files changed

+2319
-153
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
image-tag: ${{ needs.determine-image-tag.outputs.tag }}
5555
apps: |
5656
[
57-
{"name": "ev-node-evm-single", "dockerfile": "apps/evm/single/Dockerfile"},
57+
{"name": "ev-node-evm", "dockerfile": "apps/evm/Dockerfile"},
5858
{"name": "ev-node-testapp", "dockerfile": "apps/testapp/Dockerfile"}
5959
]
6060

.github/workflows/docker-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions: {}
1111
workflow_dispatch:
1212
inputs:
1313
image-tag:
14-
description: 'Docker image tag to use for tests (e.g., v1.2.3, pr-123, sha-abc123)'
14+
description: "Docker image tag to use for tests (e.g., v1.2.3, pr-123, sha-abc123)"
1515
required: true
1616
type: string
1717

@@ -47,5 +47,5 @@ jobs:
4747
- name: Run Docker Upgrade E2E Tests
4848
run: make test-docker-upgrade-e2e
4949
env:
50-
EVM_SINGLE_IMAGE_REPO: ghcr.io/${{ github.repository_owner }}/ev-node-evm-single
51-
EVM_SINGLE_NODE_IMAGE_TAG: ${{ inputs.image-tag }}
50+
EVM_IMAGE_REPO: ghcr.io/${{ github.repository_owner }}/ev-node-evm
51+
EVM_NODE_IMAGE_TAG: ${{ inputs.image-tag }}

.github/workflows/ghcr-prune.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
matrix:
2727
package:
2828
- ev-node
29-
- ev-node-evm-single
29+
- ev-node-evm
3030
- local-da
3131
steps:
3232
- name: Delete stale tags

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1717

1818
### Changed
1919

20+
- Rename `evm-single` to `evm` and `grpc-single` to `evgrpc` for clarity.
2021
- Remove GasPrice and GasMultiplier from DA interface and configuration to use celestia-node's native fee estimation. ([#2822](https://github.com/evstack/ev-node/pull/2822))
2122
- Use cache instead of in memory store for reaper. Persist cache on reload. Autoclean after 24 hours. ([#2811](https://github.com/evstack/ev-node/pull/2811))
2223
- Improved P2P sync service store initialization to be atomic and prevent race conditions ([#2838](https://github.com/evstack/ev-node/pull/2838))
@@ -38,7 +39,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3839

3940
<!-- New features or capabilities -->
4041

41-
- Added automated upgrade test for the `evm-single` app that verifies compatibility when moving from v1.0.0-beta.8 to HEAD in CI ([#2780](https://github.com/evstack/ev-node/pull/2780))
42+
- Added automated upgrade test for the `evm` app that verifies compatibility when moving from v1.0.0-beta.8 to HEAD in CI ([#2780](https://github.com/evstack/ev-node/pull/2780))
4243
- Added execution-layer replay mechanism so nodes can resynchronize by replaying missed batches against the executor ([#2771](https://github.com/evstack/ev-node/pull/2771))
4344
- Added cache-pruning logic that evicts entries once heights are finalized to keep node memory usage bounded ([#2761](https://github.com/evstack/ev-node/pull/2761))
4445
- Added Prometheus gauges and counters that surface DA submission failures, pending blobs, and resend attempts for easier operational monitoring ([#2756](https://github.com/evstack/ev-node/pull/2756))

RELEASE.md

Lines changed: 21 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ git push origin evm/single/v0.2.0
2525
# GitHub → Actions → Release workflow
2626

2727
# 4. Verify release
28-
docker pull ghcr.io/evstack/ev-node-evm-single:v0.2.0
28+
docker pull ghcr.io/evstack/ev-node-evm:v0.2.0
2929
```
3030

3131
### Tag Format
@@ -34,9 +34,9 @@ Use the hierarchical tag format: `{app-path}/v{major}.{minor}.{patch}`
3434

3535
**Examples:**
3636

37-
- `evm/single/v0.2.0` → Releases `apps/evm/single/`
38-
- `testapp/v1.0.0` → Releases `apps/testapp/`
39-
- `grpc/single/v2.1.3` → Releases `apps/grpc/single/`
37+
- `apps/evm/v0.2.0` → Releases `apps/evm/`
38+
- `apps/testapp/v1.0.0` → Releases `apps/testapp/`
39+
- `apps/grpc/v2.1.3` → Releases `apps/grpc/`
4040

4141
### Automated Process
4242

@@ -75,12 +75,11 @@ This section outlines the release process for all Go packages in the ev-node rep
7575
│ da │ │ ev-node │ │execution/evm │
7676
└─────────┘ └────┬────┘ └──────────────┘
7777
78-
┌───────────┴───────────┐
79-
│ │
80-
▼ ▼
81-
┌─────────────────┐ ┌─────────────────┐
82-
│apps/evm/based │ │apps/evm/single │
83-
└─────────────────┘ └─────────────────┘
78+
79+
80+
┌───────────┐
81+
│ apps/evm │
82+
└───────────┘
8483
```
8584

8685
### Release Order
@@ -106,8 +105,7 @@ These packages only depend on `core` and can be released in parallel after `core
106105

107106
These packages have the most dependencies and should be released last:
108107

109-
1. **github.com/evstack/ev-node/apps/evm/based** - Path: `./apps/evm/based`
110-
2. **github.com/evstack/ev-node/apps/evm/single** - Path: `./apps/evm/single`
108+
- **github.com/evstack/ev-node/apps/evm** - Path: `./apps/evm`
111109

112110
### Release Process
113111

@@ -169,29 +167,18 @@ go list -m github.com/evstack/ev-node/execution/[email protected]
169167
After all dependencies are available:
170168

171169
```bash
172-
# Update and release apps/evm/based
173-
cd apps/evm/based
174-
go get github.com/evstack/ev-node/[email protected]
175-
go get github.com/evstack/ev-node/[email protected]
176-
go get github.com/evstack/ev-node/execution/[email protected]
177-
go get github.com/evstack/[email protected]
178-
go mod tidy
179-
git tag apps/evm/based/v0.3.0
180-
git push origin apps/evm/based/v0.3.0
181170

182-
# Update and release apps/evm/single
183-
cd ../single
171+
# Update and release apps/evm
184172
go get github.com/evstack/ev-node/[email protected]
185173
go get github.com/evstack/ev-node/[email protected]
186174
go get github.com/evstack/ev-node/execution/[email protected]
187175
go get github.com/evstack/[email protected]
188176
go mod tidy
189-
git tag apps/evm/single/v0.3.0
190-
git push origin apps/evm/single/v0.3.0
177+
git tag apps/evm/v0.3.0
178+
git push origin apps/evm/v0.3.0
191179

192180
# Verify availability
193-
go list -m github.com/evstack/ev-node/apps/evm/[email protected]
194-
go list -m github.com/evstack/ev-node/apps/evm/[email protected]
181+
go list -m github.com/evstack/ev-node/apps/[email protected]
195182
```
196183

197184
---
@@ -202,8 +189,8 @@ go list -m github.com/evstack/ev-node/apps/evm/[email protected]
202189

203190
```bash
204191
# Tag and push - automation handles the rest
205-
git tag evm/single/v0.2.0
206-
git push origin evm/single/v0.2.0
192+
git tag evm/v0.2.0
193+
git push origin evm/v0.2.0
207194
```
208195

209196
### Scenario 2: Release Multiple Apps
@@ -229,8 +216,7 @@ git tag v0.3.0 && git push origin v0.3.0
229216
git tag execution/evm/v0.3.0 && git push origin execution/evm/v0.3.0
230217

231218
# 3. Wait, update deps, then release apps
232-
git tag apps/evm/based/v0.3.0 && git push origin apps/evm/based/v0.3.0
233-
git tag apps/evm/single/v0.3.0 && git push origin apps/evm/single/v0.3.0
219+
git tag apps/evm/v0.3.0 && git push origin apps/evm/v0.3.0
234220
```
235221

236222
### Scenario 4: Hotfix/Patch Release
@@ -259,11 +245,11 @@ git push origin evm/single/v0.2.1
259245
# GitHub → Actions → Release
260246

261247
# Pull and test image
262-
docker pull ghcr.io/evstack/ev-node-evm-single:v0.2.0
263-
docker run ghcr.io/evstack/ev-node-evm-single:v0.2.0 --version
248+
docker pull ghcr.io/evstack/ev-node-evm:v0.2.0
249+
docker run ghcr.io/evstack/ev-node-evm:v0.2.0 --version
264250

265251
# Check GHCR
266-
# GitHub → Packages → ev-node-evm-single
252+
# GitHub → Packages → ev-node-evm
267253
```
268254

269255
### Go Module Release
@@ -284,7 +270,7 @@ go get github.com/evstack/ev-node/[email protected]
284270

285271
**"App directory does not exist"**
286272

287-
- Ensure tag matches app path: `apps/evm/single/``evm/single/v0.2.0`
273+
- Ensure tag matches app path: `apps/evm/``apps/evm/v0.2.0`
288274
- Check spelling and case sensitivity
289275

290276
**"Dockerfile not found"**

apps/evm/single/Dockerfile renamed to apps/evm/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ RUN go mod download
99

1010
COPY . .
1111

12-
WORKDIR /src/apps/evm/single
13-
RUN go mod tidy && CGO_ENABLED=0 GOOS=linux go build -o evm-single .
12+
WORKDIR /src/apps/evm
13+
RUN go mod tidy && CGO_ENABLED=0 GOOS=linux go build -o evm .
1414

1515
FROM alpine:3.22.2
1616

@@ -19,8 +19,8 @@ RUN apk --no-cache add ca-certificates curl
1919

2020
WORKDIR /root
2121

22-
COPY --from=build-env /src/apps/evm/single/evm-single /usr/bin/evm-single
23-
COPY apps/evm/single/entrypoint.sh /usr/bin/entrypoint.sh
22+
COPY --from=build-env /src/apps/evm/evm /usr/bin/evm
23+
COPY apps/evm/entrypoint.sh /usr/bin/entrypoint.sh
2424
RUN chmod +x /usr/bin/entrypoint.sh
2525

2626
ENTRYPOINT ["/usr/bin/entrypoint.sh"]

apps/evm/single/README.md renamed to apps/evm/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,19 @@ This directory contains the implementation of a single EVM sequencer using Ev-no
1616
2. Build the sequencer:
1717

1818
```bash
19-
go build -o evm-single .
19+
go build -o evm .
2020
```
2121

2222
3. Initialize the sequencer:
2323

2424
```bash
25-
./evm-single init --rollkit.node.aggregator=true --rollkit.signer.passphrase secret
25+
./evm init --rollkit.node.aggregator=true --rollkit.signer.passphrase secret
2626
```
2727

2828
4. Start the sequencer:
2929

3030
```bash
31-
./evm-single start \
31+
./evm start \
3232
--evm.jwt-secret $(cat <path_to>/execution/evm/docker/jwttoken/jwt.hex) \
3333
--evm.genesis-hash 0x2b8bbb1ea1e04f9c9809b4b278a8687806edc061a356c7dbc491930d8e922503 \
3434
--rollkit.node.block_time 1s \
@@ -41,7 +41,7 @@ Share your `genesis.json` with other node operators. Add `da_start_height` field
4141
Note: Replace `<path_to>` with the actual path to the rollkit repository. If you'd ever like to restart a fresh node, make sure to remove the originally created sequencer node directory using:
4242

4343
```bash
44-
rm -rf ~/.evm-single
44+
rm -rf ~/.evm
4545
```
4646

4747
## Configuration
@@ -61,13 +61,13 @@ The sequencer can be configured using various command-line flags. The most impor
6161
2. Initialize the full node:
6262

6363
```bash
64-
./evm-single init --home ~/.evm-single-full-node
64+
./evm init --home ~/.evm-full-node
6565
```
6666

6767
3. Copy the genesis file from the sequencer node:
6868

6969
```bash
70-
cp ~/.evm-single/config/genesis.json ~/.evm-single-full-node/config/genesis.json
70+
cp ~/.evm/config/genesis.json ~/.evm-full-node/config/genesis.json
7171
```
7272

7373
Verify the `da_start_height` value in the genesis file is set. If not, ask the chain developer to share it.
@@ -87,8 +87,8 @@ The sequencer can be configured using various command-line flags. The most impor
8787
5. Start the full node:
8888

8989
```bash
90-
./evm-single start \
91-
--home ~/.evm-single-full-node \
90+
./evm start \
91+
--home ~/.evm-full-node \
9292
--evm.jwt-secret $(cat <path_to>/execution/evm/docker/jwttoken/jwt.hex) \
9393
--evm.genesis-hash 0x2b8bbb1ea1e04f9c9809b4b278a8687806edc061a356c7dbc491930d8e922503 \
9494
--rollkit.rpc.address=127.0.0.1:46657 \
@@ -101,5 +101,5 @@ The sequencer can be configured using various command-line flags. The most impor
101101
If you'd ever like to restart a fresh node, make sure to remove the originally created full node directory using:
102102

103103
```bash
104-
rm -rf ~/.evm-single-full-node
104+
rm -rf ~/.evm-full-node
105105
```
File renamed without changes.
File renamed without changes.

apps/evm/single/cmd/rollback.go renamed to apps/evm/cmd/rollback.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func NewRollbackCmd() *cobra.Command {
3838
}
3939

4040
// evolve db
41-
rawEvolveDB, err := store.NewDefaultKVStore(nodeConfig.RootDir, nodeConfig.DBPath, "evm-single")
41+
rawEvolveDB, err := store.NewDefaultKVStore(nodeConfig.RootDir, nodeConfig.DBPath, "evm")
4242
if err != nil {
4343
return err
4444
}

0 commit comments

Comments
 (0)