Skip to content

Commit be087d5

Browse files
committed
replace latest by fixed versions; fix gen-go-bindings
1 parent 348f24f commit be087d5

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Install golangci-lint
3030
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.64.8
3131
- name: Install shadow
32-
run: go install golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow@latest
32+
run: go install golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow@v0.37.0
3333
- name: Run all the linter tools against code
3434
run: make lint
3535

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,4 +199,4 @@ websocat ws://34.208.176.205:9944
199199
{"jsonrpc":"2.0", "id": 1, "method": "chain_subscribeNewHead", "params": []}
200200
```
201201

202-
If you add a new loadtest mode, don't forget to update the loadtest mode string by running the following command: `cd cmd/loadtest && stringer -type=loadTestMode`. You can install [stringer](https://pkg.go.dev/golang.org/x/tools/cmd/stringer) with `go install golang.org/x/tools/cmd/stringer@latest`.
202+
If you add a new loadtest mode, don't forget to update the loadtest mode string by running the following command: `cd cmd/loadtest && stringer -type=loadTestMode`. You can install [stringer](https://pkg.go.dev/golang.org/x/tools/cmd/stringer) with `go install golang.org/x/tools/cmd/stringer@v0.37.0`.

cmd/dumpblocks/usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ $ brew install protobuf
2828
2. Install the protobuf plugin
2929

3030
```bash
31-
$ go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
31+
$ go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.36.9
3232
```
3333

3434
3. Compile the proto file

doc/polycli_dumpblocks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ $ brew install protobuf
4949
2. Install the protobuf plugin
5050

5151
```bash
52-
$ go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
52+
$ go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.36.9
5353
```
5454

5555
3. Compile the proto file

docker/Dockerfile.gen-go-bindings

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=$BUILDPLATFORM golang:1.23-bookworm
1+
FROM --platform=$BUILDPLATFORM golang:1.24-bookworm
22

33
# https://github.com/foundry-rs/foundry/releases
44
ARG FOUNDRY_VERSION="1.3.2"
@@ -12,7 +12,7 @@ RUN apt-get update
1212
RUN git config --global --add safe.directory /gen
1313

1414
## Install abigen
15-
RUN go install github.com/ethereum/go-ethereum/cmd/abigen@latest
15+
RUN go install github.com/ethereum/go-ethereum/cmd/abigen@v1.16.4
1616
RUN abigen --version
1717

1818
## Install foundry

scripts/lint.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ fmt:
1212

1313
# Run `go vet` and `shadow` (which reports shadowed variables) against code.
1414
# https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/shadow
15-
# `go install golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow@latest`
15+
# `go install golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow@v0.37.0`
1616
.PHONY: vet
1717
vet:
1818
go vet ./...

0 commit comments

Comments
 (0)