Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

lyfsn
Copy link

@lyfsn lyfsn commented Oct 31, 2023

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/hcl@v1.0.1-vault: 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?

@github-actions
Copy link

github-actions bot commented Oct 31, 2023

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

@lyfsn
Copy link
Author

lyfsn commented Oct 31, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants