Skip to content

Commit 4b9e5b5

Browse files
authored
Merge branch 'main' into alex/health_lazy
2 parents 1243675 + b940439 commit 4b9e5b5

16 files changed

Lines changed: 33 additions & 893 deletions

File tree

.github/workflows/dependabot-auto-fix.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ jobs:
2020

2121
- uses: actions/setup-go@v6
2222
with:
23-
go-version: "1.22"
2423
check-latest: true
2524

2625
- name: Install make (if missing)

RELEASE.md

Lines changed: 11 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# ev-node Release Guide
22

33
This document covers the release process for ev-node components:
4+
45
- **Docker Image Releases** - Automated via GitHub workflows (for deployable applications)
56
- **Go Module Releases** - Manual process for library packages and dependencies
67

@@ -32,6 +33,7 @@ docker pull ghcr.io/evstack/ev-node-evm-single:v0.2.0
3233
Use the hierarchical tag format: `{app-path}/v{major}.{minor}.{patch}`
3334

3435
**Examples:**
36+
3537
- `evm/single/v0.2.0` → Releases `apps/evm/single/`
3638
- `testapp/v1.0.0` → Releases `apps/testapp/`
3739
- `grpc/single/v2.1.3` → Releases `apps/grpc/single/`
@@ -77,11 +79,6 @@ This section outlines the release process for all Go packages in the ev-node rep
7779
│ │
7880
▼ ▼
7981
┌─────────────────┐ ┌─────────────────┐
80-
│sequencers/based │ │sequencers/single│
81-
└────────┬────────┘ └────────┬────────┘
82-
│ │
83-
▼ ▼
84-
┌─────────────────┐ ┌─────────────────┐
8582
│apps/evm/based │ │apps/evm/single │
8683
└─────────────────┘ └─────────────────┘
8784
```
@@ -105,14 +102,7 @@ These packages only depend on `core` and can be released in parallel after `core
105102
2. **github.com/evstack/ev-node** - Path: `./` (root)
106103
3. **github.com/evstack/ev-node/execution/evm** - Path: `./execution/evm`
107104

108-
#### Phase 3: Sequencer Packages
109-
110-
These packages depend on both `core` and the main `ev-node` package:
111-
112-
1. **github.com/evstack/ev-node/sequencers/based** - Path: `./sequencers/based`
113-
2. **github.com/evstack/ev-node/sequencers/single** - Path: `./sequencers/single`
114-
115-
#### Phase 4: Application Packages
105+
#### Phase 3: Application Packages
116106

117107
These packages have the most dependencies and should be released last:
118108

@@ -124,6 +114,7 @@ These packages have the most dependencies and should be released last:
124114
**IMPORTANT**: Each module must be fully released and available on the Go proxy before updating dependencies in dependent modules.
125115

126116
**Before Starting:**
117+
127118
- Create a protected version branch (e.g., `v0` for major versions, `v0.3` for minor breaking changes)
128119
- Ensure CHANGELOG.md is up to date with all changes properly categorized
129120
- Remove all `replace` directives from go.mod files
@@ -173,33 +164,7 @@ go list -m github.com/evstack/ev-node@v0.3.0
173164
go list -m github.com/evstack/ev-node/execution/evm@v0.3.0
174165
```
175166

176-
#### Phase 3: Release Sequencers
177-
178-
After core and ev-node are available:
179-
180-
```bash
181-
# Update and release sequencers/based
182-
cd sequencers/based
183-
go get github.com/evstack/ev-node/core@v0.3.0
184-
go get github.com/evstack/ev-node@v0.3.0
185-
go mod tidy
186-
git tag sequencers/based/v0.3.0
187-
git push origin sequencers/based/v0.3.0
188-
189-
# Update and release sequencers/single
190-
cd ../single
191-
go get github.com/evstack/ev-node/core@v0.3.0
192-
go get github.com/evstack/ev-node@v0.3.0
193-
go mod tidy
194-
git tag sequencers/single/v0.3.0
195-
git push origin sequencers/single/v0.3.0
196-
197-
# Verify availability
198-
go list -m github.com/evstack/ev-node/sequencers/based@v0.3.0
199-
go list -m github.com/evstack/ev-node/sequencers/single@v0.3.0
200-
```
201-
202-
#### Phase 4: Release Applications
167+
#### Phase 3: Release Applications
203168

204169
After all dependencies are available:
205170

@@ -210,7 +175,6 @@ go get github.com/evstack/ev-node/core@v0.3.0
210175
go get github.com/evstack/ev-node/da@v0.3.0
211176
go get github.com/evstack/ev-node/execution/evm@v0.3.0
212177
go get github.com/evstack/ev-node@v0.3.0
213-
go get github.com/evstack/ev-node/sequencers/based@v0.3.0
214178
go mod tidy
215179
git tag apps/evm/based/v0.3.0
216180
git push origin apps/evm/based/v0.3.0
@@ -221,7 +185,6 @@ go get github.com/evstack/ev-node/core@v0.3.0
221185
go get github.com/evstack/ev-node/da@v0.3.0
222186
go get github.com/evstack/ev-node/execution/evm@v0.3.0
223187
go get github.com/evstack/ev-node@v0.3.0
224-
go get github.com/evstack/ev-node/sequencers/single@v0.3.0
225188
go mod tidy
226189
git tag apps/evm/single/v0.3.0
227190
git push origin apps/evm/single/v0.3.0
@@ -265,11 +228,7 @@ git tag da/v0.3.0 && git push origin da/v0.3.0
265228
git tag v0.3.0 && git push origin v0.3.0
266229
git tag execution/evm/v0.3.0 && git push origin execution/evm/v0.3.0
267230

268-
# 3. Wait, update deps, then release sequencers
269-
git tag sequencers/based/v0.3.0 && git push origin sequencers/based/v0.3.0
270-
git tag sequencers/single/v0.3.0 && git push origin sequencers/single/v0.3.0
271-
272-
# 4. Wait, update deps, then release apps
231+
# 3. Wait, update deps, then release apps
273232
git tag apps/evm/based/v0.3.0 && git push origin apps/evm/based/v0.3.0
274233
git tag apps/evm/single/v0.3.0 && git push origin apps/evm/single/v0.3.0
275234
```
@@ -324,25 +283,30 @@ go get github.com/evstack/ev-node/core@v0.3.0
324283
### Docker Releases
325284

326285
**"App directory does not exist"**
286+
327287
- Ensure tag matches app path: `apps/evm/single/``evm/single/v0.2.0`
328288
- Check spelling and case sensitivity
329289

330290
**"Dockerfile not found"**
291+
331292
- Verify Dockerfile exists at `apps/{app-path}/Dockerfile`
332293
- Check filename is exactly `Dockerfile`
333294

334295
**"Image not found" in tests**
296+
335297
- Wait for Docker build workflow to complete
336298
- Check workflow dependencies in Actions tab
337299

338300
### Go Module Releases
339301

340302
**Go proxy delay**
303+
341304
- Wait 5-30 minutes for propagation
342305
- Use `go list -m` to verify availability
343306
- Check https://proxy.golang.org/
344307

345308
**Dependency version conflicts**
309+
346310
- Ensure all dependencies are released before dependent modules
347311
- Verify go.mod has correct versions
348312
- Remove `replace` directives

apps/evm/single/go.mod

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ require (
1313
github.com/evstack/ev-node/core v1.0.0-beta.4
1414
github.com/evstack/ev-node/da v1.0.0-beta.5
1515
github.com/evstack/ev-node/execution/evm v1.0.0-beta.3
16-
github.com/evstack/ev-node/sequencers/single v1.0.0-beta.3
1716
github.com/ipfs/go-datastore v0.9.0
1817
github.com/spf13/cobra v1.10.1
1918
)
@@ -29,7 +28,7 @@ require (
2928
github.com/celestiaorg/go-libp2p-messenger v0.2.2 // indirect
3029
github.com/celestiaorg/go-square/v3 v3.0.2 // indirect
3130
github.com/cespare/xxhash/v2 v2.3.0 // indirect
32-
github.com/consensys/gnark-crypto v0.18.0 // indirect
31+
github.com/consensys/gnark-crypto v0.18.1 // indirect
3332
github.com/crate-crypto/go-eth-kzg v1.4.0 // indirect
3433
github.com/crate-crypto/go-ipa v0.0.0-20240724233137-53bbb0ceb27a // indirect
3534
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect

apps/evm/single/go.sum

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ github.com/cockroachdb/redact v1.1.5 h1:u1PMllDkdFfPWaNGMyLD1+so+aq3uUItthCFqzwP
5555
github.com/cockroachdb/redact v1.1.5/go.mod h1:BVNblN9mBWFyMyqK1k3AAiSxhvhfK2oOZZ2lK+dpvRg=
5656
github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 h1:zuQyyAKVxetITBuuhv3BI9cMrmStnpT18zmgmTxunpo=
5757
github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06/go.mod h1:7nc4anLGjupUW/PeY5qiNYsdNXj7zopG+eqsS7To5IQ=
58-
github.com/consensys/gnark-crypto v0.18.0 h1:vIye/FqI50VeAr0B3dx+YjeIvmc3LWz4yEfbWBpTUf0=
59-
github.com/consensys/gnark-crypto v0.18.0/go.mod h1:L3mXGFTe1ZN+RSJ+CLjUt9x7PNdx8ubaYfDROyp2Z8c=
58+
github.com/consensys/gnark-crypto v0.18.1 h1:RyLV6UhPRoYYzaFnPQA4qK3DyuDgkTgskDdoGqFt3fI=
59+
github.com/consensys/gnark-crypto v0.18.1/go.mod h1:L3mXGFTe1ZN+RSJ+CLjUt9x7PNdx8ubaYfDROyp2Z8c=
6060
github.com/coreos/go-systemd v0.0.0-20181012123002-c6f51f82210d/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4=
6161
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
6262
github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU=
@@ -105,8 +105,6 @@ github.com/ethereum/go-verkle v0.2.2 h1:I2W0WjnrFUIzzVPwm8ykY+7pL2d4VhlsePn4j7cn
105105
github.com/ethereum/go-verkle v0.2.2/go.mod h1:M3b90YRnzqKyyzBEWJGqj8Qff4IDeXnzFw0P9bFw3uk=
106106
github.com/evstack/ev-node/execution/evm v1.0.0-beta.3 h1:xo0mZz3CJtntP1RPLFDBubBKpNkqStImt9H9N0xysj8=
107107
github.com/evstack/ev-node/execution/evm v1.0.0-beta.3/go.mod h1:yazCKZaVczYwizfHYSQ4KIYqW0d42M7q7e9AxuSXV3s=
108-
github.com/evstack/ev-node/sequencers/single v1.0.0-beta.3 h1:BT/UeH7Tf8z0btzomCzTbbDDZGAT8/yHcd6xY6P/aaw=
109-
github.com/evstack/ev-node/sequencers/single v1.0.0-beta.3/go.mod h1:eCkDecdJ3s7TB3R5nFdPDyz7jjRmwYen6lGe9D2sSH4=
110108
github.com/ferranbt/fastssz v0.1.4 h1:OCDB+dYDEQDvAgtAGnTSidK1Pe2tW3nFV40XyMkTeDY=
111109
github.com/ferranbt/fastssz v0.1.4/go.mod h1:Ea3+oeoRGGLGm5shYAeDgu6PGUlcvQhE2fILyD9+tGg=
112110
github.com/filecoin-project/go-clock v0.1.0 h1:SFbYIM75M8NnFm1yMHhN9Ahy3W5bEZV9gd6MPfXbKVU=

apps/grpc/single/go.mod

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ require (
99
github.com/evstack/ev-node/core v1.0.0-beta.4
1010
github.com/evstack/ev-node/da v1.0.0-beta.5
1111
github.com/evstack/ev-node/execution/grpc v0.0.0
12-
github.com/evstack/ev-node/sequencers/single v1.0.0-beta.3
1312
github.com/spf13/cobra v1.10.1
1413
)
1514

apps/grpc/single/go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,6 @@ github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymF
6060
github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
6161
github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98=
6262
github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
63-
github.com/evstack/ev-node/sequencers/single v1.0.0-beta.3 h1:BT/UeH7Tf8z0btzomCzTbbDDZGAT8/yHcd6xY6P/aaw=
64-
github.com/evstack/ev-node/sequencers/single v1.0.0-beta.3/go.mod h1:eCkDecdJ3s7TB3R5nFdPDyz7jjRmwYen6lGe9D2sSH4=
6563
github.com/filecoin-project/go-clock v0.1.0 h1:SFbYIM75M8NnFm1yMHhN9Ahy3W5bEZV9gd6MPfXbKVU=
6664
github.com/filecoin-project/go-clock v0.1.0/go.mod h1:4uB/O4PvOjlx1VCMdZ9MyDZXRm//gkj1ELEbxfI1AZs=
6765
github.com/filecoin-project/go-jsonrpc v0.9.0 h1:G47qEF52w7GholpI21vPSTVBFvsrip6geIoqNiqyZtQ=

apps/testapp/go.mod

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,13 @@ replace (
88
github.com/evstack/ev-node => ../../.
99
github.com/evstack/ev-node/core => ../../core
1010
github.com/evstack/ev-node/da => ../../da
11-
github.com/evstack/ev-node/sequencers/single => ../../sequencers/single
1211
)
1312

1413
require (
1514
github.com/celestiaorg/go-header v0.7.3
1615
github.com/evstack/ev-node v1.0.0-beta.9
1716
github.com/evstack/ev-node/core v1.0.0-beta.4
1817
github.com/evstack/ev-node/da v0.0.0-00010101000000-000000000000
19-
github.com/evstack/ev-node/sequencers/single v0.0.0-00010101000000-000000000000
2018
github.com/ipfs/go-datastore v0.9.0
2119
github.com/spf13/cobra v1.10.1
2220
github.com/stretchr/testify v1.11.1

block/internal/cache/generic_cache.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ func (c *Cache[T]) removeDAIncluded(hash string) {
9898
c.daIncluded.Delete(hash)
9999
}
100100

101-
// deleteAll removes all items and their associated data from the cache at the given height
101+
// deleteAllForHeight removes all items and their associated data from the cache at the given height
102102
func (c *Cache[T]) deleteAllForHeight(height uint64) {
103103
c.itemsByHeight.Delete(height)
104104
hash, ok := c.hashByHeight.Load(height)

execution/evm/test/go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ require (
4141
github.com/cockroachdb/pebble v1.1.5 // indirect
4242
github.com/cockroachdb/redact v1.1.5 // indirect
4343
github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect
44-
github.com/cometbft/cometbft v0.38.17 // indirect
44+
github.com/cometbft/cometbft v0.38.19 // indirect
4545
github.com/cometbft/cometbft-db v0.14.1 // indirect
46-
github.com/consensys/gnark-crypto v0.18.0 // indirect
46+
github.com/consensys/gnark-crypto v0.18.1 // indirect
4747
github.com/containerd/errdefs v1.0.0 // indirect
4848
github.com/cosmos/btcutil v1.0.5 // indirect
4949
github.com/cosmos/cosmos-db v1.1.1 // indirect
@@ -67,7 +67,7 @@ require (
6767
github.com/docker/go-connections v0.5.0 // indirect
6868
github.com/docker/go-units v0.5.0 // indirect
6969
github.com/dustin/go-humanize v1.0.1 // indirect
70-
github.com/dvsekhvalnov/jose2go v1.6.0 // indirect
70+
github.com/dvsekhvalnov/jose2go v1.7.0 // indirect
7171
github.com/emicklei/dot v1.6.2 // indirect
7272
github.com/ethereum/c-kzg-4844/v2 v2.1.3 // indirect
7373
github.com/ethereum/go-verkle v0.2.2 // indirect

execution/evm/test/go.sum

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,12 @@ github.com/cockroachdb/redact v1.1.5 h1:u1PMllDkdFfPWaNGMyLD1+so+aq3uUItthCFqzwP
9898
github.com/cockroachdb/redact v1.1.5/go.mod h1:BVNblN9mBWFyMyqK1k3AAiSxhvhfK2oOZZ2lK+dpvRg=
9999
github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 h1:zuQyyAKVxetITBuuhv3BI9cMrmStnpT18zmgmTxunpo=
100100
github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06/go.mod h1:7nc4anLGjupUW/PeY5qiNYsdNXj7zopG+eqsS7To5IQ=
101-
github.com/cometbft/cometbft v0.38.17 h1:FkrQNbAjiFqXydeAO81FUzriL4Bz0abYxN/eOHrQGOk=
102-
github.com/cometbft/cometbft v0.38.17/go.mod h1:5l0SkgeLRXi6bBfQuevXjKqML1jjfJJlvI1Ulp02/o4=
101+
github.com/cometbft/cometbft v0.38.19 h1:vNdtCkvhuwUlrcLPAyigV7lQpmmo+tAq8CsB8gZjEYw=
102+
github.com/cometbft/cometbft v0.38.19/go.mod h1:UCu8dlHqvkAsmAFmWDRWNZJPlu6ya2fTWZlDrWsivwo=
103103
github.com/cometbft/cometbft-db v0.14.1 h1:SxoamPghqICBAIcGpleHbmoPqy+crij/++eZz3DlerQ=
104104
github.com/cometbft/cometbft-db v0.14.1/go.mod h1:KHP1YghilyGV/xjD5DP3+2hyigWx0WTp9X+0Gnx0RxQ=
105-
github.com/consensys/gnark-crypto v0.18.0 h1:vIye/FqI50VeAr0B3dx+YjeIvmc3LWz4yEfbWBpTUf0=
106-
github.com/consensys/gnark-crypto v0.18.0/go.mod h1:L3mXGFTe1ZN+RSJ+CLjUt9x7PNdx8ubaYfDROyp2Z8c=
105+
github.com/consensys/gnark-crypto v0.18.1 h1:RyLV6UhPRoYYzaFnPQA4qK3DyuDgkTgskDdoGqFt3fI=
106+
github.com/consensys/gnark-crypto v0.18.1/go.mod h1:L3mXGFTe1ZN+RSJ+CLjUt9x7PNdx8ubaYfDROyp2Z8c=
107107
github.com/containerd/errdefs v1.0.0 h1:tg5yIfIlQIrxYtu9ajqY42W3lpS19XqdxRQeEwYG8PI=
108108
github.com/containerd/errdefs v1.0.0/go.mod h1:+YBYIdtsnF4Iw6nWZhJcqGSg/dwvV7tyJ/kCkyJ2k+M=
109109
github.com/containerd/log v0.1.0 h1:TCJt7ioM2cr/tfR8GPbGf9/VRAX8D2B4PjzCpfX540I=
@@ -174,8 +174,8 @@ github.com/docker/go-units v0.5.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDD
174174
github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk=
175175
github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY=
176176
github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto=
177-
github.com/dvsekhvalnov/jose2go v1.6.0 h1:Y9gnSnP4qEI0+/uQkHvFXeD2PLPJeXEL+ySMEA2EjTY=
178-
github.com/dvsekhvalnov/jose2go v1.6.0/go.mod h1:QsHjhyTlD/lAVqn/NSbVZmSCGeDehTB/mPZadG+mhXU=
177+
github.com/dvsekhvalnov/jose2go v1.7.0 h1:bnQc8+GMnidJZA8zc6lLEAb4xNrIqHwO+9TzqvtQZPo=
178+
github.com/dvsekhvalnov/jose2go v1.7.0/go.mod h1:QsHjhyTlD/lAVqn/NSbVZmSCGeDehTB/mPZadG+mhXU=
179179
github.com/emicklei/dot v1.6.2 h1:08GN+DD79cy/tzN6uLCT84+2Wk9u+wvqP+Hkx/dIR8A=
180180
github.com/emicklei/dot v1.6.2/go.mod h1:DeV7GvQtIw4h2u73RKBkkFdvVAz0D9fzeJrgPW6gy/s=
181181
github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=

0 commit comments

Comments
 (0)