-
Notifications
You must be signed in to change notification settings - Fork 10
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
Conversation
KonradStaniec
commented
Jan 28, 2025
- 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( |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make sense, thanks