I'm getting this error thrown when I try to compile:
# github.com/weeaa/jito-go/pb
../../../go/pkg/mod/github.com/weeaa/jito-go@v0.0.0-20240717152351-390b5f43b1d0/pb/relayer.pb.go:116:6: SubscribePacketsRequest redeclared in this block
../../../go/pkg/mod/github.com/weeaa/jito-go@v0.0.0-20240717152351-390b5f43b1d0/pb/block_engine.pb.go:23:6: other declaration of SubscribePacketsRequest
../../../go/pkg/mod/github.com/weeaa/jito-go@v0.0.0-20240717152351-390b5f43b1d0/pb/relayer.pb.go:122:35: method SubscribePacketsRequest.Reset already declared at ../../../go/pkg/mod/github.com/weeaa/jito-go@v0.0.0-20240717152351-390b5f43b1d0/pb/block_engine.pb.go:29:35
../../../go/pkg/mod/github.com/weeaa/jito-go@v0.0.0-20240717152351-390b5f43b1d0/pb/relayer.pb.go:131:35: method SubscribePacketsRequest.String already declared at ../../../go/pkg/mod/github.com/weeaa/jito-go@v0.0.0-20240717152351-390b5f43b1d0/pb/block_engine.pb.go:38:35
../../../go/pkg/mod/github.com/weeaa/jito-go@v0.0.0-20240717152351-390b5f43b1d0/pb/relayer.pb.go:135:33: method SubscribePacketsRequest.ProtoMessage already declared at ../../../go/pkg/mod/github.com/weeaa/jito-go@v0.0.0-20240717152351-390b5f43b1d0/pb/block_engine.pb.go:42:33
../../../go/pkg/mod/github.com/weeaa/jito-go@v0.0.0-20240717152351-390b5f43b1d0/pb/relayer.pb.go:137:35: method SubscribePacketsRequest.ProtoReflect already declared at ../../../go/pkg/mod/github.com/weeaa/jito-go@v0.0.0-20240717152351-390b5f43b1d0/pb/block_engine.pb.go:44:35
../../../go/pkg/mod/github.com/weeaa/jito-go@v0.0.0-20240717152351-390b5f43b1d0/pb/relayer.pb.go:150:33: method SubscribePacketsRequest.Descriptor already declared at ../../../go/pkg/mod/github.com/weeaa/jito-go@v0.0.0-20240717152351-390b5f43b1d0/pb/block_engine.pb.go:57:33
../../../go/pkg/mod/github.com/weeaa/jito-go@v0.0.0-20240717152351-390b5f43b1d0/pb/relayer.pb.go:154:6: SubscribePacketsResponse redeclared in this block
../../../go/pkg/mod/github.com/weeaa/jito-go@v0.0.0-20240717152351-390b5f43b1d0/pb/block_engine.pb.go:61:6: other declaration of SubscribePacketsResponse
../../../go/pkg/mod/github.com/weeaa/jito-go@v0.0.0-20240717152351-390b5f43b1d0/pb/relayer.pb.go:167:36: method SubscribePacketsResponse.Reset already declared at ../../../go/pkg/mod/github.com/weeaa/jito-go@v0.0.0-20240717152351-390b5f43b1d0/pb/block_engine.pb.go:70:36
../../../go/pkg/mod/github.com/weeaa/jito-go@v0.0.0-20240717152351-390b5f43b1d0/pb/relayer.pb.go:176:36: method SubscribePacketsResponse.String already declared at ../../../go/pkg/mod/github.com/weeaa/jito-go@v0.0.0-20240717152351-390b5f43b1d0/pb/block_engine.pb.go:79:36
../../../go/pkg/mod/github.com/weeaa/jito-go@v0.0.0-20240717152351-390b5f43b1d0/pb/shredstream.pb.go:23:6: Heartbeat redeclared in this block
../../../go/pkg/mod/github.com/weeaa/jito-go@v0.0.0-20240717152351-390b5f43b1d0/pb/shared.pb.go:71:6: other declaration of Heartbeat
../../../go/pkg/mod/github.com/weeaa/jito-go@v0.0.0-20240717152351-390b5f43b1d0/pb/relayer.pb.go:176:36: too many errors
I was doing some tests with the package last week and it was working fine, but I created a new project to work from and now compilation throws these errors. Didn't want to go editing generated files, as could be a bug on my end. Any thoughts?
I'm getting this error thrown when I try to compile:
I was doing some tests with the package last week and it was working fine, but I created a new project to work from and now compilation throws these errors. Didn't want to go editing generated files, as could be a bug on my end. Any thoughts?