polygon-edge icon indicating copy to clipboard operation
polygon-edge copied to clipboard

Downgrade github.com/hashicorp/hcl from v1.0.1 to v1.0.0

Open lyfsn opened this issue 2 years ago • 2 comments

For fix:

~/work/fsn/polygon-edge develop ❯ make build                                                                          wangyufsn
go build -o polygon-edge -ldflags="\
    	-X 'github.com/0xPolygon/polygon-edge/versioning.Version=' \
		-X 'github.com/0xPolygon/polygon-edge/versioning.Commit=34e08f1e41e79e8a54549bd40c3da1a76a045c9a'\
		-X 'github.com/0xPolygon/polygon-edge/versioning.Branch=develop'\
		-X 'github.com/0xPolygon/polygon-edge/versioning.BuildTime=Tue Oct 31 20:28:29 CST 2023'" \
	main.go
go: downloading github.com/hashicorp/hcl v1.0.1-vault
verifying github.com/hashicorp/[email protected]: checksum mismatch
	downloaded: h1:/JhJsLUPC73zeqSbkZApgsofP4iB++zgDHS5t6ZL0Lc=
	go.sum:     h1:UiJeEzCWAYdVaJr8Xo4lBkTozlW1+1yxVUnpbS1xVEk=

SECURITY ERROR
This download does NOT match an earlier download recorded in go.sum.
The bits may have been replaced on the origin server, or an attacker may
have intercepted the download attempt.

For more information, see 'go help module-auth'.
make: *** [build] Error 1

Can I do it this way?

lyfsn avatar Oct 31 '23 12:10 lyfsn

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

github-actions[bot] avatar Oct 31 '23 12:10 github-actions[bot]

I have read the CLA Document and I hereby sign the CLA

lyfsn avatar Oct 31 '23 12:10 lyfsn