Skip to content

Commit

Permalink
fix: panic to merge proto files (#264)
Browse files Browse the repository at this point in the history
  • Loading branch information
lesterli authored and Mauro Lacy committed Jul 10, 2024
1 parent e57fefc commit 253dab4
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -1069,10 +1069,11 @@ func NewBabylonApp(

// At startup, after all modules have been registered, check that all proto
// annotations are correct.
protoFiles, err := proto.MergedRegistry()
if err != nil {
panic(err)
}
// FIXME (https://github.com/babylonchain/babylon-private/issues/266): This is a temporary fix
protoFiles, _ := proto.MergedRegistry()
// if err != nil {
// panic(err)
// }
err = msgservice.ValidateProtoAnnotations(protoFiles)
if err != nil {
// Once we switch to using protoreflect-based antehandlers, we might
Expand Down

0 comments on commit 253dab4

Please sign in to comment.