From 1f51b2ecf6c59d7ec8b8a3f688af9ef11bb0c050 Mon Sep 17 00:00:00 2001 From: Marko Date: Tue, 3 Jan 2023 12:39:09 +0100 Subject: [PATCH] refactor: move crisis v1 to circuit (#14466) --- .../{crisis => circuit}/v1/tx.pulsar.go | 654 +++++++++--------- .../{crisis => circuit}/v1/tx_grpc.pb.go | 20 +- proto/cosmos/{crisis => circuit}/v1/tx.proto | 6 +- 3 files changed, 342 insertions(+), 338 deletions(-) rename api/cosmos/{crisis => circuit}/v1/tx.pulsar.go (83%) rename api/cosmos/{crisis => circuit}/v1/tx_grpc.pb.go (92%) rename proto/cosmos/{crisis => circuit}/v1/tx.proto (95%) diff --git a/api/cosmos/crisis/v1/tx.pulsar.go b/api/cosmos/circuit/v1/tx.pulsar.go similarity index 83% rename from api/cosmos/crisis/v1/tx.pulsar.go rename to api/cosmos/circuit/v1/tx.pulsar.go index 5af78a9dd4e1..80130663b30a 100644 --- a/api/cosmos/crisis/v1/tx.pulsar.go +++ b/api/cosmos/circuit/v1/tx.pulsar.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-pulsar. DO NOT EDIT. -package crisisv1 +package circuitv1 import ( _ "cosmossdk.io/api/cosmos/msg/v1" @@ -21,8 +21,8 @@ var ( ) func init() { - file_cosmos_crisis_v1_tx_proto_init() - md_MsgAuthorizeCircuitBreaker = File_cosmos_crisis_v1_tx_proto.Messages().ByName("MsgAuthorizeCircuitBreaker") + file_cosmos_circuit_v1_tx_proto_init() + md_MsgAuthorizeCircuitBreaker = File_cosmos_circuit_v1_tx_proto.Messages().ByName("MsgAuthorizeCircuitBreaker") fd_MsgAuthorizeCircuitBreaker_granter = md_MsgAuthorizeCircuitBreaker.Fields().ByName("granter") fd_MsgAuthorizeCircuitBreaker_grantee = md_MsgAuthorizeCircuitBreaker.Fields().ByName("grantee") fd_MsgAuthorizeCircuitBreaker_permissions = md_MsgAuthorizeCircuitBreaker.Fields().ByName("permissions") @@ -37,7 +37,7 @@ func (x *MsgAuthorizeCircuitBreaker) ProtoReflect() protoreflect.Message { } func (x *MsgAuthorizeCircuitBreaker) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_crisis_v1_tx_proto_msgTypes[0] + mi := &file_cosmos_circuit_v1_tx_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -126,17 +126,17 @@ func (x *fastReflection_MsgAuthorizeCircuitBreaker) Range(f func(protoreflect.Fi // a repeated field is populated if it is non-empty. func (x *fastReflection_MsgAuthorizeCircuitBreaker) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.crisis.v1.MsgAuthorizeCircuitBreaker.granter": + case "cosmos.circuit.v1.MsgAuthorizeCircuitBreaker.granter": return x.Granter != "" - case "cosmos.crisis.v1.MsgAuthorizeCircuitBreaker.grantee": + case "cosmos.circuit.v1.MsgAuthorizeCircuitBreaker.grantee": return x.Grantee != "" - case "cosmos.crisis.v1.MsgAuthorizeCircuitBreaker.permissions": + case "cosmos.circuit.v1.MsgAuthorizeCircuitBreaker.permissions": return x.Permissions != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.crisis.v1.MsgAuthorizeCircuitBreaker")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.circuit.v1.MsgAuthorizeCircuitBreaker")) } - panic(fmt.Errorf("message cosmos.crisis.v1.MsgAuthorizeCircuitBreaker does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.circuit.v1.MsgAuthorizeCircuitBreaker does not contain field %s", fd.FullName())) } } @@ -148,17 +148,17 @@ func (x *fastReflection_MsgAuthorizeCircuitBreaker) Has(fd protoreflect.FieldDes // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgAuthorizeCircuitBreaker) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.crisis.v1.MsgAuthorizeCircuitBreaker.granter": + case "cosmos.circuit.v1.MsgAuthorizeCircuitBreaker.granter": x.Granter = "" - case "cosmos.crisis.v1.MsgAuthorizeCircuitBreaker.grantee": + case "cosmos.circuit.v1.MsgAuthorizeCircuitBreaker.grantee": x.Grantee = "" - case "cosmos.crisis.v1.MsgAuthorizeCircuitBreaker.permissions": + case "cosmos.circuit.v1.MsgAuthorizeCircuitBreaker.permissions": x.Permissions = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.crisis.v1.MsgAuthorizeCircuitBreaker")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.circuit.v1.MsgAuthorizeCircuitBreaker")) } - panic(fmt.Errorf("message cosmos.crisis.v1.MsgAuthorizeCircuitBreaker does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.circuit.v1.MsgAuthorizeCircuitBreaker does not contain field %s", fd.FullName())) } } @@ -170,20 +170,20 @@ func (x *fastReflection_MsgAuthorizeCircuitBreaker) Clear(fd protoreflect.FieldD // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_MsgAuthorizeCircuitBreaker) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.crisis.v1.MsgAuthorizeCircuitBreaker.granter": + case "cosmos.circuit.v1.MsgAuthorizeCircuitBreaker.granter": value := x.Granter return protoreflect.ValueOfString(value) - case "cosmos.crisis.v1.MsgAuthorizeCircuitBreaker.grantee": + case "cosmos.circuit.v1.MsgAuthorizeCircuitBreaker.grantee": value := x.Grantee return protoreflect.ValueOfString(value) - case "cosmos.crisis.v1.MsgAuthorizeCircuitBreaker.permissions": + case "cosmos.circuit.v1.MsgAuthorizeCircuitBreaker.permissions": value := x.Permissions return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.crisis.v1.MsgAuthorizeCircuitBreaker")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.circuit.v1.MsgAuthorizeCircuitBreaker")) } - panic(fmt.Errorf("message cosmos.crisis.v1.MsgAuthorizeCircuitBreaker does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.circuit.v1.MsgAuthorizeCircuitBreaker does not contain field %s", descriptor.FullName())) } } @@ -199,17 +199,17 @@ func (x *fastReflection_MsgAuthorizeCircuitBreaker) Get(descriptor protoreflect. // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgAuthorizeCircuitBreaker) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.crisis.v1.MsgAuthorizeCircuitBreaker.granter": + case "cosmos.circuit.v1.MsgAuthorizeCircuitBreaker.granter": x.Granter = value.Interface().(string) - case "cosmos.crisis.v1.MsgAuthorizeCircuitBreaker.grantee": + case "cosmos.circuit.v1.MsgAuthorizeCircuitBreaker.grantee": x.Grantee = value.Interface().(string) - case "cosmos.crisis.v1.MsgAuthorizeCircuitBreaker.permissions": + case "cosmos.circuit.v1.MsgAuthorizeCircuitBreaker.permissions": x.Permissions = value.Message().Interface().(*CircuitBreakerPermissions) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.crisis.v1.MsgAuthorizeCircuitBreaker")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.circuit.v1.MsgAuthorizeCircuitBreaker")) } - panic(fmt.Errorf("message cosmos.crisis.v1.MsgAuthorizeCircuitBreaker does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.circuit.v1.MsgAuthorizeCircuitBreaker does not contain field %s", fd.FullName())) } } @@ -225,20 +225,20 @@ func (x *fastReflection_MsgAuthorizeCircuitBreaker) Set(fd protoreflect.FieldDes // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgAuthorizeCircuitBreaker) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.crisis.v1.MsgAuthorizeCircuitBreaker.permissions": + case "cosmos.circuit.v1.MsgAuthorizeCircuitBreaker.permissions": if x.Permissions == nil { x.Permissions = new(CircuitBreakerPermissions) } return protoreflect.ValueOfMessage(x.Permissions.ProtoReflect()) - case "cosmos.crisis.v1.MsgAuthorizeCircuitBreaker.granter": - panic(fmt.Errorf("field granter of message cosmos.crisis.v1.MsgAuthorizeCircuitBreaker is not mutable")) - case "cosmos.crisis.v1.MsgAuthorizeCircuitBreaker.grantee": - panic(fmt.Errorf("field grantee of message cosmos.crisis.v1.MsgAuthorizeCircuitBreaker is not mutable")) + case "cosmos.circuit.v1.MsgAuthorizeCircuitBreaker.granter": + panic(fmt.Errorf("field granter of message cosmos.circuit.v1.MsgAuthorizeCircuitBreaker is not mutable")) + case "cosmos.circuit.v1.MsgAuthorizeCircuitBreaker.grantee": + panic(fmt.Errorf("field grantee of message cosmos.circuit.v1.MsgAuthorizeCircuitBreaker is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.crisis.v1.MsgAuthorizeCircuitBreaker")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.circuit.v1.MsgAuthorizeCircuitBreaker")) } - panic(fmt.Errorf("message cosmos.crisis.v1.MsgAuthorizeCircuitBreaker does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.circuit.v1.MsgAuthorizeCircuitBreaker does not contain field %s", fd.FullName())) } } @@ -247,18 +247,18 @@ func (x *fastReflection_MsgAuthorizeCircuitBreaker) Mutable(fd protoreflect.Fiel // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_MsgAuthorizeCircuitBreaker) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.crisis.v1.MsgAuthorizeCircuitBreaker.granter": + case "cosmos.circuit.v1.MsgAuthorizeCircuitBreaker.granter": return protoreflect.ValueOfString("") - case "cosmos.crisis.v1.MsgAuthorizeCircuitBreaker.grantee": + case "cosmos.circuit.v1.MsgAuthorizeCircuitBreaker.grantee": return protoreflect.ValueOfString("") - case "cosmos.crisis.v1.MsgAuthorizeCircuitBreaker.permissions": + case "cosmos.circuit.v1.MsgAuthorizeCircuitBreaker.permissions": m := new(CircuitBreakerPermissions) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.crisis.v1.MsgAuthorizeCircuitBreaker")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.circuit.v1.MsgAuthorizeCircuitBreaker")) } - panic(fmt.Errorf("message cosmos.crisis.v1.MsgAuthorizeCircuitBreaker does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.circuit.v1.MsgAuthorizeCircuitBreaker does not contain field %s", fd.FullName())) } } @@ -268,7 +268,7 @@ func (x *fastReflection_MsgAuthorizeCircuitBreaker) NewField(fd protoreflect.Fie func (x *fastReflection_MsgAuthorizeCircuitBreaker) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.crisis.v1.MsgAuthorizeCircuitBreaker", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.circuit.v1.MsgAuthorizeCircuitBreaker", d.FullName())) } panic("unreachable") } @@ -629,8 +629,8 @@ var ( ) func init() { - file_cosmos_crisis_v1_tx_proto_init() - md_CircuitBreakerPermissions = File_cosmos_crisis_v1_tx_proto.Messages().ByName("CircuitBreakerPermissions") + file_cosmos_circuit_v1_tx_proto_init() + md_CircuitBreakerPermissions = File_cosmos_circuit_v1_tx_proto.Messages().ByName("CircuitBreakerPermissions") fd_CircuitBreakerPermissions_level = md_CircuitBreakerPermissions.Fields().ByName("level") fd_CircuitBreakerPermissions_limit_type_urls = md_CircuitBreakerPermissions.Fields().ByName("limit_type_urls") } @@ -644,7 +644,7 @@ func (x *CircuitBreakerPermissions) ProtoReflect() protoreflect.Message { } func (x *CircuitBreakerPermissions) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_crisis_v1_tx_proto_msgTypes[1] + mi := &file_cosmos_circuit_v1_tx_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -727,15 +727,15 @@ func (x *fastReflection_CircuitBreakerPermissions) Range(f func(protoreflect.Fie // a repeated field is populated if it is non-empty. func (x *fastReflection_CircuitBreakerPermissions) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.crisis.v1.CircuitBreakerPermissions.level": + case "cosmos.circuit.v1.CircuitBreakerPermissions.level": return x.Level != 0 - case "cosmos.crisis.v1.CircuitBreakerPermissions.limit_type_urls": + case "cosmos.circuit.v1.CircuitBreakerPermissions.limit_type_urls": return len(x.LimitTypeUrls) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.crisis.v1.CircuitBreakerPermissions")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.circuit.v1.CircuitBreakerPermissions")) } - panic(fmt.Errorf("message cosmos.crisis.v1.CircuitBreakerPermissions does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.circuit.v1.CircuitBreakerPermissions does not contain field %s", fd.FullName())) } } @@ -747,15 +747,15 @@ func (x *fastReflection_CircuitBreakerPermissions) Has(fd protoreflect.FieldDesc // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_CircuitBreakerPermissions) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.crisis.v1.CircuitBreakerPermissions.level": + case "cosmos.circuit.v1.CircuitBreakerPermissions.level": x.Level = 0 - case "cosmos.crisis.v1.CircuitBreakerPermissions.limit_type_urls": + case "cosmos.circuit.v1.CircuitBreakerPermissions.limit_type_urls": x.LimitTypeUrls = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.crisis.v1.CircuitBreakerPermissions")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.circuit.v1.CircuitBreakerPermissions")) } - panic(fmt.Errorf("message cosmos.crisis.v1.CircuitBreakerPermissions does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.circuit.v1.CircuitBreakerPermissions does not contain field %s", fd.FullName())) } } @@ -767,10 +767,10 @@ func (x *fastReflection_CircuitBreakerPermissions) Clear(fd protoreflect.FieldDe // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_CircuitBreakerPermissions) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.crisis.v1.CircuitBreakerPermissions.level": + case "cosmos.circuit.v1.CircuitBreakerPermissions.level": value := x.Level return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) - case "cosmos.crisis.v1.CircuitBreakerPermissions.limit_type_urls": + case "cosmos.circuit.v1.CircuitBreakerPermissions.limit_type_urls": if len(x.LimitTypeUrls) == 0 { return protoreflect.ValueOfList(&_CircuitBreakerPermissions_2_list{}) } @@ -778,9 +778,9 @@ func (x *fastReflection_CircuitBreakerPermissions) Get(descriptor protoreflect.F return protoreflect.ValueOfList(listValue) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.crisis.v1.CircuitBreakerPermissions")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.circuit.v1.CircuitBreakerPermissions")) } - panic(fmt.Errorf("message cosmos.crisis.v1.CircuitBreakerPermissions does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.circuit.v1.CircuitBreakerPermissions does not contain field %s", descriptor.FullName())) } } @@ -796,17 +796,17 @@ func (x *fastReflection_CircuitBreakerPermissions) Get(descriptor protoreflect.F // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_CircuitBreakerPermissions) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.crisis.v1.CircuitBreakerPermissions.level": + case "cosmos.circuit.v1.CircuitBreakerPermissions.level": x.Level = (CircuitBreakerPermissions_Level)(value.Enum()) - case "cosmos.crisis.v1.CircuitBreakerPermissions.limit_type_urls": + case "cosmos.circuit.v1.CircuitBreakerPermissions.limit_type_urls": lv := value.List() clv := lv.(*_CircuitBreakerPermissions_2_list) x.LimitTypeUrls = *clv.list default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.crisis.v1.CircuitBreakerPermissions")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.circuit.v1.CircuitBreakerPermissions")) } - panic(fmt.Errorf("message cosmos.crisis.v1.CircuitBreakerPermissions does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.circuit.v1.CircuitBreakerPermissions does not contain field %s", fd.FullName())) } } @@ -822,19 +822,19 @@ func (x *fastReflection_CircuitBreakerPermissions) Set(fd protoreflect.FieldDesc // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_CircuitBreakerPermissions) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.crisis.v1.CircuitBreakerPermissions.limit_type_urls": + case "cosmos.circuit.v1.CircuitBreakerPermissions.limit_type_urls": if x.LimitTypeUrls == nil { x.LimitTypeUrls = []string{} } value := &_CircuitBreakerPermissions_2_list{list: &x.LimitTypeUrls} return protoreflect.ValueOfList(value) - case "cosmos.crisis.v1.CircuitBreakerPermissions.level": - panic(fmt.Errorf("field level of message cosmos.crisis.v1.CircuitBreakerPermissions is not mutable")) + case "cosmos.circuit.v1.CircuitBreakerPermissions.level": + panic(fmt.Errorf("field level of message cosmos.circuit.v1.CircuitBreakerPermissions is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.crisis.v1.CircuitBreakerPermissions")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.circuit.v1.CircuitBreakerPermissions")) } - panic(fmt.Errorf("message cosmos.crisis.v1.CircuitBreakerPermissions does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.circuit.v1.CircuitBreakerPermissions does not contain field %s", fd.FullName())) } } @@ -843,16 +843,16 @@ func (x *fastReflection_CircuitBreakerPermissions) Mutable(fd protoreflect.Field // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_CircuitBreakerPermissions) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.crisis.v1.CircuitBreakerPermissions.level": + case "cosmos.circuit.v1.CircuitBreakerPermissions.level": return protoreflect.ValueOfEnum(0) - case "cosmos.crisis.v1.CircuitBreakerPermissions.limit_type_urls": + case "cosmos.circuit.v1.CircuitBreakerPermissions.limit_type_urls": list := []string{} return protoreflect.ValueOfList(&_CircuitBreakerPermissions_2_list{list: &list}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.crisis.v1.CircuitBreakerPermissions")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.circuit.v1.CircuitBreakerPermissions")) } - panic(fmt.Errorf("message cosmos.crisis.v1.CircuitBreakerPermissions does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.circuit.v1.CircuitBreakerPermissions does not contain field %s", fd.FullName())) } } @@ -862,7 +862,7 @@ func (x *fastReflection_CircuitBreakerPermissions) NewField(fd protoreflect.Fiel func (x *fastReflection_CircuitBreakerPermissions) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.crisis.v1.CircuitBreakerPermissions", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.circuit.v1.CircuitBreakerPermissions", d.FullName())) } panic("unreachable") } @@ -1109,8 +1109,8 @@ var ( ) func init() { - file_cosmos_crisis_v1_tx_proto_init() - md_MsgAuthorizeCircuitBreakerResponse = File_cosmos_crisis_v1_tx_proto.Messages().ByName("MsgAuthorizeCircuitBreakerResponse") + file_cosmos_circuit_v1_tx_proto_init() + md_MsgAuthorizeCircuitBreakerResponse = File_cosmos_circuit_v1_tx_proto.Messages().ByName("MsgAuthorizeCircuitBreakerResponse") } var _ protoreflect.Message = (*fastReflection_MsgAuthorizeCircuitBreakerResponse)(nil) @@ -1122,7 +1122,7 @@ func (x *MsgAuthorizeCircuitBreakerResponse) ProtoReflect() protoreflect.Message } func (x *MsgAuthorizeCircuitBreakerResponse) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_crisis_v1_tx_proto_msgTypes[2] + mi := &file_cosmos_circuit_v1_tx_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1195,9 +1195,9 @@ func (x *fastReflection_MsgAuthorizeCircuitBreakerResponse) Has(fd protoreflect. switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.crisis.v1.MsgAuthorizeCircuitBreakerResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.circuit.v1.MsgAuthorizeCircuitBreakerResponse")) } - panic(fmt.Errorf("message cosmos.crisis.v1.MsgAuthorizeCircuitBreakerResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.circuit.v1.MsgAuthorizeCircuitBreakerResponse does not contain field %s", fd.FullName())) } } @@ -1211,9 +1211,9 @@ func (x *fastReflection_MsgAuthorizeCircuitBreakerResponse) Clear(fd protoreflec switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.crisis.v1.MsgAuthorizeCircuitBreakerResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.circuit.v1.MsgAuthorizeCircuitBreakerResponse")) } - panic(fmt.Errorf("message cosmos.crisis.v1.MsgAuthorizeCircuitBreakerResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.circuit.v1.MsgAuthorizeCircuitBreakerResponse does not contain field %s", fd.FullName())) } } @@ -1227,9 +1227,9 @@ func (x *fastReflection_MsgAuthorizeCircuitBreakerResponse) Get(descriptor proto switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.crisis.v1.MsgAuthorizeCircuitBreakerResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.circuit.v1.MsgAuthorizeCircuitBreakerResponse")) } - panic(fmt.Errorf("message cosmos.crisis.v1.MsgAuthorizeCircuitBreakerResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.circuit.v1.MsgAuthorizeCircuitBreakerResponse does not contain field %s", descriptor.FullName())) } } @@ -1247,9 +1247,9 @@ func (x *fastReflection_MsgAuthorizeCircuitBreakerResponse) Set(fd protoreflect. switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.crisis.v1.MsgAuthorizeCircuitBreakerResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.circuit.v1.MsgAuthorizeCircuitBreakerResponse")) } - panic(fmt.Errorf("message cosmos.crisis.v1.MsgAuthorizeCircuitBreakerResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.circuit.v1.MsgAuthorizeCircuitBreakerResponse does not contain field %s", fd.FullName())) } } @@ -1267,9 +1267,9 @@ func (x *fastReflection_MsgAuthorizeCircuitBreakerResponse) Mutable(fd protorefl switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.crisis.v1.MsgAuthorizeCircuitBreakerResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.circuit.v1.MsgAuthorizeCircuitBreakerResponse")) } - panic(fmt.Errorf("message cosmos.crisis.v1.MsgAuthorizeCircuitBreakerResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.circuit.v1.MsgAuthorizeCircuitBreakerResponse does not contain field %s", fd.FullName())) } } @@ -1280,9 +1280,9 @@ func (x *fastReflection_MsgAuthorizeCircuitBreakerResponse) NewField(fd protoref switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.crisis.v1.MsgAuthorizeCircuitBreakerResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.circuit.v1.MsgAuthorizeCircuitBreakerResponse")) } - panic(fmt.Errorf("message cosmos.crisis.v1.MsgAuthorizeCircuitBreakerResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.circuit.v1.MsgAuthorizeCircuitBreakerResponse does not contain field %s", fd.FullName())) } } @@ -1292,7 +1292,7 @@ func (x *fastReflection_MsgAuthorizeCircuitBreakerResponse) NewField(fd protoref func (x *fastReflection_MsgAuthorizeCircuitBreakerResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.crisis.v1.MsgAuthorizeCircuitBreakerResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.circuit.v1.MsgAuthorizeCircuitBreakerResponse", d.FullName())) } panic("unreachable") } @@ -1513,8 +1513,8 @@ var ( ) func init() { - file_cosmos_crisis_v1_tx_proto_init() - md_MsgTripCircuitBreaker = File_cosmos_crisis_v1_tx_proto.Messages().ByName("MsgTripCircuitBreaker") + file_cosmos_circuit_v1_tx_proto_init() + md_MsgTripCircuitBreaker = File_cosmos_circuit_v1_tx_proto.Messages().ByName("MsgTripCircuitBreaker") fd_MsgTripCircuitBreaker_authority = md_MsgTripCircuitBreaker.Fields().ByName("authority") fd_MsgTripCircuitBreaker_msg_type_urls = md_MsgTripCircuitBreaker.Fields().ByName("msg_type_urls") } @@ -1528,7 +1528,7 @@ func (x *MsgTripCircuitBreaker) ProtoReflect() protoreflect.Message { } func (x *MsgTripCircuitBreaker) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_crisis_v1_tx_proto_msgTypes[3] + mi := &file_cosmos_circuit_v1_tx_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1611,15 +1611,15 @@ func (x *fastReflection_MsgTripCircuitBreaker) Range(f func(protoreflect.FieldDe // a repeated field is populated if it is non-empty. func (x *fastReflection_MsgTripCircuitBreaker) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.crisis.v1.MsgTripCircuitBreaker.authority": + case "cosmos.circuit.v1.MsgTripCircuitBreaker.authority": return x.Authority != "" - case "cosmos.crisis.v1.MsgTripCircuitBreaker.msg_type_urls": + case "cosmos.circuit.v1.MsgTripCircuitBreaker.msg_type_urls": return len(x.MsgTypeUrls) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.crisis.v1.MsgTripCircuitBreaker")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.circuit.v1.MsgTripCircuitBreaker")) } - panic(fmt.Errorf("message cosmos.crisis.v1.MsgTripCircuitBreaker does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.circuit.v1.MsgTripCircuitBreaker does not contain field %s", fd.FullName())) } } @@ -1631,15 +1631,15 @@ func (x *fastReflection_MsgTripCircuitBreaker) Has(fd protoreflect.FieldDescript // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgTripCircuitBreaker) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.crisis.v1.MsgTripCircuitBreaker.authority": + case "cosmos.circuit.v1.MsgTripCircuitBreaker.authority": x.Authority = "" - case "cosmos.crisis.v1.MsgTripCircuitBreaker.msg_type_urls": + case "cosmos.circuit.v1.MsgTripCircuitBreaker.msg_type_urls": x.MsgTypeUrls = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.crisis.v1.MsgTripCircuitBreaker")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.circuit.v1.MsgTripCircuitBreaker")) } - panic(fmt.Errorf("message cosmos.crisis.v1.MsgTripCircuitBreaker does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.circuit.v1.MsgTripCircuitBreaker does not contain field %s", fd.FullName())) } } @@ -1651,10 +1651,10 @@ func (x *fastReflection_MsgTripCircuitBreaker) Clear(fd protoreflect.FieldDescri // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_MsgTripCircuitBreaker) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.crisis.v1.MsgTripCircuitBreaker.authority": + case "cosmos.circuit.v1.MsgTripCircuitBreaker.authority": value := x.Authority return protoreflect.ValueOfString(value) - case "cosmos.crisis.v1.MsgTripCircuitBreaker.msg_type_urls": + case "cosmos.circuit.v1.MsgTripCircuitBreaker.msg_type_urls": if len(x.MsgTypeUrls) == 0 { return protoreflect.ValueOfList(&_MsgTripCircuitBreaker_2_list{}) } @@ -1662,9 +1662,9 @@ func (x *fastReflection_MsgTripCircuitBreaker) Get(descriptor protoreflect.Field return protoreflect.ValueOfList(listValue) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.crisis.v1.MsgTripCircuitBreaker")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.circuit.v1.MsgTripCircuitBreaker")) } - panic(fmt.Errorf("message cosmos.crisis.v1.MsgTripCircuitBreaker does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.circuit.v1.MsgTripCircuitBreaker does not contain field %s", descriptor.FullName())) } } @@ -1680,17 +1680,17 @@ func (x *fastReflection_MsgTripCircuitBreaker) Get(descriptor protoreflect.Field // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgTripCircuitBreaker) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.crisis.v1.MsgTripCircuitBreaker.authority": + case "cosmos.circuit.v1.MsgTripCircuitBreaker.authority": x.Authority = value.Interface().(string) - case "cosmos.crisis.v1.MsgTripCircuitBreaker.msg_type_urls": + case "cosmos.circuit.v1.MsgTripCircuitBreaker.msg_type_urls": lv := value.List() clv := lv.(*_MsgTripCircuitBreaker_2_list) x.MsgTypeUrls = *clv.list default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.crisis.v1.MsgTripCircuitBreaker")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.circuit.v1.MsgTripCircuitBreaker")) } - panic(fmt.Errorf("message cosmos.crisis.v1.MsgTripCircuitBreaker does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.circuit.v1.MsgTripCircuitBreaker does not contain field %s", fd.FullName())) } } @@ -1706,19 +1706,19 @@ func (x *fastReflection_MsgTripCircuitBreaker) Set(fd protoreflect.FieldDescript // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgTripCircuitBreaker) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.crisis.v1.MsgTripCircuitBreaker.msg_type_urls": + case "cosmos.circuit.v1.MsgTripCircuitBreaker.msg_type_urls": if x.MsgTypeUrls == nil { x.MsgTypeUrls = []string{} } value := &_MsgTripCircuitBreaker_2_list{list: &x.MsgTypeUrls} return protoreflect.ValueOfList(value) - case "cosmos.crisis.v1.MsgTripCircuitBreaker.authority": - panic(fmt.Errorf("field authority of message cosmos.crisis.v1.MsgTripCircuitBreaker is not mutable")) + case "cosmos.circuit.v1.MsgTripCircuitBreaker.authority": + panic(fmt.Errorf("field authority of message cosmos.circuit.v1.MsgTripCircuitBreaker is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.crisis.v1.MsgTripCircuitBreaker")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.circuit.v1.MsgTripCircuitBreaker")) } - panic(fmt.Errorf("message cosmos.crisis.v1.MsgTripCircuitBreaker does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.circuit.v1.MsgTripCircuitBreaker does not contain field %s", fd.FullName())) } } @@ -1727,16 +1727,16 @@ func (x *fastReflection_MsgTripCircuitBreaker) Mutable(fd protoreflect.FieldDesc // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_MsgTripCircuitBreaker) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.crisis.v1.MsgTripCircuitBreaker.authority": + case "cosmos.circuit.v1.MsgTripCircuitBreaker.authority": return protoreflect.ValueOfString("") - case "cosmos.crisis.v1.MsgTripCircuitBreaker.msg_type_urls": + case "cosmos.circuit.v1.MsgTripCircuitBreaker.msg_type_urls": list := []string{} return protoreflect.ValueOfList(&_MsgTripCircuitBreaker_2_list{list: &list}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.crisis.v1.MsgTripCircuitBreaker")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.circuit.v1.MsgTripCircuitBreaker")) } - panic(fmt.Errorf("message cosmos.crisis.v1.MsgTripCircuitBreaker does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.circuit.v1.MsgTripCircuitBreaker does not contain field %s", fd.FullName())) } } @@ -1746,7 +1746,7 @@ func (x *fastReflection_MsgTripCircuitBreaker) NewField(fd protoreflect.FieldDes func (x *fastReflection_MsgTripCircuitBreaker) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.crisis.v1.MsgTripCircuitBreaker", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.circuit.v1.MsgTripCircuitBreaker", d.FullName())) } panic("unreachable") } @@ -2009,8 +2009,8 @@ var ( ) func init() { - file_cosmos_crisis_v1_tx_proto_init() - md_MsgTripCircuitBreakerResponse = File_cosmos_crisis_v1_tx_proto.Messages().ByName("MsgTripCircuitBreakerResponse") + file_cosmos_circuit_v1_tx_proto_init() + md_MsgTripCircuitBreakerResponse = File_cosmos_circuit_v1_tx_proto.Messages().ByName("MsgTripCircuitBreakerResponse") } var _ protoreflect.Message = (*fastReflection_MsgTripCircuitBreakerResponse)(nil) @@ -2022,7 +2022,7 @@ func (x *MsgTripCircuitBreakerResponse) ProtoReflect() protoreflect.Message { } func (x *MsgTripCircuitBreakerResponse) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_crisis_v1_tx_proto_msgTypes[4] + mi := &file_cosmos_circuit_v1_tx_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2095,9 +2095,9 @@ func (x *fastReflection_MsgTripCircuitBreakerResponse) Has(fd protoreflect.Field switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.crisis.v1.MsgTripCircuitBreakerResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.circuit.v1.MsgTripCircuitBreakerResponse")) } - panic(fmt.Errorf("message cosmos.crisis.v1.MsgTripCircuitBreakerResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.circuit.v1.MsgTripCircuitBreakerResponse does not contain field %s", fd.FullName())) } } @@ -2111,9 +2111,9 @@ func (x *fastReflection_MsgTripCircuitBreakerResponse) Clear(fd protoreflect.Fie switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.crisis.v1.MsgTripCircuitBreakerResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.circuit.v1.MsgTripCircuitBreakerResponse")) } - panic(fmt.Errorf("message cosmos.crisis.v1.MsgTripCircuitBreakerResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.circuit.v1.MsgTripCircuitBreakerResponse does not contain field %s", fd.FullName())) } } @@ -2127,9 +2127,9 @@ func (x *fastReflection_MsgTripCircuitBreakerResponse) Get(descriptor protorefle switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.crisis.v1.MsgTripCircuitBreakerResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.circuit.v1.MsgTripCircuitBreakerResponse")) } - panic(fmt.Errorf("message cosmos.crisis.v1.MsgTripCircuitBreakerResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.circuit.v1.MsgTripCircuitBreakerResponse does not contain field %s", descriptor.FullName())) } } @@ -2147,9 +2147,9 @@ func (x *fastReflection_MsgTripCircuitBreakerResponse) Set(fd protoreflect.Field switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.crisis.v1.MsgTripCircuitBreakerResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.circuit.v1.MsgTripCircuitBreakerResponse")) } - panic(fmt.Errorf("message cosmos.crisis.v1.MsgTripCircuitBreakerResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.circuit.v1.MsgTripCircuitBreakerResponse does not contain field %s", fd.FullName())) } } @@ -2167,9 +2167,9 @@ func (x *fastReflection_MsgTripCircuitBreakerResponse) Mutable(fd protoreflect.F switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.crisis.v1.MsgTripCircuitBreakerResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.circuit.v1.MsgTripCircuitBreakerResponse")) } - panic(fmt.Errorf("message cosmos.crisis.v1.MsgTripCircuitBreakerResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.circuit.v1.MsgTripCircuitBreakerResponse does not contain field %s", fd.FullName())) } } @@ -2180,9 +2180,9 @@ func (x *fastReflection_MsgTripCircuitBreakerResponse) NewField(fd protoreflect. switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.crisis.v1.MsgTripCircuitBreakerResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.circuit.v1.MsgTripCircuitBreakerResponse")) } - panic(fmt.Errorf("message cosmos.crisis.v1.MsgTripCircuitBreakerResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.circuit.v1.MsgTripCircuitBreakerResponse does not contain field %s", fd.FullName())) } } @@ -2192,7 +2192,7 @@ func (x *fastReflection_MsgTripCircuitBreakerResponse) NewField(fd protoreflect. func (x *fastReflection_MsgTripCircuitBreakerResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.crisis.v1.MsgTripCircuitBreakerResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.circuit.v1.MsgTripCircuitBreakerResponse", d.FullName())) } panic("unreachable") } @@ -2413,8 +2413,8 @@ var ( ) func init() { - file_cosmos_crisis_v1_tx_proto_init() - md_MsgResetCircuitBreaker = File_cosmos_crisis_v1_tx_proto.Messages().ByName("MsgResetCircuitBreaker") + file_cosmos_circuit_v1_tx_proto_init() + md_MsgResetCircuitBreaker = File_cosmos_circuit_v1_tx_proto.Messages().ByName("MsgResetCircuitBreaker") fd_MsgResetCircuitBreaker_authority = md_MsgResetCircuitBreaker.Fields().ByName("authority") fd_MsgResetCircuitBreaker_msg_type_urls = md_MsgResetCircuitBreaker.Fields().ByName("msg_type_urls") } @@ -2428,7 +2428,7 @@ func (x *MsgResetCircuitBreaker) ProtoReflect() protoreflect.Message { } func (x *MsgResetCircuitBreaker) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_crisis_v1_tx_proto_msgTypes[5] + mi := &file_cosmos_circuit_v1_tx_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2511,15 +2511,15 @@ func (x *fastReflection_MsgResetCircuitBreaker) Range(f func(protoreflect.FieldD // a repeated field is populated if it is non-empty. func (x *fastReflection_MsgResetCircuitBreaker) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.crisis.v1.MsgResetCircuitBreaker.authority": + case "cosmos.circuit.v1.MsgResetCircuitBreaker.authority": return x.Authority != "" - case "cosmos.crisis.v1.MsgResetCircuitBreaker.msg_type_urls": + case "cosmos.circuit.v1.MsgResetCircuitBreaker.msg_type_urls": return len(x.MsgTypeUrls) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.crisis.v1.MsgResetCircuitBreaker")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.circuit.v1.MsgResetCircuitBreaker")) } - panic(fmt.Errorf("message cosmos.crisis.v1.MsgResetCircuitBreaker does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.circuit.v1.MsgResetCircuitBreaker does not contain field %s", fd.FullName())) } } @@ -2531,15 +2531,15 @@ func (x *fastReflection_MsgResetCircuitBreaker) Has(fd protoreflect.FieldDescrip // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgResetCircuitBreaker) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.crisis.v1.MsgResetCircuitBreaker.authority": + case "cosmos.circuit.v1.MsgResetCircuitBreaker.authority": x.Authority = "" - case "cosmos.crisis.v1.MsgResetCircuitBreaker.msg_type_urls": + case "cosmos.circuit.v1.MsgResetCircuitBreaker.msg_type_urls": x.MsgTypeUrls = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.crisis.v1.MsgResetCircuitBreaker")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.circuit.v1.MsgResetCircuitBreaker")) } - panic(fmt.Errorf("message cosmos.crisis.v1.MsgResetCircuitBreaker does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.circuit.v1.MsgResetCircuitBreaker does not contain field %s", fd.FullName())) } } @@ -2551,10 +2551,10 @@ func (x *fastReflection_MsgResetCircuitBreaker) Clear(fd protoreflect.FieldDescr // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_MsgResetCircuitBreaker) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.crisis.v1.MsgResetCircuitBreaker.authority": + case "cosmos.circuit.v1.MsgResetCircuitBreaker.authority": value := x.Authority return protoreflect.ValueOfString(value) - case "cosmos.crisis.v1.MsgResetCircuitBreaker.msg_type_urls": + case "cosmos.circuit.v1.MsgResetCircuitBreaker.msg_type_urls": if len(x.MsgTypeUrls) == 0 { return protoreflect.ValueOfList(&_MsgResetCircuitBreaker_3_list{}) } @@ -2562,9 +2562,9 @@ func (x *fastReflection_MsgResetCircuitBreaker) Get(descriptor protoreflect.Fiel return protoreflect.ValueOfList(listValue) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.crisis.v1.MsgResetCircuitBreaker")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.circuit.v1.MsgResetCircuitBreaker")) } - panic(fmt.Errorf("message cosmos.crisis.v1.MsgResetCircuitBreaker does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.circuit.v1.MsgResetCircuitBreaker does not contain field %s", descriptor.FullName())) } } @@ -2580,17 +2580,17 @@ func (x *fastReflection_MsgResetCircuitBreaker) Get(descriptor protoreflect.Fiel // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgResetCircuitBreaker) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.crisis.v1.MsgResetCircuitBreaker.authority": + case "cosmos.circuit.v1.MsgResetCircuitBreaker.authority": x.Authority = value.Interface().(string) - case "cosmos.crisis.v1.MsgResetCircuitBreaker.msg_type_urls": + case "cosmos.circuit.v1.MsgResetCircuitBreaker.msg_type_urls": lv := value.List() clv := lv.(*_MsgResetCircuitBreaker_3_list) x.MsgTypeUrls = *clv.list default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.crisis.v1.MsgResetCircuitBreaker")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.circuit.v1.MsgResetCircuitBreaker")) } - panic(fmt.Errorf("message cosmos.crisis.v1.MsgResetCircuitBreaker does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.circuit.v1.MsgResetCircuitBreaker does not contain field %s", fd.FullName())) } } @@ -2606,19 +2606,19 @@ func (x *fastReflection_MsgResetCircuitBreaker) Set(fd protoreflect.FieldDescrip // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgResetCircuitBreaker) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.crisis.v1.MsgResetCircuitBreaker.msg_type_urls": + case "cosmos.circuit.v1.MsgResetCircuitBreaker.msg_type_urls": if x.MsgTypeUrls == nil { x.MsgTypeUrls = []string{} } value := &_MsgResetCircuitBreaker_3_list{list: &x.MsgTypeUrls} return protoreflect.ValueOfList(value) - case "cosmos.crisis.v1.MsgResetCircuitBreaker.authority": - panic(fmt.Errorf("field authority of message cosmos.crisis.v1.MsgResetCircuitBreaker is not mutable")) + case "cosmos.circuit.v1.MsgResetCircuitBreaker.authority": + panic(fmt.Errorf("field authority of message cosmos.circuit.v1.MsgResetCircuitBreaker is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.crisis.v1.MsgResetCircuitBreaker")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.circuit.v1.MsgResetCircuitBreaker")) } - panic(fmt.Errorf("message cosmos.crisis.v1.MsgResetCircuitBreaker does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.circuit.v1.MsgResetCircuitBreaker does not contain field %s", fd.FullName())) } } @@ -2627,16 +2627,16 @@ func (x *fastReflection_MsgResetCircuitBreaker) Mutable(fd protoreflect.FieldDes // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_MsgResetCircuitBreaker) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.crisis.v1.MsgResetCircuitBreaker.authority": + case "cosmos.circuit.v1.MsgResetCircuitBreaker.authority": return protoreflect.ValueOfString("") - case "cosmos.crisis.v1.MsgResetCircuitBreaker.msg_type_urls": + case "cosmos.circuit.v1.MsgResetCircuitBreaker.msg_type_urls": list := []string{} return protoreflect.ValueOfList(&_MsgResetCircuitBreaker_3_list{list: &list}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.crisis.v1.MsgResetCircuitBreaker")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.circuit.v1.MsgResetCircuitBreaker")) } - panic(fmt.Errorf("message cosmos.crisis.v1.MsgResetCircuitBreaker does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.circuit.v1.MsgResetCircuitBreaker does not contain field %s", fd.FullName())) } } @@ -2646,7 +2646,7 @@ func (x *fastReflection_MsgResetCircuitBreaker) NewField(fd protoreflect.FieldDe func (x *fastReflection_MsgResetCircuitBreaker) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.crisis.v1.MsgResetCircuitBreaker", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.circuit.v1.MsgResetCircuitBreaker", d.FullName())) } panic("unreachable") } @@ -2909,8 +2909,8 @@ var ( ) func init() { - file_cosmos_crisis_v1_tx_proto_init() - md_MsgResetCircuitBreakerResponse = File_cosmos_crisis_v1_tx_proto.Messages().ByName("MsgResetCircuitBreakerResponse") + file_cosmos_circuit_v1_tx_proto_init() + md_MsgResetCircuitBreakerResponse = File_cosmos_circuit_v1_tx_proto.Messages().ByName("MsgResetCircuitBreakerResponse") } var _ protoreflect.Message = (*fastReflection_MsgResetCircuitBreakerResponse)(nil) @@ -2922,7 +2922,7 @@ func (x *MsgResetCircuitBreakerResponse) ProtoReflect() protoreflect.Message { } func (x *MsgResetCircuitBreakerResponse) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_crisis_v1_tx_proto_msgTypes[6] + mi := &file_cosmos_circuit_v1_tx_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2995,9 +2995,9 @@ func (x *fastReflection_MsgResetCircuitBreakerResponse) Has(fd protoreflect.Fiel switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.crisis.v1.MsgResetCircuitBreakerResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.circuit.v1.MsgResetCircuitBreakerResponse")) } - panic(fmt.Errorf("message cosmos.crisis.v1.MsgResetCircuitBreakerResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.circuit.v1.MsgResetCircuitBreakerResponse does not contain field %s", fd.FullName())) } } @@ -3011,9 +3011,9 @@ func (x *fastReflection_MsgResetCircuitBreakerResponse) Clear(fd protoreflect.Fi switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.crisis.v1.MsgResetCircuitBreakerResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.circuit.v1.MsgResetCircuitBreakerResponse")) } - panic(fmt.Errorf("message cosmos.crisis.v1.MsgResetCircuitBreakerResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.circuit.v1.MsgResetCircuitBreakerResponse does not contain field %s", fd.FullName())) } } @@ -3027,9 +3027,9 @@ func (x *fastReflection_MsgResetCircuitBreakerResponse) Get(descriptor protorefl switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.crisis.v1.MsgResetCircuitBreakerResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.circuit.v1.MsgResetCircuitBreakerResponse")) } - panic(fmt.Errorf("message cosmos.crisis.v1.MsgResetCircuitBreakerResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.circuit.v1.MsgResetCircuitBreakerResponse does not contain field %s", descriptor.FullName())) } } @@ -3047,9 +3047,9 @@ func (x *fastReflection_MsgResetCircuitBreakerResponse) Set(fd protoreflect.Fiel switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.crisis.v1.MsgResetCircuitBreakerResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.circuit.v1.MsgResetCircuitBreakerResponse")) } - panic(fmt.Errorf("message cosmos.crisis.v1.MsgResetCircuitBreakerResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.circuit.v1.MsgResetCircuitBreakerResponse does not contain field %s", fd.FullName())) } } @@ -3067,9 +3067,9 @@ func (x *fastReflection_MsgResetCircuitBreakerResponse) Mutable(fd protoreflect. switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.crisis.v1.MsgResetCircuitBreakerResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.circuit.v1.MsgResetCircuitBreakerResponse")) } - panic(fmt.Errorf("message cosmos.crisis.v1.MsgResetCircuitBreakerResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.circuit.v1.MsgResetCircuitBreakerResponse does not contain field %s", fd.FullName())) } } @@ -3080,9 +3080,9 @@ func (x *fastReflection_MsgResetCircuitBreakerResponse) NewField(fd protoreflect switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.crisis.v1.MsgResetCircuitBreakerResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.circuit.v1.MsgResetCircuitBreakerResponse")) } - panic(fmt.Errorf("message cosmos.crisis.v1.MsgResetCircuitBreakerResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.circuit.v1.MsgResetCircuitBreakerResponse does not contain field %s", fd.FullName())) } } @@ -3092,7 +3092,7 @@ func (x *fastReflection_MsgResetCircuitBreakerResponse) NewField(fd protoreflect func (x *fastReflection_MsgResetCircuitBreakerResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.crisis.v1.MsgResetCircuitBreakerResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.circuit.v1.MsgResetCircuitBreakerResponse", d.FullName())) } panic("unreachable") } @@ -3264,7 +3264,7 @@ func (x *fastReflection_MsgResetCircuitBreakerResponse) ProtoMethods() *protoifa // versions: // protoc-gen-go v1.27.0 // protoc (unknown) -// source: cosmos/crisis/v1/tx.proto +// source: cosmos/circuit/v1/tx.proto const ( // Verify that this generated code is sufficiently up-to-date. @@ -3320,11 +3320,11 @@ func (x CircuitBreakerPermissions_Level) String() string { } func (CircuitBreakerPermissions_Level) Descriptor() protoreflect.EnumDescriptor { - return file_cosmos_crisis_v1_tx_proto_enumTypes[0].Descriptor() + return file_cosmos_circuit_v1_tx_proto_enumTypes[0].Descriptor() } func (CircuitBreakerPermissions_Level) Type() protoreflect.EnumType { - return &file_cosmos_crisis_v1_tx_proto_enumTypes[0] + return &file_cosmos_circuit_v1_tx_proto_enumTypes[0] } func (x CircuitBreakerPermissions_Level) Number() protoreflect.EnumNumber { @@ -3333,7 +3333,7 @@ func (x CircuitBreakerPermissions_Level) Number() protoreflect.EnumNumber { // Deprecated: Use CircuitBreakerPermissions_Level.Descriptor instead. func (CircuitBreakerPermissions_Level) EnumDescriptor() ([]byte, []int) { - return file_cosmos_crisis_v1_tx_proto_rawDescGZIP(), []int{1, 0} + return file_cosmos_circuit_v1_tx_proto_rawDescGZIP(), []int{1, 0} } // MsgAuthorizeCircuitBreaker defines the Msg/AuthorizeCircuitBreaker request type. @@ -3356,7 +3356,7 @@ type MsgAuthorizeCircuitBreaker struct { func (x *MsgAuthorizeCircuitBreaker) Reset() { *x = MsgAuthorizeCircuitBreaker{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_crisis_v1_tx_proto_msgTypes[0] + mi := &file_cosmos_circuit_v1_tx_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3370,7 +3370,7 @@ func (*MsgAuthorizeCircuitBreaker) ProtoMessage() {} // Deprecated: Use MsgAuthorizeCircuitBreaker.ProtoReflect.Descriptor instead. func (*MsgAuthorizeCircuitBreaker) Descriptor() ([]byte, []int) { - return file_cosmos_crisis_v1_tx_proto_rawDescGZIP(), []int{0} + return file_cosmos_circuit_v1_tx_proto_rawDescGZIP(), []int{0} } func (x *MsgAuthorizeCircuitBreaker) GetGranter() string { @@ -3402,7 +3402,7 @@ type CircuitBreakerPermissions struct { unknownFields protoimpl.UnknownFields // level is the level of permissions granted to this account. - Level CircuitBreakerPermissions_Level `protobuf:"varint,1,opt,name=level,proto3,enum=cosmos.crisis.v1.CircuitBreakerPermissions_Level" json:"level,omitempty"` + Level CircuitBreakerPermissions_Level `protobuf:"varint,1,opt,name=level,proto3,enum=cosmos.circuit.v1.CircuitBreakerPermissions_Level" json:"level,omitempty"` // limit_type_urls is used with LEVEL_SOME_MSGS to limit the lists of Msg type // URLs that the account can pause. It is an error to use limit_type_urls with // a level other than LEVEL_SOME_MSGS. @@ -3412,7 +3412,7 @@ type CircuitBreakerPermissions struct { func (x *CircuitBreakerPermissions) Reset() { *x = CircuitBreakerPermissions{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_crisis_v1_tx_proto_msgTypes[1] + mi := &file_cosmos_circuit_v1_tx_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3426,7 +3426,7 @@ func (*CircuitBreakerPermissions) ProtoMessage() {} // Deprecated: Use CircuitBreakerPermissions.ProtoReflect.Descriptor instead. func (*CircuitBreakerPermissions) Descriptor() ([]byte, []int) { - return file_cosmos_crisis_v1_tx_proto_rawDescGZIP(), []int{1} + return file_cosmos_circuit_v1_tx_proto_rawDescGZIP(), []int{1} } func (x *CircuitBreakerPermissions) GetLevel() CircuitBreakerPermissions_Level { @@ -3453,7 +3453,7 @@ type MsgAuthorizeCircuitBreakerResponse struct { func (x *MsgAuthorizeCircuitBreakerResponse) Reset() { *x = MsgAuthorizeCircuitBreakerResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_crisis_v1_tx_proto_msgTypes[2] + mi := &file_cosmos_circuit_v1_tx_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3467,7 +3467,7 @@ func (*MsgAuthorizeCircuitBreakerResponse) ProtoMessage() {} // Deprecated: Use MsgAuthorizeCircuitBreakerResponse.ProtoReflect.Descriptor instead. func (*MsgAuthorizeCircuitBreakerResponse) Descriptor() ([]byte, []int) { - return file_cosmos_crisis_v1_tx_proto_rawDescGZIP(), []int{2} + return file_cosmos_circuit_v1_tx_proto_rawDescGZIP(), []int{2} } // MsgTripCircuitBreaker defines the Msg/TripCircuitBreaker request type. @@ -3489,7 +3489,7 @@ type MsgTripCircuitBreaker struct { func (x *MsgTripCircuitBreaker) Reset() { *x = MsgTripCircuitBreaker{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_crisis_v1_tx_proto_msgTypes[3] + mi := &file_cosmos_circuit_v1_tx_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3503,7 +3503,7 @@ func (*MsgTripCircuitBreaker) ProtoMessage() {} // Deprecated: Use MsgTripCircuitBreaker.ProtoReflect.Descriptor instead. func (*MsgTripCircuitBreaker) Descriptor() ([]byte, []int) { - return file_cosmos_crisis_v1_tx_proto_rawDescGZIP(), []int{3} + return file_cosmos_circuit_v1_tx_proto_rawDescGZIP(), []int{3} } func (x *MsgTripCircuitBreaker) GetAuthority() string { @@ -3530,7 +3530,7 @@ type MsgTripCircuitBreakerResponse struct { func (x *MsgTripCircuitBreakerResponse) Reset() { *x = MsgTripCircuitBreakerResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_crisis_v1_tx_proto_msgTypes[4] + mi := &file_cosmos_circuit_v1_tx_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3544,7 +3544,7 @@ func (*MsgTripCircuitBreakerResponse) ProtoMessage() {} // Deprecated: Use MsgTripCircuitBreakerResponse.ProtoReflect.Descriptor instead. func (*MsgTripCircuitBreakerResponse) Descriptor() ([]byte, []int) { - return file_cosmos_crisis_v1_tx_proto_rawDescGZIP(), []int{4} + return file_cosmos_circuit_v1_tx_proto_rawDescGZIP(), []int{4} } // MsgResetCircuitBreaker defines the Msg/ResetCircuitBreaker request type. @@ -3564,7 +3564,7 @@ type MsgResetCircuitBreaker struct { func (x *MsgResetCircuitBreaker) Reset() { *x = MsgResetCircuitBreaker{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_crisis_v1_tx_proto_msgTypes[5] + mi := &file_cosmos_circuit_v1_tx_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3578,7 +3578,7 @@ func (*MsgResetCircuitBreaker) ProtoMessage() {} // Deprecated: Use MsgResetCircuitBreaker.ProtoReflect.Descriptor instead. func (*MsgResetCircuitBreaker) Descriptor() ([]byte, []int) { - return file_cosmos_crisis_v1_tx_proto_rawDescGZIP(), []int{5} + return file_cosmos_circuit_v1_tx_proto_rawDescGZIP(), []int{5} } func (x *MsgResetCircuitBreaker) GetAuthority() string { @@ -3605,7 +3605,7 @@ type MsgResetCircuitBreakerResponse struct { func (x *MsgResetCircuitBreakerResponse) Reset() { *x = MsgResetCircuitBreakerResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_crisis_v1_tx_proto_msgTypes[6] + mi := &file_cosmos_circuit_v1_tx_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3619,132 +3619,134 @@ func (*MsgResetCircuitBreakerResponse) ProtoMessage() {} // Deprecated: Use MsgResetCircuitBreakerResponse.ProtoReflect.Descriptor instead. func (*MsgResetCircuitBreakerResponse) Descriptor() ([]byte, []int) { - return file_cosmos_crisis_v1_tx_proto_rawDescGZIP(), []int{6} -} - -var File_cosmos_crisis_v1_tx_proto protoreflect.FileDescriptor - -var file_cosmos_crisis_v1_tx_proto_rawDesc = []byte{ - 0x0a, 0x19, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x72, 0x69, 0x73, 0x69, 0x73, 0x2f, - 0x76, 0x31, 0x2f, 0x74, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x63, 0x6f, 0x73, - 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x72, 0x69, 0x73, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x17, 0x63, - 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x6d, 0x73, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x73, 0x67, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xad, 0x01, 0x0a, 0x1a, 0x4d, 0x73, 0x67, 0x41, 0x75, - 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, - 0x65, 0x61, 0x6b, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x72, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x72, 0x12, - 0x18, 0x0a, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x65, 0x12, 0x4d, 0x0a, 0x0b, 0x70, 0x65, 0x72, - 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, - 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x72, 0x69, 0x73, 0x69, 0x73, 0x2e, 0x76, - 0x31, 0x2e, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, - 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0b, 0x70, 0x65, 0x72, - 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x67, - 0x72, 0x61, 0x6e, 0x74, 0x65, 0x72, 0x22, 0xf1, 0x01, 0x0a, 0x19, 0x43, 0x69, 0x72, 0x63, 0x75, + return file_cosmos_circuit_v1_tx_proto_rawDescGZIP(), []int{6} +} + +var File_cosmos_circuit_v1_tx_proto protoreflect.FileDescriptor + +var file_cosmos_circuit_v1_tx_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, + 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x63, 0x6f, + 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x1a, + 0x17, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x6d, 0x73, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x6d, + 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xae, 0x01, 0x0a, 0x1a, 0x4d, 0x73, 0x67, + 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, + 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, + 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, + 0x72, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x65, 0x12, 0x4e, 0x0a, 0x0b, 0x70, + 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x2c, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x69, 0x72, 0x63, 0x75, 0x69, + 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, + 0x6b, 0x65, 0x72, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0b, + 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, + 0x2a, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x72, 0x22, 0xf2, 0x01, 0x0a, 0x19, 0x43, 0x69, + 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x50, 0x65, 0x72, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x48, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, + 0x63, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, - 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x47, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x72, 0x69, - 0x73, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, - 0x65, 0x61, 0x6b, 0x65, 0x72, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, - 0x2e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x26, 0x0a, - 0x0f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x73, - 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x54, 0x79, 0x70, - 0x65, 0x55, 0x72, 0x6c, 0x73, 0x22, 0x63, 0x0a, 0x05, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x1a, - 0x0a, 0x16, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x5f, 0x55, 0x4e, 0x53, - 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x4c, 0x45, - 0x56, 0x45, 0x4c, 0x5f, 0x53, 0x4f, 0x4d, 0x45, 0x5f, 0x4d, 0x53, 0x47, 0x53, 0x10, 0x01, 0x12, - 0x12, 0x0a, 0x0e, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x41, 0x4c, 0x4c, 0x5f, 0x4d, 0x53, 0x47, - 0x53, 0x10, 0x02, 0x12, 0x15, 0x0a, 0x11, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x53, 0x55, 0x50, - 0x45, 0x52, 0x5f, 0x41, 0x44, 0x4d, 0x49, 0x4e, 0x10, 0x03, 0x22, 0x24, 0x0a, 0x22, 0x4d, 0x73, - 0x67, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, + 0x6c, 0x12, 0x26, 0x0a, 0x0f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, + 0x75, 0x72, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x6c, 0x69, 0x6d, 0x69, + 0x74, 0x54, 0x79, 0x70, 0x65, 0x55, 0x72, 0x6c, 0x73, 0x22, 0x63, 0x0a, 0x05, 0x4c, 0x65, 0x76, + 0x65, 0x6c, 0x12, 0x1a, 0x0a, 0x16, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, + 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x13, + 0x0a, 0x0f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x53, 0x4f, 0x4d, 0x45, 0x5f, 0x4d, 0x53, 0x47, + 0x53, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x41, 0x4c, 0x4c, + 0x5f, 0x4d, 0x53, 0x47, 0x53, 0x10, 0x02, 0x12, 0x15, 0x0a, 0x11, 0x4c, 0x45, 0x56, 0x45, 0x4c, + 0x5f, 0x53, 0x55, 0x50, 0x45, 0x52, 0x5f, 0x41, 0x44, 0x4d, 0x49, 0x4e, 0x10, 0x03, 0x22, 0x24, + 0x0a, 0x22, 0x4d, 0x73, 0x67, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x43, 0x69, + 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x69, 0x0a, 0x15, 0x4d, 0x73, 0x67, 0x54, 0x72, 0x69, 0x70, 0x43, + 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x12, 0x1c, 0x0a, + 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x22, 0x0a, 0x0d, 0x6d, + 0x73, 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x0b, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x55, 0x72, 0x6c, 0x73, 0x3a, + 0x0e, 0x82, 0xe7, 0xb0, 0x2a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, + 0x1f, 0x0a, 0x1d, 0x4d, 0x73, 0x67, 0x54, 0x72, 0x69, 0x70, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x69, 0x0a, 0x15, 0x4d, 0x73, 0x67, 0x54, 0x72, 0x69, 0x70, 0x43, 0x69, 0x72, 0x63, 0x75, - 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x75, 0x74, - 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x75, - 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x22, 0x0a, 0x0d, 0x6d, 0x73, 0x67, 0x5f, 0x74, - 0x79, 0x70, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, - 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x55, 0x72, 0x6c, 0x73, 0x3a, 0x0e, 0x82, 0xe7, 0xb0, - 0x2a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x22, 0x1f, 0x0a, 0x1d, 0x4d, + 0x22, 0x67, 0x0a, 0x16, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x73, 0x65, 0x74, 0x43, 0x69, 0x72, 0x63, + 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x75, + 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, + 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x22, 0x0a, 0x0d, 0x6d, 0x73, 0x67, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x0b, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x55, 0x72, 0x6c, 0x73, 0x3a, 0x0b, 0x82, 0xe7, + 0xb0, 0x2a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x22, 0x20, 0x0a, 0x1e, 0x4d, 0x73, 0x67, + 0x52, 0x65, 0x73, 0x65, 0x74, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, + 0x6b, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xf4, 0x02, 0x0a, 0x03, + 0x4d, 0x73, 0x67, 0x12, 0x7f, 0x0a, 0x17, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, + 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x12, 0x2d, + 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x2e, + 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x43, + 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x1a, 0x35, 0x2e, + 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x2e, 0x76, + 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x43, 0x69, + 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x70, 0x0a, 0x12, 0x54, 0x72, 0x69, 0x70, 0x43, 0x69, 0x72, 0x63, + 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x12, 0x28, 0x2e, 0x63, 0x6f, 0x73, + 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x54, 0x72, 0x69, 0x70, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, - 0x61, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x67, 0x0a, 0x16, - 0x4d, 0x73, 0x67, 0x52, 0x65, 0x73, 0x65, 0x74, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, - 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, - 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, - 0x72, 0x69, 0x74, 0x79, 0x12, 0x22, 0x0a, 0x0d, 0x6d, 0x73, 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, - 0x5f, 0x75, 0x72, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x6d, 0x73, 0x67, - 0x54, 0x79, 0x70, 0x65, 0x55, 0x72, 0x6c, 0x73, 0x3a, 0x0b, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x73, - 0x69, 0x67, 0x6e, 0x65, 0x72, 0x22, 0x20, 0x0a, 0x1e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x73, 0x65, - 0x74, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xee, 0x02, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x12, - 0x7d, 0x0a, 0x17, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x43, 0x69, 0x72, 0x63, - 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x12, 0x2c, 0x2e, 0x63, 0x6f, 0x73, - 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x72, 0x69, 0x73, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, - 0x67, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, - 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x1a, 0x34, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, - 0x73, 0x2e, 0x63, 0x72, 0x69, 0x73, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x41, - 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, - 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, - 0x0a, 0x12, 0x54, 0x72, 0x69, 0x70, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, - 0x61, 0x6b, 0x65, 0x72, 0x12, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x72, - 0x69, 0x73, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x54, 0x72, 0x69, 0x70, 0x43, - 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x1a, 0x2f, 0x2e, - 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x72, 0x69, 0x73, 0x69, 0x73, 0x2e, 0x76, 0x31, - 0x2e, 0x4d, 0x73, 0x67, 0x54, 0x72, 0x69, 0x70, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, - 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x71, - 0x0a, 0x13, 0x52, 0x65, 0x73, 0x65, 0x74, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, - 0x65, 0x61, 0x6b, 0x65, 0x72, 0x12, 0x28, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x63, - 0x72, 0x69, 0x73, 0x69, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x73, 0x65, - 0x74, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x1a, - 0x30, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x72, 0x69, 0x73, 0x69, 0x73, 0x2e, - 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x73, 0x65, 0x74, 0x43, 0x69, 0x72, 0x63, 0x75, - 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x1a, 0x05, 0x80, 0xe7, 0xb0, 0x2a, 0x01, 0x42, 0xad, 0x01, 0x0a, 0x14, 0x63, 0x6f, 0x6d, - 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x72, 0x69, 0x73, 0x69, 0x73, 0x2e, 0x76, - 0x31, 0x42, 0x07, 0x54, 0x78, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2a, 0x63, 0x6f, - 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, - 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x72, 0x69, 0x73, 0x69, 0x73, 0x2f, 0x76, 0x31, 0x3b, - 0x63, 0x72, 0x69, 0x73, 0x69, 0x73, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x43, 0x58, 0xaa, 0x02, - 0x10, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x43, 0x72, 0x69, 0x73, 0x69, 0x73, 0x2e, 0x56, - 0x31, 0xca, 0x02, 0x10, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x43, 0x72, 0x69, 0x73, 0x69, - 0x73, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1c, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x43, 0x72, - 0x69, 0x73, 0x69, 0x73, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0xea, 0x02, 0x12, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x3a, 0x3a, 0x43, 0x72, - 0x69, 0x73, 0x69, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x61, 0x6b, 0x65, 0x72, 0x1a, 0x30, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x69, + 0x72, 0x63, 0x75, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x54, 0x72, 0x69, 0x70, + 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x73, 0x0a, 0x13, 0x52, 0x65, 0x73, 0x65, 0x74, 0x43, + 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x12, 0x29, 0x2e, + 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x63, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x2e, 0x76, + 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x73, 0x65, 0x74, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, + 0x74, 0x42, 0x72, 0x65, 0x61, 0x6b, 0x65, 0x72, 0x1a, 0x31, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, + 0x73, 0x2e, 0x63, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, + 0x52, 0x65, 0x73, 0x65, 0x74, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x42, 0x72, 0x65, 0x61, + 0x6b, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x1a, 0x05, 0x80, 0xe7, 0xb0, + 0x2a, 0x01, 0x42, 0xb4, 0x01, 0x0a, 0x15, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, + 0x73, 0x2e, 0x63, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x2e, 0x76, 0x31, 0x42, 0x07, 0x54, 0x78, + 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2c, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, + 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, + 0x2f, 0x63, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x2f, 0x76, 0x31, 0x3b, 0x63, 0x69, 0x72, 0x63, + 0x75, 0x69, 0x74, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x43, 0x58, 0xaa, 0x02, 0x11, 0x43, 0x6f, + 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x2e, 0x56, 0x31, 0xca, + 0x02, 0x11, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, + 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1d, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x43, 0x69, 0x72, + 0x63, 0x75, 0x69, 0x74, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x3a, 0x3a, 0x43, 0x69, + 0x72, 0x63, 0x75, 0x69, 0x74, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, } var ( - file_cosmos_crisis_v1_tx_proto_rawDescOnce sync.Once - file_cosmos_crisis_v1_tx_proto_rawDescData = file_cosmos_crisis_v1_tx_proto_rawDesc + file_cosmos_circuit_v1_tx_proto_rawDescOnce sync.Once + file_cosmos_circuit_v1_tx_proto_rawDescData = file_cosmos_circuit_v1_tx_proto_rawDesc ) -func file_cosmos_crisis_v1_tx_proto_rawDescGZIP() []byte { - file_cosmos_crisis_v1_tx_proto_rawDescOnce.Do(func() { - file_cosmos_crisis_v1_tx_proto_rawDescData = protoimpl.X.CompressGZIP(file_cosmos_crisis_v1_tx_proto_rawDescData) +func file_cosmos_circuit_v1_tx_proto_rawDescGZIP() []byte { + file_cosmos_circuit_v1_tx_proto_rawDescOnce.Do(func() { + file_cosmos_circuit_v1_tx_proto_rawDescData = protoimpl.X.CompressGZIP(file_cosmos_circuit_v1_tx_proto_rawDescData) }) - return file_cosmos_crisis_v1_tx_proto_rawDescData -} - -var file_cosmos_crisis_v1_tx_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_cosmos_crisis_v1_tx_proto_msgTypes = make([]protoimpl.MessageInfo, 7) -var file_cosmos_crisis_v1_tx_proto_goTypes = []interface{}{ - (CircuitBreakerPermissions_Level)(0), // 0: cosmos.crisis.v1.CircuitBreakerPermissions.Level - (*MsgAuthorizeCircuitBreaker)(nil), // 1: cosmos.crisis.v1.MsgAuthorizeCircuitBreaker - (*CircuitBreakerPermissions)(nil), // 2: cosmos.crisis.v1.CircuitBreakerPermissions - (*MsgAuthorizeCircuitBreakerResponse)(nil), // 3: cosmos.crisis.v1.MsgAuthorizeCircuitBreakerResponse - (*MsgTripCircuitBreaker)(nil), // 4: cosmos.crisis.v1.MsgTripCircuitBreaker - (*MsgTripCircuitBreakerResponse)(nil), // 5: cosmos.crisis.v1.MsgTripCircuitBreakerResponse - (*MsgResetCircuitBreaker)(nil), // 6: cosmos.crisis.v1.MsgResetCircuitBreaker - (*MsgResetCircuitBreakerResponse)(nil), // 7: cosmos.crisis.v1.MsgResetCircuitBreakerResponse -} -var file_cosmos_crisis_v1_tx_proto_depIdxs = []int32{ - 2, // 0: cosmos.crisis.v1.MsgAuthorizeCircuitBreaker.permissions:type_name -> cosmos.crisis.v1.CircuitBreakerPermissions - 0, // 1: cosmos.crisis.v1.CircuitBreakerPermissions.level:type_name -> cosmos.crisis.v1.CircuitBreakerPermissions.Level - 1, // 2: cosmos.crisis.v1.Msg.AuthorizeCircuitBreaker:input_type -> cosmos.crisis.v1.MsgAuthorizeCircuitBreaker - 4, // 3: cosmos.crisis.v1.Msg.TripCircuitBreaker:input_type -> cosmos.crisis.v1.MsgTripCircuitBreaker - 6, // 4: cosmos.crisis.v1.Msg.ResetCircuitBreaker:input_type -> cosmos.crisis.v1.MsgResetCircuitBreaker - 3, // 5: cosmos.crisis.v1.Msg.AuthorizeCircuitBreaker:output_type -> cosmos.crisis.v1.MsgAuthorizeCircuitBreakerResponse - 5, // 6: cosmos.crisis.v1.Msg.TripCircuitBreaker:output_type -> cosmos.crisis.v1.MsgTripCircuitBreakerResponse - 7, // 7: cosmos.crisis.v1.Msg.ResetCircuitBreaker:output_type -> cosmos.crisis.v1.MsgResetCircuitBreakerResponse + return file_cosmos_circuit_v1_tx_proto_rawDescData +} + +var file_cosmos_circuit_v1_tx_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_cosmos_circuit_v1_tx_proto_msgTypes = make([]protoimpl.MessageInfo, 7) +var file_cosmos_circuit_v1_tx_proto_goTypes = []interface{}{ + (CircuitBreakerPermissions_Level)(0), // 0: cosmos.circuit.v1.CircuitBreakerPermissions.Level + (*MsgAuthorizeCircuitBreaker)(nil), // 1: cosmos.circuit.v1.MsgAuthorizeCircuitBreaker + (*CircuitBreakerPermissions)(nil), // 2: cosmos.circuit.v1.CircuitBreakerPermissions + (*MsgAuthorizeCircuitBreakerResponse)(nil), // 3: cosmos.circuit.v1.MsgAuthorizeCircuitBreakerResponse + (*MsgTripCircuitBreaker)(nil), // 4: cosmos.circuit.v1.MsgTripCircuitBreaker + (*MsgTripCircuitBreakerResponse)(nil), // 5: cosmos.circuit.v1.MsgTripCircuitBreakerResponse + (*MsgResetCircuitBreaker)(nil), // 6: cosmos.circuit.v1.MsgResetCircuitBreaker + (*MsgResetCircuitBreakerResponse)(nil), // 7: cosmos.circuit.v1.MsgResetCircuitBreakerResponse +} +var file_cosmos_circuit_v1_tx_proto_depIdxs = []int32{ + 2, // 0: cosmos.circuit.v1.MsgAuthorizeCircuitBreaker.permissions:type_name -> cosmos.circuit.v1.CircuitBreakerPermissions + 0, // 1: cosmos.circuit.v1.CircuitBreakerPermissions.level:type_name -> cosmos.circuit.v1.CircuitBreakerPermissions.Level + 1, // 2: cosmos.circuit.v1.Msg.AuthorizeCircuitBreaker:input_type -> cosmos.circuit.v1.MsgAuthorizeCircuitBreaker + 4, // 3: cosmos.circuit.v1.Msg.TripCircuitBreaker:input_type -> cosmos.circuit.v1.MsgTripCircuitBreaker + 6, // 4: cosmos.circuit.v1.Msg.ResetCircuitBreaker:input_type -> cosmos.circuit.v1.MsgResetCircuitBreaker + 3, // 5: cosmos.circuit.v1.Msg.AuthorizeCircuitBreaker:output_type -> cosmos.circuit.v1.MsgAuthorizeCircuitBreakerResponse + 5, // 6: cosmos.circuit.v1.Msg.TripCircuitBreaker:output_type -> cosmos.circuit.v1.MsgTripCircuitBreakerResponse + 7, // 7: cosmos.circuit.v1.Msg.ResetCircuitBreaker:output_type -> cosmos.circuit.v1.MsgResetCircuitBreakerResponse 5, // [5:8] is the sub-list for method output_type 2, // [2:5] is the sub-list for method input_type 2, // [2:2] is the sub-list for extension type_name @@ -3752,13 +3754,13 @@ var file_cosmos_crisis_v1_tx_proto_depIdxs = []int32{ 0, // [0:2] is the sub-list for field type_name } -func init() { file_cosmos_crisis_v1_tx_proto_init() } -func file_cosmos_crisis_v1_tx_proto_init() { - if File_cosmos_crisis_v1_tx_proto != nil { +func init() { file_cosmos_circuit_v1_tx_proto_init() } +func file_cosmos_circuit_v1_tx_proto_init() { + if File_cosmos_circuit_v1_tx_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_cosmos_crisis_v1_tx_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_circuit_v1_tx_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MsgAuthorizeCircuitBreaker); i { case 0: return &v.state @@ -3770,7 +3772,7 @@ func file_cosmos_crisis_v1_tx_proto_init() { return nil } } - file_cosmos_crisis_v1_tx_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_circuit_v1_tx_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CircuitBreakerPermissions); i { case 0: return &v.state @@ -3782,7 +3784,7 @@ func file_cosmos_crisis_v1_tx_proto_init() { return nil } } - file_cosmos_crisis_v1_tx_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_circuit_v1_tx_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MsgAuthorizeCircuitBreakerResponse); i { case 0: return &v.state @@ -3794,7 +3796,7 @@ func file_cosmos_crisis_v1_tx_proto_init() { return nil } } - file_cosmos_crisis_v1_tx_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_circuit_v1_tx_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MsgTripCircuitBreaker); i { case 0: return &v.state @@ -3806,7 +3808,7 @@ func file_cosmos_crisis_v1_tx_proto_init() { return nil } } - file_cosmos_crisis_v1_tx_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_circuit_v1_tx_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MsgTripCircuitBreakerResponse); i { case 0: return &v.state @@ -3818,7 +3820,7 @@ func file_cosmos_crisis_v1_tx_proto_init() { return nil } } - file_cosmos_crisis_v1_tx_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_circuit_v1_tx_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MsgResetCircuitBreaker); i { case 0: return &v.state @@ -3830,7 +3832,7 @@ func file_cosmos_crisis_v1_tx_proto_init() { return nil } } - file_cosmos_crisis_v1_tx_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_circuit_v1_tx_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MsgResetCircuitBreakerResponse); i { case 0: return &v.state @@ -3847,19 +3849,19 @@ func file_cosmos_crisis_v1_tx_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_cosmos_crisis_v1_tx_proto_rawDesc, + RawDescriptor: file_cosmos_circuit_v1_tx_proto_rawDesc, NumEnums: 1, NumMessages: 7, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_cosmos_crisis_v1_tx_proto_goTypes, - DependencyIndexes: file_cosmos_crisis_v1_tx_proto_depIdxs, - EnumInfos: file_cosmos_crisis_v1_tx_proto_enumTypes, - MessageInfos: file_cosmos_crisis_v1_tx_proto_msgTypes, + GoTypes: file_cosmos_circuit_v1_tx_proto_goTypes, + DependencyIndexes: file_cosmos_circuit_v1_tx_proto_depIdxs, + EnumInfos: file_cosmos_circuit_v1_tx_proto_enumTypes, + MessageInfos: file_cosmos_circuit_v1_tx_proto_msgTypes, }.Build() - File_cosmos_crisis_v1_tx_proto = out.File - file_cosmos_crisis_v1_tx_proto_rawDesc = nil - file_cosmos_crisis_v1_tx_proto_goTypes = nil - file_cosmos_crisis_v1_tx_proto_depIdxs = nil + File_cosmos_circuit_v1_tx_proto = out.File + file_cosmos_circuit_v1_tx_proto_rawDesc = nil + file_cosmos_circuit_v1_tx_proto_goTypes = nil + file_cosmos_circuit_v1_tx_proto_depIdxs = nil } diff --git a/api/cosmos/crisis/v1/tx_grpc.pb.go b/api/cosmos/circuit/v1/tx_grpc.pb.go similarity index 92% rename from api/cosmos/crisis/v1/tx_grpc.pb.go rename to api/cosmos/circuit/v1/tx_grpc.pb.go index 9d1a3534bad9..70cd21fb5e77 100644 --- a/api/cosmos/crisis/v1/tx_grpc.pb.go +++ b/api/cosmos/circuit/v1/tx_grpc.pb.go @@ -2,9 +2,9 @@ // versions: // - protoc-gen-go-grpc v1.2.0 // - protoc (unknown) -// source: cosmos/crisis/v1/tx.proto +// source: cosmos/circuit/v1/tx.proto -package crisisv1 +package circuitv1 import ( context "context" @@ -42,7 +42,7 @@ func NewMsgClient(cc grpc.ClientConnInterface) MsgClient { func (c *msgClient) AuthorizeCircuitBreaker(ctx context.Context, in *MsgAuthorizeCircuitBreaker, opts ...grpc.CallOption) (*MsgAuthorizeCircuitBreakerResponse, error) { out := new(MsgAuthorizeCircuitBreakerResponse) - err := c.cc.Invoke(ctx, "/cosmos.crisis.v1.Msg/AuthorizeCircuitBreaker", in, out, opts...) + err := c.cc.Invoke(ctx, "/cosmos.circuit.v1.Msg/AuthorizeCircuitBreaker", in, out, opts...) if err != nil { return nil, err } @@ -51,7 +51,7 @@ func (c *msgClient) AuthorizeCircuitBreaker(ctx context.Context, in *MsgAuthoriz func (c *msgClient) TripCircuitBreaker(ctx context.Context, in *MsgTripCircuitBreaker, opts ...grpc.CallOption) (*MsgTripCircuitBreakerResponse, error) { out := new(MsgTripCircuitBreakerResponse) - err := c.cc.Invoke(ctx, "/cosmos.crisis.v1.Msg/TripCircuitBreaker", in, out, opts...) + err := c.cc.Invoke(ctx, "/cosmos.circuit.v1.Msg/TripCircuitBreaker", in, out, opts...) if err != nil { return nil, err } @@ -60,7 +60,7 @@ func (c *msgClient) TripCircuitBreaker(ctx context.Context, in *MsgTripCircuitBr func (c *msgClient) ResetCircuitBreaker(ctx context.Context, in *MsgResetCircuitBreaker, opts ...grpc.CallOption) (*MsgResetCircuitBreakerResponse, error) { out := new(MsgResetCircuitBreakerResponse) - err := c.cc.Invoke(ctx, "/cosmos.crisis.v1.Msg/ResetCircuitBreaker", in, out, opts...) + err := c.cc.Invoke(ctx, "/cosmos.circuit.v1.Msg/ResetCircuitBreaker", in, out, opts...) if err != nil { return nil, err } @@ -118,7 +118,7 @@ func _Msg_AuthorizeCircuitBreaker_Handler(srv interface{}, ctx context.Context, } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/cosmos.crisis.v1.Msg/AuthorizeCircuitBreaker", + FullMethod: "/cosmos.circuit.v1.Msg/AuthorizeCircuitBreaker", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).AuthorizeCircuitBreaker(ctx, req.(*MsgAuthorizeCircuitBreaker)) @@ -136,7 +136,7 @@ func _Msg_TripCircuitBreaker_Handler(srv interface{}, ctx context.Context, dec f } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/cosmos.crisis.v1.Msg/TripCircuitBreaker", + FullMethod: "/cosmos.circuit.v1.Msg/TripCircuitBreaker", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).TripCircuitBreaker(ctx, req.(*MsgTripCircuitBreaker)) @@ -154,7 +154,7 @@ func _Msg_ResetCircuitBreaker_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/cosmos.crisis.v1.Msg/ResetCircuitBreaker", + FullMethod: "/cosmos.circuit.v1.Msg/ResetCircuitBreaker", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).ResetCircuitBreaker(ctx, req.(*MsgResetCircuitBreaker)) @@ -166,7 +166,7 @@ func _Msg_ResetCircuitBreaker_Handler(srv interface{}, ctx context.Context, dec // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) var Msg_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "cosmos.crisis.v1.Msg", + ServiceName: "cosmos.circuit.v1.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { @@ -183,5 +183,5 @@ var Msg_ServiceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "cosmos/crisis/v1/tx.proto", + Metadata: "cosmos/circuit/v1/tx.proto", } diff --git a/proto/cosmos/crisis/v1/tx.proto b/proto/cosmos/circuit/v1/tx.proto similarity index 95% rename from proto/cosmos/crisis/v1/tx.proto rename to proto/cosmos/circuit/v1/tx.proto index 4f5969d7e42d..55370abee9ee 100644 --- a/proto/cosmos/crisis/v1/tx.proto +++ b/proto/cosmos/circuit/v1/tx.proto @@ -1,5 +1,7 @@ syntax = "proto3"; -package cosmos.crisis.v1; +package cosmos.circuit.v1; + +// option go_package = "github.com/cosmos/cosmos-sdk/x/circuit/types"; // uncomment when module is created import "cosmos/msg/v1/msg.proto"; @@ -104,4 +106,4 @@ message MsgResetCircuitBreaker { } // MsgResetCircuitBreakerResponse defines the Msg/ResetCircuitBreaker response type. -message MsgResetCircuitBreakerResponse {} \ No newline at end of file +message MsgResetCircuitBreakerResponse {}