Skip to content

Commit e096d3c

Browse files
authored
Merge branch 'main' into julien/edge-case-p2p-stall
2 parents d585f08 + 05979c1 commit e096d3c

66 files changed

Lines changed: 4401 additions & 729 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,30 @@ name: CI
99

1010
permissions: {}
1111
jobs:
12+
changes:
13+
name: Detect code changes
14+
runs-on: ubuntu-latest
15+
permissions:
16+
contents: read
17+
pull-requests: read
18+
outputs:
19+
code: ${{ steps.filter.outputs.code }}
20+
steps:
21+
- uses: actions/checkout@v6.0.2
22+
- uses: dorny/paths-filter@v3
23+
id: filter
24+
with:
25+
filters: |
26+
code:
27+
- '**'
28+
- '!docs/**'
29+
- '!**/*.md'
30+
- '!.github/workflows/docs_*.yml'
31+
1232
determine-image-tag:
1333
name: Determine Image Tag
34+
needs: changes
35+
if: needs.changes.outputs.code == 'true'
1436
runs-on: ubuntu-latest
1537
permissions:
1638
contents: read
@@ -39,12 +61,15 @@ jobs:
3961
echo "tag=$TAG" >> $GITHUB_OUTPUT
4062
4163
lint:
64+
needs: changes
65+
if: needs.changes.outputs.code == 'true'
4266
permissions:
4367
contents: read
4468
uses: ./.github/workflows/lint.yml
4569

4670
docker:
47-
needs: determine-image-tag
71+
needs: [determine-image-tag, changes]
72+
if: needs.changes.outputs.code == 'true'
4873
uses: ./.github/workflows/docker-build-push.yml
4974
secrets: inherit
5075
permissions:
@@ -60,6 +85,8 @@ jobs:
6085
]
6186
6287
test:
88+
needs: changes
89+
if: needs.changes.outputs.code == 'true'
6390
permissions:
6491
actions: read
6592
contents: read
@@ -68,7 +95,8 @@ jobs:
6895
secrets: inherit
6996

7097
docker-tests:
71-
needs: [determine-image-tag, docker]
98+
needs: [determine-image-tag, docker, changes]
99+
if: needs.changes.outputs.code == 'true'
72100
uses: ./.github/workflows/docker-tests.yml
73101
secrets: inherit
74102
permissions:
@@ -77,6 +105,8 @@ jobs:
77105
image-tag: ${{ needs.determine-image-tag.outputs.tag }}
78106

79107
proto:
108+
needs: changes
109+
if: needs.changes.outputs.code == 'true'
80110
permissions:
81111
contents: read
82112
pull-requests: write

.just/proto.just

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ proto-gen:
44
@echo "--> Generating Protobuf files"
55
buf generate --path="./proto/evnode" --template="buf.gen.yaml" --config="buf.yaml"
66
buf generate --path="./proto/execution/evm" --template="buf.gen.evm.yaml" --config="buf.yaml"
7+
buf generate --template="buf.gen.grpc.yaml" --config="buf.yaml"
78

89
# Lint protobuf files (requires Docker)
910
[group('proto')]

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212
### Changes
1313

1414
- Add automatic DA retriever walkback when P2P stalls and DA blocks too far ahead [#3262](https://github.com/evstack/ev-node/pull/3262)
15+
- Optimization of mutex usage in cache for reaper [#3286](https://github.com/evstack/ev-node/pull/3286)
16+
- Add Unix domain socket support for gRPC execution endpoints via `unix:///path/to/socket` [#3297](https://github.com/evstack/ev-node/pull/3297)
17+
- **BREAKING:** (execution/grpc)
18+
- Move execution service where it belongs in execution/grpc. []()
19+
- Replace legacy gRPC execution `txs` payload fields with `tx_batch` so clients and servers use contiguous transaction buffers [#3297](https://github.com/evstack/ev-node/pull/3297)
20+
- Optimize metadata writes by making it async in cache store [#3298](https://github.com/evstack/ev-node/pull/3298)
21+
- Reduce tx cache retention to avoid OOM under (really) heavy tx load [#3299](https://github.com/evstack/ev-node/pull/3299)
1522

1623
## v1.1.1
1724

apps/evm/go.mod

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ require (
1313
github.com/evstack/ev-node/core v1.0.0
1414
github.com/evstack/ev-node/execution/evm v1.0.1
1515
github.com/ipfs/go-datastore v0.9.1
16-
github.com/rs/zerolog v1.35.0
16+
github.com/rs/zerolog v1.35.1
1717
github.com/spf13/cobra v1.10.2
1818
gotest.tools/v3 v3.5.2
1919
)
2020

2121
require (
2222
cloud.google.com/go v0.123.0 // indirect
23-
cloud.google.com/go/auth v0.18.2 // indirect
23+
cloud.google.com/go/auth v0.20.0 // indirect
2424
cloud.google.com/go/auth/oauth2adapt v0.2.8 // indirect
2525
cloud.google.com/go/compute/metadata v0.9.0 // indirect
2626
cloud.google.com/go/iam v1.7.0 // indirect
@@ -43,12 +43,12 @@ require (
4343
github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.23 // indirect
4444
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.8 // indirect
4545
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.22 // indirect
46-
github.com/aws/aws-sdk-go-v2/service/kms v1.50.5 // indirect
46+
github.com/aws/aws-sdk-go-v2/service/kms v1.51.0 // indirect
4747
github.com/aws/aws-sdk-go-v2/service/signin v1.0.10 // indirect
4848
github.com/aws/aws-sdk-go-v2/service/sso v1.30.16 // indirect
4949
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.35.20 // indirect
5050
github.com/aws/aws-sdk-go-v2/service/sts v1.42.0 // indirect
51-
github.com/aws/smithy-go v1.25.0 // indirect
51+
github.com/aws/smithy-go v1.25.1 // indirect
5252
github.com/benbjohnson/clock v1.3.5 // indirect
5353
github.com/beorn7/perks v1.0.1 // indirect
5454
github.com/bits-and-blooms/bitset v1.20.0 // indirect
@@ -128,7 +128,7 @@ require (
128128
github.com/libp2p/go-libp2p-asn-util v0.4.1 // indirect
129129
github.com/libp2p/go-libp2p-kad-dht v0.39.1 // indirect
130130
github.com/libp2p/go-libp2p-kbucket v0.8.0 // indirect
131-
github.com/libp2p/go-libp2p-pubsub v0.15.0 // indirect
131+
github.com/libp2p/go-libp2p-pubsub v0.16.0 // indirect
132132
github.com/libp2p/go-libp2p-record v0.3.1 // indirect
133133
github.com/libp2p/go-libp2p-routing-helpers v0.7.5 // indirect
134134
github.com/libp2p/go-msgio v0.3.0 // indirect
@@ -201,8 +201,8 @@ require (
201201
github.com/wlynxg/anet v0.0.5 // indirect
202202
go.opencensus.io v0.24.0 // indirect
203203
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
204-
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.61.0 // indirect
205-
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.65.0 // indirect
204+
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.67.0 // indirect
205+
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.67.0 // indirect
206206
go.opentelemetry.io/otel v1.43.0 // indirect
207207
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.43.0 // indirect
208208
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.43.0 // indirect
@@ -230,7 +230,7 @@ require (
230230
golang.org/x/tools v0.43.0 // indirect
231231
golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da // indirect
232232
gonum.org/v1/gonum v0.17.0 // indirect
233-
google.golang.org/api v0.274.0 // indirect
233+
google.golang.org/api v0.276.0 // indirect
234234
google.golang.org/genproto v0.0.0-20260319201613-d00831a3d3e7 // indirect
235235
google.golang.org/genproto/googleapis/api v0.0.0-20260401024825-9d38bb4040a9 // indirect
236236
google.golang.org/genproto/googleapis/rpc v0.0.0-20260401024825-9d38bb4040a9 // indirect

apps/evm/go.sum

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ cloud.google.com/go v0.79.0/go.mod h1:3bzgcEeQlzbuEAYu4mrWhKqWjmpprinYgKJLgKHnbb
2020
cloud.google.com/go v0.81.0/go.mod h1:mk/AM35KwGk/Nm2YSeZbxXdrNK3KZOYHmLkOqC2V6E0=
2121
cloud.google.com/go v0.123.0 h1:2NAUJwPR47q+E35uaJeYoNhuNEM9kM8SjgRgdeOJUSE=
2222
cloud.google.com/go v0.123.0/go.mod h1:xBoMV08QcqUGuPW65Qfm1o9Y4zKZBpGS+7bImXLTAZU=
23-
cloud.google.com/go/auth v0.18.2 h1:+Nbt5Ev0xEqxlNjd6c+yYUeosQ5TtEUaNcN/3FozlaM=
24-
cloud.google.com/go/auth v0.18.2/go.mod h1:xD+oY7gcahcu7G2SG2DsBerfFxgPAJz17zz2joOFF3M=
23+
cloud.google.com/go/auth v0.20.0 h1:kXTssoVb4azsVDoUiF8KvxAqrsQcQtB53DcSgta74CA=
24+
cloud.google.com/go/auth v0.20.0/go.mod h1:942/yi/itH1SsmpyrbnTMDgGfdy2BUqIKyd0cyYLc5Q=
2525
cloud.google.com/go/auth/oauth2adapt v0.2.8 h1:keo8NaayQZ6wimpNSmW5OPc283g65QNIiLpZnkHRbnc=
2626
cloud.google.com/go/auth/oauth2adapt v0.2.8/go.mod h1:XQ9y31RkqZCcwJWNSx2Xvric3RrU88hAYYbjDWYDL+c=
2727
cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o=
@@ -105,8 +105,8 @@ github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.8 h1:HtOTYcb
105105
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.8/go.mod h1:VsK9abqQeGlzPgUr+isNWzPlK2vKe9INMLWnY65f5Xs=
106106
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.22 h1:PUmZeJU6Y1Lbvt9WFuJ0ugUK2xn6hIWUBBbKuOWF30s=
107107
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.22/go.mod h1:nO6egFBoAaoXze24a2C0NjQCvdpk8OueRoYimvEB9jo=
108-
github.com/aws/aws-sdk-go-v2/service/kms v1.50.5 h1:nEzwx/ZlpUZ2Y6WztsgYmfBh5Ixd3QiECawXMzvTMeo=
109-
github.com/aws/aws-sdk-go-v2/service/kms v1.50.5/go.mod h1:GBO/aaEi47QldDVoqw2CsM2UZQDoqDiFIMJD/ztHPs0=
108+
github.com/aws/aws-sdk-go-v2/service/kms v1.51.0 h1:696UM+NwOrETBCLQJyCAGtVmmZmziBT59yMwgg6Fvrw=
109+
github.com/aws/aws-sdk-go-v2/service/kms v1.51.0/go.mod h1:GBO/aaEi47QldDVoqw2CsM2UZQDoqDiFIMJD/ztHPs0=
110110
github.com/aws/aws-sdk-go-v2/service/signin v1.0.10 h1:a1Fq/KXn75wSzoJaPQTgZO0wHGqE9mjFnylnqEPTchA=
111111
github.com/aws/aws-sdk-go-v2/service/signin v1.0.10/go.mod h1:p6+MXNxW7IA6dMgHfTAzljuwSKD0NCm/4lbS4t6+7vI=
112112
github.com/aws/aws-sdk-go-v2/service/sso v1.30.16 h1:x6bKbmDhsgSZwv6q19wY/u3rLk/3FGjJWyqKcIRufpE=
@@ -115,8 +115,8 @@ github.com/aws/aws-sdk-go-v2/service/ssooidc v1.35.20 h1:oK/njaL8GtyEihkWMD4k3Vg
115115
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.35.20/go.mod h1:JHs8/y1f3zY7U5WcuzoJ/yAYGYtNIVPKLIbp61euvmg=
116116
github.com/aws/aws-sdk-go-v2/service/sts v1.42.0 h1:ks8KBcZPh3PYISr5dAiXCM5/Thcuxk8l+PG4+A0exds=
117117
github.com/aws/aws-sdk-go-v2/service/sts v1.42.0/go.mod h1:pFw33T0WLvXU3rw1WBkpMlkgIn54eCB5FYLhjDc9Foo=
118-
github.com/aws/smithy-go v1.25.0 h1:Sz/XJ64rwuiKtB6j98nDIPyYrV1nVNJ4YU74gttcl5U=
119-
github.com/aws/smithy-go v1.25.0/go.mod h1:YE2RhdIuDbA5E5bTdciG9KrW3+TiEONeUWCqxX9i1Fc=
118+
github.com/aws/smithy-go v1.25.1 h1:J8ERsGSU7d+aCmdQur5Txg6bVoYelvQJgtZehD12GkI=
119+
github.com/aws/smithy-go v1.25.1/go.mod h1:YE2RhdIuDbA5E5bTdciG9KrW3+TiEONeUWCqxX9i1Fc=
120120
github.com/benbjohnson/clock v1.3.5 h1:VvXlSJBzZpA/zum6Sj74hxwYI2DIxRWuNIoXAzHZz5o=
121121
github.com/benbjohnson/clock v1.3.5/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA=
122122
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q=
@@ -516,8 +516,8 @@ github.com/libp2p/go-libp2p-kad-dht v0.39.1 h1:9RzUBc7zywT4ZNamRSgEvPZmVlK3Y6xdl
516516
github.com/libp2p/go-libp2p-kad-dht v0.39.1/go.mod h1:Po2JugFEkDq9Vig/JXtc153ntOi0q58o4j7IuITCOVs=
517517
github.com/libp2p/go-libp2p-kbucket v0.8.0 h1:QAK7RzKJpYe+EuSEATAaaHYMYLkPDGC18m9jxPLnU8s=
518518
github.com/libp2p/go-libp2p-kbucket v0.8.0/go.mod h1:JMlxqcEyKwO6ox716eyC0hmiduSWZZl6JY93mGaaqc4=
519-
github.com/libp2p/go-libp2p-pubsub v0.15.0 h1:cG7Cng2BT82WttmPFMi50gDNV+58K626m/wR00vGL1o=
520-
github.com/libp2p/go-libp2p-pubsub v0.15.0/go.mod h1:lr4oE8bFgQaifRcoc2uWhWWiK6tPdOEKpUuR408GFN4=
519+
github.com/libp2p/go-libp2p-pubsub v0.16.0 h1:j7G2C8kJwkcAQqYR7Wmq3d75d3Sgw/N0Hhiv0dVx7OY=
520+
github.com/libp2p/go-libp2p-pubsub v0.16.0/go.mod h1:lr4oE8bFgQaifRcoc2uWhWWiK6tPdOEKpUuR408GFN4=
521521
github.com/libp2p/go-libp2p-record v0.3.1 h1:cly48Xi5GjNw5Wq+7gmjfBiG9HCzQVkiZOUZ8kUl+Fg=
522522
github.com/libp2p/go-libp2p-record v0.3.1/go.mod h1:T8itUkLcWQLCYMqtX7Th6r7SexyUJpIyPgks757td/E=
523523
github.com/libp2p/go-libp2p-routing-helpers v0.7.5 h1:HdwZj9NKovMx0vqq6YNPTh6aaNzey5zHD7HeLJtq6fI=
@@ -712,8 +712,8 @@ github.com/rogpeppe/go-internal v1.14.1 h1:UQB4HGPB6osV0SQTLymcB4TgvyWu6ZyliaW0t
712712
github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7so1lCWt35ZSgc=
713713
github.com/rs/cors v1.11.1 h1:eU3gRzXLRK57F5rKMGMZURNdIG4EoAmX8k94r9wXWHA=
714714
github.com/rs/cors v1.11.1/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU=
715-
github.com/rs/zerolog v1.35.0 h1:VD0ykx7HMiMJytqINBsKcbLS+BJ4WYjz+05us+LRTdI=
716-
github.com/rs/zerolog v1.35.0/go.mod h1:EjML9kdfa/RMA7h/6z6pYmq1ykOuA8/mjWaEvGI+jcw=
715+
github.com/rs/zerolog v1.35.1 h1:m7xQeoiLIiV0BCEY4Hs+j2NG4Gp2o2KPKmhnnLiazKI=
716+
github.com/rs/zerolog v1.35.1/go.mod h1:EjML9kdfa/RMA7h/6z6pYmq1ykOuA8/mjWaEvGI+jcw=
717717
github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
718718
github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk=
719719
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
@@ -829,10 +829,10 @@ go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0=
829829
go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo=
830830
go.opentelemetry.io/auto/sdk v1.2.1 h1:jXsnJ4Lmnqd11kwkBV2LgLoFMZKizbCi5fNZ/ipaZ64=
831831
go.opentelemetry.io/auto/sdk v1.2.1/go.mod h1:KRTj+aOaElaLi+wW1kO/DZRXwkF4C5xPbEe3ZiIhN7Y=
832-
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.61.0 h1:q4XOmH/0opmeuJtPsbFNivyl7bCt7yRBbeEm2sC/XtQ=
833-
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.61.0/go.mod h1:snMWehoOh2wsEwnvvwtDyFCxVeDAODenXHtn5vzrKjo=
834-
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.65.0 h1:7iP2uCb7sGddAr30RRS6xjKy7AZ2JtTOPA3oolgVSw8=
835-
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.65.0/go.mod h1:c7hN3ddxs/z6q9xwvfLPk+UHlWRQyaeR1LdgfL/66l0=
832+
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.67.0 h1:yI1/OhfEPy7J9eoa6Sj051C7n5dvpj0QX8g4sRchg04=
833+
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.67.0/go.mod h1:NoUCKYWK+3ecatC4HjkRktREheMeEtrXoQxrqYFeHSc=
834+
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.67.0 h1:OyrsyzuttWTSur2qN/Lm0m2a8yqyIjUVBZcxFPuXq2o=
835+
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.67.0/go.mod h1:C2NGBr+kAB4bk3xtMXfZ94gqFDtg/GkI7e9zqGh5Beg=
836836
go.opentelemetry.io/otel v1.43.0 h1:mYIM03dnh5zfN7HautFE4ieIig9amkNANT+xcVxAj9I=
837837
go.opentelemetry.io/otel v1.43.0/go.mod h1:JuG+u74mvjvcm8vj8pI5XiHy1zDeoCS2LB1spIq7Ay0=
838838
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.43.0 h1:88Y4s2C8oTui1LGM6bTWkw0ICGcOLCAI5l6zsD1j20k=
@@ -1197,8 +1197,8 @@ google.golang.org/api v0.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjR
11971197
google.golang.org/api v0.41.0/go.mod h1:RkxM5lITDfTzmyKFPt+wGrCJbVfniCr2ool8kTBzRTU=
11981198
google.golang.org/api v0.43.0/go.mod h1:nQsDGjRXMo4lvh5hP0TKqF244gqhGcr/YSIykhUk/94=
11991199
google.golang.org/api v0.44.0/go.mod h1:EBOGZqzyhtvMDoxwS97ctnh0zUmYY6CxqXsc1AvkYD8=
1200-
google.golang.org/api v0.274.0 h1:aYhycS5QQCwxHLwfEHRRLf9yNsfvp1JadKKWBE54RFA=
1201-
google.golang.org/api v0.274.0/go.mod h1:JbAt7mF+XVmWu6xNP8/+CTiGH30ofmCmk9nM8d8fHew=
1200+
google.golang.org/api v0.276.0 h1:nVArUtfLEihtW+b0DdcqRGK1xoEm2+ltAihyztq7MKY=
1201+
google.golang.org/api v0.276.0/go.mod h1:Fnag/EWUPIcJXuIkP1pjoTgS5vdxlk3eeemL7Do6bvw=
12021202
google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
12031203
google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
12041204
google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=

apps/grpc/README.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# gRPC Single Sequencer App
22

3-
This application runs a Evolve node with a single sequencer that connects to a remote execution client via gRPC. It allows you to use any execution layer that implements the Evolve execution gRPC interface.
3+
This application runs an Evolve node with a single sequencer that connects to an execution client via gRPC. It allows you to use any execution layer that implements the Evolve execution gRPC interface.
44

55
## Overview
66

77
The gRPC single sequencer app provides:
88

9-
- A Evolve consensus node with single sequencer
10-
- Connection to remote execution clients via gRPC
9+
- An Evolve consensus node with single sequencer
10+
- Connection to execution clients via TCP or Unix domain socket gRPC
1111
- Full data availability layer integration
1212
- P2P networking capabilities
1313

@@ -58,11 +58,20 @@ Start the Evolve node with:
5858
--da.auth-token your-da-token
5959
```
6060

61+
For a same-machine executor, use a Unix domain socket endpoint:
62+
63+
```bash
64+
./evgrpc start \
65+
--root-dir ~/.evgrpc \
66+
--grpc-executor-url unix:///tmp/evolve-executor.sock \
67+
--da.address http://localhost:7980
68+
```
69+
6170
## Command-Line Flags
6271

6372
### gRPC-specific Flags
6473

65-
- `--grpc-executor-url`: URL of the gRPC execution service (default: `http://localhost:50051`)
74+
- `--grpc-executor-url`: URL of the gRPC execution service, either `http://host:port` or `unix:///path/to/socket` (default: `http://localhost:50051`)
6675

6776
### Common Evolve Flags
6877

apps/grpc/cmd/run.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import (
2828

2929
const (
3030
grpcDbName = "grpc-single"
31-
// FlagGrpcExecutorURL is the flag for the gRPC executor endpoint
31+
// FlagGrpcExecutorURL is the flag for the gRPC executor endpoint.
3232
FlagGrpcExecutorURL = "grpc-executor-url"
3333
)
3434

@@ -163,11 +163,10 @@ func createGRPCExecutionClient(cmd *cobra.Command) (execution.Executor, error) {
163163
return nil, fmt.Errorf("%s flag is required", FlagGrpcExecutorURL)
164164
}
165165

166-
// Create and return the gRPC client
167-
return executiongrpc.NewClient(executorURL), nil
166+
return executiongrpc.NewClient(executorURL)
168167
}
169168

170169
// addGRPCFlags adds flags specific to the gRPC execution client
171170
func addGRPCFlags(cmd *cobra.Command) {
172-
cmd.Flags().String(FlagGrpcExecutorURL, "http://localhost:50051", "URL of the gRPC execution service")
171+
cmd.Flags().String(FlagGrpcExecutorURL, "http://localhost:50051", "URL of the gRPC execution service, or unix:///path/to/executor.sock")
173172
}

apps/grpc/go.mod

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ require (
1212
github.com/evstack/ev-node/core v1.0.0
1313
github.com/evstack/ev-node/execution/grpc v1.0.0-rc.1
1414
github.com/ipfs/go-datastore v0.9.1
15-
github.com/rs/zerolog v1.35.0
15+
github.com/rs/zerolog v1.35.1
1616
github.com/spf13/cobra v1.10.2
1717
)
1818

1919
require (
2020
cloud.google.com/go v0.123.0 // indirect
21-
cloud.google.com/go/auth v0.18.2 // indirect
21+
cloud.google.com/go/auth v0.20.0 // indirect
2222
cloud.google.com/go/auth/oauth2adapt v0.2.8 // indirect
2323
cloud.google.com/go/compute/metadata v0.9.0 // indirect
2424
cloud.google.com/go/iam v1.7.0 // indirect
@@ -38,12 +38,12 @@ require (
3838
github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.23 // indirect
3939
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.8 // indirect
4040
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.22 // indirect
41-
github.com/aws/aws-sdk-go-v2/service/kms v1.50.5 // indirect
41+
github.com/aws/aws-sdk-go-v2/service/kms v1.51.0 // indirect
4242
github.com/aws/aws-sdk-go-v2/service/signin v1.0.10 // indirect
4343
github.com/aws/aws-sdk-go-v2/service/sso v1.30.16 // indirect
4444
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.35.20 // indirect
4545
github.com/aws/aws-sdk-go-v2/service/sts v1.42.0 // indirect
46-
github.com/aws/smithy-go v1.25.0 // indirect
46+
github.com/aws/smithy-go v1.25.1 // indirect
4747
github.com/benbjohnson/clock v1.3.5 // indirect
4848
github.com/beorn7/perks v1.0.1 // indirect
4949
github.com/boltdb/bolt v1.3.1 // indirect
@@ -110,7 +110,7 @@ require (
110110
github.com/libp2p/go-libp2p-asn-util v0.4.1 // indirect
111111
github.com/libp2p/go-libp2p-kad-dht v0.39.1 // indirect
112112
github.com/libp2p/go-libp2p-kbucket v0.8.0 // indirect
113-
github.com/libp2p/go-libp2p-pubsub v0.15.0 // indirect
113+
github.com/libp2p/go-libp2p-pubsub v0.16.0 // indirect
114114
github.com/libp2p/go-libp2p-record v0.3.1 // indirect
115115
github.com/libp2p/go-libp2p-routing-helpers v0.7.5 // indirect
116116
github.com/libp2p/go-msgio v0.3.0 // indirect
@@ -178,8 +178,8 @@ require (
178178
github.com/wlynxg/anet v0.0.5 // indirect
179179
go.opencensus.io v0.24.0 // indirect
180180
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
181-
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.61.0 // indirect
182-
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.65.0 // indirect
181+
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.67.0 // indirect
182+
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.67.0 // indirect
183183
go.opentelemetry.io/otel v1.43.0 // indirect
184184
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.43.0 // indirect
185185
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.43.0 // indirect
@@ -207,7 +207,7 @@ require (
207207
golang.org/x/tools v0.43.0 // indirect
208208
golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da // indirect
209209
gonum.org/v1/gonum v0.17.0 // indirect
210-
google.golang.org/api v0.274.0 // indirect
210+
google.golang.org/api v0.276.0 // indirect
211211
google.golang.org/genproto v0.0.0-20260319201613-d00831a3d3e7 // indirect
212212
google.golang.org/genproto/googleapis/api v0.0.0-20260401024825-9d38bb4040a9 // indirect
213213
google.golang.org/genproto/googleapis/rpc v0.0.0-20260401024825-9d38bb4040a9 // indirect

0 commit comments

Comments
 (0)