Skip to content

Commit d5bcb7c

Browse files
fix(jd): remove wsrpc from error message (#666)
We no longer reguire WSRPC as part creating a JD client, removing this from the error message to be clearer.
1 parent 0d57d64 commit d5bcb7c

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.changeset/four-terms-warn.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"chainlink-deployments-framework": patch
3+
---
4+
5+
fix(jd): remove wsrpc from error message

engine/cld/environment/environment.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ func Load(
105105
)
106106
if err != nil {
107107
if errors.Is(err, offchain.ErrEndpointsRequired) {
108-
lggr.Warn("Skipping JD initialization: gRPC and wsRPC endpoints are not set in config")
108+
lggr.Warn("Skipping JD initialization: gRPC endpoint is not set in config")
109109
} else {
110110
return fdeployment.Environment{},
111111
fmt.Errorf("failed to load offchain client for environment %s: %w", envKey, err)

engine/cld/environment/fork.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ func LoadFork(
122122
)
123123
if err != nil {
124124
if errors.Is(err, offchain.ErrEndpointsRequired) {
125-
lggr.Warn("Skipping JD initialization: gRPC and wsRPC endpoints are not set in config")
125+
lggr.Warn("Skipping JD initialization: gRPC endpoint is not set in config")
126126
} else {
127127
return ForkedEnvironment{}, fmt.Errorf("failed to load offchain client: %w", err)
128128
}

0 commit comments

Comments
 (0)