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

bump babylon v1.0.0-rc.4 #119

Merged
merged 4 commits into from
Jan 28, 2025
Merged

Conversation

KonradStaniec
Copy link
Collaborator

  • bumps babylon and fixes conflicts

@@ -512,7 +511,7 @@ func ValidateConfig(cfg Config) (*Config, error) {

// Add default port to all RPC listener addresses if needed and remove
// duplicate addresses.
cfg.RPCListeners, err = lncfg.NormalizeAddresses(
cfg.RPCListeners, err = NormalizeAddresses(
Copy link
Member

Choose a reason for hiding this comment

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

Why the need to introduce this, what has changed?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

In new version of lnd , the lncfg package brings some dependency which require custom proto additions and without them compilation ends with:

../../../go/pkg/mod/github.com/lightningnetwork/[email protected]/lnrpc/rpc_utils.go:32:3: unknown field UseHexForBytes in struct literal of type protojson.MarshalOptions
../../../go/pkg/mod/github.com/lightningnetwork/[email protected]/lnrpc/rpc_utils.go:40:3: unknown field UseHexForBytes in struct literal of type protojson.UnmarshalOptions

I tried use this custom proto package (via replace) but then it does not contains custom stuff from cosmos-sdk.

Easiest way around it was, to remove this dependency and copy paste required code.

Copy link
Member

Choose a reason for hiding this comment

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

Make sense, thanks

@KonradStaniec KonradStaniec merged commit ec0d3f3 into main Jan 28, 2025
15 checks passed
@KonradStaniec KonradStaniec deleted the konradstaniec/bump-babylon-v1rc4 branch January 28, 2025 13:13
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