Merge branch 'ethereum:master' into portal

This commit is contained in:
Chen Kai 2024-10-28 17:30:53 +08:00 committed by GitHub
commit bf673d4695
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -409,6 +409,8 @@ func compareHashedFilesets(preHashes map[string][32]byte, postHashes map[string]
return updates
}
// doGoModTidy runs 'go mod tidy' and asserts that go.sum/go.mod do not change
// as a result.
func doGoModTidy() {
targetFiles := []string{"go.mod", "go.sum"}
preHashes, err := hashSourceFiles(targetFiles)