diff --git a/accounts/abi/bind/bind_test.go b/accounts/abi/bind/bind_test.go index af4e6ba1d8..72162d8d04 100644 --- a/accounts/abi/bind/bind_test.go +++ b/accounts/abi/bind/bind_test.go @@ -2064,7 +2064,7 @@ func golangBindings(t *testing.T, overload bool) { if out, err := replacer.CombinedOutput(); err != nil { t.Fatalf("failed to replace binding test dependency to current source tree: %v\n%s", err, out) } - tidier := exec.Command(gocmd, "mod", "tidy") + tidier := exec.Command(gocmd, "mod", "tidy", "-compat=1.17") tidier.Dir = pkg if out, err := tidier.CombinedOutput(); err != nil { t.Fatalf("failed to tidy Go module file: %v\n%s", err, out)