From fa4402100b9045c7c30513d469025e14fe61f1d8 Mon Sep 17 00:00:00 2001 From: asoliman Date: Mon, 1 Jul 2024 22:45:27 +0400 Subject: [PATCH] Fix generated proto --- core/capabilities/remote/types/messages.pb.go | 18 +++++++++--------- .../relay/evm/mercury/wsrpc/pb/mercury.pb.go | 18 +++++++++--------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/core/capabilities/remote/types/messages.pb.go b/core/capabilities/remote/types/messages.pb.go index d17c69aec8..ba0954ebe7 100644 --- a/core/capabilities/remote/types/messages.pb.go +++ b/core/capabilities/remote/types/messages.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 -// protoc v5.27.1 +// protoc-gen-go v1.34.1 +// protoc v4.25.1 // source: core/capabilities/remote/types/messages.proto package types @@ -584,7 +584,7 @@ func file_core_capabilities_remote_types_messages_proto_rawDescGZIP() []byte { var file_core_capabilities_remote_types_messages_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_core_capabilities_remote_types_messages_proto_msgTypes = make([]protoimpl.MessageInfo, 5) -var file_core_capabilities_remote_types_messages_proto_goTypes = []any{ +var file_core_capabilities_remote_types_messages_proto_goTypes = []interface{}{ (Error)(0), // 0: remote.Error (*Message)(nil), // 1: remote.Message (*MessageBody)(nil), // 2: remote.MessageBody @@ -609,7 +609,7 @@ func file_core_capabilities_remote_types_messages_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_core_capabilities_remote_types_messages_proto_msgTypes[0].Exporter = func(v any, i int) any { + file_core_capabilities_remote_types_messages_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Message); i { case 0: return &v.state @@ -621,7 +621,7 @@ func file_core_capabilities_remote_types_messages_proto_init() { return nil } } - file_core_capabilities_remote_types_messages_proto_msgTypes[1].Exporter = func(v any, i int) any { + file_core_capabilities_remote_types_messages_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MessageBody); i { case 0: return &v.state @@ -633,7 +633,7 @@ func file_core_capabilities_remote_types_messages_proto_init() { return nil } } - file_core_capabilities_remote_types_messages_proto_msgTypes[2].Exporter = func(v any, i int) any { + file_core_capabilities_remote_types_messages_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TriggerRegistrationMetadata); i { case 0: return &v.state @@ -645,7 +645,7 @@ func file_core_capabilities_remote_types_messages_proto_init() { return nil } } - file_core_capabilities_remote_types_messages_proto_msgTypes[3].Exporter = func(v any, i int) any { + file_core_capabilities_remote_types_messages_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TriggerEventMetadata); i { case 0: return &v.state @@ -657,7 +657,7 @@ func file_core_capabilities_remote_types_messages_proto_init() { return nil } } - file_core_capabilities_remote_types_messages_proto_msgTypes[4].Exporter = func(v any, i int) any { + file_core_capabilities_remote_types_messages_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RemoteTriggerConfig); i { case 0: return &v.state @@ -670,7 +670,7 @@ func file_core_capabilities_remote_types_messages_proto_init() { } } } - file_core_capabilities_remote_types_messages_proto_msgTypes[1].OneofWrappers = []any{ + file_core_capabilities_remote_types_messages_proto_msgTypes[1].OneofWrappers = []interface{}{ (*MessageBody_TriggerRegistrationMetadata)(nil), (*MessageBody_TriggerEventMetadata)(nil), } diff --git a/core/services/relay/evm/mercury/wsrpc/pb/mercury.pb.go b/core/services/relay/evm/mercury/wsrpc/pb/mercury.pb.go index 700beee8d8..a1f0fef069 100644 --- a/core/services/relay/evm/mercury/wsrpc/pb/mercury.pb.go +++ b/core/services/relay/evm/mercury/wsrpc/pb/mercury.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.2 -// protoc v5.27.1 +// protoc-gen-go v1.34.1 +// protoc v4.25.1 // source: mercury.proto package pb @@ -535,7 +535,7 @@ func file_mercury_proto_rawDescGZIP() []byte { } var file_mercury_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_mercury_proto_goTypes = []any{ +var file_mercury_proto_goTypes = []interface{}{ (*TransmitRequest)(nil), // 0: pb.TransmitRequest (*TransmitResponse)(nil), // 1: pb.TransmitResponse (*LatestReportRequest)(nil), // 2: pb.LatestReportRequest @@ -563,7 +563,7 @@ func file_mercury_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_mercury_proto_msgTypes[0].Exporter = func(v any, i int) any { + file_mercury_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TransmitRequest); i { case 0: return &v.state @@ -575,7 +575,7 @@ func file_mercury_proto_init() { return nil } } - file_mercury_proto_msgTypes[1].Exporter = func(v any, i int) any { + file_mercury_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TransmitResponse); i { case 0: return &v.state @@ -587,7 +587,7 @@ func file_mercury_proto_init() { return nil } } - file_mercury_proto_msgTypes[2].Exporter = func(v any, i int) any { + file_mercury_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*LatestReportRequest); i { case 0: return &v.state @@ -599,7 +599,7 @@ func file_mercury_proto_init() { return nil } } - file_mercury_proto_msgTypes[3].Exporter = func(v any, i int) any { + file_mercury_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*LatestReportResponse); i { case 0: return &v.state @@ -611,7 +611,7 @@ func file_mercury_proto_init() { return nil } } - file_mercury_proto_msgTypes[4].Exporter = func(v any, i int) any { + file_mercury_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Report); i { case 0: return &v.state @@ -623,7 +623,7 @@ func file_mercury_proto_init() { return nil } } - file_mercury_proto_msgTypes[5].Exporter = func(v any, i int) any { + file_mercury_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Timestamp); i { case 0: return &v.state