Skip to content

Commit e62c7ff

Browse files
graduate synctest (#19457)
1 parent 2cd0808 commit e62c7ff

File tree

7 files changed

+4
-11
lines changed

7 files changed

+4
-11
lines changed

.claude/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"Bash(make test-all:*)",
55
"Bash(go test:*)",
66
"Bash(go get:*)",
7-
"Bash(GOEXPERIMENT=synctest go vet:*)",
7+
"Bash(go vet:*)",
88
"Bash(make lint:*)",
99
"Bash(git fetch:*)",
1010
"Bash(go mod tidy:*)"

.github/workflows/test-all-erigon-race.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ jobs:
9999
SKIP_FLAKY_TESTS: 'true'
100100
GODEBUG: cgocheck=0
101101
GOTRACEBACK: 1
102-
GOEXPERIMENT: synctest
103102
GOGC: 80
104103
CGO_CFLAGS: -D__BLST_PORTABLE__
105104
if: needs.source-of-changes.outputs.changed_files != 'true'

.github/workflows/test-win-downloader.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,4 @@ jobs:
4040
cache: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/') }}
4141

4242
- name: Test downloader package
43-
env:
44-
GOEXPERIMENT: synctest
4543
run: go test -v -short -failfast -count=1 ./db/downloader/...

.golangci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
version: "2"
22
run:
3-
build-tags:
4-
- goexperiment.synctest
53
linters:
64
enable:
75
- asasalint

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ GO_BUILD_ENV = GOARCH=${GOARCH} ${CPU_ARCH} CGO_CFLAGS="$(CGO_CFLAGS)" CGO_LDFLA
8888
GOBUILD = $(GO_BUILD_ENV) $(GO) build $(GO_RELEASE_FLAGS) $(GO_FLAGS) -tags $(BUILD_TAGS)
8989
DLV_GO_FLAGS := -gcflags='all="-N -l" -trimpath=false'
9090
GO_BUILD_DEBUG = $(GO_BUILD_ENV) CGO_CFLAGS="$(CGO_CFLAGS) -DMDBX_DEBUG=1" $(GO) build $(DLV_GO_FLAGS) $(GO_FLAGS) -tags $(BUILD_TAGS),debug
91-
GOTEST = $(GO_BUILD_ENV) CGO_CXXFLAGS="$(CGO_CXXFLAGS)" GODEBUG=cgocheck=0 GOTRACEBACK=1 GOEXPERIMENT=synctest $(GO) test $(GO_FLAGS) ./...
91+
GOTEST = $(GO_BUILD_ENV) CGO_CXXFLAGS="$(CGO_CXXFLAGS)" GODEBUG=cgocheck=0 GOTRACEBACK=1 $(GO) test $(GO_FLAGS) ./...
9292

9393
GOINSTALL = CGO_CXXFLAGS="$(CGO_CXXFLAGS)" go install -trimpath
9494

agents.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ go test ./execution/stagedsync/...
2323
go test -run TestName ./path/to/package/...
2424
```
2525

26-
Build tag required: `goexperiment.synctest` (set automatically by Makefile)
27-
2826
## Architecture Overview
2927

3028
Erigon is a high-performance Ethereum execution client with embedded consensus layer. Key design principles:

tools/golangci_lint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/bash
22

3-
GOEXPERIMENT=synctest go tool golangci-lint run --config ./.golangci.yml --fast-only
4-
GOEXPERIMENT=synctest go tool golangci-lint run --config ./.golangci.yml
3+
go tool golangci-lint run --config ./.golangci.yml --fast-only
4+
go tool golangci-lint run --config ./.golangci.yml

0 commit comments

Comments
 (0)