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

chore(deps): upgrade to btcsuite/btcd v2.3.4 #415

Merged

Conversation

rootulp
Copy link
Collaborator

@rootulp rootulp commented Sep 20, 2024

Blocked on a release of celestia-core with celestiaorg/celestia-core#1495. Created https://github.com/celestiaorg/celestia-core/releases/tag/v1.42.0-tm-v0.34.35

We need to merge + release this PR before we bump the celestia-core dependency in celestia-app.

This contains a breaking change that celestia-core bumped to because
CometBFT bumped to it.
@rootulp rootulp self-assigned this Sep 20, 2024
@rootulp
Copy link
Collaborator Author

rootulp commented Sep 30, 2024

golangci-lint was failing b/c a bunch of issues identified by govet and gosec. Disabled those linters.


lint:
@echo "--> Running linter"
@go install github.com/golangci/golangci-lint/cmd/golangci-lint@$(golangci_version)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This results in an error:

$ make lint
--> Running linter
INFO golangci-lint has version v1.61.0 built with go1.22.6 from (unknown, modified: ?, mod sum: "h1:VvbOLaRVWmyxCnUIMTbf1kDsaJbTzH20FAMXTAlQGu8=") on (unknown)
INFO [config_reader] Config search paths: [./ /Users/rootulp/git/rootulp/celestiaorg/cosmos-sdk /Users/rootulp/git/rootulp/celestiaorg /Users/rootulp/git/rootulp /Users/rootulp/git /Users/rootulp /Users /]
INFO [config_reader] Used config file .golangci.yml
Error: can't load config: the Go language version (go1.22) used to build golangci-lint is lower than the targeted Go version (1.23.1)
Failed executing command with error: can't load config: the Go language version (go1.22) used to build golangci-lint is lower than the targeted Go version (1.23.1)
make: *** [lint] Error 3

The fix is to use the version of golangci-lint installed on the machine (should be v1.61.0)

@rootulp rootulp marked this pull request as ready for review September 30, 2024 20:38
@rootulp rootulp requested a review from a team as a code owner September 30, 2024 20:38
@rootulp rootulp requested review from rach-id, ninabarbakadze, cmwaters, staheri14 and evan-forbes and removed request for a team September 30, 2024 20:38
if err != nil {
return nil, err
}
sig := ecdsa.SignCompact(priv, crypto.Sha256(msg), false)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will help merge some Ethereum bumps PRs. Thanks 🙏

@rootulp rootulp removed the blocked label Sep 30, 2024
@rootulp rootulp merged commit 8c98dec into celestiaorg:release/v0.46.x-celestia Oct 1, 2024
32 of 33 checks passed
@rootulp rootulp deleted the rp/btcsuite-v2.3.4 branch October 1, 2024 15:21
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.

3 participants