Skip to content

Commit

Permalink
[goreleaser] refactor: remove go install and cleanup generate.go
Browse files Browse the repository at this point in the history
  • Loading branch information
devin-ai-integration[bot] and trajan0x committed Dec 14, 2024
1 parent ba291bc commit e3dcb98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
3 changes: 1 addition & 2 deletions make/go.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,5 @@ lint: ## lint lints the code with golangci-lint
cd $(GIT_ROOT)
go work sync
cd $(CURRENT_PATH)
go install github.com/golangci/golangci-lint/cmd/[email protected]
$(HOME)/go/bin/golangci-lint run --fix --config=$(GIT_ROOT)/.golangci.yml
go run $(GIT_ROOT)/contrib/golang-ci-lint/main.go run --fix --config=$(GIT_ROOT)/.golangci.yml

7 changes: 1 addition & 6 deletions services/rfq/contracts/testcontracts/dai/generate.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
package dai

import "os"

func init() {
os.Setenv("1_KEY", os.Getenv("ETHERSCAN_KEY"))
}

//go:generate go run github.com/synapsecns/sanguine/tools/abigen generate-from-etherscan --address=0x6b175474e89094c44da98b954eedeac495271d0f --chainID 1 --pkg dai --sol-version 0.5.12 --filename=dai --disable-ci --url https://api.etherscan.io/api?

0 comments on commit e3dcb98

Please sign in to comment.