From 80933cb288acf3b748c13f4383f163c0e64c0d24 Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Thu, 11 Dec 2025 10:10:34 +0700 Subject: [PATCH 1/7] change proto path to v2 --- proto/cosmos/evm/vm/{v1 => v2}/events.proto | 2 +- proto/cosmos/evm/vm/{v1 => v2}/evm.proto | 2 +- proto/cosmos/evm/vm/{v1 => v2}/genesis.proto | 4 ++-- proto/cosmos/evm/vm/{v1 => v2}/query.proto | 6 +++--- proto/cosmos/evm/vm/{v1 => v2}/tx.proto | 6 +++--- 5 files changed, 10 insertions(+), 10 deletions(-) rename proto/cosmos/evm/vm/{v1 => v2}/events.proto (97%) rename proto/cosmos/evm/vm/{v1 => v2}/evm.proto (99%) rename proto/cosmos/evm/vm/{v1 => v2}/genesis.proto (95%) rename proto/cosmos/evm/vm/{v1 => v2}/query.proto (99%) rename proto/cosmos/evm/vm/{v1 => v2}/tx.proto (97%) diff --git a/proto/cosmos/evm/vm/v1/events.proto b/proto/cosmos/evm/vm/v2/events.proto similarity index 97% rename from proto/cosmos/evm/vm/v1/events.proto rename to proto/cosmos/evm/vm/v2/events.proto index 1af128f35..6e4edea08 100644 --- a/proto/cosmos/evm/vm/v1/events.proto +++ b/proto/cosmos/evm/vm/v2/events.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -package cosmos.evm.vm.v1; +package cosmos.evm.vm.v2; option go_package = "github.com/cosmos/evm/x/vm/types"; diff --git a/proto/cosmos/evm/vm/v1/evm.proto b/proto/cosmos/evm/vm/v2/evm.proto similarity index 99% rename from proto/cosmos/evm/vm/v1/evm.proto rename to proto/cosmos/evm/vm/v2/evm.proto index ea22da1f0..54dac0b08 100644 --- a/proto/cosmos/evm/vm/v1/evm.proto +++ b/proto/cosmos/evm/vm/v2/evm.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -package cosmos.evm.vm.v1; +package cosmos.evm.vm.v2; import "amino/amino.proto"; import "gogoproto/gogo.proto"; diff --git a/proto/cosmos/evm/vm/v1/genesis.proto b/proto/cosmos/evm/vm/v2/genesis.proto similarity index 95% rename from proto/cosmos/evm/vm/v1/genesis.proto rename to proto/cosmos/evm/vm/v2/genesis.proto index 56726fb76..388716c34 100644 --- a/proto/cosmos/evm/vm/v1/genesis.proto +++ b/proto/cosmos/evm/vm/v2/genesis.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package cosmos.evm.vm.v1; +package cosmos.evm.vm.v2; import "amino/amino.proto"; -import "cosmos/evm/vm/v1/evm.proto"; +import "cosmos/evm/vm/v2/evm.proto"; import "gogoproto/gogo.proto"; option go_package = "github.com/cosmos/evm/x/vm/types"; diff --git a/proto/cosmos/evm/vm/v1/query.proto b/proto/cosmos/evm/vm/v2/query.proto similarity index 99% rename from proto/cosmos/evm/vm/v1/query.proto rename to proto/cosmos/evm/vm/v2/query.proto index 1bc327611..7b6ae8f0d 100644 --- a/proto/cosmos/evm/vm/v1/query.proto +++ b/proto/cosmos/evm/vm/v2/query.proto @@ -1,11 +1,11 @@ syntax = "proto3"; -package cosmos.evm.vm.v1; +package cosmos.evm.vm.v2; import "amino/amino.proto"; import "cosmos/base/query/v1beta1/pagination.proto"; -import "cosmos/evm/vm/v1/evm.proto"; -import "cosmos/evm/vm/v1/tx.proto"; +import "cosmos/evm/vm/v2/evm.proto"; +import "cosmos/evm/vm/v2/tx.proto"; import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; import "google/protobuf/timestamp.proto"; diff --git a/proto/cosmos/evm/vm/v1/tx.proto b/proto/cosmos/evm/vm/v2/tx.proto similarity index 97% rename from proto/cosmos/evm/vm/v1/tx.proto rename to proto/cosmos/evm/vm/v2/tx.proto index 7ac870f9a..445fa5788 100644 --- a/proto/cosmos/evm/vm/v1/tx.proto +++ b/proto/cosmos/evm/vm/v2/tx.proto @@ -1,10 +1,10 @@ syntax = "proto3"; -package cosmos.evm.vm.v1; +package cosmos.evm.vm.v2; import "amino/amino.proto"; -import "cosmos/evm/vm/v1/evm.proto"; +import "cosmos/evm/vm/v2/evm.proto"; import "cosmos/msg/v1/msg.proto"; import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; @@ -17,7 +17,7 @@ service Msg { option (cosmos.msg.v1.service) = true; // EthereumTx defines a method submitting Ethereum transactions. rpc EthereumTx(MsgEthereumTx) returns (MsgEthereumTxResponse) { - option (google.api.http).post = "/cosmos/evm/vm/v1/ethereum_tx"; + option (google.api.http).post = "/cosmos/evm/vm/v2/ethereum_tx"; }; // UpdateParams defined a governance operation for updating the x/vm module // parameters. The authority is hard-coded to the Cosmos SDK x/gov module From 084f0ecf95827eed685c1a310ba37b91859a80ba Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Thu, 11 Dec 2025 10:11:19 +0700 Subject: [PATCH 2/7] proto gen --- api/cosmos/evm/vm/{v1 => v2}/events.pulsar.go | 390 +-- api/cosmos/evm/vm/{v1 => v2}/evm.pulsar.go | 1674 ++++++------ .../evm/vm/{v1 => v2}/genesis.pulsar.go | 254 +- api/cosmos/evm/vm/{v1 => v2}/msg.go | 2 +- api/cosmos/evm/vm/{v1 => v2}/query.pulsar.go | 2312 ++++++++--------- api/cosmos/evm/vm/{v1 => v2}/query_grpc.pb.go | 38 +- api/cosmos/evm/vm/{v1 => v2}/tx.pulsar.go | 588 ++--- api/cosmos/evm/vm/{v1 => v2}/tx_grpc.pb.go | 14 +- x/vm/types/events.pb.go | 26 +- x/vm/types/evm.pb.go | 332 +-- x/vm/types/genesis.pb.go | 20 +- x/vm/types/msg.go | 2 +- x/vm/types/query.pb.go | 414 +-- x/vm/types/query.pb.gw.go | 2 +- x/vm/types/tx.pb.go | 151 +- x/vm/types/tx.pb.gw.go | 4 +- 16 files changed, 3112 insertions(+), 3111 deletions(-) rename api/cosmos/evm/vm/{v1 => v2}/events.pulsar.go (89%) rename api/cosmos/evm/vm/{v1 => v2}/evm.pulsar.go (90%) rename api/cosmos/evm/vm/{v1 => v2}/genesis.pulsar.go (88%) rename api/cosmos/evm/vm/{v1 => v2}/msg.go (97%) rename api/cosmos/evm/vm/{v1 => v2}/query.pulsar.go (89%) rename api/cosmos/evm/vm/{v1 => v2}/query_grpc.pb.go (95%) rename api/cosmos/evm/vm/{v1 => v2}/tx.pulsar.go (89%) rename api/cosmos/evm/vm/{v1 => v2}/tx_grpc.pb.go (95%) diff --git a/api/cosmos/evm/vm/v1/events.pulsar.go b/api/cosmos/evm/vm/v2/events.pulsar.go similarity index 89% rename from api/cosmos/evm/vm/v1/events.pulsar.go rename to api/cosmos/evm/vm/v2/events.pulsar.go index 61aab2594..23183294f 100644 --- a/api/cosmos/evm/vm/v1/events.pulsar.go +++ b/api/cosmos/evm/vm/v2/events.pulsar.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-pulsar. DO NOT EDIT. -package vmv1 +package vmv2 import ( fmt "fmt" @@ -24,8 +24,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_events_proto_init() - md_EventEthereumTx = File_cosmos_evm_vm_v1_events_proto.Messages().ByName("EventEthereumTx") + file_cosmos_evm_vm_v2_events_proto_init() + md_EventEthereumTx = File_cosmos_evm_vm_v2_events_proto.Messages().ByName("EventEthereumTx") fd_EventEthereumTx_amount = md_EventEthereumTx.Fields().ByName("amount") fd_EventEthereumTx_eth_hash = md_EventEthereumTx.Fields().ByName("eth_hash") fd_EventEthereumTx_index = md_EventEthereumTx.Fields().ByName("index") @@ -44,7 +44,7 @@ func (x *EventEthereumTx) ProtoReflect() protoreflect.Message { } func (x *EventEthereumTx) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_events_proto_msgTypes[0] + mi := &file_cosmos_evm_vm_v2_events_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -157,25 +157,25 @@ func (x *fastReflection_EventEthereumTx) Range(f func(protoreflect.FieldDescript // a repeated field is populated if it is non-empty. func (x *fastReflection_EventEthereumTx) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.EventEthereumTx.amount": + case "cosmos.evm.vm.v2.EventEthereumTx.amount": return x.Amount != "" - case "cosmos.evm.vm.v1.EventEthereumTx.eth_hash": + case "cosmos.evm.vm.v2.EventEthereumTx.eth_hash": return x.EthHash != "" - case "cosmos.evm.vm.v1.EventEthereumTx.index": + case "cosmos.evm.vm.v2.EventEthereumTx.index": return x.Index != "" - case "cosmos.evm.vm.v1.EventEthereumTx.gas_used": + case "cosmos.evm.vm.v2.EventEthereumTx.gas_used": return x.GasUsed != "" - case "cosmos.evm.vm.v1.EventEthereumTx.hash": + case "cosmos.evm.vm.v2.EventEthereumTx.hash": return x.Hash != "" - case "cosmos.evm.vm.v1.EventEthereumTx.recipient": + case "cosmos.evm.vm.v2.EventEthereumTx.recipient": return x.Recipient != "" - case "cosmos.evm.vm.v1.EventEthereumTx.eth_tx_failed": + case "cosmos.evm.vm.v2.EventEthereumTx.eth_tx_failed": return x.EthTxFailed != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.EventEthereumTx")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.EventEthereumTx")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.EventEthereumTx does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.EventEthereumTx does not contain field %s", fd.FullName())) } } @@ -187,25 +187,25 @@ func (x *fastReflection_EventEthereumTx) Has(fd protoreflect.FieldDescriptor) bo // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_EventEthereumTx) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.EventEthereumTx.amount": + case "cosmos.evm.vm.v2.EventEthereumTx.amount": x.Amount = "" - case "cosmos.evm.vm.v1.EventEthereumTx.eth_hash": + case "cosmos.evm.vm.v2.EventEthereumTx.eth_hash": x.EthHash = "" - case "cosmos.evm.vm.v1.EventEthereumTx.index": + case "cosmos.evm.vm.v2.EventEthereumTx.index": x.Index = "" - case "cosmos.evm.vm.v1.EventEthereumTx.gas_used": + case "cosmos.evm.vm.v2.EventEthereumTx.gas_used": x.GasUsed = "" - case "cosmos.evm.vm.v1.EventEthereumTx.hash": + case "cosmos.evm.vm.v2.EventEthereumTx.hash": x.Hash = "" - case "cosmos.evm.vm.v1.EventEthereumTx.recipient": + case "cosmos.evm.vm.v2.EventEthereumTx.recipient": x.Recipient = "" - case "cosmos.evm.vm.v1.EventEthereumTx.eth_tx_failed": + case "cosmos.evm.vm.v2.EventEthereumTx.eth_tx_failed": x.EthTxFailed = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.EventEthereumTx")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.EventEthereumTx")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.EventEthereumTx does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.EventEthereumTx does not contain field %s", fd.FullName())) } } @@ -217,32 +217,32 @@ func (x *fastReflection_EventEthereumTx) Clear(fd protoreflect.FieldDescriptor) // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_EventEthereumTx) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.EventEthereumTx.amount": + case "cosmos.evm.vm.v2.EventEthereumTx.amount": value := x.Amount return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.EventEthereumTx.eth_hash": + case "cosmos.evm.vm.v2.EventEthereumTx.eth_hash": value := x.EthHash return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.EventEthereumTx.index": + case "cosmos.evm.vm.v2.EventEthereumTx.index": value := x.Index return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.EventEthereumTx.gas_used": + case "cosmos.evm.vm.v2.EventEthereumTx.gas_used": value := x.GasUsed return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.EventEthereumTx.hash": + case "cosmos.evm.vm.v2.EventEthereumTx.hash": value := x.Hash return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.EventEthereumTx.recipient": + case "cosmos.evm.vm.v2.EventEthereumTx.recipient": value := x.Recipient return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.EventEthereumTx.eth_tx_failed": + case "cosmos.evm.vm.v2.EventEthereumTx.eth_tx_failed": value := x.EthTxFailed return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.EventEthereumTx")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.EventEthereumTx")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.EventEthereumTx does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.EventEthereumTx does not contain field %s", descriptor.FullName())) } } @@ -258,25 +258,25 @@ func (x *fastReflection_EventEthereumTx) Get(descriptor protoreflect.FieldDescri // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_EventEthereumTx) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.EventEthereumTx.amount": + case "cosmos.evm.vm.v2.EventEthereumTx.amount": x.Amount = value.Interface().(string) - case "cosmos.evm.vm.v1.EventEthereumTx.eth_hash": + case "cosmos.evm.vm.v2.EventEthereumTx.eth_hash": x.EthHash = value.Interface().(string) - case "cosmos.evm.vm.v1.EventEthereumTx.index": + case "cosmos.evm.vm.v2.EventEthereumTx.index": x.Index = value.Interface().(string) - case "cosmos.evm.vm.v1.EventEthereumTx.gas_used": + case "cosmos.evm.vm.v2.EventEthereumTx.gas_used": x.GasUsed = value.Interface().(string) - case "cosmos.evm.vm.v1.EventEthereumTx.hash": + case "cosmos.evm.vm.v2.EventEthereumTx.hash": x.Hash = value.Interface().(string) - case "cosmos.evm.vm.v1.EventEthereumTx.recipient": + case "cosmos.evm.vm.v2.EventEthereumTx.recipient": x.Recipient = value.Interface().(string) - case "cosmos.evm.vm.v1.EventEthereumTx.eth_tx_failed": + case "cosmos.evm.vm.v2.EventEthereumTx.eth_tx_failed": x.EthTxFailed = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.EventEthereumTx")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.EventEthereumTx")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.EventEthereumTx does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.EventEthereumTx does not contain field %s", fd.FullName())) } } @@ -292,25 +292,25 @@ func (x *fastReflection_EventEthereumTx) Set(fd protoreflect.FieldDescriptor, va // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_EventEthereumTx) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.EventEthereumTx.amount": - panic(fmt.Errorf("field amount of message cosmos.evm.vm.v1.EventEthereumTx is not mutable")) - case "cosmos.evm.vm.v1.EventEthereumTx.eth_hash": - panic(fmt.Errorf("field eth_hash of message cosmos.evm.vm.v1.EventEthereumTx is not mutable")) - case "cosmos.evm.vm.v1.EventEthereumTx.index": - panic(fmt.Errorf("field index of message cosmos.evm.vm.v1.EventEthereumTx is not mutable")) - case "cosmos.evm.vm.v1.EventEthereumTx.gas_used": - panic(fmt.Errorf("field gas_used of message cosmos.evm.vm.v1.EventEthereumTx is not mutable")) - case "cosmos.evm.vm.v1.EventEthereumTx.hash": - panic(fmt.Errorf("field hash of message cosmos.evm.vm.v1.EventEthereumTx is not mutable")) - case "cosmos.evm.vm.v1.EventEthereumTx.recipient": - panic(fmt.Errorf("field recipient of message cosmos.evm.vm.v1.EventEthereumTx is not mutable")) - case "cosmos.evm.vm.v1.EventEthereumTx.eth_tx_failed": - panic(fmt.Errorf("field eth_tx_failed of message cosmos.evm.vm.v1.EventEthereumTx is not mutable")) + case "cosmos.evm.vm.v2.EventEthereumTx.amount": + panic(fmt.Errorf("field amount of message cosmos.evm.vm.v2.EventEthereumTx is not mutable")) + case "cosmos.evm.vm.v2.EventEthereumTx.eth_hash": + panic(fmt.Errorf("field eth_hash of message cosmos.evm.vm.v2.EventEthereumTx is not mutable")) + case "cosmos.evm.vm.v2.EventEthereumTx.index": + panic(fmt.Errorf("field index of message cosmos.evm.vm.v2.EventEthereumTx is not mutable")) + case "cosmos.evm.vm.v2.EventEthereumTx.gas_used": + panic(fmt.Errorf("field gas_used of message cosmos.evm.vm.v2.EventEthereumTx is not mutable")) + case "cosmos.evm.vm.v2.EventEthereumTx.hash": + panic(fmt.Errorf("field hash of message cosmos.evm.vm.v2.EventEthereumTx is not mutable")) + case "cosmos.evm.vm.v2.EventEthereumTx.recipient": + panic(fmt.Errorf("field recipient of message cosmos.evm.vm.v2.EventEthereumTx is not mutable")) + case "cosmos.evm.vm.v2.EventEthereumTx.eth_tx_failed": + panic(fmt.Errorf("field eth_tx_failed of message cosmos.evm.vm.v2.EventEthereumTx is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.EventEthereumTx")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.EventEthereumTx")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.EventEthereumTx does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.EventEthereumTx does not contain field %s", fd.FullName())) } } @@ -319,25 +319,25 @@ func (x *fastReflection_EventEthereumTx) Mutable(fd protoreflect.FieldDescriptor // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_EventEthereumTx) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.EventEthereumTx.amount": + case "cosmos.evm.vm.v2.EventEthereumTx.amount": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.EventEthereumTx.eth_hash": + case "cosmos.evm.vm.v2.EventEthereumTx.eth_hash": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.EventEthereumTx.index": + case "cosmos.evm.vm.v2.EventEthereumTx.index": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.EventEthereumTx.gas_used": + case "cosmos.evm.vm.v2.EventEthereumTx.gas_used": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.EventEthereumTx.hash": + case "cosmos.evm.vm.v2.EventEthereumTx.hash": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.EventEthereumTx.recipient": + case "cosmos.evm.vm.v2.EventEthereumTx.recipient": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.EventEthereumTx.eth_tx_failed": + case "cosmos.evm.vm.v2.EventEthereumTx.eth_tx_failed": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.EventEthereumTx")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.EventEthereumTx")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.EventEthereumTx does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.EventEthereumTx does not contain field %s", fd.FullName())) } } @@ -347,7 +347,7 @@ func (x *fastReflection_EventEthereumTx) NewField(fd protoreflect.FieldDescripto func (x *fastReflection_EventEthereumTx) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.EventEthereumTx", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.EventEthereumTx", d.FullName())) } panic("unreachable") } @@ -868,8 +868,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_events_proto_init() - md_EventTxLog = File_cosmos_evm_vm_v1_events_proto.Messages().ByName("EventTxLog") + file_cosmos_evm_vm_v2_events_proto_init() + md_EventTxLog = File_cosmos_evm_vm_v2_events_proto.Messages().ByName("EventTxLog") fd_EventTxLog_tx_logs = md_EventTxLog.Fields().ByName("tx_logs") } @@ -882,7 +882,7 @@ func (x *EventTxLog) ProtoReflect() protoreflect.Message { } func (x *EventTxLog) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_events_proto_msgTypes[1] + mi := &file_cosmos_evm_vm_v2_events_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -959,13 +959,13 @@ func (x *fastReflection_EventTxLog) Range(f func(protoreflect.FieldDescriptor, p // a repeated field is populated if it is non-empty. func (x *fastReflection_EventTxLog) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.EventTxLog.tx_logs": + case "cosmos.evm.vm.v2.EventTxLog.tx_logs": return len(x.TxLogs) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.EventTxLog")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.EventTxLog")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.EventTxLog does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.EventTxLog does not contain field %s", fd.FullName())) } } @@ -977,13 +977,13 @@ func (x *fastReflection_EventTxLog) Has(fd protoreflect.FieldDescriptor) bool { // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_EventTxLog) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.EventTxLog.tx_logs": + case "cosmos.evm.vm.v2.EventTxLog.tx_logs": x.TxLogs = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.EventTxLog")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.EventTxLog")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.EventTxLog does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.EventTxLog does not contain field %s", fd.FullName())) } } @@ -995,7 +995,7 @@ func (x *fastReflection_EventTxLog) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_EventTxLog) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.EventTxLog.tx_logs": + case "cosmos.evm.vm.v2.EventTxLog.tx_logs": if len(x.TxLogs) == 0 { return protoreflect.ValueOfList(&_EventTxLog_1_list{}) } @@ -1003,9 +1003,9 @@ func (x *fastReflection_EventTxLog) Get(descriptor protoreflect.FieldDescriptor) return protoreflect.ValueOfList(listValue) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.EventTxLog")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.EventTxLog")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.EventTxLog does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.EventTxLog does not contain field %s", descriptor.FullName())) } } @@ -1021,15 +1021,15 @@ func (x *fastReflection_EventTxLog) Get(descriptor protoreflect.FieldDescriptor) // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_EventTxLog) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.EventTxLog.tx_logs": + case "cosmos.evm.vm.v2.EventTxLog.tx_logs": lv := value.List() clv := lv.(*_EventTxLog_1_list) x.TxLogs = *clv.list default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.EventTxLog")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.EventTxLog")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.EventTxLog does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.EventTxLog does not contain field %s", fd.FullName())) } } @@ -1045,7 +1045,7 @@ func (x *fastReflection_EventTxLog) Set(fd protoreflect.FieldDescriptor, value p // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_EventTxLog) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.EventTxLog.tx_logs": + case "cosmos.evm.vm.v2.EventTxLog.tx_logs": if x.TxLogs == nil { x.TxLogs = []string{} } @@ -1053,9 +1053,9 @@ func (x *fastReflection_EventTxLog) Mutable(fd protoreflect.FieldDescriptor) pro return protoreflect.ValueOfList(value) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.EventTxLog")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.EventTxLog")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.EventTxLog does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.EventTxLog does not contain field %s", fd.FullName())) } } @@ -1064,14 +1064,14 @@ func (x *fastReflection_EventTxLog) Mutable(fd protoreflect.FieldDescriptor) pro // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_EventTxLog) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.EventTxLog.tx_logs": + case "cosmos.evm.vm.v2.EventTxLog.tx_logs": list := []string{} return protoreflect.ValueOfList(&_EventTxLog_1_list{list: &list}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.EventTxLog")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.EventTxLog")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.EventTxLog does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.EventTxLog does not contain field %s", fd.FullName())) } } @@ -1081,7 +1081,7 @@ func (x *fastReflection_EventTxLog) NewField(fd protoreflect.FieldDescriptor) pr func (x *fastReflection_EventTxLog) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.EventTxLog", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.EventTxLog", d.FullName())) } panic("unreachable") } @@ -1304,8 +1304,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_events_proto_init() - md_EventMessage = File_cosmos_evm_vm_v1_events_proto.Messages().ByName("EventMessage") + file_cosmos_evm_vm_v2_events_proto_init() + md_EventMessage = File_cosmos_evm_vm_v2_events_proto.Messages().ByName("EventMessage") fd_EventMessage_module = md_EventMessage.Fields().ByName("module") fd_EventMessage_sender = md_EventMessage.Fields().ByName("sender") fd_EventMessage_tx_type = md_EventMessage.Fields().ByName("tx_type") @@ -1320,7 +1320,7 @@ func (x *EventMessage) ProtoReflect() protoreflect.Message { } func (x *EventMessage) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_events_proto_msgTypes[2] + mi := &file_cosmos_evm_vm_v2_events_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1409,17 +1409,17 @@ func (x *fastReflection_EventMessage) Range(f func(protoreflect.FieldDescriptor, // a repeated field is populated if it is non-empty. func (x *fastReflection_EventMessage) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.EventMessage.module": + case "cosmos.evm.vm.v2.EventMessage.module": return x.Module != "" - case "cosmos.evm.vm.v1.EventMessage.sender": + case "cosmos.evm.vm.v2.EventMessage.sender": return x.Sender != "" - case "cosmos.evm.vm.v1.EventMessage.tx_type": + case "cosmos.evm.vm.v2.EventMessage.tx_type": return x.TxType != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.EventMessage")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.EventMessage")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.EventMessage does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.EventMessage does not contain field %s", fd.FullName())) } } @@ -1431,17 +1431,17 @@ func (x *fastReflection_EventMessage) Has(fd protoreflect.FieldDescriptor) bool // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_EventMessage) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.EventMessage.module": + case "cosmos.evm.vm.v2.EventMessage.module": x.Module = "" - case "cosmos.evm.vm.v1.EventMessage.sender": + case "cosmos.evm.vm.v2.EventMessage.sender": x.Sender = "" - case "cosmos.evm.vm.v1.EventMessage.tx_type": + case "cosmos.evm.vm.v2.EventMessage.tx_type": x.TxType = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.EventMessage")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.EventMessage")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.EventMessage does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.EventMessage does not contain field %s", fd.FullName())) } } @@ -1453,20 +1453,20 @@ func (x *fastReflection_EventMessage) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_EventMessage) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.EventMessage.module": + case "cosmos.evm.vm.v2.EventMessage.module": value := x.Module return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.EventMessage.sender": + case "cosmos.evm.vm.v2.EventMessage.sender": value := x.Sender return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.EventMessage.tx_type": + case "cosmos.evm.vm.v2.EventMessage.tx_type": value := x.TxType return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.EventMessage")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.EventMessage")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.EventMessage does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.EventMessage does not contain field %s", descriptor.FullName())) } } @@ -1482,17 +1482,17 @@ func (x *fastReflection_EventMessage) Get(descriptor protoreflect.FieldDescripto // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_EventMessage) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.EventMessage.module": + case "cosmos.evm.vm.v2.EventMessage.module": x.Module = value.Interface().(string) - case "cosmos.evm.vm.v1.EventMessage.sender": + case "cosmos.evm.vm.v2.EventMessage.sender": x.Sender = value.Interface().(string) - case "cosmos.evm.vm.v1.EventMessage.tx_type": + case "cosmos.evm.vm.v2.EventMessage.tx_type": x.TxType = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.EventMessage")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.EventMessage")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.EventMessage does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.EventMessage does not contain field %s", fd.FullName())) } } @@ -1508,17 +1508,17 @@ func (x *fastReflection_EventMessage) Set(fd protoreflect.FieldDescriptor, value // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_EventMessage) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.EventMessage.module": - panic(fmt.Errorf("field module of message cosmos.evm.vm.v1.EventMessage is not mutable")) - case "cosmos.evm.vm.v1.EventMessage.sender": - panic(fmt.Errorf("field sender of message cosmos.evm.vm.v1.EventMessage is not mutable")) - case "cosmos.evm.vm.v1.EventMessage.tx_type": - panic(fmt.Errorf("field tx_type of message cosmos.evm.vm.v1.EventMessage is not mutable")) + case "cosmos.evm.vm.v2.EventMessage.module": + panic(fmt.Errorf("field module of message cosmos.evm.vm.v2.EventMessage is not mutable")) + case "cosmos.evm.vm.v2.EventMessage.sender": + panic(fmt.Errorf("field sender of message cosmos.evm.vm.v2.EventMessage is not mutable")) + case "cosmos.evm.vm.v2.EventMessage.tx_type": + panic(fmt.Errorf("field tx_type of message cosmos.evm.vm.v2.EventMessage is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.EventMessage")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.EventMessage")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.EventMessage does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.EventMessage does not contain field %s", fd.FullName())) } } @@ -1527,17 +1527,17 @@ func (x *fastReflection_EventMessage) Mutable(fd protoreflect.FieldDescriptor) p // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_EventMessage) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.EventMessage.module": + case "cosmos.evm.vm.v2.EventMessage.module": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.EventMessage.sender": + case "cosmos.evm.vm.v2.EventMessage.sender": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.EventMessage.tx_type": + case "cosmos.evm.vm.v2.EventMessage.tx_type": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.EventMessage")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.EventMessage")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.EventMessage does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.EventMessage does not contain field %s", fd.FullName())) } } @@ -1547,7 +1547,7 @@ func (x *fastReflection_EventMessage) NewField(fd protoreflect.FieldDescriptor) func (x *fastReflection_EventMessage) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.EventMessage", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.EventMessage", d.FullName())) } panic("unreachable") } @@ -1850,8 +1850,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_events_proto_init() - md_EventBlockBloom = File_cosmos_evm_vm_v1_events_proto.Messages().ByName("EventBlockBloom") + file_cosmos_evm_vm_v2_events_proto_init() + md_EventBlockBloom = File_cosmos_evm_vm_v2_events_proto.Messages().ByName("EventBlockBloom") fd_EventBlockBloom_bloom = md_EventBlockBloom.Fields().ByName("bloom") } @@ -1864,7 +1864,7 @@ func (x *EventBlockBloom) ProtoReflect() protoreflect.Message { } func (x *EventBlockBloom) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_events_proto_msgTypes[3] + mi := &file_cosmos_evm_vm_v2_events_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1941,13 +1941,13 @@ func (x *fastReflection_EventBlockBloom) Range(f func(protoreflect.FieldDescript // a repeated field is populated if it is non-empty. func (x *fastReflection_EventBlockBloom) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.EventBlockBloom.bloom": + case "cosmos.evm.vm.v2.EventBlockBloom.bloom": return x.Bloom != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.EventBlockBloom")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.EventBlockBloom")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.EventBlockBloom does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.EventBlockBloom does not contain field %s", fd.FullName())) } } @@ -1959,13 +1959,13 @@ func (x *fastReflection_EventBlockBloom) Has(fd protoreflect.FieldDescriptor) bo // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_EventBlockBloom) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.EventBlockBloom.bloom": + case "cosmos.evm.vm.v2.EventBlockBloom.bloom": x.Bloom = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.EventBlockBloom")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.EventBlockBloom")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.EventBlockBloom does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.EventBlockBloom does not contain field %s", fd.FullName())) } } @@ -1977,14 +1977,14 @@ func (x *fastReflection_EventBlockBloom) Clear(fd protoreflect.FieldDescriptor) // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_EventBlockBloom) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.EventBlockBloom.bloom": + case "cosmos.evm.vm.v2.EventBlockBloom.bloom": value := x.Bloom return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.EventBlockBloom")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.EventBlockBloom")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.EventBlockBloom does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.EventBlockBloom does not contain field %s", descriptor.FullName())) } } @@ -2000,13 +2000,13 @@ func (x *fastReflection_EventBlockBloom) Get(descriptor protoreflect.FieldDescri // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_EventBlockBloom) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.EventBlockBloom.bloom": + case "cosmos.evm.vm.v2.EventBlockBloom.bloom": x.Bloom = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.EventBlockBloom")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.EventBlockBloom")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.EventBlockBloom does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.EventBlockBloom does not contain field %s", fd.FullName())) } } @@ -2022,13 +2022,13 @@ func (x *fastReflection_EventBlockBloom) Set(fd protoreflect.FieldDescriptor, va // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_EventBlockBloom) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.EventBlockBloom.bloom": - panic(fmt.Errorf("field bloom of message cosmos.evm.vm.v1.EventBlockBloom is not mutable")) + case "cosmos.evm.vm.v2.EventBlockBloom.bloom": + panic(fmt.Errorf("field bloom of message cosmos.evm.vm.v2.EventBlockBloom is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.EventBlockBloom")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.EventBlockBloom")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.EventBlockBloom does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.EventBlockBloom does not contain field %s", fd.FullName())) } } @@ -2037,13 +2037,13 @@ func (x *fastReflection_EventBlockBloom) Mutable(fd protoreflect.FieldDescriptor // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_EventBlockBloom) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.EventBlockBloom.bloom": + case "cosmos.evm.vm.v2.EventBlockBloom.bloom": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.EventBlockBloom")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.EventBlockBloom")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.EventBlockBloom does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.EventBlockBloom does not contain field %s", fd.FullName())) } } @@ -2053,7 +2053,7 @@ func (x *fastReflection_EventBlockBloom) NewField(fd protoreflect.FieldDescripto func (x *fastReflection_EventBlockBloom) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.EventBlockBloom", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.EventBlockBloom", d.FullName())) } panic("unreachable") } @@ -2268,7 +2268,7 @@ func (x *fastReflection_EventBlockBloom) ProtoMethods() *protoiface.Methods { // versions: // protoc-gen-go v1.27.0 // protoc (unknown) -// source: cosmos/evm/vm/v1/events.proto +// source: cosmos/evm/vm/v2/events.proto const ( // Verify that this generated code is sufficiently up-to-date. @@ -2302,7 +2302,7 @@ type EventEthereumTx struct { func (x *EventEthereumTx) Reset() { *x = EventEthereumTx{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_events_proto_msgTypes[0] + mi := &file_cosmos_evm_vm_v2_events_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2316,7 +2316,7 @@ func (*EventEthereumTx) ProtoMessage() {} // Deprecated: Use EventEthereumTx.ProtoReflect.Descriptor instead. func (*EventEthereumTx) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_events_proto_rawDescGZIP(), []int{0} + return file_cosmos_evm_vm_v2_events_proto_rawDescGZIP(), []int{0} } func (x *EventEthereumTx) GetAmount() string { @@ -2381,7 +2381,7 @@ type EventTxLog struct { func (x *EventTxLog) Reset() { *x = EventTxLog{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_events_proto_msgTypes[1] + mi := &file_cosmos_evm_vm_v2_events_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2395,7 +2395,7 @@ func (*EventTxLog) ProtoMessage() {} // Deprecated: Use EventTxLog.ProtoReflect.Descriptor instead. func (*EventTxLog) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_events_proto_rawDescGZIP(), []int{1} + return file_cosmos_evm_vm_v2_events_proto_rawDescGZIP(), []int{1} } func (x *EventTxLog) GetTxLogs() []string { @@ -2422,7 +2422,7 @@ type EventMessage struct { func (x *EventMessage) Reset() { *x = EventMessage{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_events_proto_msgTypes[2] + mi := &file_cosmos_evm_vm_v2_events_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2436,7 +2436,7 @@ func (*EventMessage) ProtoMessage() {} // Deprecated: Use EventMessage.ProtoReflect.Descriptor instead. func (*EventMessage) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_events_proto_rawDescGZIP(), []int{2} + return file_cosmos_evm_vm_v2_events_proto_rawDescGZIP(), []int{2} } func (x *EventMessage) GetModule() string { @@ -2473,7 +2473,7 @@ type EventBlockBloom struct { func (x *EventBlockBloom) Reset() { *x = EventBlockBloom{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_events_proto_msgTypes[3] + mi := &file_cosmos_evm_vm_v2_events_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2487,7 +2487,7 @@ func (*EventBlockBloom) ProtoMessage() {} // Deprecated: Use EventBlockBloom.ProtoReflect.Descriptor instead. func (*EventBlockBloom) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_events_proto_rawDescGZIP(), []int{3} + return file_cosmos_evm_vm_v2_events_proto_rawDescGZIP(), []int{3} } func (x *EventBlockBloom) GetBloom() string { @@ -2497,13 +2497,13 @@ func (x *EventBlockBloom) GetBloom() string { return "" } -var File_cosmos_evm_vm_v1_events_proto protoreflect.FileDescriptor +var File_cosmos_evm_vm_v2_events_proto protoreflect.FileDescriptor -var file_cosmos_evm_vm_v1_events_proto_rawDesc = []byte{ +var file_cosmos_evm_vm_v2_events_proto_rawDesc = []byte{ 0x0a, 0x1d, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x6d, 0x2f, - 0x76, 0x31, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, + 0x76, 0x32, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, - 0x31, 0x22, 0xcb, 0x01, 0x0a, 0x0f, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x45, 0x74, 0x68, 0x65, 0x72, + 0x32, 0x22, 0xcb, 0x01, 0x0a, 0x0f, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x54, 0x78, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x74, 0x68, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, @@ -2528,39 +2528,39 @@ var file_cosmos_evm_vm_v1_events_proto_rawDesc = []byte{ 0x6f, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x6f, 0x6d, 0x42, 0xae, 0x01, 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, - 0x31, 0x42, 0x0b, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, + 0x32, 0x42, 0x0b, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x26, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x6d, - 0x2f, 0x76, 0x31, 0x3b, 0x76, 0x6d, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x45, 0x56, 0xaa, 0x02, + 0x2f, 0x76, 0x32, 0x3b, 0x76, 0x6d, 0x76, 0x32, 0xa2, 0x02, 0x03, 0x43, 0x45, 0x56, 0xaa, 0x02, 0x10, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x45, 0x76, 0x6d, 0x2e, 0x56, 0x6d, 0x2e, 0x56, - 0x31, 0xca, 0x02, 0x10, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x45, 0x76, 0x6d, 0x5c, 0x56, - 0x6d, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1c, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x45, 0x76, - 0x6d, 0x5c, 0x56, 0x6d, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x32, 0xca, 0x02, 0x10, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x45, 0x76, 0x6d, 0x5c, 0x56, + 0x6d, 0x5c, 0x56, 0x32, 0xe2, 0x02, 0x1c, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x45, 0x76, + 0x6d, 0x5c, 0x56, 0x6d, 0x5c, 0x56, 0x32, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x3a, 0x3a, 0x45, 0x76, - 0x6d, 0x3a, 0x3a, 0x56, 0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x6d, 0x3a, 0x3a, 0x56, 0x6d, 0x3a, 0x3a, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_cosmos_evm_vm_v1_events_proto_rawDescOnce sync.Once - file_cosmos_evm_vm_v1_events_proto_rawDescData = file_cosmos_evm_vm_v1_events_proto_rawDesc + file_cosmos_evm_vm_v2_events_proto_rawDescOnce sync.Once + file_cosmos_evm_vm_v2_events_proto_rawDescData = file_cosmos_evm_vm_v2_events_proto_rawDesc ) -func file_cosmos_evm_vm_v1_events_proto_rawDescGZIP() []byte { - file_cosmos_evm_vm_v1_events_proto_rawDescOnce.Do(func() { - file_cosmos_evm_vm_v1_events_proto_rawDescData = protoimpl.X.CompressGZIP(file_cosmos_evm_vm_v1_events_proto_rawDescData) +func file_cosmos_evm_vm_v2_events_proto_rawDescGZIP() []byte { + file_cosmos_evm_vm_v2_events_proto_rawDescOnce.Do(func() { + file_cosmos_evm_vm_v2_events_proto_rawDescData = protoimpl.X.CompressGZIP(file_cosmos_evm_vm_v2_events_proto_rawDescData) }) - return file_cosmos_evm_vm_v1_events_proto_rawDescData + return file_cosmos_evm_vm_v2_events_proto_rawDescData } -var file_cosmos_evm_vm_v1_events_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_cosmos_evm_vm_v1_events_proto_goTypes = []interface{}{ - (*EventEthereumTx)(nil), // 0: cosmos.evm.vm.v1.EventEthereumTx - (*EventTxLog)(nil), // 1: cosmos.evm.vm.v1.EventTxLog - (*EventMessage)(nil), // 2: cosmos.evm.vm.v1.EventMessage - (*EventBlockBloom)(nil), // 3: cosmos.evm.vm.v1.EventBlockBloom +var file_cosmos_evm_vm_v2_events_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_cosmos_evm_vm_v2_events_proto_goTypes = []interface{}{ + (*EventEthereumTx)(nil), // 0: cosmos.evm.vm.v2.EventEthereumTx + (*EventTxLog)(nil), // 1: cosmos.evm.vm.v2.EventTxLog + (*EventMessage)(nil), // 2: cosmos.evm.vm.v2.EventMessage + (*EventBlockBloom)(nil), // 3: cosmos.evm.vm.v2.EventBlockBloom } -var file_cosmos_evm_vm_v1_events_proto_depIdxs = []int32{ +var file_cosmos_evm_vm_v2_events_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for method output_type 0, // [0:0] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name @@ -2568,13 +2568,13 @@ var file_cosmos_evm_vm_v1_events_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for field type_name } -func init() { file_cosmos_evm_vm_v1_events_proto_init() } -func file_cosmos_evm_vm_v1_events_proto_init() { - if File_cosmos_evm_vm_v1_events_proto != nil { +func init() { file_cosmos_evm_vm_v2_events_proto_init() } +func file_cosmos_evm_vm_v2_events_proto_init() { + if File_cosmos_evm_vm_v2_events_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_cosmos_evm_vm_v1_events_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_events_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EventEthereumTx); i { case 0: return &v.state @@ -2586,7 +2586,7 @@ func file_cosmos_evm_vm_v1_events_proto_init() { return nil } } - file_cosmos_evm_vm_v1_events_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_events_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EventTxLog); i { case 0: return &v.state @@ -2598,7 +2598,7 @@ func file_cosmos_evm_vm_v1_events_proto_init() { return nil } } - file_cosmos_evm_vm_v1_events_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_events_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EventMessage); i { case 0: return &v.state @@ -2610,7 +2610,7 @@ func file_cosmos_evm_vm_v1_events_proto_init() { return nil } } - file_cosmos_evm_vm_v1_events_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_events_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EventBlockBloom); i { case 0: return &v.state @@ -2627,18 +2627,18 @@ func file_cosmos_evm_vm_v1_events_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_cosmos_evm_vm_v1_events_proto_rawDesc, + RawDescriptor: file_cosmos_evm_vm_v2_events_proto_rawDesc, NumEnums: 0, NumMessages: 4, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_cosmos_evm_vm_v1_events_proto_goTypes, - DependencyIndexes: file_cosmos_evm_vm_v1_events_proto_depIdxs, - MessageInfos: file_cosmos_evm_vm_v1_events_proto_msgTypes, + GoTypes: file_cosmos_evm_vm_v2_events_proto_goTypes, + DependencyIndexes: file_cosmos_evm_vm_v2_events_proto_depIdxs, + MessageInfos: file_cosmos_evm_vm_v2_events_proto_msgTypes, }.Build() - File_cosmos_evm_vm_v1_events_proto = out.File - file_cosmos_evm_vm_v1_events_proto_rawDesc = nil - file_cosmos_evm_vm_v1_events_proto_goTypes = nil - file_cosmos_evm_vm_v1_events_proto_depIdxs = nil + File_cosmos_evm_vm_v2_events_proto = out.File + file_cosmos_evm_vm_v2_events_proto_rawDesc = nil + file_cosmos_evm_vm_v2_events_proto_goTypes = nil + file_cosmos_evm_vm_v2_events_proto_depIdxs = nil } diff --git a/api/cosmos/evm/vm/v1/evm.pulsar.go b/api/cosmos/evm/vm/v2/evm.pulsar.go similarity index 90% rename from api/cosmos/evm/vm/v1/evm.pulsar.go rename to api/cosmos/evm/vm/v2/evm.pulsar.go index 7e5c9a62b..d9ce28ab0 100644 --- a/api/cosmos/evm/vm/v1/evm.pulsar.go +++ b/api/cosmos/evm/vm/v2/evm.pulsar.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-pulsar. DO NOT EDIT. -package vmv1 +package vmv2 import ( _ "cosmossdk.io/api/amino" @@ -164,8 +164,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_evm_proto_init() - md_Params = File_cosmos_evm_vm_v1_evm_proto.Messages().ByName("Params") + file_cosmos_evm_vm_v2_evm_proto_init() + md_Params = File_cosmos_evm_vm_v2_evm_proto.Messages().ByName("Params") fd_Params_evm_denom = md_Params.Fields().ByName("evm_denom") fd_Params_extra_eips = md_Params.Fields().ByName("extra_eips") fd_Params_evm_channels = md_Params.Fields().ByName("evm_channels") @@ -184,7 +184,7 @@ func (x *Params) ProtoReflect() protoreflect.Message { } func (x *Params) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[0] + mi := &file_cosmos_evm_vm_v2_evm_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -297,25 +297,25 @@ func (x *fastReflection_Params) Range(f func(protoreflect.FieldDescriptor, proto // a repeated field is populated if it is non-empty. func (x *fastReflection_Params) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.Params.evm_denom": + case "cosmos.evm.vm.v2.Params.evm_denom": return x.EvmDenom != "" - case "cosmos.evm.vm.v1.Params.extra_eips": + case "cosmos.evm.vm.v2.Params.extra_eips": return len(x.ExtraEips) != 0 - case "cosmos.evm.vm.v1.Params.evm_channels": + case "cosmos.evm.vm.v2.Params.evm_channels": return len(x.EvmChannels) != 0 - case "cosmos.evm.vm.v1.Params.access_control": + case "cosmos.evm.vm.v2.Params.access_control": return x.AccessControl != nil - case "cosmos.evm.vm.v1.Params.active_static_precompiles": + case "cosmos.evm.vm.v2.Params.active_static_precompiles": return len(x.ActiveStaticPrecompiles) != 0 - case "cosmos.evm.vm.v1.Params.history_serve_window": + case "cosmos.evm.vm.v2.Params.history_serve_window": return x.HistoryServeWindow != uint64(0) - case "cosmos.evm.vm.v1.Params.extended_denom_options": + case "cosmos.evm.vm.v2.Params.extended_denom_options": return x.ExtendedDenomOptions != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.Params")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.Params")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.Params does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.Params does not contain field %s", fd.FullName())) } } @@ -327,25 +327,25 @@ func (x *fastReflection_Params) Has(fd protoreflect.FieldDescriptor) bool { // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Params) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.Params.evm_denom": + case "cosmos.evm.vm.v2.Params.evm_denom": x.EvmDenom = "" - case "cosmos.evm.vm.v1.Params.extra_eips": + case "cosmos.evm.vm.v2.Params.extra_eips": x.ExtraEips = nil - case "cosmos.evm.vm.v1.Params.evm_channels": + case "cosmos.evm.vm.v2.Params.evm_channels": x.EvmChannels = nil - case "cosmos.evm.vm.v1.Params.access_control": + case "cosmos.evm.vm.v2.Params.access_control": x.AccessControl = nil - case "cosmos.evm.vm.v1.Params.active_static_precompiles": + case "cosmos.evm.vm.v2.Params.active_static_precompiles": x.ActiveStaticPrecompiles = nil - case "cosmos.evm.vm.v1.Params.history_serve_window": + case "cosmos.evm.vm.v2.Params.history_serve_window": x.HistoryServeWindow = uint64(0) - case "cosmos.evm.vm.v1.Params.extended_denom_options": + case "cosmos.evm.vm.v2.Params.extended_denom_options": x.ExtendedDenomOptions = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.Params")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.Params")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.Params does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.Params does not contain field %s", fd.FullName())) } } @@ -357,41 +357,41 @@ func (x *fastReflection_Params) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_Params) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.Params.evm_denom": + case "cosmos.evm.vm.v2.Params.evm_denom": value := x.EvmDenom return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.Params.extra_eips": + case "cosmos.evm.vm.v2.Params.extra_eips": if len(x.ExtraEips) == 0 { return protoreflect.ValueOfList(&_Params_4_list{}) } listValue := &_Params_4_list{list: &x.ExtraEips} return protoreflect.ValueOfList(listValue) - case "cosmos.evm.vm.v1.Params.evm_channels": + case "cosmos.evm.vm.v2.Params.evm_channels": if len(x.EvmChannels) == 0 { return protoreflect.ValueOfList(&_Params_7_list{}) } listValue := &_Params_7_list{list: &x.EvmChannels} return protoreflect.ValueOfList(listValue) - case "cosmos.evm.vm.v1.Params.access_control": + case "cosmos.evm.vm.v2.Params.access_control": value := x.AccessControl return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "cosmos.evm.vm.v1.Params.active_static_precompiles": + case "cosmos.evm.vm.v2.Params.active_static_precompiles": if len(x.ActiveStaticPrecompiles) == 0 { return protoreflect.ValueOfList(&_Params_9_list{}) } listValue := &_Params_9_list{list: &x.ActiveStaticPrecompiles} return protoreflect.ValueOfList(listValue) - case "cosmos.evm.vm.v1.Params.history_serve_window": + case "cosmos.evm.vm.v2.Params.history_serve_window": value := x.HistoryServeWindow return protoreflect.ValueOfUint64(value) - case "cosmos.evm.vm.v1.Params.extended_denom_options": + case "cosmos.evm.vm.v2.Params.extended_denom_options": value := x.ExtendedDenomOptions return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.Params")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.Params")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.Params does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.Params does not contain field %s", descriptor.FullName())) } } @@ -407,31 +407,31 @@ func (x *fastReflection_Params) Get(descriptor protoreflect.FieldDescriptor) pro // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Params) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.Params.evm_denom": + case "cosmos.evm.vm.v2.Params.evm_denom": x.EvmDenom = value.Interface().(string) - case "cosmos.evm.vm.v1.Params.extra_eips": + case "cosmos.evm.vm.v2.Params.extra_eips": lv := value.List() clv := lv.(*_Params_4_list) x.ExtraEips = *clv.list - case "cosmos.evm.vm.v1.Params.evm_channels": + case "cosmos.evm.vm.v2.Params.evm_channels": lv := value.List() clv := lv.(*_Params_7_list) x.EvmChannels = *clv.list - case "cosmos.evm.vm.v1.Params.access_control": + case "cosmos.evm.vm.v2.Params.access_control": x.AccessControl = value.Message().Interface().(*AccessControl) - case "cosmos.evm.vm.v1.Params.active_static_precompiles": + case "cosmos.evm.vm.v2.Params.active_static_precompiles": lv := value.List() clv := lv.(*_Params_9_list) x.ActiveStaticPrecompiles = *clv.list - case "cosmos.evm.vm.v1.Params.history_serve_window": + case "cosmos.evm.vm.v2.Params.history_serve_window": x.HistoryServeWindow = value.Uint() - case "cosmos.evm.vm.v1.Params.extended_denom_options": + case "cosmos.evm.vm.v2.Params.extended_denom_options": x.ExtendedDenomOptions = value.Message().Interface().(*ExtendedDenomOptions) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.Params")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.Params")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.Params does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.Params does not contain field %s", fd.FullName())) } } @@ -447,43 +447,43 @@ func (x *fastReflection_Params) Set(fd protoreflect.FieldDescriptor, value proto // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Params) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.Params.extra_eips": + case "cosmos.evm.vm.v2.Params.extra_eips": if x.ExtraEips == nil { x.ExtraEips = []int64{} } value := &_Params_4_list{list: &x.ExtraEips} return protoreflect.ValueOfList(value) - case "cosmos.evm.vm.v1.Params.evm_channels": + case "cosmos.evm.vm.v2.Params.evm_channels": if x.EvmChannels == nil { x.EvmChannels = []string{} } value := &_Params_7_list{list: &x.EvmChannels} return protoreflect.ValueOfList(value) - case "cosmos.evm.vm.v1.Params.access_control": + case "cosmos.evm.vm.v2.Params.access_control": if x.AccessControl == nil { x.AccessControl = new(AccessControl) } return protoreflect.ValueOfMessage(x.AccessControl.ProtoReflect()) - case "cosmos.evm.vm.v1.Params.active_static_precompiles": + case "cosmos.evm.vm.v2.Params.active_static_precompiles": if x.ActiveStaticPrecompiles == nil { x.ActiveStaticPrecompiles = []string{} } value := &_Params_9_list{list: &x.ActiveStaticPrecompiles} return protoreflect.ValueOfList(value) - case "cosmos.evm.vm.v1.Params.extended_denom_options": + case "cosmos.evm.vm.v2.Params.extended_denom_options": if x.ExtendedDenomOptions == nil { x.ExtendedDenomOptions = new(ExtendedDenomOptions) } return protoreflect.ValueOfMessage(x.ExtendedDenomOptions.ProtoReflect()) - case "cosmos.evm.vm.v1.Params.evm_denom": - panic(fmt.Errorf("field evm_denom of message cosmos.evm.vm.v1.Params is not mutable")) - case "cosmos.evm.vm.v1.Params.history_serve_window": - panic(fmt.Errorf("field history_serve_window of message cosmos.evm.vm.v1.Params is not mutable")) + case "cosmos.evm.vm.v2.Params.evm_denom": + panic(fmt.Errorf("field evm_denom of message cosmos.evm.vm.v2.Params is not mutable")) + case "cosmos.evm.vm.v2.Params.history_serve_window": + panic(fmt.Errorf("field history_serve_window of message cosmos.evm.vm.v2.Params is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.Params")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.Params")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.Params does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.Params does not contain field %s", fd.FullName())) } } @@ -492,30 +492,30 @@ func (x *fastReflection_Params) Mutable(fd protoreflect.FieldDescriptor) protore // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_Params) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.Params.evm_denom": + case "cosmos.evm.vm.v2.Params.evm_denom": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.Params.extra_eips": + case "cosmos.evm.vm.v2.Params.extra_eips": list := []int64{} return protoreflect.ValueOfList(&_Params_4_list{list: &list}) - case "cosmos.evm.vm.v1.Params.evm_channels": + case "cosmos.evm.vm.v2.Params.evm_channels": list := []string{} return protoreflect.ValueOfList(&_Params_7_list{list: &list}) - case "cosmos.evm.vm.v1.Params.access_control": + case "cosmos.evm.vm.v2.Params.access_control": m := new(AccessControl) return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "cosmos.evm.vm.v1.Params.active_static_precompiles": + case "cosmos.evm.vm.v2.Params.active_static_precompiles": list := []string{} return protoreflect.ValueOfList(&_Params_9_list{list: &list}) - case "cosmos.evm.vm.v1.Params.history_serve_window": + case "cosmos.evm.vm.v2.Params.history_serve_window": return protoreflect.ValueOfUint64(uint64(0)) - case "cosmos.evm.vm.v1.Params.extended_denom_options": + case "cosmos.evm.vm.v2.Params.extended_denom_options": m := new(ExtendedDenomOptions) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.Params")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.Params")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.Params does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.Params does not contain field %s", fd.FullName())) } } @@ -525,7 +525,7 @@ func (x *fastReflection_Params) NewField(fd protoreflect.FieldDescriptor) protor func (x *fastReflection_Params) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.Params", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.Params", d.FullName())) } panic("unreachable") } @@ -1075,8 +1075,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_evm_proto_init() - md_ExtendedDenomOptions = File_cosmos_evm_vm_v1_evm_proto.Messages().ByName("ExtendedDenomOptions") + file_cosmos_evm_vm_v2_evm_proto_init() + md_ExtendedDenomOptions = File_cosmos_evm_vm_v2_evm_proto.Messages().ByName("ExtendedDenomOptions") fd_ExtendedDenomOptions_extended_denom = md_ExtendedDenomOptions.Fields().ByName("extended_denom") } @@ -1089,7 +1089,7 @@ func (x *ExtendedDenomOptions) ProtoReflect() protoreflect.Message { } func (x *ExtendedDenomOptions) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[1] + mi := &file_cosmos_evm_vm_v2_evm_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1166,13 +1166,13 @@ func (x *fastReflection_ExtendedDenomOptions) Range(f func(protoreflect.FieldDes // a repeated field is populated if it is non-empty. func (x *fastReflection_ExtendedDenomOptions) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.ExtendedDenomOptions.extended_denom": + case "cosmos.evm.vm.v2.ExtendedDenomOptions.extended_denom": return x.ExtendedDenom != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.ExtendedDenomOptions")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.ExtendedDenomOptions")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.ExtendedDenomOptions does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.ExtendedDenomOptions does not contain field %s", fd.FullName())) } } @@ -1184,13 +1184,13 @@ func (x *fastReflection_ExtendedDenomOptions) Has(fd protoreflect.FieldDescripto // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_ExtendedDenomOptions) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.ExtendedDenomOptions.extended_denom": + case "cosmos.evm.vm.v2.ExtendedDenomOptions.extended_denom": x.ExtendedDenom = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.ExtendedDenomOptions")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.ExtendedDenomOptions")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.ExtendedDenomOptions does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.ExtendedDenomOptions does not contain field %s", fd.FullName())) } } @@ -1202,14 +1202,14 @@ func (x *fastReflection_ExtendedDenomOptions) Clear(fd protoreflect.FieldDescrip // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_ExtendedDenomOptions) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.ExtendedDenomOptions.extended_denom": + case "cosmos.evm.vm.v2.ExtendedDenomOptions.extended_denom": value := x.ExtendedDenom return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.ExtendedDenomOptions")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.ExtendedDenomOptions")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.ExtendedDenomOptions does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.ExtendedDenomOptions does not contain field %s", descriptor.FullName())) } } @@ -1225,13 +1225,13 @@ func (x *fastReflection_ExtendedDenomOptions) Get(descriptor protoreflect.FieldD // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_ExtendedDenomOptions) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.ExtendedDenomOptions.extended_denom": + case "cosmos.evm.vm.v2.ExtendedDenomOptions.extended_denom": x.ExtendedDenom = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.ExtendedDenomOptions")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.ExtendedDenomOptions")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.ExtendedDenomOptions does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.ExtendedDenomOptions does not contain field %s", fd.FullName())) } } @@ -1247,13 +1247,13 @@ func (x *fastReflection_ExtendedDenomOptions) Set(fd protoreflect.FieldDescripto // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_ExtendedDenomOptions) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.ExtendedDenomOptions.extended_denom": - panic(fmt.Errorf("field extended_denom of message cosmos.evm.vm.v1.ExtendedDenomOptions is not mutable")) + case "cosmos.evm.vm.v2.ExtendedDenomOptions.extended_denom": + panic(fmt.Errorf("field extended_denom of message cosmos.evm.vm.v2.ExtendedDenomOptions is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.ExtendedDenomOptions")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.ExtendedDenomOptions")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.ExtendedDenomOptions does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.ExtendedDenomOptions does not contain field %s", fd.FullName())) } } @@ -1262,13 +1262,13 @@ func (x *fastReflection_ExtendedDenomOptions) Mutable(fd protoreflect.FieldDescr // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_ExtendedDenomOptions) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.ExtendedDenomOptions.extended_denom": + case "cosmos.evm.vm.v2.ExtendedDenomOptions.extended_denom": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.ExtendedDenomOptions")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.ExtendedDenomOptions")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.ExtendedDenomOptions does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.ExtendedDenomOptions does not contain field %s", fd.FullName())) } } @@ -1278,7 +1278,7 @@ func (x *fastReflection_ExtendedDenomOptions) NewField(fd protoreflect.FieldDesc func (x *fastReflection_ExtendedDenomOptions) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.ExtendedDenomOptions", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.ExtendedDenomOptions", d.FullName())) } panic("unreachable") } @@ -1496,8 +1496,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_evm_proto_init() - md_AccessControl = File_cosmos_evm_vm_v1_evm_proto.Messages().ByName("AccessControl") + file_cosmos_evm_vm_v2_evm_proto_init() + md_AccessControl = File_cosmos_evm_vm_v2_evm_proto.Messages().ByName("AccessControl") fd_AccessControl_create = md_AccessControl.Fields().ByName("create") fd_AccessControl_call = md_AccessControl.Fields().ByName("call") } @@ -1511,7 +1511,7 @@ func (x *AccessControl) ProtoReflect() protoreflect.Message { } func (x *AccessControl) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[2] + mi := &file_cosmos_evm_vm_v2_evm_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1594,15 +1594,15 @@ func (x *fastReflection_AccessControl) Range(f func(protoreflect.FieldDescriptor // a repeated field is populated if it is non-empty. func (x *fastReflection_AccessControl) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.AccessControl.create": + case "cosmos.evm.vm.v2.AccessControl.create": return x.Create != nil - case "cosmos.evm.vm.v1.AccessControl.call": + case "cosmos.evm.vm.v2.AccessControl.call": return x.Call != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.AccessControl")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.AccessControl")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.AccessControl does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.AccessControl does not contain field %s", fd.FullName())) } } @@ -1614,15 +1614,15 @@ func (x *fastReflection_AccessControl) Has(fd protoreflect.FieldDescriptor) bool // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_AccessControl) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.AccessControl.create": + case "cosmos.evm.vm.v2.AccessControl.create": x.Create = nil - case "cosmos.evm.vm.v1.AccessControl.call": + case "cosmos.evm.vm.v2.AccessControl.call": x.Call = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.AccessControl")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.AccessControl")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.AccessControl does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.AccessControl does not contain field %s", fd.FullName())) } } @@ -1634,17 +1634,17 @@ func (x *fastReflection_AccessControl) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_AccessControl) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.AccessControl.create": + case "cosmos.evm.vm.v2.AccessControl.create": value := x.Create return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "cosmos.evm.vm.v1.AccessControl.call": + case "cosmos.evm.vm.v2.AccessControl.call": value := x.Call return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.AccessControl")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.AccessControl")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.AccessControl does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.AccessControl does not contain field %s", descriptor.FullName())) } } @@ -1660,15 +1660,15 @@ func (x *fastReflection_AccessControl) Get(descriptor protoreflect.FieldDescript // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_AccessControl) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.AccessControl.create": + case "cosmos.evm.vm.v2.AccessControl.create": x.Create = value.Message().Interface().(*AccessControlType) - case "cosmos.evm.vm.v1.AccessControl.call": + case "cosmos.evm.vm.v2.AccessControl.call": x.Call = value.Message().Interface().(*AccessControlType) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.AccessControl")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.AccessControl")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.AccessControl does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.AccessControl does not contain field %s", fd.FullName())) } } @@ -1684,21 +1684,21 @@ func (x *fastReflection_AccessControl) Set(fd protoreflect.FieldDescriptor, valu // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_AccessControl) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.AccessControl.create": + case "cosmos.evm.vm.v2.AccessControl.create": if x.Create == nil { x.Create = new(AccessControlType) } return protoreflect.ValueOfMessage(x.Create.ProtoReflect()) - case "cosmos.evm.vm.v1.AccessControl.call": + case "cosmos.evm.vm.v2.AccessControl.call": if x.Call == nil { x.Call = new(AccessControlType) } return protoreflect.ValueOfMessage(x.Call.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.AccessControl")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.AccessControl")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.AccessControl does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.AccessControl does not contain field %s", fd.FullName())) } } @@ -1707,17 +1707,17 @@ func (x *fastReflection_AccessControl) Mutable(fd protoreflect.FieldDescriptor) // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_AccessControl) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.AccessControl.create": + case "cosmos.evm.vm.v2.AccessControl.create": m := new(AccessControlType) return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "cosmos.evm.vm.v1.AccessControl.call": + case "cosmos.evm.vm.v2.AccessControl.call": m := new(AccessControlType) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.AccessControl")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.AccessControl")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.AccessControl does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.AccessControl does not contain field %s", fd.FullName())) } } @@ -1727,7 +1727,7 @@ func (x *fastReflection_AccessControl) NewField(fd protoreflect.FieldDescriptor) func (x *fastReflection_AccessControl) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.AccessControl", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.AccessControl", d.FullName())) } panic("unreachable") } @@ -2056,8 +2056,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_evm_proto_init() - md_AccessControlType = File_cosmos_evm_vm_v1_evm_proto.Messages().ByName("AccessControlType") + file_cosmos_evm_vm_v2_evm_proto_init() + md_AccessControlType = File_cosmos_evm_vm_v2_evm_proto.Messages().ByName("AccessControlType") fd_AccessControlType_access_type = md_AccessControlType.Fields().ByName("access_type") fd_AccessControlType_access_control_list = md_AccessControlType.Fields().ByName("access_control_list") } @@ -2071,7 +2071,7 @@ func (x *AccessControlType) ProtoReflect() protoreflect.Message { } func (x *AccessControlType) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[3] + mi := &file_cosmos_evm_vm_v2_evm_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2154,15 +2154,15 @@ func (x *fastReflection_AccessControlType) Range(f func(protoreflect.FieldDescri // a repeated field is populated if it is non-empty. func (x *fastReflection_AccessControlType) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.AccessControlType.access_type": + case "cosmos.evm.vm.v2.AccessControlType.access_type": return x.AccessType != 0 - case "cosmos.evm.vm.v1.AccessControlType.access_control_list": + case "cosmos.evm.vm.v2.AccessControlType.access_control_list": return len(x.AccessControlList) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.AccessControlType")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.AccessControlType")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.AccessControlType does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.AccessControlType does not contain field %s", fd.FullName())) } } @@ -2174,15 +2174,15 @@ func (x *fastReflection_AccessControlType) Has(fd protoreflect.FieldDescriptor) // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_AccessControlType) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.AccessControlType.access_type": + case "cosmos.evm.vm.v2.AccessControlType.access_type": x.AccessType = 0 - case "cosmos.evm.vm.v1.AccessControlType.access_control_list": + case "cosmos.evm.vm.v2.AccessControlType.access_control_list": x.AccessControlList = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.AccessControlType")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.AccessControlType")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.AccessControlType does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.AccessControlType does not contain field %s", fd.FullName())) } } @@ -2194,10 +2194,10 @@ func (x *fastReflection_AccessControlType) Clear(fd protoreflect.FieldDescriptor // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_AccessControlType) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.AccessControlType.access_type": + case "cosmos.evm.vm.v2.AccessControlType.access_type": value := x.AccessType return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) - case "cosmos.evm.vm.v1.AccessControlType.access_control_list": + case "cosmos.evm.vm.v2.AccessControlType.access_control_list": if len(x.AccessControlList) == 0 { return protoreflect.ValueOfList(&_AccessControlType_2_list{}) } @@ -2205,9 +2205,9 @@ func (x *fastReflection_AccessControlType) Get(descriptor protoreflect.FieldDesc return protoreflect.ValueOfList(listValue) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.AccessControlType")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.AccessControlType")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.AccessControlType does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.AccessControlType does not contain field %s", descriptor.FullName())) } } @@ -2223,17 +2223,17 @@ func (x *fastReflection_AccessControlType) Get(descriptor protoreflect.FieldDesc // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_AccessControlType) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.AccessControlType.access_type": + case "cosmos.evm.vm.v2.AccessControlType.access_type": x.AccessType = (AccessType)(value.Enum()) - case "cosmos.evm.vm.v1.AccessControlType.access_control_list": + case "cosmos.evm.vm.v2.AccessControlType.access_control_list": lv := value.List() clv := lv.(*_AccessControlType_2_list) x.AccessControlList = *clv.list default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.AccessControlType")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.AccessControlType")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.AccessControlType does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.AccessControlType does not contain field %s", fd.FullName())) } } @@ -2249,19 +2249,19 @@ func (x *fastReflection_AccessControlType) Set(fd protoreflect.FieldDescriptor, // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_AccessControlType) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.AccessControlType.access_control_list": + case "cosmos.evm.vm.v2.AccessControlType.access_control_list": if x.AccessControlList == nil { x.AccessControlList = []string{} } value := &_AccessControlType_2_list{list: &x.AccessControlList} return protoreflect.ValueOfList(value) - case "cosmos.evm.vm.v1.AccessControlType.access_type": - panic(fmt.Errorf("field access_type of message cosmos.evm.vm.v1.AccessControlType is not mutable")) + case "cosmos.evm.vm.v2.AccessControlType.access_type": + panic(fmt.Errorf("field access_type of message cosmos.evm.vm.v2.AccessControlType is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.AccessControlType")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.AccessControlType")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.AccessControlType does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.AccessControlType does not contain field %s", fd.FullName())) } } @@ -2270,16 +2270,16 @@ func (x *fastReflection_AccessControlType) Mutable(fd protoreflect.FieldDescript // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_AccessControlType) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.AccessControlType.access_type": + case "cosmos.evm.vm.v2.AccessControlType.access_type": return protoreflect.ValueOfEnum(0) - case "cosmos.evm.vm.v1.AccessControlType.access_control_list": + case "cosmos.evm.vm.v2.AccessControlType.access_control_list": list := []string{} return protoreflect.ValueOfList(&_AccessControlType_2_list{list: &list}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.AccessControlType")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.AccessControlType")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.AccessControlType does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.AccessControlType does not contain field %s", fd.FullName())) } } @@ -2289,7 +2289,7 @@ func (x *fastReflection_AccessControlType) NewField(fd protoreflect.FieldDescrip func (x *fastReflection_AccessControlType) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.AccessControlType", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.AccessControlType", d.FullName())) } panic("unreachable") } @@ -2560,8 +2560,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_evm_proto_init() - md_ChainConfig = File_cosmos_evm_vm_v1_evm_proto.Messages().ByName("ChainConfig") + file_cosmos_evm_vm_v2_evm_proto_init() + md_ChainConfig = File_cosmos_evm_vm_v2_evm_proto.Messages().ByName("ChainConfig") fd_ChainConfig_homestead_block = md_ChainConfig.Fields().ByName("homestead_block") fd_ChainConfig_dao_fork_block = md_ChainConfig.Fields().ByName("dao_fork_block") fd_ChainConfig_dao_fork_support = md_ChainConfig.Fields().ByName("dao_fork_support") @@ -2597,7 +2597,7 @@ func (x *ChainConfig) ProtoReflect() protoreflect.Message { } func (x *ChainConfig) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[4] + mi := &file_cosmos_evm_vm_v2_evm_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2812,59 +2812,59 @@ func (x *fastReflection_ChainConfig) Range(f func(protoreflect.FieldDescriptor, // a repeated field is populated if it is non-empty. func (x *fastReflection_ChainConfig) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.ChainConfig.homestead_block": + case "cosmos.evm.vm.v2.ChainConfig.homestead_block": return x.HomesteadBlock != "" - case "cosmos.evm.vm.v1.ChainConfig.dao_fork_block": + case "cosmos.evm.vm.v2.ChainConfig.dao_fork_block": return x.DaoForkBlock != "" - case "cosmos.evm.vm.v1.ChainConfig.dao_fork_support": + case "cosmos.evm.vm.v2.ChainConfig.dao_fork_support": return x.DaoForkSupport != false - case "cosmos.evm.vm.v1.ChainConfig.eip150_block": + case "cosmos.evm.vm.v2.ChainConfig.eip150_block": return x.Eip150Block != "" - case "cosmos.evm.vm.v1.ChainConfig.eip155_block": + case "cosmos.evm.vm.v2.ChainConfig.eip155_block": return x.Eip155Block != "" - case "cosmos.evm.vm.v1.ChainConfig.eip158_block": + case "cosmos.evm.vm.v2.ChainConfig.eip158_block": return x.Eip158Block != "" - case "cosmos.evm.vm.v1.ChainConfig.byzantium_block": + case "cosmos.evm.vm.v2.ChainConfig.byzantium_block": return x.ByzantiumBlock != "" - case "cosmos.evm.vm.v1.ChainConfig.constantinople_block": + case "cosmos.evm.vm.v2.ChainConfig.constantinople_block": return x.ConstantinopleBlock != "" - case "cosmos.evm.vm.v1.ChainConfig.petersburg_block": + case "cosmos.evm.vm.v2.ChainConfig.petersburg_block": return x.PetersburgBlock != "" - case "cosmos.evm.vm.v1.ChainConfig.istanbul_block": + case "cosmos.evm.vm.v2.ChainConfig.istanbul_block": return x.IstanbulBlock != "" - case "cosmos.evm.vm.v1.ChainConfig.muir_glacier_block": + case "cosmos.evm.vm.v2.ChainConfig.muir_glacier_block": return x.MuirGlacierBlock != "" - case "cosmos.evm.vm.v1.ChainConfig.berlin_block": + case "cosmos.evm.vm.v2.ChainConfig.berlin_block": return x.BerlinBlock != "" - case "cosmos.evm.vm.v1.ChainConfig.london_block": + case "cosmos.evm.vm.v2.ChainConfig.london_block": return x.LondonBlock != "" - case "cosmos.evm.vm.v1.ChainConfig.arrow_glacier_block": + case "cosmos.evm.vm.v2.ChainConfig.arrow_glacier_block": return x.ArrowGlacierBlock != "" - case "cosmos.evm.vm.v1.ChainConfig.gray_glacier_block": + case "cosmos.evm.vm.v2.ChainConfig.gray_glacier_block": return x.GrayGlacierBlock != "" - case "cosmos.evm.vm.v1.ChainConfig.merge_netsplit_block": + case "cosmos.evm.vm.v2.ChainConfig.merge_netsplit_block": return x.MergeNetsplitBlock != "" - case "cosmos.evm.vm.v1.ChainConfig.chain_id": + case "cosmos.evm.vm.v2.ChainConfig.chain_id": return x.ChainId != uint64(0) - case "cosmos.evm.vm.v1.ChainConfig.denom": + case "cosmos.evm.vm.v2.ChainConfig.denom": return x.Denom != "" - case "cosmos.evm.vm.v1.ChainConfig.decimals": + case "cosmos.evm.vm.v2.ChainConfig.decimals": return x.Decimals != uint64(0) - case "cosmos.evm.vm.v1.ChainConfig.shanghai_time": + case "cosmos.evm.vm.v2.ChainConfig.shanghai_time": return x.ShanghaiTime != "" - case "cosmos.evm.vm.v1.ChainConfig.cancun_time": + case "cosmos.evm.vm.v2.ChainConfig.cancun_time": return x.CancunTime != "" - case "cosmos.evm.vm.v1.ChainConfig.prague_time": + case "cosmos.evm.vm.v2.ChainConfig.prague_time": return x.PragueTime != "" - case "cosmos.evm.vm.v1.ChainConfig.verkle_time": + case "cosmos.evm.vm.v2.ChainConfig.verkle_time": return x.VerkleTime != "" - case "cosmos.evm.vm.v1.ChainConfig.osaka_time": + case "cosmos.evm.vm.v2.ChainConfig.osaka_time": return x.OsakaTime != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.ChainConfig")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.ChainConfig")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.ChainConfig does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.ChainConfig does not contain field %s", fd.FullName())) } } @@ -2876,59 +2876,59 @@ func (x *fastReflection_ChainConfig) Has(fd protoreflect.FieldDescriptor) bool { // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_ChainConfig) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.ChainConfig.homestead_block": + case "cosmos.evm.vm.v2.ChainConfig.homestead_block": x.HomesteadBlock = "" - case "cosmos.evm.vm.v1.ChainConfig.dao_fork_block": + case "cosmos.evm.vm.v2.ChainConfig.dao_fork_block": x.DaoForkBlock = "" - case "cosmos.evm.vm.v1.ChainConfig.dao_fork_support": + case "cosmos.evm.vm.v2.ChainConfig.dao_fork_support": x.DaoForkSupport = false - case "cosmos.evm.vm.v1.ChainConfig.eip150_block": + case "cosmos.evm.vm.v2.ChainConfig.eip150_block": x.Eip150Block = "" - case "cosmos.evm.vm.v1.ChainConfig.eip155_block": + case "cosmos.evm.vm.v2.ChainConfig.eip155_block": x.Eip155Block = "" - case "cosmos.evm.vm.v1.ChainConfig.eip158_block": + case "cosmos.evm.vm.v2.ChainConfig.eip158_block": x.Eip158Block = "" - case "cosmos.evm.vm.v1.ChainConfig.byzantium_block": + case "cosmos.evm.vm.v2.ChainConfig.byzantium_block": x.ByzantiumBlock = "" - case "cosmos.evm.vm.v1.ChainConfig.constantinople_block": + case "cosmos.evm.vm.v2.ChainConfig.constantinople_block": x.ConstantinopleBlock = "" - case "cosmos.evm.vm.v1.ChainConfig.petersburg_block": + case "cosmos.evm.vm.v2.ChainConfig.petersburg_block": x.PetersburgBlock = "" - case "cosmos.evm.vm.v1.ChainConfig.istanbul_block": + case "cosmos.evm.vm.v2.ChainConfig.istanbul_block": x.IstanbulBlock = "" - case "cosmos.evm.vm.v1.ChainConfig.muir_glacier_block": + case "cosmos.evm.vm.v2.ChainConfig.muir_glacier_block": x.MuirGlacierBlock = "" - case "cosmos.evm.vm.v1.ChainConfig.berlin_block": + case "cosmos.evm.vm.v2.ChainConfig.berlin_block": x.BerlinBlock = "" - case "cosmos.evm.vm.v1.ChainConfig.london_block": + case "cosmos.evm.vm.v2.ChainConfig.london_block": x.LondonBlock = "" - case "cosmos.evm.vm.v1.ChainConfig.arrow_glacier_block": + case "cosmos.evm.vm.v2.ChainConfig.arrow_glacier_block": x.ArrowGlacierBlock = "" - case "cosmos.evm.vm.v1.ChainConfig.gray_glacier_block": + case "cosmos.evm.vm.v2.ChainConfig.gray_glacier_block": x.GrayGlacierBlock = "" - case "cosmos.evm.vm.v1.ChainConfig.merge_netsplit_block": + case "cosmos.evm.vm.v2.ChainConfig.merge_netsplit_block": x.MergeNetsplitBlock = "" - case "cosmos.evm.vm.v1.ChainConfig.chain_id": + case "cosmos.evm.vm.v2.ChainConfig.chain_id": x.ChainId = uint64(0) - case "cosmos.evm.vm.v1.ChainConfig.denom": + case "cosmos.evm.vm.v2.ChainConfig.denom": x.Denom = "" - case "cosmos.evm.vm.v1.ChainConfig.decimals": + case "cosmos.evm.vm.v2.ChainConfig.decimals": x.Decimals = uint64(0) - case "cosmos.evm.vm.v1.ChainConfig.shanghai_time": + case "cosmos.evm.vm.v2.ChainConfig.shanghai_time": x.ShanghaiTime = "" - case "cosmos.evm.vm.v1.ChainConfig.cancun_time": + case "cosmos.evm.vm.v2.ChainConfig.cancun_time": x.CancunTime = "" - case "cosmos.evm.vm.v1.ChainConfig.prague_time": + case "cosmos.evm.vm.v2.ChainConfig.prague_time": x.PragueTime = "" - case "cosmos.evm.vm.v1.ChainConfig.verkle_time": + case "cosmos.evm.vm.v2.ChainConfig.verkle_time": x.VerkleTime = "" - case "cosmos.evm.vm.v1.ChainConfig.osaka_time": + case "cosmos.evm.vm.v2.ChainConfig.osaka_time": x.OsakaTime = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.ChainConfig")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.ChainConfig")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.ChainConfig does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.ChainConfig does not contain field %s", fd.FullName())) } } @@ -2940,83 +2940,83 @@ func (x *fastReflection_ChainConfig) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_ChainConfig) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.ChainConfig.homestead_block": + case "cosmos.evm.vm.v2.ChainConfig.homestead_block": value := x.HomesteadBlock return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.ChainConfig.dao_fork_block": + case "cosmos.evm.vm.v2.ChainConfig.dao_fork_block": value := x.DaoForkBlock return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.ChainConfig.dao_fork_support": + case "cosmos.evm.vm.v2.ChainConfig.dao_fork_support": value := x.DaoForkSupport return protoreflect.ValueOfBool(value) - case "cosmos.evm.vm.v1.ChainConfig.eip150_block": + case "cosmos.evm.vm.v2.ChainConfig.eip150_block": value := x.Eip150Block return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.ChainConfig.eip155_block": + case "cosmos.evm.vm.v2.ChainConfig.eip155_block": value := x.Eip155Block return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.ChainConfig.eip158_block": + case "cosmos.evm.vm.v2.ChainConfig.eip158_block": value := x.Eip158Block return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.ChainConfig.byzantium_block": + case "cosmos.evm.vm.v2.ChainConfig.byzantium_block": value := x.ByzantiumBlock return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.ChainConfig.constantinople_block": + case "cosmos.evm.vm.v2.ChainConfig.constantinople_block": value := x.ConstantinopleBlock return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.ChainConfig.petersburg_block": + case "cosmos.evm.vm.v2.ChainConfig.petersburg_block": value := x.PetersburgBlock return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.ChainConfig.istanbul_block": + case "cosmos.evm.vm.v2.ChainConfig.istanbul_block": value := x.IstanbulBlock return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.ChainConfig.muir_glacier_block": + case "cosmos.evm.vm.v2.ChainConfig.muir_glacier_block": value := x.MuirGlacierBlock return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.ChainConfig.berlin_block": + case "cosmos.evm.vm.v2.ChainConfig.berlin_block": value := x.BerlinBlock return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.ChainConfig.london_block": + case "cosmos.evm.vm.v2.ChainConfig.london_block": value := x.LondonBlock return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.ChainConfig.arrow_glacier_block": + case "cosmos.evm.vm.v2.ChainConfig.arrow_glacier_block": value := x.ArrowGlacierBlock return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.ChainConfig.gray_glacier_block": + case "cosmos.evm.vm.v2.ChainConfig.gray_glacier_block": value := x.GrayGlacierBlock return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.ChainConfig.merge_netsplit_block": + case "cosmos.evm.vm.v2.ChainConfig.merge_netsplit_block": value := x.MergeNetsplitBlock return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.ChainConfig.chain_id": + case "cosmos.evm.vm.v2.ChainConfig.chain_id": value := x.ChainId return protoreflect.ValueOfUint64(value) - case "cosmos.evm.vm.v1.ChainConfig.denom": + case "cosmos.evm.vm.v2.ChainConfig.denom": value := x.Denom return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.ChainConfig.decimals": + case "cosmos.evm.vm.v2.ChainConfig.decimals": value := x.Decimals return protoreflect.ValueOfUint64(value) - case "cosmos.evm.vm.v1.ChainConfig.shanghai_time": + case "cosmos.evm.vm.v2.ChainConfig.shanghai_time": value := x.ShanghaiTime return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.ChainConfig.cancun_time": + case "cosmos.evm.vm.v2.ChainConfig.cancun_time": value := x.CancunTime return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.ChainConfig.prague_time": + case "cosmos.evm.vm.v2.ChainConfig.prague_time": value := x.PragueTime return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.ChainConfig.verkle_time": + case "cosmos.evm.vm.v2.ChainConfig.verkle_time": value := x.VerkleTime return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.ChainConfig.osaka_time": + case "cosmos.evm.vm.v2.ChainConfig.osaka_time": value := x.OsakaTime return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.ChainConfig")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.ChainConfig")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.ChainConfig does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.ChainConfig does not contain field %s", descriptor.FullName())) } } @@ -3032,59 +3032,59 @@ func (x *fastReflection_ChainConfig) Get(descriptor protoreflect.FieldDescriptor // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_ChainConfig) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.ChainConfig.homestead_block": + case "cosmos.evm.vm.v2.ChainConfig.homestead_block": x.HomesteadBlock = value.Interface().(string) - case "cosmos.evm.vm.v1.ChainConfig.dao_fork_block": + case "cosmos.evm.vm.v2.ChainConfig.dao_fork_block": x.DaoForkBlock = value.Interface().(string) - case "cosmos.evm.vm.v1.ChainConfig.dao_fork_support": + case "cosmos.evm.vm.v2.ChainConfig.dao_fork_support": x.DaoForkSupport = value.Bool() - case "cosmos.evm.vm.v1.ChainConfig.eip150_block": + case "cosmos.evm.vm.v2.ChainConfig.eip150_block": x.Eip150Block = value.Interface().(string) - case "cosmos.evm.vm.v1.ChainConfig.eip155_block": + case "cosmos.evm.vm.v2.ChainConfig.eip155_block": x.Eip155Block = value.Interface().(string) - case "cosmos.evm.vm.v1.ChainConfig.eip158_block": + case "cosmos.evm.vm.v2.ChainConfig.eip158_block": x.Eip158Block = value.Interface().(string) - case "cosmos.evm.vm.v1.ChainConfig.byzantium_block": + case "cosmos.evm.vm.v2.ChainConfig.byzantium_block": x.ByzantiumBlock = value.Interface().(string) - case "cosmos.evm.vm.v1.ChainConfig.constantinople_block": + case "cosmos.evm.vm.v2.ChainConfig.constantinople_block": x.ConstantinopleBlock = value.Interface().(string) - case "cosmos.evm.vm.v1.ChainConfig.petersburg_block": + case "cosmos.evm.vm.v2.ChainConfig.petersburg_block": x.PetersburgBlock = value.Interface().(string) - case "cosmos.evm.vm.v1.ChainConfig.istanbul_block": + case "cosmos.evm.vm.v2.ChainConfig.istanbul_block": x.IstanbulBlock = value.Interface().(string) - case "cosmos.evm.vm.v1.ChainConfig.muir_glacier_block": + case "cosmos.evm.vm.v2.ChainConfig.muir_glacier_block": x.MuirGlacierBlock = value.Interface().(string) - case "cosmos.evm.vm.v1.ChainConfig.berlin_block": + case "cosmos.evm.vm.v2.ChainConfig.berlin_block": x.BerlinBlock = value.Interface().(string) - case "cosmos.evm.vm.v1.ChainConfig.london_block": + case "cosmos.evm.vm.v2.ChainConfig.london_block": x.LondonBlock = value.Interface().(string) - case "cosmos.evm.vm.v1.ChainConfig.arrow_glacier_block": + case "cosmos.evm.vm.v2.ChainConfig.arrow_glacier_block": x.ArrowGlacierBlock = value.Interface().(string) - case "cosmos.evm.vm.v1.ChainConfig.gray_glacier_block": + case "cosmos.evm.vm.v2.ChainConfig.gray_glacier_block": x.GrayGlacierBlock = value.Interface().(string) - case "cosmos.evm.vm.v1.ChainConfig.merge_netsplit_block": + case "cosmos.evm.vm.v2.ChainConfig.merge_netsplit_block": x.MergeNetsplitBlock = value.Interface().(string) - case "cosmos.evm.vm.v1.ChainConfig.chain_id": + case "cosmos.evm.vm.v2.ChainConfig.chain_id": x.ChainId = value.Uint() - case "cosmos.evm.vm.v1.ChainConfig.denom": + case "cosmos.evm.vm.v2.ChainConfig.denom": x.Denom = value.Interface().(string) - case "cosmos.evm.vm.v1.ChainConfig.decimals": + case "cosmos.evm.vm.v2.ChainConfig.decimals": x.Decimals = value.Uint() - case "cosmos.evm.vm.v1.ChainConfig.shanghai_time": + case "cosmos.evm.vm.v2.ChainConfig.shanghai_time": x.ShanghaiTime = value.Interface().(string) - case "cosmos.evm.vm.v1.ChainConfig.cancun_time": + case "cosmos.evm.vm.v2.ChainConfig.cancun_time": x.CancunTime = value.Interface().(string) - case "cosmos.evm.vm.v1.ChainConfig.prague_time": + case "cosmos.evm.vm.v2.ChainConfig.prague_time": x.PragueTime = value.Interface().(string) - case "cosmos.evm.vm.v1.ChainConfig.verkle_time": + case "cosmos.evm.vm.v2.ChainConfig.verkle_time": x.VerkleTime = value.Interface().(string) - case "cosmos.evm.vm.v1.ChainConfig.osaka_time": + case "cosmos.evm.vm.v2.ChainConfig.osaka_time": x.OsakaTime = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.ChainConfig")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.ChainConfig")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.ChainConfig does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.ChainConfig does not contain field %s", fd.FullName())) } } @@ -3100,59 +3100,59 @@ func (x *fastReflection_ChainConfig) Set(fd protoreflect.FieldDescriptor, value // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_ChainConfig) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.ChainConfig.homestead_block": - panic(fmt.Errorf("field homestead_block of message cosmos.evm.vm.v1.ChainConfig is not mutable")) - case "cosmos.evm.vm.v1.ChainConfig.dao_fork_block": - panic(fmt.Errorf("field dao_fork_block of message cosmos.evm.vm.v1.ChainConfig is not mutable")) - case "cosmos.evm.vm.v1.ChainConfig.dao_fork_support": - panic(fmt.Errorf("field dao_fork_support of message cosmos.evm.vm.v1.ChainConfig is not mutable")) - case "cosmos.evm.vm.v1.ChainConfig.eip150_block": - panic(fmt.Errorf("field eip150_block of message cosmos.evm.vm.v1.ChainConfig is not mutable")) - case "cosmos.evm.vm.v1.ChainConfig.eip155_block": - panic(fmt.Errorf("field eip155_block of message cosmos.evm.vm.v1.ChainConfig is not mutable")) - case "cosmos.evm.vm.v1.ChainConfig.eip158_block": - panic(fmt.Errorf("field eip158_block of message cosmos.evm.vm.v1.ChainConfig is not mutable")) - case "cosmos.evm.vm.v1.ChainConfig.byzantium_block": - panic(fmt.Errorf("field byzantium_block of message cosmos.evm.vm.v1.ChainConfig is not mutable")) - case "cosmos.evm.vm.v1.ChainConfig.constantinople_block": - panic(fmt.Errorf("field constantinople_block of message cosmos.evm.vm.v1.ChainConfig is not mutable")) - case "cosmos.evm.vm.v1.ChainConfig.petersburg_block": - panic(fmt.Errorf("field petersburg_block of message cosmos.evm.vm.v1.ChainConfig is not mutable")) - case "cosmos.evm.vm.v1.ChainConfig.istanbul_block": - panic(fmt.Errorf("field istanbul_block of message cosmos.evm.vm.v1.ChainConfig is not mutable")) - case "cosmos.evm.vm.v1.ChainConfig.muir_glacier_block": - panic(fmt.Errorf("field muir_glacier_block of message cosmos.evm.vm.v1.ChainConfig is not mutable")) - case "cosmos.evm.vm.v1.ChainConfig.berlin_block": - panic(fmt.Errorf("field berlin_block of message cosmos.evm.vm.v1.ChainConfig is not mutable")) - case "cosmos.evm.vm.v1.ChainConfig.london_block": - panic(fmt.Errorf("field london_block of message cosmos.evm.vm.v1.ChainConfig is not mutable")) - case "cosmos.evm.vm.v1.ChainConfig.arrow_glacier_block": - panic(fmt.Errorf("field arrow_glacier_block of message cosmos.evm.vm.v1.ChainConfig is not mutable")) - case "cosmos.evm.vm.v1.ChainConfig.gray_glacier_block": - panic(fmt.Errorf("field gray_glacier_block of message cosmos.evm.vm.v1.ChainConfig is not mutable")) - case "cosmos.evm.vm.v1.ChainConfig.merge_netsplit_block": - panic(fmt.Errorf("field merge_netsplit_block of message cosmos.evm.vm.v1.ChainConfig is not mutable")) - case "cosmos.evm.vm.v1.ChainConfig.chain_id": - panic(fmt.Errorf("field chain_id of message cosmos.evm.vm.v1.ChainConfig is not mutable")) - case "cosmos.evm.vm.v1.ChainConfig.denom": - panic(fmt.Errorf("field denom of message cosmos.evm.vm.v1.ChainConfig is not mutable")) - case "cosmos.evm.vm.v1.ChainConfig.decimals": - panic(fmt.Errorf("field decimals of message cosmos.evm.vm.v1.ChainConfig is not mutable")) - case "cosmos.evm.vm.v1.ChainConfig.shanghai_time": - panic(fmt.Errorf("field shanghai_time of message cosmos.evm.vm.v1.ChainConfig is not mutable")) - case "cosmos.evm.vm.v1.ChainConfig.cancun_time": - panic(fmt.Errorf("field cancun_time of message cosmos.evm.vm.v1.ChainConfig is not mutable")) - case "cosmos.evm.vm.v1.ChainConfig.prague_time": - panic(fmt.Errorf("field prague_time of message cosmos.evm.vm.v1.ChainConfig is not mutable")) - case "cosmos.evm.vm.v1.ChainConfig.verkle_time": - panic(fmt.Errorf("field verkle_time of message cosmos.evm.vm.v1.ChainConfig is not mutable")) - case "cosmos.evm.vm.v1.ChainConfig.osaka_time": - panic(fmt.Errorf("field osaka_time of message cosmos.evm.vm.v1.ChainConfig is not mutable")) + case "cosmos.evm.vm.v2.ChainConfig.homestead_block": + panic(fmt.Errorf("field homestead_block of message cosmos.evm.vm.v2.ChainConfig is not mutable")) + case "cosmos.evm.vm.v2.ChainConfig.dao_fork_block": + panic(fmt.Errorf("field dao_fork_block of message cosmos.evm.vm.v2.ChainConfig is not mutable")) + case "cosmos.evm.vm.v2.ChainConfig.dao_fork_support": + panic(fmt.Errorf("field dao_fork_support of message cosmos.evm.vm.v2.ChainConfig is not mutable")) + case "cosmos.evm.vm.v2.ChainConfig.eip150_block": + panic(fmt.Errorf("field eip150_block of message cosmos.evm.vm.v2.ChainConfig is not mutable")) + case "cosmos.evm.vm.v2.ChainConfig.eip155_block": + panic(fmt.Errorf("field eip155_block of message cosmos.evm.vm.v2.ChainConfig is not mutable")) + case "cosmos.evm.vm.v2.ChainConfig.eip158_block": + panic(fmt.Errorf("field eip158_block of message cosmos.evm.vm.v2.ChainConfig is not mutable")) + case "cosmos.evm.vm.v2.ChainConfig.byzantium_block": + panic(fmt.Errorf("field byzantium_block of message cosmos.evm.vm.v2.ChainConfig is not mutable")) + case "cosmos.evm.vm.v2.ChainConfig.constantinople_block": + panic(fmt.Errorf("field constantinople_block of message cosmos.evm.vm.v2.ChainConfig is not mutable")) + case "cosmos.evm.vm.v2.ChainConfig.petersburg_block": + panic(fmt.Errorf("field petersburg_block of message cosmos.evm.vm.v2.ChainConfig is not mutable")) + case "cosmos.evm.vm.v2.ChainConfig.istanbul_block": + panic(fmt.Errorf("field istanbul_block of message cosmos.evm.vm.v2.ChainConfig is not mutable")) + case "cosmos.evm.vm.v2.ChainConfig.muir_glacier_block": + panic(fmt.Errorf("field muir_glacier_block of message cosmos.evm.vm.v2.ChainConfig is not mutable")) + case "cosmos.evm.vm.v2.ChainConfig.berlin_block": + panic(fmt.Errorf("field berlin_block of message cosmos.evm.vm.v2.ChainConfig is not mutable")) + case "cosmos.evm.vm.v2.ChainConfig.london_block": + panic(fmt.Errorf("field london_block of message cosmos.evm.vm.v2.ChainConfig is not mutable")) + case "cosmos.evm.vm.v2.ChainConfig.arrow_glacier_block": + panic(fmt.Errorf("field arrow_glacier_block of message cosmos.evm.vm.v2.ChainConfig is not mutable")) + case "cosmos.evm.vm.v2.ChainConfig.gray_glacier_block": + panic(fmt.Errorf("field gray_glacier_block of message cosmos.evm.vm.v2.ChainConfig is not mutable")) + case "cosmos.evm.vm.v2.ChainConfig.merge_netsplit_block": + panic(fmt.Errorf("field merge_netsplit_block of message cosmos.evm.vm.v2.ChainConfig is not mutable")) + case "cosmos.evm.vm.v2.ChainConfig.chain_id": + panic(fmt.Errorf("field chain_id of message cosmos.evm.vm.v2.ChainConfig is not mutable")) + case "cosmos.evm.vm.v2.ChainConfig.denom": + panic(fmt.Errorf("field denom of message cosmos.evm.vm.v2.ChainConfig is not mutable")) + case "cosmos.evm.vm.v2.ChainConfig.decimals": + panic(fmt.Errorf("field decimals of message cosmos.evm.vm.v2.ChainConfig is not mutable")) + case "cosmos.evm.vm.v2.ChainConfig.shanghai_time": + panic(fmt.Errorf("field shanghai_time of message cosmos.evm.vm.v2.ChainConfig is not mutable")) + case "cosmos.evm.vm.v2.ChainConfig.cancun_time": + panic(fmt.Errorf("field cancun_time of message cosmos.evm.vm.v2.ChainConfig is not mutable")) + case "cosmos.evm.vm.v2.ChainConfig.prague_time": + panic(fmt.Errorf("field prague_time of message cosmos.evm.vm.v2.ChainConfig is not mutable")) + case "cosmos.evm.vm.v2.ChainConfig.verkle_time": + panic(fmt.Errorf("field verkle_time of message cosmos.evm.vm.v2.ChainConfig is not mutable")) + case "cosmos.evm.vm.v2.ChainConfig.osaka_time": + panic(fmt.Errorf("field osaka_time of message cosmos.evm.vm.v2.ChainConfig is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.ChainConfig")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.ChainConfig")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.ChainConfig does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.ChainConfig does not contain field %s", fd.FullName())) } } @@ -3161,59 +3161,59 @@ func (x *fastReflection_ChainConfig) Mutable(fd protoreflect.FieldDescriptor) pr // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_ChainConfig) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.ChainConfig.homestead_block": + case "cosmos.evm.vm.v2.ChainConfig.homestead_block": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.ChainConfig.dao_fork_block": + case "cosmos.evm.vm.v2.ChainConfig.dao_fork_block": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.ChainConfig.dao_fork_support": + case "cosmos.evm.vm.v2.ChainConfig.dao_fork_support": return protoreflect.ValueOfBool(false) - case "cosmos.evm.vm.v1.ChainConfig.eip150_block": + case "cosmos.evm.vm.v2.ChainConfig.eip150_block": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.ChainConfig.eip155_block": + case "cosmos.evm.vm.v2.ChainConfig.eip155_block": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.ChainConfig.eip158_block": + case "cosmos.evm.vm.v2.ChainConfig.eip158_block": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.ChainConfig.byzantium_block": + case "cosmos.evm.vm.v2.ChainConfig.byzantium_block": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.ChainConfig.constantinople_block": + case "cosmos.evm.vm.v2.ChainConfig.constantinople_block": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.ChainConfig.petersburg_block": + case "cosmos.evm.vm.v2.ChainConfig.petersburg_block": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.ChainConfig.istanbul_block": + case "cosmos.evm.vm.v2.ChainConfig.istanbul_block": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.ChainConfig.muir_glacier_block": + case "cosmos.evm.vm.v2.ChainConfig.muir_glacier_block": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.ChainConfig.berlin_block": + case "cosmos.evm.vm.v2.ChainConfig.berlin_block": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.ChainConfig.london_block": + case "cosmos.evm.vm.v2.ChainConfig.london_block": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.ChainConfig.arrow_glacier_block": + case "cosmos.evm.vm.v2.ChainConfig.arrow_glacier_block": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.ChainConfig.gray_glacier_block": + case "cosmos.evm.vm.v2.ChainConfig.gray_glacier_block": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.ChainConfig.merge_netsplit_block": + case "cosmos.evm.vm.v2.ChainConfig.merge_netsplit_block": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.ChainConfig.chain_id": + case "cosmos.evm.vm.v2.ChainConfig.chain_id": return protoreflect.ValueOfUint64(uint64(0)) - case "cosmos.evm.vm.v1.ChainConfig.denom": + case "cosmos.evm.vm.v2.ChainConfig.denom": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.ChainConfig.decimals": + case "cosmos.evm.vm.v2.ChainConfig.decimals": return protoreflect.ValueOfUint64(uint64(0)) - case "cosmos.evm.vm.v1.ChainConfig.shanghai_time": + case "cosmos.evm.vm.v2.ChainConfig.shanghai_time": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.ChainConfig.cancun_time": + case "cosmos.evm.vm.v2.ChainConfig.cancun_time": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.ChainConfig.prague_time": + case "cosmos.evm.vm.v2.ChainConfig.prague_time": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.ChainConfig.verkle_time": + case "cosmos.evm.vm.v2.ChainConfig.verkle_time": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.ChainConfig.osaka_time": + case "cosmos.evm.vm.v2.ChainConfig.osaka_time": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.ChainConfig")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.ChainConfig")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.ChainConfig does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.ChainConfig does not contain field %s", fd.FullName())) } } @@ -3223,7 +3223,7 @@ func (x *fastReflection_ChainConfig) NewField(fd protoreflect.FieldDescriptor) p func (x *fastReflection_ChainConfig) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.ChainConfig", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.ChainConfig", d.FullName())) } panic("unreachable") } @@ -4412,8 +4412,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_evm_proto_init() - md_State = File_cosmos_evm_vm_v1_evm_proto.Messages().ByName("State") + file_cosmos_evm_vm_v2_evm_proto_init() + md_State = File_cosmos_evm_vm_v2_evm_proto.Messages().ByName("State") fd_State_key = md_State.Fields().ByName("key") fd_State_value = md_State.Fields().ByName("value") } @@ -4427,7 +4427,7 @@ func (x *State) ProtoReflect() protoreflect.Message { } func (x *State) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[5] + mi := &file_cosmos_evm_vm_v2_evm_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4510,15 +4510,15 @@ func (x *fastReflection_State) Range(f func(protoreflect.FieldDescriptor, protor // a repeated field is populated if it is non-empty. func (x *fastReflection_State) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.State.key": + case "cosmos.evm.vm.v2.State.key": return x.Key != "" - case "cosmos.evm.vm.v1.State.value": + case "cosmos.evm.vm.v2.State.value": return x.Value != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.State")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.State")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.State does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.State does not contain field %s", fd.FullName())) } } @@ -4530,15 +4530,15 @@ func (x *fastReflection_State) Has(fd protoreflect.FieldDescriptor) bool { // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_State) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.State.key": + case "cosmos.evm.vm.v2.State.key": x.Key = "" - case "cosmos.evm.vm.v1.State.value": + case "cosmos.evm.vm.v2.State.value": x.Value = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.State")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.State")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.State does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.State does not contain field %s", fd.FullName())) } } @@ -4550,17 +4550,17 @@ func (x *fastReflection_State) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_State) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.State.key": + case "cosmos.evm.vm.v2.State.key": value := x.Key return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.State.value": + case "cosmos.evm.vm.v2.State.value": value := x.Value return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.State")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.State")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.State does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.State does not contain field %s", descriptor.FullName())) } } @@ -4576,15 +4576,15 @@ func (x *fastReflection_State) Get(descriptor protoreflect.FieldDescriptor) prot // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_State) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.State.key": + case "cosmos.evm.vm.v2.State.key": x.Key = value.Interface().(string) - case "cosmos.evm.vm.v1.State.value": + case "cosmos.evm.vm.v2.State.value": x.Value = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.State")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.State")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.State does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.State does not contain field %s", fd.FullName())) } } @@ -4600,15 +4600,15 @@ func (x *fastReflection_State) Set(fd protoreflect.FieldDescriptor, value protor // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_State) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.State.key": - panic(fmt.Errorf("field key of message cosmos.evm.vm.v1.State is not mutable")) - case "cosmos.evm.vm.v1.State.value": - panic(fmt.Errorf("field value of message cosmos.evm.vm.v1.State is not mutable")) + case "cosmos.evm.vm.v2.State.key": + panic(fmt.Errorf("field key of message cosmos.evm.vm.v2.State is not mutable")) + case "cosmos.evm.vm.v2.State.value": + panic(fmt.Errorf("field value of message cosmos.evm.vm.v2.State is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.State")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.State")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.State does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.State does not contain field %s", fd.FullName())) } } @@ -4617,15 +4617,15 @@ func (x *fastReflection_State) Mutable(fd protoreflect.FieldDescriptor) protoref // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_State) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.State.key": + case "cosmos.evm.vm.v2.State.key": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.State.value": + case "cosmos.evm.vm.v2.State.value": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.State")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.State")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.State does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.State does not contain field %s", fd.FullName())) } } @@ -4635,7 +4635,7 @@ func (x *fastReflection_State) NewField(fd protoreflect.FieldDescriptor) protore func (x *fastReflection_State) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.State", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.State", d.FullName())) } panic("unreachable") } @@ -4947,8 +4947,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_evm_proto_init() - md_TransactionLogs = File_cosmos_evm_vm_v1_evm_proto.Messages().ByName("TransactionLogs") + file_cosmos_evm_vm_v2_evm_proto_init() + md_TransactionLogs = File_cosmos_evm_vm_v2_evm_proto.Messages().ByName("TransactionLogs") fd_TransactionLogs_hash = md_TransactionLogs.Fields().ByName("hash") fd_TransactionLogs_logs = md_TransactionLogs.Fields().ByName("logs") } @@ -4962,7 +4962,7 @@ func (x *TransactionLogs) ProtoReflect() protoreflect.Message { } func (x *TransactionLogs) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[6] + mi := &file_cosmos_evm_vm_v2_evm_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5045,15 +5045,15 @@ func (x *fastReflection_TransactionLogs) Range(f func(protoreflect.FieldDescript // a repeated field is populated if it is non-empty. func (x *fastReflection_TransactionLogs) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.TransactionLogs.hash": + case "cosmos.evm.vm.v2.TransactionLogs.hash": return x.Hash != "" - case "cosmos.evm.vm.v1.TransactionLogs.logs": + case "cosmos.evm.vm.v2.TransactionLogs.logs": return len(x.Logs) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.TransactionLogs")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.TransactionLogs")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.TransactionLogs does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.TransactionLogs does not contain field %s", fd.FullName())) } } @@ -5065,15 +5065,15 @@ func (x *fastReflection_TransactionLogs) Has(fd protoreflect.FieldDescriptor) bo // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_TransactionLogs) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.TransactionLogs.hash": + case "cosmos.evm.vm.v2.TransactionLogs.hash": x.Hash = "" - case "cosmos.evm.vm.v1.TransactionLogs.logs": + case "cosmos.evm.vm.v2.TransactionLogs.logs": x.Logs = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.TransactionLogs")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.TransactionLogs")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.TransactionLogs does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.TransactionLogs does not contain field %s", fd.FullName())) } } @@ -5085,10 +5085,10 @@ func (x *fastReflection_TransactionLogs) Clear(fd protoreflect.FieldDescriptor) // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_TransactionLogs) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.TransactionLogs.hash": + case "cosmos.evm.vm.v2.TransactionLogs.hash": value := x.Hash return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.TransactionLogs.logs": + case "cosmos.evm.vm.v2.TransactionLogs.logs": if len(x.Logs) == 0 { return protoreflect.ValueOfList(&_TransactionLogs_2_list{}) } @@ -5096,9 +5096,9 @@ func (x *fastReflection_TransactionLogs) Get(descriptor protoreflect.FieldDescri return protoreflect.ValueOfList(listValue) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.TransactionLogs")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.TransactionLogs")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.TransactionLogs does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.TransactionLogs does not contain field %s", descriptor.FullName())) } } @@ -5114,17 +5114,17 @@ func (x *fastReflection_TransactionLogs) Get(descriptor protoreflect.FieldDescri // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_TransactionLogs) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.TransactionLogs.hash": + case "cosmos.evm.vm.v2.TransactionLogs.hash": x.Hash = value.Interface().(string) - case "cosmos.evm.vm.v1.TransactionLogs.logs": + case "cosmos.evm.vm.v2.TransactionLogs.logs": lv := value.List() clv := lv.(*_TransactionLogs_2_list) x.Logs = *clv.list default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.TransactionLogs")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.TransactionLogs")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.TransactionLogs does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.TransactionLogs does not contain field %s", fd.FullName())) } } @@ -5140,19 +5140,19 @@ func (x *fastReflection_TransactionLogs) Set(fd protoreflect.FieldDescriptor, va // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_TransactionLogs) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.TransactionLogs.logs": + case "cosmos.evm.vm.v2.TransactionLogs.logs": if x.Logs == nil { x.Logs = []*Log{} } value := &_TransactionLogs_2_list{list: &x.Logs} return protoreflect.ValueOfList(value) - case "cosmos.evm.vm.v1.TransactionLogs.hash": - panic(fmt.Errorf("field hash of message cosmos.evm.vm.v1.TransactionLogs is not mutable")) + case "cosmos.evm.vm.v2.TransactionLogs.hash": + panic(fmt.Errorf("field hash of message cosmos.evm.vm.v2.TransactionLogs is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.TransactionLogs")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.TransactionLogs")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.TransactionLogs does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.TransactionLogs does not contain field %s", fd.FullName())) } } @@ -5161,16 +5161,16 @@ func (x *fastReflection_TransactionLogs) Mutable(fd protoreflect.FieldDescriptor // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_TransactionLogs) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.TransactionLogs.hash": + case "cosmos.evm.vm.v2.TransactionLogs.hash": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.TransactionLogs.logs": + case "cosmos.evm.vm.v2.TransactionLogs.logs": list := []*Log{} return protoreflect.ValueOfList(&_TransactionLogs_2_list{list: &list}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.TransactionLogs")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.TransactionLogs")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.TransactionLogs does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.TransactionLogs does not contain field %s", fd.FullName())) } } @@ -5180,7 +5180,7 @@ func (x *fastReflection_TransactionLogs) NewField(fd protoreflect.FieldDescripto func (x *fastReflection_TransactionLogs) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.TransactionLogs", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.TransactionLogs", d.FullName())) } panic("unreachable") } @@ -5508,8 +5508,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_evm_proto_init() - md_Log = File_cosmos_evm_vm_v1_evm_proto.Messages().ByName("Log") + file_cosmos_evm_vm_v2_evm_proto_init() + md_Log = File_cosmos_evm_vm_v2_evm_proto.Messages().ByName("Log") fd_Log_address = md_Log.Fields().ByName("address") fd_Log_topics = md_Log.Fields().ByName("topics") fd_Log_data = md_Log.Fields().ByName("data") @@ -5531,7 +5531,7 @@ func (x *Log) ProtoReflect() protoreflect.Message { } func (x *Log) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[7] + mi := &file_cosmos_evm_vm_v2_evm_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5662,31 +5662,31 @@ func (x *fastReflection_Log) Range(f func(protoreflect.FieldDescriptor, protoref // a repeated field is populated if it is non-empty. func (x *fastReflection_Log) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.Log.address": + case "cosmos.evm.vm.v2.Log.address": return x.Address != "" - case "cosmos.evm.vm.v1.Log.topics": + case "cosmos.evm.vm.v2.Log.topics": return len(x.Topics) != 0 - case "cosmos.evm.vm.v1.Log.data": + case "cosmos.evm.vm.v2.Log.data": return len(x.Data) != 0 - case "cosmos.evm.vm.v1.Log.block_number": + case "cosmos.evm.vm.v2.Log.block_number": return x.BlockNumber != uint64(0) - case "cosmos.evm.vm.v1.Log.tx_hash": + case "cosmos.evm.vm.v2.Log.tx_hash": return x.TxHash != "" - case "cosmos.evm.vm.v1.Log.tx_index": + case "cosmos.evm.vm.v2.Log.tx_index": return x.TxIndex != uint64(0) - case "cosmos.evm.vm.v1.Log.block_hash": + case "cosmos.evm.vm.v2.Log.block_hash": return x.BlockHash != "" - case "cosmos.evm.vm.v1.Log.index": + case "cosmos.evm.vm.v2.Log.index": return x.Index != uint64(0) - case "cosmos.evm.vm.v1.Log.removed": + case "cosmos.evm.vm.v2.Log.removed": return x.Removed != false - case "cosmos.evm.vm.v1.Log.block_timestamp": + case "cosmos.evm.vm.v2.Log.block_timestamp": return x.BlockTimestamp != uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.Log")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.Log")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.Log does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.Log does not contain field %s", fd.FullName())) } } @@ -5698,31 +5698,31 @@ func (x *fastReflection_Log) Has(fd protoreflect.FieldDescriptor) bool { // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Log) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.Log.address": + case "cosmos.evm.vm.v2.Log.address": x.Address = "" - case "cosmos.evm.vm.v1.Log.topics": + case "cosmos.evm.vm.v2.Log.topics": x.Topics = nil - case "cosmos.evm.vm.v1.Log.data": + case "cosmos.evm.vm.v2.Log.data": x.Data = nil - case "cosmos.evm.vm.v1.Log.block_number": + case "cosmos.evm.vm.v2.Log.block_number": x.BlockNumber = uint64(0) - case "cosmos.evm.vm.v1.Log.tx_hash": + case "cosmos.evm.vm.v2.Log.tx_hash": x.TxHash = "" - case "cosmos.evm.vm.v1.Log.tx_index": + case "cosmos.evm.vm.v2.Log.tx_index": x.TxIndex = uint64(0) - case "cosmos.evm.vm.v1.Log.block_hash": + case "cosmos.evm.vm.v2.Log.block_hash": x.BlockHash = "" - case "cosmos.evm.vm.v1.Log.index": + case "cosmos.evm.vm.v2.Log.index": x.Index = uint64(0) - case "cosmos.evm.vm.v1.Log.removed": + case "cosmos.evm.vm.v2.Log.removed": x.Removed = false - case "cosmos.evm.vm.v1.Log.block_timestamp": + case "cosmos.evm.vm.v2.Log.block_timestamp": x.BlockTimestamp = uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.Log")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.Log")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.Log does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.Log does not contain field %s", fd.FullName())) } } @@ -5734,44 +5734,44 @@ func (x *fastReflection_Log) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_Log) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.Log.address": + case "cosmos.evm.vm.v2.Log.address": value := x.Address return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.Log.topics": + case "cosmos.evm.vm.v2.Log.topics": if len(x.Topics) == 0 { return protoreflect.ValueOfList(&_Log_2_list{}) } listValue := &_Log_2_list{list: &x.Topics} return protoreflect.ValueOfList(listValue) - case "cosmos.evm.vm.v1.Log.data": + case "cosmos.evm.vm.v2.Log.data": value := x.Data return protoreflect.ValueOfBytes(value) - case "cosmos.evm.vm.v1.Log.block_number": + case "cosmos.evm.vm.v2.Log.block_number": value := x.BlockNumber return protoreflect.ValueOfUint64(value) - case "cosmos.evm.vm.v1.Log.tx_hash": + case "cosmos.evm.vm.v2.Log.tx_hash": value := x.TxHash return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.Log.tx_index": + case "cosmos.evm.vm.v2.Log.tx_index": value := x.TxIndex return protoreflect.ValueOfUint64(value) - case "cosmos.evm.vm.v1.Log.block_hash": + case "cosmos.evm.vm.v2.Log.block_hash": value := x.BlockHash return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.Log.index": + case "cosmos.evm.vm.v2.Log.index": value := x.Index return protoreflect.ValueOfUint64(value) - case "cosmos.evm.vm.v1.Log.removed": + case "cosmos.evm.vm.v2.Log.removed": value := x.Removed return protoreflect.ValueOfBool(value) - case "cosmos.evm.vm.v1.Log.block_timestamp": + case "cosmos.evm.vm.v2.Log.block_timestamp": value := x.BlockTimestamp return protoreflect.ValueOfUint64(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.Log")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.Log")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.Log does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.Log does not contain field %s", descriptor.FullName())) } } @@ -5787,33 +5787,33 @@ func (x *fastReflection_Log) Get(descriptor protoreflect.FieldDescriptor) protor // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Log) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.Log.address": + case "cosmos.evm.vm.v2.Log.address": x.Address = value.Interface().(string) - case "cosmos.evm.vm.v1.Log.topics": + case "cosmos.evm.vm.v2.Log.topics": lv := value.List() clv := lv.(*_Log_2_list) x.Topics = *clv.list - case "cosmos.evm.vm.v1.Log.data": + case "cosmos.evm.vm.v2.Log.data": x.Data = value.Bytes() - case "cosmos.evm.vm.v1.Log.block_number": + case "cosmos.evm.vm.v2.Log.block_number": x.BlockNumber = value.Uint() - case "cosmos.evm.vm.v1.Log.tx_hash": + case "cosmos.evm.vm.v2.Log.tx_hash": x.TxHash = value.Interface().(string) - case "cosmos.evm.vm.v1.Log.tx_index": + case "cosmos.evm.vm.v2.Log.tx_index": x.TxIndex = value.Uint() - case "cosmos.evm.vm.v1.Log.block_hash": + case "cosmos.evm.vm.v2.Log.block_hash": x.BlockHash = value.Interface().(string) - case "cosmos.evm.vm.v1.Log.index": + case "cosmos.evm.vm.v2.Log.index": x.Index = value.Uint() - case "cosmos.evm.vm.v1.Log.removed": + case "cosmos.evm.vm.v2.Log.removed": x.Removed = value.Bool() - case "cosmos.evm.vm.v1.Log.block_timestamp": + case "cosmos.evm.vm.v2.Log.block_timestamp": x.BlockTimestamp = value.Uint() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.Log")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.Log")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.Log does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.Log does not contain field %s", fd.FullName())) } } @@ -5829,35 +5829,35 @@ func (x *fastReflection_Log) Set(fd protoreflect.FieldDescriptor, value protoref // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Log) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.Log.topics": + case "cosmos.evm.vm.v2.Log.topics": if x.Topics == nil { x.Topics = []string{} } value := &_Log_2_list{list: &x.Topics} return protoreflect.ValueOfList(value) - case "cosmos.evm.vm.v1.Log.address": - panic(fmt.Errorf("field address of message cosmos.evm.vm.v1.Log is not mutable")) - case "cosmos.evm.vm.v1.Log.data": - panic(fmt.Errorf("field data of message cosmos.evm.vm.v1.Log is not mutable")) - case "cosmos.evm.vm.v1.Log.block_number": - panic(fmt.Errorf("field block_number of message cosmos.evm.vm.v1.Log is not mutable")) - case "cosmos.evm.vm.v1.Log.tx_hash": - panic(fmt.Errorf("field tx_hash of message cosmos.evm.vm.v1.Log is not mutable")) - case "cosmos.evm.vm.v1.Log.tx_index": - panic(fmt.Errorf("field tx_index of message cosmos.evm.vm.v1.Log is not mutable")) - case "cosmos.evm.vm.v1.Log.block_hash": - panic(fmt.Errorf("field block_hash of message cosmos.evm.vm.v1.Log is not mutable")) - case "cosmos.evm.vm.v1.Log.index": - panic(fmt.Errorf("field index of message cosmos.evm.vm.v1.Log is not mutable")) - case "cosmos.evm.vm.v1.Log.removed": - panic(fmt.Errorf("field removed of message cosmos.evm.vm.v1.Log is not mutable")) - case "cosmos.evm.vm.v1.Log.block_timestamp": - panic(fmt.Errorf("field block_timestamp of message cosmos.evm.vm.v1.Log is not mutable")) + case "cosmos.evm.vm.v2.Log.address": + panic(fmt.Errorf("field address of message cosmos.evm.vm.v2.Log is not mutable")) + case "cosmos.evm.vm.v2.Log.data": + panic(fmt.Errorf("field data of message cosmos.evm.vm.v2.Log is not mutable")) + case "cosmos.evm.vm.v2.Log.block_number": + panic(fmt.Errorf("field block_number of message cosmos.evm.vm.v2.Log is not mutable")) + case "cosmos.evm.vm.v2.Log.tx_hash": + panic(fmt.Errorf("field tx_hash of message cosmos.evm.vm.v2.Log is not mutable")) + case "cosmos.evm.vm.v2.Log.tx_index": + panic(fmt.Errorf("field tx_index of message cosmos.evm.vm.v2.Log is not mutable")) + case "cosmos.evm.vm.v2.Log.block_hash": + panic(fmt.Errorf("field block_hash of message cosmos.evm.vm.v2.Log is not mutable")) + case "cosmos.evm.vm.v2.Log.index": + panic(fmt.Errorf("field index of message cosmos.evm.vm.v2.Log is not mutable")) + case "cosmos.evm.vm.v2.Log.removed": + panic(fmt.Errorf("field removed of message cosmos.evm.vm.v2.Log is not mutable")) + case "cosmos.evm.vm.v2.Log.block_timestamp": + panic(fmt.Errorf("field block_timestamp of message cosmos.evm.vm.v2.Log is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.Log")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.Log")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.Log does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.Log does not contain field %s", fd.FullName())) } } @@ -5866,32 +5866,32 @@ func (x *fastReflection_Log) Mutable(fd protoreflect.FieldDescriptor) protorefle // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_Log) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.Log.address": + case "cosmos.evm.vm.v2.Log.address": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.Log.topics": + case "cosmos.evm.vm.v2.Log.topics": list := []string{} return protoreflect.ValueOfList(&_Log_2_list{list: &list}) - case "cosmos.evm.vm.v1.Log.data": + case "cosmos.evm.vm.v2.Log.data": return protoreflect.ValueOfBytes(nil) - case "cosmos.evm.vm.v1.Log.block_number": + case "cosmos.evm.vm.v2.Log.block_number": return protoreflect.ValueOfUint64(uint64(0)) - case "cosmos.evm.vm.v1.Log.tx_hash": + case "cosmos.evm.vm.v2.Log.tx_hash": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.Log.tx_index": + case "cosmos.evm.vm.v2.Log.tx_index": return protoreflect.ValueOfUint64(uint64(0)) - case "cosmos.evm.vm.v1.Log.block_hash": + case "cosmos.evm.vm.v2.Log.block_hash": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.Log.index": + case "cosmos.evm.vm.v2.Log.index": return protoreflect.ValueOfUint64(uint64(0)) - case "cosmos.evm.vm.v1.Log.removed": + case "cosmos.evm.vm.v2.Log.removed": return protoreflect.ValueOfBool(false) - case "cosmos.evm.vm.v1.Log.block_timestamp": + case "cosmos.evm.vm.v2.Log.block_timestamp": return protoreflect.ValueOfUint64(uint64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.Log")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.Log")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.Log does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.Log does not contain field %s", fd.FullName())) } } @@ -5901,7 +5901,7 @@ func (x *fastReflection_Log) NewField(fd protoreflect.FieldDescriptor) protorefl func (x *fastReflection_Log) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.Log", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.Log", d.FullName())) } panic("unreachable") } @@ -6442,8 +6442,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_evm_proto_init() - md_TxResult = File_cosmos_evm_vm_v1_evm_proto.Messages().ByName("TxResult") + file_cosmos_evm_vm_v2_evm_proto_init() + md_TxResult = File_cosmos_evm_vm_v2_evm_proto.Messages().ByName("TxResult") fd_TxResult_contract_address = md_TxResult.Fields().ByName("contract_address") fd_TxResult_bloom = md_TxResult.Fields().ByName("bloom") fd_TxResult_tx_logs = md_TxResult.Fields().ByName("tx_logs") @@ -6461,7 +6461,7 @@ func (x *TxResult) ProtoReflect() protoreflect.Message { } func (x *TxResult) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[8] + mi := &file_cosmos_evm_vm_v2_evm_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6568,23 +6568,23 @@ func (x *fastReflection_TxResult) Range(f func(protoreflect.FieldDescriptor, pro // a repeated field is populated if it is non-empty. func (x *fastReflection_TxResult) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.TxResult.contract_address": + case "cosmos.evm.vm.v2.TxResult.contract_address": return x.ContractAddress != "" - case "cosmos.evm.vm.v1.TxResult.bloom": + case "cosmos.evm.vm.v2.TxResult.bloom": return len(x.Bloom) != 0 - case "cosmos.evm.vm.v1.TxResult.tx_logs": + case "cosmos.evm.vm.v2.TxResult.tx_logs": return x.TxLogs != nil - case "cosmos.evm.vm.v1.TxResult.ret": + case "cosmos.evm.vm.v2.TxResult.ret": return len(x.Ret) != 0 - case "cosmos.evm.vm.v1.TxResult.reverted": + case "cosmos.evm.vm.v2.TxResult.reverted": return x.Reverted != false - case "cosmos.evm.vm.v1.TxResult.gas_used": + case "cosmos.evm.vm.v2.TxResult.gas_used": return x.GasUsed != uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.TxResult")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.TxResult")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.TxResult does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.TxResult does not contain field %s", fd.FullName())) } } @@ -6596,23 +6596,23 @@ func (x *fastReflection_TxResult) Has(fd protoreflect.FieldDescriptor) bool { // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_TxResult) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.TxResult.contract_address": + case "cosmos.evm.vm.v2.TxResult.contract_address": x.ContractAddress = "" - case "cosmos.evm.vm.v1.TxResult.bloom": + case "cosmos.evm.vm.v2.TxResult.bloom": x.Bloom = nil - case "cosmos.evm.vm.v1.TxResult.tx_logs": + case "cosmos.evm.vm.v2.TxResult.tx_logs": x.TxLogs = nil - case "cosmos.evm.vm.v1.TxResult.ret": + case "cosmos.evm.vm.v2.TxResult.ret": x.Ret = nil - case "cosmos.evm.vm.v1.TxResult.reverted": + case "cosmos.evm.vm.v2.TxResult.reverted": x.Reverted = false - case "cosmos.evm.vm.v1.TxResult.gas_used": + case "cosmos.evm.vm.v2.TxResult.gas_used": x.GasUsed = uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.TxResult")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.TxResult")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.TxResult does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.TxResult does not contain field %s", fd.FullName())) } } @@ -6624,29 +6624,29 @@ func (x *fastReflection_TxResult) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_TxResult) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.TxResult.contract_address": + case "cosmos.evm.vm.v2.TxResult.contract_address": value := x.ContractAddress return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.TxResult.bloom": + case "cosmos.evm.vm.v2.TxResult.bloom": value := x.Bloom return protoreflect.ValueOfBytes(value) - case "cosmos.evm.vm.v1.TxResult.tx_logs": + case "cosmos.evm.vm.v2.TxResult.tx_logs": value := x.TxLogs return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "cosmos.evm.vm.v1.TxResult.ret": + case "cosmos.evm.vm.v2.TxResult.ret": value := x.Ret return protoreflect.ValueOfBytes(value) - case "cosmos.evm.vm.v1.TxResult.reverted": + case "cosmos.evm.vm.v2.TxResult.reverted": value := x.Reverted return protoreflect.ValueOfBool(value) - case "cosmos.evm.vm.v1.TxResult.gas_used": + case "cosmos.evm.vm.v2.TxResult.gas_used": value := x.GasUsed return protoreflect.ValueOfUint64(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.TxResult")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.TxResult")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.TxResult does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.TxResult does not contain field %s", descriptor.FullName())) } } @@ -6662,23 +6662,23 @@ func (x *fastReflection_TxResult) Get(descriptor protoreflect.FieldDescriptor) p // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_TxResult) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.TxResult.contract_address": + case "cosmos.evm.vm.v2.TxResult.contract_address": x.ContractAddress = value.Interface().(string) - case "cosmos.evm.vm.v1.TxResult.bloom": + case "cosmos.evm.vm.v2.TxResult.bloom": x.Bloom = value.Bytes() - case "cosmos.evm.vm.v1.TxResult.tx_logs": + case "cosmos.evm.vm.v2.TxResult.tx_logs": x.TxLogs = value.Message().Interface().(*TransactionLogs) - case "cosmos.evm.vm.v1.TxResult.ret": + case "cosmos.evm.vm.v2.TxResult.ret": x.Ret = value.Bytes() - case "cosmos.evm.vm.v1.TxResult.reverted": + case "cosmos.evm.vm.v2.TxResult.reverted": x.Reverted = value.Bool() - case "cosmos.evm.vm.v1.TxResult.gas_used": + case "cosmos.evm.vm.v2.TxResult.gas_used": x.GasUsed = value.Uint() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.TxResult")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.TxResult")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.TxResult does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.TxResult does not contain field %s", fd.FullName())) } } @@ -6694,26 +6694,26 @@ func (x *fastReflection_TxResult) Set(fd protoreflect.FieldDescriptor, value pro // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_TxResult) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.TxResult.tx_logs": + case "cosmos.evm.vm.v2.TxResult.tx_logs": if x.TxLogs == nil { x.TxLogs = new(TransactionLogs) } return protoreflect.ValueOfMessage(x.TxLogs.ProtoReflect()) - case "cosmos.evm.vm.v1.TxResult.contract_address": - panic(fmt.Errorf("field contract_address of message cosmos.evm.vm.v1.TxResult is not mutable")) - case "cosmos.evm.vm.v1.TxResult.bloom": - panic(fmt.Errorf("field bloom of message cosmos.evm.vm.v1.TxResult is not mutable")) - case "cosmos.evm.vm.v1.TxResult.ret": - panic(fmt.Errorf("field ret of message cosmos.evm.vm.v1.TxResult is not mutable")) - case "cosmos.evm.vm.v1.TxResult.reverted": - panic(fmt.Errorf("field reverted of message cosmos.evm.vm.v1.TxResult is not mutable")) - case "cosmos.evm.vm.v1.TxResult.gas_used": - panic(fmt.Errorf("field gas_used of message cosmos.evm.vm.v1.TxResult is not mutable")) + case "cosmos.evm.vm.v2.TxResult.contract_address": + panic(fmt.Errorf("field contract_address of message cosmos.evm.vm.v2.TxResult is not mutable")) + case "cosmos.evm.vm.v2.TxResult.bloom": + panic(fmt.Errorf("field bloom of message cosmos.evm.vm.v2.TxResult is not mutable")) + case "cosmos.evm.vm.v2.TxResult.ret": + panic(fmt.Errorf("field ret of message cosmos.evm.vm.v2.TxResult is not mutable")) + case "cosmos.evm.vm.v2.TxResult.reverted": + panic(fmt.Errorf("field reverted of message cosmos.evm.vm.v2.TxResult is not mutable")) + case "cosmos.evm.vm.v2.TxResult.gas_used": + panic(fmt.Errorf("field gas_used of message cosmos.evm.vm.v2.TxResult is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.TxResult")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.TxResult")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.TxResult does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.TxResult does not contain field %s", fd.FullName())) } } @@ -6722,24 +6722,24 @@ func (x *fastReflection_TxResult) Mutable(fd protoreflect.FieldDescriptor) proto // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_TxResult) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.TxResult.contract_address": + case "cosmos.evm.vm.v2.TxResult.contract_address": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.TxResult.bloom": + case "cosmos.evm.vm.v2.TxResult.bloom": return protoreflect.ValueOfBytes(nil) - case "cosmos.evm.vm.v1.TxResult.tx_logs": + case "cosmos.evm.vm.v2.TxResult.tx_logs": m := new(TransactionLogs) return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "cosmos.evm.vm.v1.TxResult.ret": + case "cosmos.evm.vm.v2.TxResult.ret": return protoreflect.ValueOfBytes(nil) - case "cosmos.evm.vm.v1.TxResult.reverted": + case "cosmos.evm.vm.v2.TxResult.reverted": return protoreflect.ValueOfBool(false) - case "cosmos.evm.vm.v1.TxResult.gas_used": + case "cosmos.evm.vm.v2.TxResult.gas_used": return protoreflect.ValueOfUint64(uint64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.TxResult")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.TxResult")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.TxResult does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.TxResult does not contain field %s", fd.FullName())) } } @@ -6749,7 +6749,7 @@ func (x *fastReflection_TxResult) NewField(fd protoreflect.FieldDescriptor) prot func (x *fastReflection_TxResult) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.TxResult", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.TxResult", d.FullName())) } panic("unreachable") } @@ -7217,8 +7217,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_evm_proto_init() - md_AccessTuple = File_cosmos_evm_vm_v1_evm_proto.Messages().ByName("AccessTuple") + file_cosmos_evm_vm_v2_evm_proto_init() + md_AccessTuple = File_cosmos_evm_vm_v2_evm_proto.Messages().ByName("AccessTuple") fd_AccessTuple_address = md_AccessTuple.Fields().ByName("address") fd_AccessTuple_storage_keys = md_AccessTuple.Fields().ByName("storage_keys") } @@ -7232,7 +7232,7 @@ func (x *AccessTuple) ProtoReflect() protoreflect.Message { } func (x *AccessTuple) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[9] + mi := &file_cosmos_evm_vm_v2_evm_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7315,15 +7315,15 @@ func (x *fastReflection_AccessTuple) Range(f func(protoreflect.FieldDescriptor, // a repeated field is populated if it is non-empty. func (x *fastReflection_AccessTuple) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.AccessTuple.address": + case "cosmos.evm.vm.v2.AccessTuple.address": return x.Address != "" - case "cosmos.evm.vm.v1.AccessTuple.storage_keys": + case "cosmos.evm.vm.v2.AccessTuple.storage_keys": return len(x.StorageKeys) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.AccessTuple")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.AccessTuple")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.AccessTuple does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.AccessTuple does not contain field %s", fd.FullName())) } } @@ -7335,15 +7335,15 @@ func (x *fastReflection_AccessTuple) Has(fd protoreflect.FieldDescriptor) bool { // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_AccessTuple) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.AccessTuple.address": + case "cosmos.evm.vm.v2.AccessTuple.address": x.Address = "" - case "cosmos.evm.vm.v1.AccessTuple.storage_keys": + case "cosmos.evm.vm.v2.AccessTuple.storage_keys": x.StorageKeys = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.AccessTuple")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.AccessTuple")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.AccessTuple does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.AccessTuple does not contain field %s", fd.FullName())) } } @@ -7355,10 +7355,10 @@ func (x *fastReflection_AccessTuple) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_AccessTuple) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.AccessTuple.address": + case "cosmos.evm.vm.v2.AccessTuple.address": value := x.Address return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.AccessTuple.storage_keys": + case "cosmos.evm.vm.v2.AccessTuple.storage_keys": if len(x.StorageKeys) == 0 { return protoreflect.ValueOfList(&_AccessTuple_2_list{}) } @@ -7366,9 +7366,9 @@ func (x *fastReflection_AccessTuple) Get(descriptor protoreflect.FieldDescriptor return protoreflect.ValueOfList(listValue) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.AccessTuple")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.AccessTuple")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.AccessTuple does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.AccessTuple does not contain field %s", descriptor.FullName())) } } @@ -7384,17 +7384,17 @@ func (x *fastReflection_AccessTuple) Get(descriptor protoreflect.FieldDescriptor // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_AccessTuple) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.AccessTuple.address": + case "cosmos.evm.vm.v2.AccessTuple.address": x.Address = value.Interface().(string) - case "cosmos.evm.vm.v1.AccessTuple.storage_keys": + case "cosmos.evm.vm.v2.AccessTuple.storage_keys": lv := value.List() clv := lv.(*_AccessTuple_2_list) x.StorageKeys = *clv.list default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.AccessTuple")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.AccessTuple")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.AccessTuple does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.AccessTuple does not contain field %s", fd.FullName())) } } @@ -7410,19 +7410,19 @@ func (x *fastReflection_AccessTuple) Set(fd protoreflect.FieldDescriptor, value // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_AccessTuple) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.AccessTuple.storage_keys": + case "cosmos.evm.vm.v2.AccessTuple.storage_keys": if x.StorageKeys == nil { x.StorageKeys = []string{} } value := &_AccessTuple_2_list{list: &x.StorageKeys} return protoreflect.ValueOfList(value) - case "cosmos.evm.vm.v1.AccessTuple.address": - panic(fmt.Errorf("field address of message cosmos.evm.vm.v1.AccessTuple is not mutable")) + case "cosmos.evm.vm.v2.AccessTuple.address": + panic(fmt.Errorf("field address of message cosmos.evm.vm.v2.AccessTuple is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.AccessTuple")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.AccessTuple")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.AccessTuple does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.AccessTuple does not contain field %s", fd.FullName())) } } @@ -7431,16 +7431,16 @@ func (x *fastReflection_AccessTuple) Mutable(fd protoreflect.FieldDescriptor) pr // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_AccessTuple) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.AccessTuple.address": + case "cosmos.evm.vm.v2.AccessTuple.address": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.AccessTuple.storage_keys": + case "cosmos.evm.vm.v2.AccessTuple.storage_keys": list := []string{} return protoreflect.ValueOfList(&_AccessTuple_2_list{list: &list}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.AccessTuple")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.AccessTuple")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.AccessTuple does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.AccessTuple does not contain field %s", fd.FullName())) } } @@ -7450,7 +7450,7 @@ func (x *fastReflection_AccessTuple) NewField(fd protoreflect.FieldDescriptor) p func (x *fastReflection_AccessTuple) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.AccessTuple", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.AccessTuple", d.FullName())) } panic("unreachable") } @@ -7724,8 +7724,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_evm_proto_init() - md_TraceConfig = File_cosmos_evm_vm_v1_evm_proto.Messages().ByName("TraceConfig") + file_cosmos_evm_vm_v2_evm_proto_init() + md_TraceConfig = File_cosmos_evm_vm_v2_evm_proto.Messages().ByName("TraceConfig") fd_TraceConfig_tracer = md_TraceConfig.Fields().ByName("tracer") fd_TraceConfig_timeout = md_TraceConfig.Fields().ByName("timeout") fd_TraceConfig_reexec = md_TraceConfig.Fields().ByName("reexec") @@ -7748,7 +7748,7 @@ func (x *TraceConfig) ProtoReflect() protoreflect.Message { } func (x *TraceConfig) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[10] + mi := &file_cosmos_evm_vm_v2_evm_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7885,33 +7885,33 @@ func (x *fastReflection_TraceConfig) Range(f func(protoreflect.FieldDescriptor, // a repeated field is populated if it is non-empty. func (x *fastReflection_TraceConfig) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.TraceConfig.tracer": + case "cosmos.evm.vm.v2.TraceConfig.tracer": return x.Tracer != "" - case "cosmos.evm.vm.v1.TraceConfig.timeout": + case "cosmos.evm.vm.v2.TraceConfig.timeout": return x.Timeout != "" - case "cosmos.evm.vm.v1.TraceConfig.reexec": + case "cosmos.evm.vm.v2.TraceConfig.reexec": return x.Reexec != uint64(0) - case "cosmos.evm.vm.v1.TraceConfig.disable_stack": + case "cosmos.evm.vm.v2.TraceConfig.disable_stack": return x.DisableStack != false - case "cosmos.evm.vm.v1.TraceConfig.disable_storage": + case "cosmos.evm.vm.v2.TraceConfig.disable_storage": return x.DisableStorage != false - case "cosmos.evm.vm.v1.TraceConfig.debug": + case "cosmos.evm.vm.v2.TraceConfig.debug": return x.Debug != false - case "cosmos.evm.vm.v1.TraceConfig.limit": + case "cosmos.evm.vm.v2.TraceConfig.limit": return x.Limit != int32(0) - case "cosmos.evm.vm.v1.TraceConfig.overrides": + case "cosmos.evm.vm.v2.TraceConfig.overrides": return x.Overrides != nil - case "cosmos.evm.vm.v1.TraceConfig.enable_memory": + case "cosmos.evm.vm.v2.TraceConfig.enable_memory": return x.EnableMemory != false - case "cosmos.evm.vm.v1.TraceConfig.enable_return_data": + case "cosmos.evm.vm.v2.TraceConfig.enable_return_data": return x.EnableReturnData != false - case "cosmos.evm.vm.v1.TraceConfig.tracer_json_config": + case "cosmos.evm.vm.v2.TraceConfig.tracer_json_config": return x.TracerJsonConfig != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.TraceConfig")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.TraceConfig")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.TraceConfig does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.TraceConfig does not contain field %s", fd.FullName())) } } @@ -7923,33 +7923,33 @@ func (x *fastReflection_TraceConfig) Has(fd protoreflect.FieldDescriptor) bool { // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_TraceConfig) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.TraceConfig.tracer": + case "cosmos.evm.vm.v2.TraceConfig.tracer": x.Tracer = "" - case "cosmos.evm.vm.v1.TraceConfig.timeout": + case "cosmos.evm.vm.v2.TraceConfig.timeout": x.Timeout = "" - case "cosmos.evm.vm.v1.TraceConfig.reexec": + case "cosmos.evm.vm.v2.TraceConfig.reexec": x.Reexec = uint64(0) - case "cosmos.evm.vm.v1.TraceConfig.disable_stack": + case "cosmos.evm.vm.v2.TraceConfig.disable_stack": x.DisableStack = false - case "cosmos.evm.vm.v1.TraceConfig.disable_storage": + case "cosmos.evm.vm.v2.TraceConfig.disable_storage": x.DisableStorage = false - case "cosmos.evm.vm.v1.TraceConfig.debug": + case "cosmos.evm.vm.v2.TraceConfig.debug": x.Debug = false - case "cosmos.evm.vm.v1.TraceConfig.limit": + case "cosmos.evm.vm.v2.TraceConfig.limit": x.Limit = int32(0) - case "cosmos.evm.vm.v1.TraceConfig.overrides": + case "cosmos.evm.vm.v2.TraceConfig.overrides": x.Overrides = nil - case "cosmos.evm.vm.v1.TraceConfig.enable_memory": + case "cosmos.evm.vm.v2.TraceConfig.enable_memory": x.EnableMemory = false - case "cosmos.evm.vm.v1.TraceConfig.enable_return_data": + case "cosmos.evm.vm.v2.TraceConfig.enable_return_data": x.EnableReturnData = false - case "cosmos.evm.vm.v1.TraceConfig.tracer_json_config": + case "cosmos.evm.vm.v2.TraceConfig.tracer_json_config": x.TracerJsonConfig = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.TraceConfig")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.TraceConfig")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.TraceConfig does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.TraceConfig does not contain field %s", fd.FullName())) } } @@ -7961,44 +7961,44 @@ func (x *fastReflection_TraceConfig) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_TraceConfig) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.TraceConfig.tracer": + case "cosmos.evm.vm.v2.TraceConfig.tracer": value := x.Tracer return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.TraceConfig.timeout": + case "cosmos.evm.vm.v2.TraceConfig.timeout": value := x.Timeout return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.TraceConfig.reexec": + case "cosmos.evm.vm.v2.TraceConfig.reexec": value := x.Reexec return protoreflect.ValueOfUint64(value) - case "cosmos.evm.vm.v1.TraceConfig.disable_stack": + case "cosmos.evm.vm.v2.TraceConfig.disable_stack": value := x.DisableStack return protoreflect.ValueOfBool(value) - case "cosmos.evm.vm.v1.TraceConfig.disable_storage": + case "cosmos.evm.vm.v2.TraceConfig.disable_storage": value := x.DisableStorage return protoreflect.ValueOfBool(value) - case "cosmos.evm.vm.v1.TraceConfig.debug": + case "cosmos.evm.vm.v2.TraceConfig.debug": value := x.Debug return protoreflect.ValueOfBool(value) - case "cosmos.evm.vm.v1.TraceConfig.limit": + case "cosmos.evm.vm.v2.TraceConfig.limit": value := x.Limit return protoreflect.ValueOfInt32(value) - case "cosmos.evm.vm.v1.TraceConfig.overrides": + case "cosmos.evm.vm.v2.TraceConfig.overrides": value := x.Overrides return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "cosmos.evm.vm.v1.TraceConfig.enable_memory": + case "cosmos.evm.vm.v2.TraceConfig.enable_memory": value := x.EnableMemory return protoreflect.ValueOfBool(value) - case "cosmos.evm.vm.v1.TraceConfig.enable_return_data": + case "cosmos.evm.vm.v2.TraceConfig.enable_return_data": value := x.EnableReturnData return protoreflect.ValueOfBool(value) - case "cosmos.evm.vm.v1.TraceConfig.tracer_json_config": + case "cosmos.evm.vm.v2.TraceConfig.tracer_json_config": value := x.TracerJsonConfig return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.TraceConfig")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.TraceConfig")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.TraceConfig does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.TraceConfig does not contain field %s", descriptor.FullName())) } } @@ -8014,33 +8014,33 @@ func (x *fastReflection_TraceConfig) Get(descriptor protoreflect.FieldDescriptor // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_TraceConfig) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.TraceConfig.tracer": + case "cosmos.evm.vm.v2.TraceConfig.tracer": x.Tracer = value.Interface().(string) - case "cosmos.evm.vm.v1.TraceConfig.timeout": + case "cosmos.evm.vm.v2.TraceConfig.timeout": x.Timeout = value.Interface().(string) - case "cosmos.evm.vm.v1.TraceConfig.reexec": + case "cosmos.evm.vm.v2.TraceConfig.reexec": x.Reexec = value.Uint() - case "cosmos.evm.vm.v1.TraceConfig.disable_stack": + case "cosmos.evm.vm.v2.TraceConfig.disable_stack": x.DisableStack = value.Bool() - case "cosmos.evm.vm.v1.TraceConfig.disable_storage": + case "cosmos.evm.vm.v2.TraceConfig.disable_storage": x.DisableStorage = value.Bool() - case "cosmos.evm.vm.v1.TraceConfig.debug": + case "cosmos.evm.vm.v2.TraceConfig.debug": x.Debug = value.Bool() - case "cosmos.evm.vm.v1.TraceConfig.limit": + case "cosmos.evm.vm.v2.TraceConfig.limit": x.Limit = int32(value.Int()) - case "cosmos.evm.vm.v1.TraceConfig.overrides": + case "cosmos.evm.vm.v2.TraceConfig.overrides": x.Overrides = value.Message().Interface().(*ChainConfig) - case "cosmos.evm.vm.v1.TraceConfig.enable_memory": + case "cosmos.evm.vm.v2.TraceConfig.enable_memory": x.EnableMemory = value.Bool() - case "cosmos.evm.vm.v1.TraceConfig.enable_return_data": + case "cosmos.evm.vm.v2.TraceConfig.enable_return_data": x.EnableReturnData = value.Bool() - case "cosmos.evm.vm.v1.TraceConfig.tracer_json_config": + case "cosmos.evm.vm.v2.TraceConfig.tracer_json_config": x.TracerJsonConfig = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.TraceConfig")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.TraceConfig")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.TraceConfig does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.TraceConfig does not contain field %s", fd.FullName())) } } @@ -8056,36 +8056,36 @@ func (x *fastReflection_TraceConfig) Set(fd protoreflect.FieldDescriptor, value // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_TraceConfig) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.TraceConfig.overrides": + case "cosmos.evm.vm.v2.TraceConfig.overrides": if x.Overrides == nil { x.Overrides = new(ChainConfig) } return protoreflect.ValueOfMessage(x.Overrides.ProtoReflect()) - case "cosmos.evm.vm.v1.TraceConfig.tracer": - panic(fmt.Errorf("field tracer of message cosmos.evm.vm.v1.TraceConfig is not mutable")) - case "cosmos.evm.vm.v1.TraceConfig.timeout": - panic(fmt.Errorf("field timeout of message cosmos.evm.vm.v1.TraceConfig is not mutable")) - case "cosmos.evm.vm.v1.TraceConfig.reexec": - panic(fmt.Errorf("field reexec of message cosmos.evm.vm.v1.TraceConfig is not mutable")) - case "cosmos.evm.vm.v1.TraceConfig.disable_stack": - panic(fmt.Errorf("field disable_stack of message cosmos.evm.vm.v1.TraceConfig is not mutable")) - case "cosmos.evm.vm.v1.TraceConfig.disable_storage": - panic(fmt.Errorf("field disable_storage of message cosmos.evm.vm.v1.TraceConfig is not mutable")) - case "cosmos.evm.vm.v1.TraceConfig.debug": - panic(fmt.Errorf("field debug of message cosmos.evm.vm.v1.TraceConfig is not mutable")) - case "cosmos.evm.vm.v1.TraceConfig.limit": - panic(fmt.Errorf("field limit of message cosmos.evm.vm.v1.TraceConfig is not mutable")) - case "cosmos.evm.vm.v1.TraceConfig.enable_memory": - panic(fmt.Errorf("field enable_memory of message cosmos.evm.vm.v1.TraceConfig is not mutable")) - case "cosmos.evm.vm.v1.TraceConfig.enable_return_data": - panic(fmt.Errorf("field enable_return_data of message cosmos.evm.vm.v1.TraceConfig is not mutable")) - case "cosmos.evm.vm.v1.TraceConfig.tracer_json_config": - panic(fmt.Errorf("field tracer_json_config of message cosmos.evm.vm.v1.TraceConfig is not mutable")) + case "cosmos.evm.vm.v2.TraceConfig.tracer": + panic(fmt.Errorf("field tracer of message cosmos.evm.vm.v2.TraceConfig is not mutable")) + case "cosmos.evm.vm.v2.TraceConfig.timeout": + panic(fmt.Errorf("field timeout of message cosmos.evm.vm.v2.TraceConfig is not mutable")) + case "cosmos.evm.vm.v2.TraceConfig.reexec": + panic(fmt.Errorf("field reexec of message cosmos.evm.vm.v2.TraceConfig is not mutable")) + case "cosmos.evm.vm.v2.TraceConfig.disable_stack": + panic(fmt.Errorf("field disable_stack of message cosmos.evm.vm.v2.TraceConfig is not mutable")) + case "cosmos.evm.vm.v2.TraceConfig.disable_storage": + panic(fmt.Errorf("field disable_storage of message cosmos.evm.vm.v2.TraceConfig is not mutable")) + case "cosmos.evm.vm.v2.TraceConfig.debug": + panic(fmt.Errorf("field debug of message cosmos.evm.vm.v2.TraceConfig is not mutable")) + case "cosmos.evm.vm.v2.TraceConfig.limit": + panic(fmt.Errorf("field limit of message cosmos.evm.vm.v2.TraceConfig is not mutable")) + case "cosmos.evm.vm.v2.TraceConfig.enable_memory": + panic(fmt.Errorf("field enable_memory of message cosmos.evm.vm.v2.TraceConfig is not mutable")) + case "cosmos.evm.vm.v2.TraceConfig.enable_return_data": + panic(fmt.Errorf("field enable_return_data of message cosmos.evm.vm.v2.TraceConfig is not mutable")) + case "cosmos.evm.vm.v2.TraceConfig.tracer_json_config": + panic(fmt.Errorf("field tracer_json_config of message cosmos.evm.vm.v2.TraceConfig is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.TraceConfig")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.TraceConfig")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.TraceConfig does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.TraceConfig does not contain field %s", fd.FullName())) } } @@ -8094,34 +8094,34 @@ func (x *fastReflection_TraceConfig) Mutable(fd protoreflect.FieldDescriptor) pr // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_TraceConfig) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.TraceConfig.tracer": + case "cosmos.evm.vm.v2.TraceConfig.tracer": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.TraceConfig.timeout": + case "cosmos.evm.vm.v2.TraceConfig.timeout": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.TraceConfig.reexec": + case "cosmos.evm.vm.v2.TraceConfig.reexec": return protoreflect.ValueOfUint64(uint64(0)) - case "cosmos.evm.vm.v1.TraceConfig.disable_stack": + case "cosmos.evm.vm.v2.TraceConfig.disable_stack": return protoreflect.ValueOfBool(false) - case "cosmos.evm.vm.v1.TraceConfig.disable_storage": + case "cosmos.evm.vm.v2.TraceConfig.disable_storage": return protoreflect.ValueOfBool(false) - case "cosmos.evm.vm.v1.TraceConfig.debug": + case "cosmos.evm.vm.v2.TraceConfig.debug": return protoreflect.ValueOfBool(false) - case "cosmos.evm.vm.v1.TraceConfig.limit": + case "cosmos.evm.vm.v2.TraceConfig.limit": return protoreflect.ValueOfInt32(int32(0)) - case "cosmos.evm.vm.v1.TraceConfig.overrides": + case "cosmos.evm.vm.v2.TraceConfig.overrides": m := new(ChainConfig) return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "cosmos.evm.vm.v1.TraceConfig.enable_memory": + case "cosmos.evm.vm.v2.TraceConfig.enable_memory": return protoreflect.ValueOfBool(false) - case "cosmos.evm.vm.v1.TraceConfig.enable_return_data": + case "cosmos.evm.vm.v2.TraceConfig.enable_return_data": return protoreflect.ValueOfBool(false) - case "cosmos.evm.vm.v1.TraceConfig.tracer_json_config": + case "cosmos.evm.vm.v2.TraceConfig.tracer_json_config": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.TraceConfig")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.TraceConfig")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.TraceConfig does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.TraceConfig does not contain field %s", fd.FullName())) } } @@ -8131,7 +8131,7 @@ func (x *fastReflection_TraceConfig) NewField(fd protoreflect.FieldDescriptor) p func (x *fastReflection_TraceConfig) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.TraceConfig", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.TraceConfig", d.FullName())) } panic("unreachable") } @@ -8709,8 +8709,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_evm_proto_init() - md_Preinstall = File_cosmos_evm_vm_v1_evm_proto.Messages().ByName("Preinstall") + file_cosmos_evm_vm_v2_evm_proto_init() + md_Preinstall = File_cosmos_evm_vm_v2_evm_proto.Messages().ByName("Preinstall") fd_Preinstall_name = md_Preinstall.Fields().ByName("name") fd_Preinstall_address = md_Preinstall.Fields().ByName("address") fd_Preinstall_code = md_Preinstall.Fields().ByName("code") @@ -8725,7 +8725,7 @@ func (x *Preinstall) ProtoReflect() protoreflect.Message { } func (x *Preinstall) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[11] + mi := &file_cosmos_evm_vm_v2_evm_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8814,17 +8814,17 @@ func (x *fastReflection_Preinstall) Range(f func(protoreflect.FieldDescriptor, p // a repeated field is populated if it is non-empty. func (x *fastReflection_Preinstall) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.Preinstall.name": + case "cosmos.evm.vm.v2.Preinstall.name": return x.Name != "" - case "cosmos.evm.vm.v1.Preinstall.address": + case "cosmos.evm.vm.v2.Preinstall.address": return x.Address != "" - case "cosmos.evm.vm.v1.Preinstall.code": + case "cosmos.evm.vm.v2.Preinstall.code": return x.Code != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.Preinstall")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.Preinstall")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.Preinstall does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.Preinstall does not contain field %s", fd.FullName())) } } @@ -8836,17 +8836,17 @@ func (x *fastReflection_Preinstall) Has(fd protoreflect.FieldDescriptor) bool { // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Preinstall) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.Preinstall.name": + case "cosmos.evm.vm.v2.Preinstall.name": x.Name = "" - case "cosmos.evm.vm.v1.Preinstall.address": + case "cosmos.evm.vm.v2.Preinstall.address": x.Address = "" - case "cosmos.evm.vm.v1.Preinstall.code": + case "cosmos.evm.vm.v2.Preinstall.code": x.Code = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.Preinstall")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.Preinstall")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.Preinstall does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.Preinstall does not contain field %s", fd.FullName())) } } @@ -8858,20 +8858,20 @@ func (x *fastReflection_Preinstall) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_Preinstall) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.Preinstall.name": + case "cosmos.evm.vm.v2.Preinstall.name": value := x.Name return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.Preinstall.address": + case "cosmos.evm.vm.v2.Preinstall.address": value := x.Address return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.Preinstall.code": + case "cosmos.evm.vm.v2.Preinstall.code": value := x.Code return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.Preinstall")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.Preinstall")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.Preinstall does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.Preinstall does not contain field %s", descriptor.FullName())) } } @@ -8887,17 +8887,17 @@ func (x *fastReflection_Preinstall) Get(descriptor protoreflect.FieldDescriptor) // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Preinstall) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.Preinstall.name": + case "cosmos.evm.vm.v2.Preinstall.name": x.Name = value.Interface().(string) - case "cosmos.evm.vm.v1.Preinstall.address": + case "cosmos.evm.vm.v2.Preinstall.address": x.Address = value.Interface().(string) - case "cosmos.evm.vm.v1.Preinstall.code": + case "cosmos.evm.vm.v2.Preinstall.code": x.Code = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.Preinstall")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.Preinstall")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.Preinstall does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.Preinstall does not contain field %s", fd.FullName())) } } @@ -8913,17 +8913,17 @@ func (x *fastReflection_Preinstall) Set(fd protoreflect.FieldDescriptor, value p // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Preinstall) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.Preinstall.name": - panic(fmt.Errorf("field name of message cosmos.evm.vm.v1.Preinstall is not mutable")) - case "cosmos.evm.vm.v1.Preinstall.address": - panic(fmt.Errorf("field address of message cosmos.evm.vm.v1.Preinstall is not mutable")) - case "cosmos.evm.vm.v1.Preinstall.code": - panic(fmt.Errorf("field code of message cosmos.evm.vm.v1.Preinstall is not mutable")) + case "cosmos.evm.vm.v2.Preinstall.name": + panic(fmt.Errorf("field name of message cosmos.evm.vm.v2.Preinstall is not mutable")) + case "cosmos.evm.vm.v2.Preinstall.address": + panic(fmt.Errorf("field address of message cosmos.evm.vm.v2.Preinstall is not mutable")) + case "cosmos.evm.vm.v2.Preinstall.code": + panic(fmt.Errorf("field code of message cosmos.evm.vm.v2.Preinstall is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.Preinstall")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.Preinstall")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.Preinstall does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.Preinstall does not contain field %s", fd.FullName())) } } @@ -8932,17 +8932,17 @@ func (x *fastReflection_Preinstall) Mutable(fd protoreflect.FieldDescriptor) pro // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_Preinstall) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.Preinstall.name": + case "cosmos.evm.vm.v2.Preinstall.name": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.Preinstall.address": + case "cosmos.evm.vm.v2.Preinstall.address": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.Preinstall.code": + case "cosmos.evm.vm.v2.Preinstall.code": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.Preinstall")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.Preinstall")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.Preinstall does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.Preinstall does not contain field %s", fd.FullName())) } } @@ -8952,7 +8952,7 @@ func (x *fastReflection_Preinstall) NewField(fd protoreflect.FieldDescriptor) pr func (x *fastReflection_Preinstall) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.Preinstall", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.Preinstall", d.FullName())) } panic("unreachable") } @@ -9258,8 +9258,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_evm_proto_init() - md_EvmCoinInfo = File_cosmos_evm_vm_v1_evm_proto.Messages().ByName("EvmCoinInfo") + file_cosmos_evm_vm_v2_evm_proto_init() + md_EvmCoinInfo = File_cosmos_evm_vm_v2_evm_proto.Messages().ByName("EvmCoinInfo") fd_EvmCoinInfo_denom = md_EvmCoinInfo.Fields().ByName("denom") fd_EvmCoinInfo_extended_denom = md_EvmCoinInfo.Fields().ByName("extended_denom") fd_EvmCoinInfo_display_denom = md_EvmCoinInfo.Fields().ByName("display_denom") @@ -9275,7 +9275,7 @@ func (x *EvmCoinInfo) ProtoReflect() protoreflect.Message { } func (x *EvmCoinInfo) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[12] + mi := &file_cosmos_evm_vm_v2_evm_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9370,19 +9370,19 @@ func (x *fastReflection_EvmCoinInfo) Range(f func(protoreflect.FieldDescriptor, // a repeated field is populated if it is non-empty. func (x *fastReflection_EvmCoinInfo) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.EvmCoinInfo.denom": + case "cosmos.evm.vm.v2.EvmCoinInfo.denom": return x.Denom != "" - case "cosmos.evm.vm.v1.EvmCoinInfo.extended_denom": + case "cosmos.evm.vm.v2.EvmCoinInfo.extended_denom": return x.ExtendedDenom != "" - case "cosmos.evm.vm.v1.EvmCoinInfo.display_denom": + case "cosmos.evm.vm.v2.EvmCoinInfo.display_denom": return x.DisplayDenom != "" - case "cosmos.evm.vm.v1.EvmCoinInfo.decimals": + case "cosmos.evm.vm.v2.EvmCoinInfo.decimals": return x.Decimals != uint32(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.EvmCoinInfo")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.EvmCoinInfo")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.EvmCoinInfo does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.EvmCoinInfo does not contain field %s", fd.FullName())) } } @@ -9394,19 +9394,19 @@ func (x *fastReflection_EvmCoinInfo) Has(fd protoreflect.FieldDescriptor) bool { // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_EvmCoinInfo) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.EvmCoinInfo.denom": + case "cosmos.evm.vm.v2.EvmCoinInfo.denom": x.Denom = "" - case "cosmos.evm.vm.v1.EvmCoinInfo.extended_denom": + case "cosmos.evm.vm.v2.EvmCoinInfo.extended_denom": x.ExtendedDenom = "" - case "cosmos.evm.vm.v1.EvmCoinInfo.display_denom": + case "cosmos.evm.vm.v2.EvmCoinInfo.display_denom": x.DisplayDenom = "" - case "cosmos.evm.vm.v1.EvmCoinInfo.decimals": + case "cosmos.evm.vm.v2.EvmCoinInfo.decimals": x.Decimals = uint32(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.EvmCoinInfo")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.EvmCoinInfo")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.EvmCoinInfo does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.EvmCoinInfo does not contain field %s", fd.FullName())) } } @@ -9418,23 +9418,23 @@ func (x *fastReflection_EvmCoinInfo) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_EvmCoinInfo) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.EvmCoinInfo.denom": + case "cosmos.evm.vm.v2.EvmCoinInfo.denom": value := x.Denom return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.EvmCoinInfo.extended_denom": + case "cosmos.evm.vm.v2.EvmCoinInfo.extended_denom": value := x.ExtendedDenom return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.EvmCoinInfo.display_denom": + case "cosmos.evm.vm.v2.EvmCoinInfo.display_denom": value := x.DisplayDenom return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.EvmCoinInfo.decimals": + case "cosmos.evm.vm.v2.EvmCoinInfo.decimals": value := x.Decimals return protoreflect.ValueOfUint32(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.EvmCoinInfo")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.EvmCoinInfo")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.EvmCoinInfo does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.EvmCoinInfo does not contain field %s", descriptor.FullName())) } } @@ -9450,19 +9450,19 @@ func (x *fastReflection_EvmCoinInfo) Get(descriptor protoreflect.FieldDescriptor // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_EvmCoinInfo) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.EvmCoinInfo.denom": + case "cosmos.evm.vm.v2.EvmCoinInfo.denom": x.Denom = value.Interface().(string) - case "cosmos.evm.vm.v1.EvmCoinInfo.extended_denom": + case "cosmos.evm.vm.v2.EvmCoinInfo.extended_denom": x.ExtendedDenom = value.Interface().(string) - case "cosmos.evm.vm.v1.EvmCoinInfo.display_denom": + case "cosmos.evm.vm.v2.EvmCoinInfo.display_denom": x.DisplayDenom = value.Interface().(string) - case "cosmos.evm.vm.v1.EvmCoinInfo.decimals": + case "cosmos.evm.vm.v2.EvmCoinInfo.decimals": x.Decimals = uint32(value.Uint()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.EvmCoinInfo")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.EvmCoinInfo")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.EvmCoinInfo does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.EvmCoinInfo does not contain field %s", fd.FullName())) } } @@ -9478,19 +9478,19 @@ func (x *fastReflection_EvmCoinInfo) Set(fd protoreflect.FieldDescriptor, value // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_EvmCoinInfo) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.EvmCoinInfo.denom": - panic(fmt.Errorf("field denom of message cosmos.evm.vm.v1.EvmCoinInfo is not mutable")) - case "cosmos.evm.vm.v1.EvmCoinInfo.extended_denom": - panic(fmt.Errorf("field extended_denom of message cosmos.evm.vm.v1.EvmCoinInfo is not mutable")) - case "cosmos.evm.vm.v1.EvmCoinInfo.display_denom": - panic(fmt.Errorf("field display_denom of message cosmos.evm.vm.v1.EvmCoinInfo is not mutable")) - case "cosmos.evm.vm.v1.EvmCoinInfo.decimals": - panic(fmt.Errorf("field decimals of message cosmos.evm.vm.v1.EvmCoinInfo is not mutable")) + case "cosmos.evm.vm.v2.EvmCoinInfo.denom": + panic(fmt.Errorf("field denom of message cosmos.evm.vm.v2.EvmCoinInfo is not mutable")) + case "cosmos.evm.vm.v2.EvmCoinInfo.extended_denom": + panic(fmt.Errorf("field extended_denom of message cosmos.evm.vm.v2.EvmCoinInfo is not mutable")) + case "cosmos.evm.vm.v2.EvmCoinInfo.display_denom": + panic(fmt.Errorf("field display_denom of message cosmos.evm.vm.v2.EvmCoinInfo is not mutable")) + case "cosmos.evm.vm.v2.EvmCoinInfo.decimals": + panic(fmt.Errorf("field decimals of message cosmos.evm.vm.v2.EvmCoinInfo is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.EvmCoinInfo")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.EvmCoinInfo")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.EvmCoinInfo does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.EvmCoinInfo does not contain field %s", fd.FullName())) } } @@ -9499,19 +9499,19 @@ func (x *fastReflection_EvmCoinInfo) Mutable(fd protoreflect.FieldDescriptor) pr // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_EvmCoinInfo) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.EvmCoinInfo.denom": + case "cosmos.evm.vm.v2.EvmCoinInfo.denom": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.EvmCoinInfo.extended_denom": + case "cosmos.evm.vm.v2.EvmCoinInfo.extended_denom": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.EvmCoinInfo.display_denom": + case "cosmos.evm.vm.v2.EvmCoinInfo.display_denom": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.EvmCoinInfo.decimals": + case "cosmos.evm.vm.v2.EvmCoinInfo.decimals": return protoreflect.ValueOfUint32(uint32(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.EvmCoinInfo")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.EvmCoinInfo")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.EvmCoinInfo does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.EvmCoinInfo does not contain field %s", fd.FullName())) } } @@ -9521,7 +9521,7 @@ func (x *fastReflection_EvmCoinInfo) NewField(fd protoreflect.FieldDescriptor) p func (x *fastReflection_EvmCoinInfo) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.EvmCoinInfo", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.EvmCoinInfo", d.FullName())) } panic("unreachable") } @@ -9849,7 +9849,7 @@ func (x *fastReflection_EvmCoinInfo) ProtoMethods() *protoiface.Methods { // versions: // protoc-gen-go v1.27.0 // protoc (unknown) -// source: cosmos/evm/vm/v1/evm.proto +// source: cosmos/evm/vm/v2/evm.proto const ( // Verify that this generated code is sufficiently up-to-date. @@ -9895,11 +9895,11 @@ func (x AccessType) String() string { } func (AccessType) Descriptor() protoreflect.EnumDescriptor { - return file_cosmos_evm_vm_v1_evm_proto_enumTypes[0].Descriptor() + return file_cosmos_evm_vm_v2_evm_proto_enumTypes[0].Descriptor() } func (AccessType) Type() protoreflect.EnumType { - return &file_cosmos_evm_vm_v1_evm_proto_enumTypes[0] + return &file_cosmos_evm_vm_v2_evm_proto_enumTypes[0] } func (x AccessType) Number() protoreflect.EnumNumber { @@ -9908,7 +9908,7 @@ func (x AccessType) Number() protoreflect.EnumNumber { // Deprecated: Use AccessType.Descriptor instead. func (AccessType) EnumDescriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_evm_proto_rawDescGZIP(), []int{0} + return file_cosmos_evm_vm_v2_evm_proto_rawDescGZIP(), []int{0} } // Params defines the EVM module parameters @@ -9936,7 +9936,7 @@ type Params struct { func (x *Params) Reset() { *x = Params{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[0] + mi := &file_cosmos_evm_vm_v2_evm_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -9950,7 +9950,7 @@ func (*Params) ProtoMessage() {} // Deprecated: Use Params.ProtoReflect.Descriptor instead. func (*Params) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_evm_proto_rawDescGZIP(), []int{0} + return file_cosmos_evm_vm_v2_evm_proto_rawDescGZIP(), []int{0} } func (x *Params) GetEvmDenom() string { @@ -10013,7 +10013,7 @@ type ExtendedDenomOptions struct { func (x *ExtendedDenomOptions) Reset() { *x = ExtendedDenomOptions{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[1] + mi := &file_cosmos_evm_vm_v2_evm_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10027,7 +10027,7 @@ func (*ExtendedDenomOptions) ProtoMessage() {} // Deprecated: Use ExtendedDenomOptions.ProtoReflect.Descriptor instead. func (*ExtendedDenomOptions) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_evm_proto_rawDescGZIP(), []int{1} + return file_cosmos_evm_vm_v2_evm_proto_rawDescGZIP(), []int{1} } func (x *ExtendedDenomOptions) GetExtendedDenom() string { @@ -10053,7 +10053,7 @@ type AccessControl struct { func (x *AccessControl) Reset() { *x = AccessControl{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[2] + mi := &file_cosmos_evm_vm_v2_evm_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10067,7 +10067,7 @@ func (*AccessControl) ProtoMessage() {} // Deprecated: Use AccessControl.ProtoReflect.Descriptor instead. func (*AccessControl) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_evm_proto_rawDescGZIP(), []int{2} + return file_cosmos_evm_vm_v2_evm_proto_rawDescGZIP(), []int{2} } func (x *AccessControl) GetCreate() *AccessControlType { @@ -10091,7 +10091,7 @@ type AccessControlType struct { unknownFields protoimpl.UnknownFields // access_type defines which type of permission is required for the operation - AccessType AccessType `protobuf:"varint,1,opt,name=access_type,json=accessType,proto3,enum=cosmos.evm.vm.v1.AccessType" json:"access_type,omitempty"` + AccessType AccessType `protobuf:"varint,1,opt,name=access_type,json=accessType,proto3,enum=cosmos.evm.vm.v2.AccessType" json:"access_type,omitempty"` // access_control_list defines defines different things depending on the // AccessType: // - ACCESS_TYPE_PERMISSIONLESS: list of addresses that are blocked from @@ -10105,7 +10105,7 @@ type AccessControlType struct { func (x *AccessControlType) Reset() { *x = AccessControlType{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[3] + mi := &file_cosmos_evm_vm_v2_evm_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10119,7 +10119,7 @@ func (*AccessControlType) ProtoMessage() {} // Deprecated: Use AccessControlType.ProtoReflect.Descriptor instead. func (*AccessControlType) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_evm_proto_rawDescGZIP(), []int{3} + return file_cosmos_evm_vm_v2_evm_proto_rawDescGZIP(), []int{3} } func (x *AccessControlType) GetAccessType() AccessType { @@ -10206,7 +10206,7 @@ type ChainConfig struct { func (x *ChainConfig) Reset() { *x = ChainConfig{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[4] + mi := &file_cosmos_evm_vm_v2_evm_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10220,7 +10220,7 @@ func (*ChainConfig) ProtoMessage() {} // Deprecated: Use ChainConfig.ProtoReflect.Descriptor instead. func (*ChainConfig) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_evm_proto_rawDescGZIP(), []int{4} + return file_cosmos_evm_vm_v2_evm_proto_rawDescGZIP(), []int{4} } func (x *ChainConfig) GetHomesteadBlock() string { @@ -10406,7 +10406,7 @@ type State struct { func (x *State) Reset() { *x = State{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[5] + mi := &file_cosmos_evm_vm_v2_evm_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10420,7 +10420,7 @@ func (*State) ProtoMessage() {} // Deprecated: Use State.ProtoReflect.Descriptor instead. func (*State) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_evm_proto_rawDescGZIP(), []int{5} + return file_cosmos_evm_vm_v2_evm_proto_rawDescGZIP(), []int{5} } func (x *State) GetKey() string { @@ -10454,7 +10454,7 @@ type TransactionLogs struct { func (x *TransactionLogs) Reset() { *x = TransactionLogs{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[6] + mi := &file_cosmos_evm_vm_v2_evm_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10468,7 +10468,7 @@ func (*TransactionLogs) ProtoMessage() {} // Deprecated: Use TransactionLogs.ProtoReflect.Descriptor instead. func (*TransactionLogs) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_evm_proto_rawDescGZIP(), []int{6} + return file_cosmos_evm_vm_v2_evm_proto_rawDescGZIP(), []int{6} } func (x *TransactionLogs) GetHash() string { @@ -10523,7 +10523,7 @@ type Log struct { func (x *Log) Reset() { *x = Log{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[7] + mi := &file_cosmos_evm_vm_v2_evm_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10537,7 +10537,7 @@ func (*Log) ProtoMessage() {} // Deprecated: Use Log.ProtoReflect.Descriptor instead. func (*Log) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_evm_proto_rawDescGZIP(), []int{7} + return file_cosmos_evm_vm_v2_evm_proto_rawDescGZIP(), []int{7} } func (x *Log) GetAddress() string { @@ -10636,7 +10636,7 @@ type TxResult struct { func (x *TxResult) Reset() { *x = TxResult{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[8] + mi := &file_cosmos_evm_vm_v2_evm_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10650,7 +10650,7 @@ func (*TxResult) ProtoMessage() {} // Deprecated: Use TxResult.ProtoReflect.Descriptor instead. func (*TxResult) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_evm_proto_rawDescGZIP(), []int{8} + return file_cosmos_evm_vm_v2_evm_proto_rawDescGZIP(), []int{8} } func (x *TxResult) GetContractAddress() string { @@ -10710,7 +10710,7 @@ type AccessTuple struct { func (x *AccessTuple) Reset() { *x = AccessTuple{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[9] + mi := &file_cosmos_evm_vm_v2_evm_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10724,7 +10724,7 @@ func (*AccessTuple) ProtoMessage() {} // Deprecated: Use AccessTuple.ProtoReflect.Descriptor instead. func (*AccessTuple) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_evm_proto_rawDescGZIP(), []int{9} + return file_cosmos_evm_vm_v2_evm_proto_rawDescGZIP(), []int{9} } func (x *AccessTuple) GetAddress() string { @@ -10775,7 +10775,7 @@ type TraceConfig struct { func (x *TraceConfig) Reset() { *x = TraceConfig{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[10] + mi := &file_cosmos_evm_vm_v2_evm_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10789,7 +10789,7 @@ func (*TraceConfig) ProtoMessage() {} // Deprecated: Use TraceConfig.ProtoReflect.Descriptor instead. func (*TraceConfig) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_evm_proto_rawDescGZIP(), []int{10} + return file_cosmos_evm_vm_v2_evm_proto_rawDescGZIP(), []int{10} } func (x *TraceConfig) GetTracer() string { @@ -10887,7 +10887,7 @@ type Preinstall struct { func (x *Preinstall) Reset() { *x = Preinstall{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[11] + mi := &file_cosmos_evm_vm_v2_evm_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10901,7 +10901,7 @@ func (*Preinstall) ProtoMessage() {} // Deprecated: Use Preinstall.ProtoReflect.Descriptor instead. func (*Preinstall) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_evm_proto_rawDescGZIP(), []int{11} + return file_cosmos_evm_vm_v2_evm_proto_rawDescGZIP(), []int{11} } func (x *Preinstall) GetName() string { @@ -10939,7 +10939,7 @@ type EvmCoinInfo struct { func (x *EvmCoinInfo) Reset() { *x = EvmCoinInfo{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[12] + mi := &file_cosmos_evm_vm_v2_evm_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -10953,7 +10953,7 @@ func (*EvmCoinInfo) ProtoMessage() {} // Deprecated: Use EvmCoinInfo.ProtoReflect.Descriptor instead. func (*EvmCoinInfo) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_evm_proto_rawDescGZIP(), []int{12} + return file_cosmos_evm_vm_v2_evm_proto_rawDescGZIP(), []int{12} } func (x *EvmCoinInfo) GetDenom() string { @@ -10984,12 +10984,12 @@ func (x *EvmCoinInfo) GetDecimals() uint32 { return 0 } -var File_cosmos_evm_vm_v1_evm_proto protoreflect.FileDescriptor +var File_cosmos_evm_vm_v2_evm_proto protoreflect.FileDescriptor -var file_cosmos_evm_vm_v1_evm_proto_rawDesc = []byte{ +var file_cosmos_evm_vm_v2_evm_proto_rawDesc = []byte{ 0x0a, 0x1a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x6d, 0x2f, - 0x76, 0x31, 0x2f, 0x65, 0x76, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x63, 0x6f, - 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x1a, 0x11, + 0x76, 0x32, 0x2f, 0x65, 0x76, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x63, 0x6f, + 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x1a, 0x11, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2f, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x92, 0x04, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, @@ -11006,7 +11006,7 @@ var file_cosmos_evm_vm_v1_evm_proto_rawDesc = []byte{ 0x0b, 0x65, 0x76, 0x6d, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x12, 0x5d, 0x0a, 0x0e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, - 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x6f, + 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x42, 0x15, 0xc8, 0xde, 0x1f, 0x00, 0xe2, 0xde, 0x1f, 0x0d, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x0d, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x12, 0x3a, 0x0a, 0x19, 0x61, @@ -11019,7 +11019,7 @@ var file_cosmos_evm_vm_v1_evm_proto_rawDesc = []byte{ 0x72, 0x76, 0x65, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x12, 0x5c, 0x0a, 0x16, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, - 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x74, + 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x14, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x1b, 0x8a, 0xe7, 0xb0, 0x2a, 0x16, 0x63, 0x6f, @@ -11032,17 +11032,17 @@ var file_cosmos_evm_vm_v1_evm_proto_rawDesc = []byte{ 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x22, 0x91, 0x01, 0x0a, 0x0d, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x12, 0x41, 0x0a, 0x06, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, - 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, + 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x3d, 0x0a, 0x04, 0x63, 0x61, 0x6c, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, - 0x31, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x54, + 0x32, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x04, 0x63, 0x61, 0x6c, 0x6c, 0x22, 0xdd, 0x01, 0x0a, 0x11, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x63, 0x0a, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x63, 0x6f, 0x73, - 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, + 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x79, 0x70, 0x65, 0x42, 0x24, 0xe2, 0xde, 0x1f, 0x0a, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x79, 0x70, 0x65, 0xf2, 0xde, 0x1f, 0x12, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0x52, 0x0a, @@ -11191,7 +11191,7 @@ var file_cosmos_evm_vm_v1_evm_proto_rawDesc = []byte{ 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x29, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, - 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x22, 0x87, 0x03, + 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x6f, 0x67, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x22, 0x87, 0x03, 0x0a, 0x03, 0x4c, 0x6f, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, @@ -11225,7 +11225,7 @@ var file_cosmos_evm_vm_v1_evm_proto_rawDesc = []byte{ 0x62, 0x6c, 0x6f, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x6f, 0x6d, 0x12, 0x57, 0x0a, 0x07, 0x74, 0x78, 0x5f, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, - 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x6f, 0x67, 0x73, 0x42, 0x1b, 0xc8, 0xde, 0x1f, 0x00, 0xf2, 0xde, 0x1f, 0x0e, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x74, 0x78, 0x5f, 0x6c, 0x6f, 0x67, 0x73, 0x22, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x06, 0x74, 0x78, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x72, @@ -11257,7 +11257,7 @@ var file_cosmos_evm_vm_v1_evm_proto_rawDesc = []byte{ 0x67, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x3b, 0x0a, 0x09, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x63, 0x6f, 0x73, - 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, + 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x09, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x0d, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x42, 0x10, 0xea, 0xde, 0x1f, @@ -11301,58 +11301,58 @@ var file_cosmos_evm_vm_v1_evm_proto_rawDesc = []byte{ 0x1a, 0x8a, 0x9d, 0x20, 0x16, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x79, 0x70, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x1a, 0x04, 0x88, 0xa3, 0x1e, 0x00, 0x42, 0xab, 0x01, 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, - 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x42, 0x08, 0x45, 0x76, 0x6d, 0x50, + 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x42, 0x08, 0x45, 0x76, 0x6d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x26, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, - 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x6d, 0x2f, 0x76, 0x31, 0x3b, 0x76, 0x6d, 0x76, 0x31, 0xa2, 0x02, + 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x6d, 0x2f, 0x76, 0x32, 0x3b, 0x76, 0x6d, 0x76, 0x32, 0xa2, 0x02, 0x03, 0x43, 0x45, 0x56, 0xaa, 0x02, 0x10, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x45, 0x76, - 0x6d, 0x2e, 0x56, 0x6d, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x10, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, - 0x5c, 0x45, 0x76, 0x6d, 0x5c, 0x56, 0x6d, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1c, 0x43, 0x6f, 0x73, - 0x6d, 0x6f, 0x73, 0x5c, 0x45, 0x76, 0x6d, 0x5c, 0x56, 0x6d, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, + 0x6d, 0x2e, 0x56, 0x6d, 0x2e, 0x56, 0x32, 0xca, 0x02, 0x10, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, + 0x5c, 0x45, 0x76, 0x6d, 0x5c, 0x56, 0x6d, 0x5c, 0x56, 0x32, 0xe2, 0x02, 0x1c, 0x43, 0x6f, 0x73, + 0x6d, 0x6f, 0x73, 0x5c, 0x45, 0x76, 0x6d, 0x5c, 0x56, 0x6d, 0x5c, 0x56, 0x32, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x43, 0x6f, 0x73, 0x6d, - 0x6f, 0x73, 0x3a, 0x3a, 0x45, 0x76, 0x6d, 0x3a, 0x3a, 0x56, 0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x62, + 0x6f, 0x73, 0x3a, 0x3a, 0x45, 0x76, 0x6d, 0x3a, 0x3a, 0x56, 0x6d, 0x3a, 0x3a, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_cosmos_evm_vm_v1_evm_proto_rawDescOnce sync.Once - file_cosmos_evm_vm_v1_evm_proto_rawDescData = file_cosmos_evm_vm_v1_evm_proto_rawDesc + file_cosmos_evm_vm_v2_evm_proto_rawDescOnce sync.Once + file_cosmos_evm_vm_v2_evm_proto_rawDescData = file_cosmos_evm_vm_v2_evm_proto_rawDesc ) -func file_cosmos_evm_vm_v1_evm_proto_rawDescGZIP() []byte { - file_cosmos_evm_vm_v1_evm_proto_rawDescOnce.Do(func() { - file_cosmos_evm_vm_v1_evm_proto_rawDescData = protoimpl.X.CompressGZIP(file_cosmos_evm_vm_v1_evm_proto_rawDescData) +func file_cosmos_evm_vm_v2_evm_proto_rawDescGZIP() []byte { + file_cosmos_evm_vm_v2_evm_proto_rawDescOnce.Do(func() { + file_cosmos_evm_vm_v2_evm_proto_rawDescData = protoimpl.X.CompressGZIP(file_cosmos_evm_vm_v2_evm_proto_rawDescData) }) - return file_cosmos_evm_vm_v1_evm_proto_rawDescData -} - -var file_cosmos_evm_vm_v1_evm_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_cosmos_evm_vm_v1_evm_proto_msgTypes = make([]protoimpl.MessageInfo, 13) -var file_cosmos_evm_vm_v1_evm_proto_goTypes = []interface{}{ - (AccessType)(0), // 0: cosmos.evm.vm.v1.AccessType - (*Params)(nil), // 1: cosmos.evm.vm.v1.Params - (*ExtendedDenomOptions)(nil), // 2: cosmos.evm.vm.v1.ExtendedDenomOptions - (*AccessControl)(nil), // 3: cosmos.evm.vm.v1.AccessControl - (*AccessControlType)(nil), // 4: cosmos.evm.vm.v1.AccessControlType - (*ChainConfig)(nil), // 5: cosmos.evm.vm.v1.ChainConfig - (*State)(nil), // 6: cosmos.evm.vm.v1.State - (*TransactionLogs)(nil), // 7: cosmos.evm.vm.v1.TransactionLogs - (*Log)(nil), // 8: cosmos.evm.vm.v1.Log - (*TxResult)(nil), // 9: cosmos.evm.vm.v1.TxResult - (*AccessTuple)(nil), // 10: cosmos.evm.vm.v1.AccessTuple - (*TraceConfig)(nil), // 11: cosmos.evm.vm.v1.TraceConfig - (*Preinstall)(nil), // 12: cosmos.evm.vm.v1.Preinstall - (*EvmCoinInfo)(nil), // 13: cosmos.evm.vm.v1.EvmCoinInfo -} -var file_cosmos_evm_vm_v1_evm_proto_depIdxs = []int32{ - 3, // 0: cosmos.evm.vm.v1.Params.access_control:type_name -> cosmos.evm.vm.v1.AccessControl - 2, // 1: cosmos.evm.vm.v1.Params.extended_denom_options:type_name -> cosmos.evm.vm.v1.ExtendedDenomOptions - 4, // 2: cosmos.evm.vm.v1.AccessControl.create:type_name -> cosmos.evm.vm.v1.AccessControlType - 4, // 3: cosmos.evm.vm.v1.AccessControl.call:type_name -> cosmos.evm.vm.v1.AccessControlType - 0, // 4: cosmos.evm.vm.v1.AccessControlType.access_type:type_name -> cosmos.evm.vm.v1.AccessType - 8, // 5: cosmos.evm.vm.v1.TransactionLogs.logs:type_name -> cosmos.evm.vm.v1.Log - 7, // 6: cosmos.evm.vm.v1.TxResult.tx_logs:type_name -> cosmos.evm.vm.v1.TransactionLogs - 5, // 7: cosmos.evm.vm.v1.TraceConfig.overrides:type_name -> cosmos.evm.vm.v1.ChainConfig + return file_cosmos_evm_vm_v2_evm_proto_rawDescData +} + +var file_cosmos_evm_vm_v2_evm_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_cosmos_evm_vm_v2_evm_proto_msgTypes = make([]protoimpl.MessageInfo, 13) +var file_cosmos_evm_vm_v2_evm_proto_goTypes = []interface{}{ + (AccessType)(0), // 0: cosmos.evm.vm.v2.AccessType + (*Params)(nil), // 1: cosmos.evm.vm.v2.Params + (*ExtendedDenomOptions)(nil), // 2: cosmos.evm.vm.v2.ExtendedDenomOptions + (*AccessControl)(nil), // 3: cosmos.evm.vm.v2.AccessControl + (*AccessControlType)(nil), // 4: cosmos.evm.vm.v2.AccessControlType + (*ChainConfig)(nil), // 5: cosmos.evm.vm.v2.ChainConfig + (*State)(nil), // 6: cosmos.evm.vm.v2.State + (*TransactionLogs)(nil), // 7: cosmos.evm.vm.v2.TransactionLogs + (*Log)(nil), // 8: cosmos.evm.vm.v2.Log + (*TxResult)(nil), // 9: cosmos.evm.vm.v2.TxResult + (*AccessTuple)(nil), // 10: cosmos.evm.vm.v2.AccessTuple + (*TraceConfig)(nil), // 11: cosmos.evm.vm.v2.TraceConfig + (*Preinstall)(nil), // 12: cosmos.evm.vm.v2.Preinstall + (*EvmCoinInfo)(nil), // 13: cosmos.evm.vm.v2.EvmCoinInfo +} +var file_cosmos_evm_vm_v2_evm_proto_depIdxs = []int32{ + 3, // 0: cosmos.evm.vm.v2.Params.access_control:type_name -> cosmos.evm.vm.v2.AccessControl + 2, // 1: cosmos.evm.vm.v2.Params.extended_denom_options:type_name -> cosmos.evm.vm.v2.ExtendedDenomOptions + 4, // 2: cosmos.evm.vm.v2.AccessControl.create:type_name -> cosmos.evm.vm.v2.AccessControlType + 4, // 3: cosmos.evm.vm.v2.AccessControl.call:type_name -> cosmos.evm.vm.v2.AccessControlType + 0, // 4: cosmos.evm.vm.v2.AccessControlType.access_type:type_name -> cosmos.evm.vm.v2.AccessType + 8, // 5: cosmos.evm.vm.v2.TransactionLogs.logs:type_name -> cosmos.evm.vm.v2.Log + 7, // 6: cosmos.evm.vm.v2.TxResult.tx_logs:type_name -> cosmos.evm.vm.v2.TransactionLogs + 5, // 7: cosmos.evm.vm.v2.TraceConfig.overrides:type_name -> cosmos.evm.vm.v2.ChainConfig 8, // [8:8] is the sub-list for method output_type 8, // [8:8] is the sub-list for method input_type 8, // [8:8] is the sub-list for extension type_name @@ -11360,13 +11360,13 @@ var file_cosmos_evm_vm_v1_evm_proto_depIdxs = []int32{ 0, // [0:8] is the sub-list for field type_name } -func init() { file_cosmos_evm_vm_v1_evm_proto_init() } -func file_cosmos_evm_vm_v1_evm_proto_init() { - if File_cosmos_evm_vm_v1_evm_proto != nil { +func init() { file_cosmos_evm_vm_v2_evm_proto_init() } +func file_cosmos_evm_vm_v2_evm_proto_init() { + if File_cosmos_evm_vm_v2_evm_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_cosmos_evm_vm_v1_evm_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_evm_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Params); i { case 0: return &v.state @@ -11378,7 +11378,7 @@ func file_cosmos_evm_vm_v1_evm_proto_init() { return nil } } - file_cosmos_evm_vm_v1_evm_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_evm_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ExtendedDenomOptions); i { case 0: return &v.state @@ -11390,7 +11390,7 @@ func file_cosmos_evm_vm_v1_evm_proto_init() { return nil } } - file_cosmos_evm_vm_v1_evm_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_evm_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AccessControl); i { case 0: return &v.state @@ -11402,7 +11402,7 @@ func file_cosmos_evm_vm_v1_evm_proto_init() { return nil } } - file_cosmos_evm_vm_v1_evm_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_evm_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AccessControlType); i { case 0: return &v.state @@ -11414,7 +11414,7 @@ func file_cosmos_evm_vm_v1_evm_proto_init() { return nil } } - file_cosmos_evm_vm_v1_evm_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_evm_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ChainConfig); i { case 0: return &v.state @@ -11426,7 +11426,7 @@ func file_cosmos_evm_vm_v1_evm_proto_init() { return nil } } - file_cosmos_evm_vm_v1_evm_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_evm_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*State); i { case 0: return &v.state @@ -11438,7 +11438,7 @@ func file_cosmos_evm_vm_v1_evm_proto_init() { return nil } } - file_cosmos_evm_vm_v1_evm_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_evm_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TransactionLogs); i { case 0: return &v.state @@ -11450,7 +11450,7 @@ func file_cosmos_evm_vm_v1_evm_proto_init() { return nil } } - file_cosmos_evm_vm_v1_evm_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_evm_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Log); i { case 0: return &v.state @@ -11462,7 +11462,7 @@ func file_cosmos_evm_vm_v1_evm_proto_init() { return nil } } - file_cosmos_evm_vm_v1_evm_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_evm_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TxResult); i { case 0: return &v.state @@ -11474,7 +11474,7 @@ func file_cosmos_evm_vm_v1_evm_proto_init() { return nil } } - file_cosmos_evm_vm_v1_evm_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_evm_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AccessTuple); i { case 0: return &v.state @@ -11486,7 +11486,7 @@ func file_cosmos_evm_vm_v1_evm_proto_init() { return nil } } - file_cosmos_evm_vm_v1_evm_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_evm_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*TraceConfig); i { case 0: return &v.state @@ -11498,7 +11498,7 @@ func file_cosmos_evm_vm_v1_evm_proto_init() { return nil } } - file_cosmos_evm_vm_v1_evm_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_evm_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Preinstall); i { case 0: return &v.state @@ -11510,7 +11510,7 @@ func file_cosmos_evm_vm_v1_evm_proto_init() { return nil } } - file_cosmos_evm_vm_v1_evm_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_evm_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EvmCoinInfo); i { case 0: return &v.state @@ -11527,19 +11527,19 @@ func file_cosmos_evm_vm_v1_evm_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_cosmos_evm_vm_v1_evm_proto_rawDesc, + RawDescriptor: file_cosmos_evm_vm_v2_evm_proto_rawDesc, NumEnums: 1, NumMessages: 13, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_cosmos_evm_vm_v1_evm_proto_goTypes, - DependencyIndexes: file_cosmos_evm_vm_v1_evm_proto_depIdxs, - EnumInfos: file_cosmos_evm_vm_v1_evm_proto_enumTypes, - MessageInfos: file_cosmos_evm_vm_v1_evm_proto_msgTypes, + GoTypes: file_cosmos_evm_vm_v2_evm_proto_goTypes, + DependencyIndexes: file_cosmos_evm_vm_v2_evm_proto_depIdxs, + EnumInfos: file_cosmos_evm_vm_v2_evm_proto_enumTypes, + MessageInfos: file_cosmos_evm_vm_v2_evm_proto_msgTypes, }.Build() - File_cosmos_evm_vm_v1_evm_proto = out.File - file_cosmos_evm_vm_v1_evm_proto_rawDesc = nil - file_cosmos_evm_vm_v1_evm_proto_goTypes = nil - file_cosmos_evm_vm_v1_evm_proto_depIdxs = nil + File_cosmos_evm_vm_v2_evm_proto = out.File + file_cosmos_evm_vm_v2_evm_proto_rawDesc = nil + file_cosmos_evm_vm_v2_evm_proto_goTypes = nil + file_cosmos_evm_vm_v2_evm_proto_depIdxs = nil } diff --git a/api/cosmos/evm/vm/v1/genesis.pulsar.go b/api/cosmos/evm/vm/v2/genesis.pulsar.go similarity index 88% rename from api/cosmos/evm/vm/v1/genesis.pulsar.go rename to api/cosmos/evm/vm/v2/genesis.pulsar.go index 17e382db0..b2e920039 100644 --- a/api/cosmos/evm/vm/v1/genesis.pulsar.go +++ b/api/cosmos/evm/vm/v2/genesis.pulsar.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-pulsar. DO NOT EDIT. -package vmv1 +package vmv2 import ( _ "cosmossdk.io/api/amino" @@ -124,8 +124,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_genesis_proto_init() - md_GenesisState = File_cosmos_evm_vm_v1_genesis_proto.Messages().ByName("GenesisState") + file_cosmos_evm_vm_v2_genesis_proto_init() + md_GenesisState = File_cosmos_evm_vm_v2_genesis_proto.Messages().ByName("GenesisState") fd_GenesisState_accounts = md_GenesisState.Fields().ByName("accounts") fd_GenesisState_params = md_GenesisState.Fields().ByName("params") fd_GenesisState_preinstalls = md_GenesisState.Fields().ByName("preinstalls") @@ -140,7 +140,7 @@ func (x *GenesisState) ProtoReflect() protoreflect.Message { } func (x *GenesisState) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_genesis_proto_msgTypes[0] + mi := &file_cosmos_evm_vm_v2_genesis_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -229,17 +229,17 @@ func (x *fastReflection_GenesisState) Range(f func(protoreflect.FieldDescriptor, // a repeated field is populated if it is non-empty. func (x *fastReflection_GenesisState) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.GenesisState.accounts": + case "cosmos.evm.vm.v2.GenesisState.accounts": return len(x.Accounts) != 0 - case "cosmos.evm.vm.v1.GenesisState.params": + case "cosmos.evm.vm.v2.GenesisState.params": return x.Params != nil - case "cosmos.evm.vm.v1.GenesisState.preinstalls": + case "cosmos.evm.vm.v2.GenesisState.preinstalls": return len(x.Preinstalls) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.GenesisState")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.GenesisState does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.GenesisState does not contain field %s", fd.FullName())) } } @@ -251,17 +251,17 @@ func (x *fastReflection_GenesisState) Has(fd protoreflect.FieldDescriptor) bool // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_GenesisState) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.GenesisState.accounts": + case "cosmos.evm.vm.v2.GenesisState.accounts": x.Accounts = nil - case "cosmos.evm.vm.v1.GenesisState.params": + case "cosmos.evm.vm.v2.GenesisState.params": x.Params = nil - case "cosmos.evm.vm.v1.GenesisState.preinstalls": + case "cosmos.evm.vm.v2.GenesisState.preinstalls": x.Preinstalls = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.GenesisState")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.GenesisState does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.GenesisState does not contain field %s", fd.FullName())) } } @@ -273,16 +273,16 @@ func (x *fastReflection_GenesisState) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_GenesisState) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.GenesisState.accounts": + case "cosmos.evm.vm.v2.GenesisState.accounts": if len(x.Accounts) == 0 { return protoreflect.ValueOfList(&_GenesisState_1_list{}) } listValue := &_GenesisState_1_list{list: &x.Accounts} return protoreflect.ValueOfList(listValue) - case "cosmos.evm.vm.v1.GenesisState.params": + case "cosmos.evm.vm.v2.GenesisState.params": value := x.Params return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "cosmos.evm.vm.v1.GenesisState.preinstalls": + case "cosmos.evm.vm.v2.GenesisState.preinstalls": if len(x.Preinstalls) == 0 { return protoreflect.ValueOfList(&_GenesisState_3_list{}) } @@ -290,9 +290,9 @@ func (x *fastReflection_GenesisState) Get(descriptor protoreflect.FieldDescripto return protoreflect.ValueOfList(listValue) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.GenesisState")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.GenesisState does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.GenesisState does not contain field %s", descriptor.FullName())) } } @@ -308,21 +308,21 @@ func (x *fastReflection_GenesisState) Get(descriptor protoreflect.FieldDescripto // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_GenesisState) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.GenesisState.accounts": + case "cosmos.evm.vm.v2.GenesisState.accounts": lv := value.List() clv := lv.(*_GenesisState_1_list) x.Accounts = *clv.list - case "cosmos.evm.vm.v1.GenesisState.params": + case "cosmos.evm.vm.v2.GenesisState.params": x.Params = value.Message().Interface().(*Params) - case "cosmos.evm.vm.v1.GenesisState.preinstalls": + case "cosmos.evm.vm.v2.GenesisState.preinstalls": lv := value.List() clv := lv.(*_GenesisState_3_list) x.Preinstalls = *clv.list default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.GenesisState")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.GenesisState does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.GenesisState does not contain field %s", fd.FullName())) } } @@ -338,18 +338,18 @@ func (x *fastReflection_GenesisState) Set(fd protoreflect.FieldDescriptor, value // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_GenesisState) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.GenesisState.accounts": + case "cosmos.evm.vm.v2.GenesisState.accounts": if x.Accounts == nil { x.Accounts = []*GenesisAccount{} } value := &_GenesisState_1_list{list: &x.Accounts} return protoreflect.ValueOfList(value) - case "cosmos.evm.vm.v1.GenesisState.params": + case "cosmos.evm.vm.v2.GenesisState.params": if x.Params == nil { x.Params = new(Params) } return protoreflect.ValueOfMessage(x.Params.ProtoReflect()) - case "cosmos.evm.vm.v1.GenesisState.preinstalls": + case "cosmos.evm.vm.v2.GenesisState.preinstalls": if x.Preinstalls == nil { x.Preinstalls = []*Preinstall{} } @@ -357,9 +357,9 @@ func (x *fastReflection_GenesisState) Mutable(fd protoreflect.FieldDescriptor) p return protoreflect.ValueOfList(value) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.GenesisState")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.GenesisState does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.GenesisState does not contain field %s", fd.FullName())) } } @@ -368,20 +368,20 @@ func (x *fastReflection_GenesisState) Mutable(fd protoreflect.FieldDescriptor) p // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_GenesisState) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.GenesisState.accounts": + case "cosmos.evm.vm.v2.GenesisState.accounts": list := []*GenesisAccount{} return protoreflect.ValueOfList(&_GenesisState_1_list{list: &list}) - case "cosmos.evm.vm.v1.GenesisState.params": + case "cosmos.evm.vm.v2.GenesisState.params": m := new(Params) return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "cosmos.evm.vm.v1.GenesisState.preinstalls": + case "cosmos.evm.vm.v2.GenesisState.preinstalls": list := []*Preinstall{} return protoreflect.ValueOfList(&_GenesisState_3_list{list: &list}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.GenesisState")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.GenesisState does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.GenesisState does not contain field %s", fd.FullName())) } } @@ -391,7 +391,7 @@ func (x *fastReflection_GenesisState) NewField(fd protoreflect.FieldDescriptor) func (x *fastReflection_GenesisState) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.GenesisState", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.GenesisState", d.FullName())) } panic("unreachable") } @@ -784,8 +784,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_genesis_proto_init() - md_GenesisAccount = File_cosmos_evm_vm_v1_genesis_proto.Messages().ByName("GenesisAccount") + file_cosmos_evm_vm_v2_genesis_proto_init() + md_GenesisAccount = File_cosmos_evm_vm_v2_genesis_proto.Messages().ByName("GenesisAccount") fd_GenesisAccount_address = md_GenesisAccount.Fields().ByName("address") fd_GenesisAccount_code = md_GenesisAccount.Fields().ByName("code") fd_GenesisAccount_storage = md_GenesisAccount.Fields().ByName("storage") @@ -800,7 +800,7 @@ func (x *GenesisAccount) ProtoReflect() protoreflect.Message { } func (x *GenesisAccount) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_genesis_proto_msgTypes[1] + mi := &file_cosmos_evm_vm_v2_genesis_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -889,17 +889,17 @@ func (x *fastReflection_GenesisAccount) Range(f func(protoreflect.FieldDescripto // a repeated field is populated if it is non-empty. func (x *fastReflection_GenesisAccount) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.GenesisAccount.address": + case "cosmos.evm.vm.v2.GenesisAccount.address": return x.Address != "" - case "cosmos.evm.vm.v1.GenesisAccount.code": + case "cosmos.evm.vm.v2.GenesisAccount.code": return x.Code != "" - case "cosmos.evm.vm.v1.GenesisAccount.storage": + case "cosmos.evm.vm.v2.GenesisAccount.storage": return len(x.Storage) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.GenesisAccount")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.GenesisAccount")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.GenesisAccount does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.GenesisAccount does not contain field %s", fd.FullName())) } } @@ -911,17 +911,17 @@ func (x *fastReflection_GenesisAccount) Has(fd protoreflect.FieldDescriptor) boo // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_GenesisAccount) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.GenesisAccount.address": + case "cosmos.evm.vm.v2.GenesisAccount.address": x.Address = "" - case "cosmos.evm.vm.v1.GenesisAccount.code": + case "cosmos.evm.vm.v2.GenesisAccount.code": x.Code = "" - case "cosmos.evm.vm.v1.GenesisAccount.storage": + case "cosmos.evm.vm.v2.GenesisAccount.storage": x.Storage = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.GenesisAccount")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.GenesisAccount")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.GenesisAccount does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.GenesisAccount does not contain field %s", fd.FullName())) } } @@ -933,13 +933,13 @@ func (x *fastReflection_GenesisAccount) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_GenesisAccount) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.GenesisAccount.address": + case "cosmos.evm.vm.v2.GenesisAccount.address": value := x.Address return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.GenesisAccount.code": + case "cosmos.evm.vm.v2.GenesisAccount.code": value := x.Code return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.GenesisAccount.storage": + case "cosmos.evm.vm.v2.GenesisAccount.storage": if len(x.Storage) == 0 { return protoreflect.ValueOfList(&_GenesisAccount_3_list{}) } @@ -947,9 +947,9 @@ func (x *fastReflection_GenesisAccount) Get(descriptor protoreflect.FieldDescrip return protoreflect.ValueOfList(listValue) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.GenesisAccount")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.GenesisAccount")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.GenesisAccount does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.GenesisAccount does not contain field %s", descriptor.FullName())) } } @@ -965,19 +965,19 @@ func (x *fastReflection_GenesisAccount) Get(descriptor protoreflect.FieldDescrip // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_GenesisAccount) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.GenesisAccount.address": + case "cosmos.evm.vm.v2.GenesisAccount.address": x.Address = value.Interface().(string) - case "cosmos.evm.vm.v1.GenesisAccount.code": + case "cosmos.evm.vm.v2.GenesisAccount.code": x.Code = value.Interface().(string) - case "cosmos.evm.vm.v1.GenesisAccount.storage": + case "cosmos.evm.vm.v2.GenesisAccount.storage": lv := value.List() clv := lv.(*_GenesisAccount_3_list) x.Storage = *clv.list default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.GenesisAccount")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.GenesisAccount")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.GenesisAccount does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.GenesisAccount does not contain field %s", fd.FullName())) } } @@ -993,21 +993,21 @@ func (x *fastReflection_GenesisAccount) Set(fd protoreflect.FieldDescriptor, val // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_GenesisAccount) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.GenesisAccount.storage": + case "cosmos.evm.vm.v2.GenesisAccount.storage": if x.Storage == nil { x.Storage = []*State{} } value := &_GenesisAccount_3_list{list: &x.Storage} return protoreflect.ValueOfList(value) - case "cosmos.evm.vm.v1.GenesisAccount.address": - panic(fmt.Errorf("field address of message cosmos.evm.vm.v1.GenesisAccount is not mutable")) - case "cosmos.evm.vm.v1.GenesisAccount.code": - panic(fmt.Errorf("field code of message cosmos.evm.vm.v1.GenesisAccount is not mutable")) + case "cosmos.evm.vm.v2.GenesisAccount.address": + panic(fmt.Errorf("field address of message cosmos.evm.vm.v2.GenesisAccount is not mutable")) + case "cosmos.evm.vm.v2.GenesisAccount.code": + panic(fmt.Errorf("field code of message cosmos.evm.vm.v2.GenesisAccount is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.GenesisAccount")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.GenesisAccount")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.GenesisAccount does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.GenesisAccount does not contain field %s", fd.FullName())) } } @@ -1016,18 +1016,18 @@ func (x *fastReflection_GenesisAccount) Mutable(fd protoreflect.FieldDescriptor) // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_GenesisAccount) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.GenesisAccount.address": + case "cosmos.evm.vm.v2.GenesisAccount.address": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.GenesisAccount.code": + case "cosmos.evm.vm.v2.GenesisAccount.code": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.GenesisAccount.storage": + case "cosmos.evm.vm.v2.GenesisAccount.storage": list := []*State{} return protoreflect.ValueOfList(&_GenesisAccount_3_list{list: &list}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.GenesisAccount")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.GenesisAccount")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.GenesisAccount does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.GenesisAccount does not contain field %s", fd.FullName())) } } @@ -1037,7 +1037,7 @@ func (x *fastReflection_GenesisAccount) NewField(fd protoreflect.FieldDescriptor func (x *fastReflection_GenesisAccount) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.GenesisAccount", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.GenesisAccount", d.FullName())) } panic("unreachable") } @@ -1351,7 +1351,7 @@ func (x *fastReflection_GenesisAccount) ProtoMethods() *protoiface.Methods { // versions: // protoc-gen-go v1.27.0 // protoc (unknown) -// source: cosmos/evm/vm/v1/genesis.proto +// source: cosmos/evm/vm/v2/genesis.proto const ( // Verify that this generated code is sufficiently up-to-date. @@ -1377,7 +1377,7 @@ type GenesisState struct { func (x *GenesisState) Reset() { *x = GenesisState{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_genesis_proto_msgTypes[0] + mi := &file_cosmos_evm_vm_v2_genesis_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1391,7 +1391,7 @@ func (*GenesisState) ProtoMessage() {} // Deprecated: Use GenesisState.ProtoReflect.Descriptor instead. func (*GenesisState) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_genesis_proto_rawDescGZIP(), []int{0} + return file_cosmos_evm_vm_v2_genesis_proto_rawDescGZIP(), []int{0} } func (x *GenesisState) GetAccounts() []*GenesisAccount { @@ -1434,7 +1434,7 @@ type GenesisAccount struct { func (x *GenesisAccount) Reset() { *x = GenesisAccount{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_genesis_proto_msgTypes[1] + mi := &file_cosmos_evm_vm_v2_genesis_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1448,7 +1448,7 @@ func (*GenesisAccount) ProtoMessage() {} // Deprecated: Use GenesisAccount.ProtoReflect.Descriptor instead. func (*GenesisAccount) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_genesis_proto_rawDescGZIP(), []int{1} + return file_cosmos_evm_vm_v2_genesis_proto_rawDescGZIP(), []int{1} } func (x *GenesisAccount) GetAddress() string { @@ -1472,29 +1472,29 @@ func (x *GenesisAccount) GetStorage() []*State { return nil } -var File_cosmos_evm_vm_v1_genesis_proto protoreflect.FileDescriptor +var File_cosmos_evm_vm_v2_genesis_proto protoreflect.FileDescriptor -var file_cosmos_evm_vm_v1_genesis_proto_rawDesc = []byte{ +var file_cosmos_evm_vm_v2_genesis_proto_rawDesc = []byte{ 0x0a, 0x1e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x6d, 0x2f, - 0x76, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x76, 0x32, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, - 0x76, 0x31, 0x1a, 0x11, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2f, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2e, + 0x76, 0x32, 0x1a, 0x11, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2f, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x65, 0x76, - 0x6d, 0x2f, 0x76, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x76, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6d, 0x2f, 0x76, 0x6d, 0x2f, 0x76, 0x32, 0x2f, 0x65, 0x76, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xdf, 0x01, 0x0a, 0x0c, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x47, 0x0a, 0x08, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x63, 0x6f, 0x73, - 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, + 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x09, 0xc8, 0xde, 0x1f, 0x00, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x08, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x3b, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, - 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x09, 0xc8, 0xde, 0x1f, + 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x09, 0xc8, 0xde, 0x1f, 0x00, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x49, 0x0a, 0x0b, 0x70, 0x72, 0x65, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, - 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x65, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, + 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x72, 0x65, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x42, 0x09, 0xc8, 0xde, 0x1f, 0x00, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x0b, 0x70, 0x72, 0x65, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x73, 0x22, 0x87, 0x01, 0x0a, 0x0e, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, @@ -1502,48 +1502,48 @@ var file_cosmos_evm_vm_v1_genesis_proto_rawDesc = []byte{ 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x47, 0x0a, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x6f, - 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x53, + 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x14, 0xc8, 0xde, 0x1f, 0x00, 0xaa, 0xdf, 0x1f, 0x07, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x42, 0xaf, 0x01, 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x73, 0x6d, - 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x47, 0x65, + 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x42, 0x0c, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x26, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, - 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x6d, 0x2f, 0x76, 0x31, 0x3b, - 0x76, 0x6d, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x45, 0x56, 0xaa, 0x02, 0x10, 0x43, 0x6f, 0x73, - 0x6d, 0x6f, 0x73, 0x2e, 0x45, 0x76, 0x6d, 0x2e, 0x56, 0x6d, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x10, - 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x45, 0x76, 0x6d, 0x5c, 0x56, 0x6d, 0x5c, 0x56, 0x31, + 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x6d, 0x2f, 0x76, 0x32, 0x3b, + 0x76, 0x6d, 0x76, 0x32, 0xa2, 0x02, 0x03, 0x43, 0x45, 0x56, 0xaa, 0x02, 0x10, 0x43, 0x6f, 0x73, + 0x6d, 0x6f, 0x73, 0x2e, 0x45, 0x76, 0x6d, 0x2e, 0x56, 0x6d, 0x2e, 0x56, 0x32, 0xca, 0x02, 0x10, + 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x45, 0x76, 0x6d, 0x5c, 0x56, 0x6d, 0x5c, 0x56, 0x32, 0xe2, 0x02, 0x1c, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x45, 0x76, 0x6d, 0x5c, 0x56, 0x6d, - 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, + 0x5c, 0x56, 0x32, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x3a, 0x3a, 0x45, 0x76, 0x6d, 0x3a, 0x3a, 0x56, - 0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6d, 0x3a, 0x3a, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_cosmos_evm_vm_v1_genesis_proto_rawDescOnce sync.Once - file_cosmos_evm_vm_v1_genesis_proto_rawDescData = file_cosmos_evm_vm_v1_genesis_proto_rawDesc + file_cosmos_evm_vm_v2_genesis_proto_rawDescOnce sync.Once + file_cosmos_evm_vm_v2_genesis_proto_rawDescData = file_cosmos_evm_vm_v2_genesis_proto_rawDesc ) -func file_cosmos_evm_vm_v1_genesis_proto_rawDescGZIP() []byte { - file_cosmos_evm_vm_v1_genesis_proto_rawDescOnce.Do(func() { - file_cosmos_evm_vm_v1_genesis_proto_rawDescData = protoimpl.X.CompressGZIP(file_cosmos_evm_vm_v1_genesis_proto_rawDescData) +func file_cosmos_evm_vm_v2_genesis_proto_rawDescGZIP() []byte { + file_cosmos_evm_vm_v2_genesis_proto_rawDescOnce.Do(func() { + file_cosmos_evm_vm_v2_genesis_proto_rawDescData = protoimpl.X.CompressGZIP(file_cosmos_evm_vm_v2_genesis_proto_rawDescData) }) - return file_cosmos_evm_vm_v1_genesis_proto_rawDescData -} - -var file_cosmos_evm_vm_v1_genesis_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_cosmos_evm_vm_v1_genesis_proto_goTypes = []interface{}{ - (*GenesisState)(nil), // 0: cosmos.evm.vm.v1.GenesisState - (*GenesisAccount)(nil), // 1: cosmos.evm.vm.v1.GenesisAccount - (*Params)(nil), // 2: cosmos.evm.vm.v1.Params - (*Preinstall)(nil), // 3: cosmos.evm.vm.v1.Preinstall - (*State)(nil), // 4: cosmos.evm.vm.v1.State -} -var file_cosmos_evm_vm_v1_genesis_proto_depIdxs = []int32{ - 1, // 0: cosmos.evm.vm.v1.GenesisState.accounts:type_name -> cosmos.evm.vm.v1.GenesisAccount - 2, // 1: cosmos.evm.vm.v1.GenesisState.params:type_name -> cosmos.evm.vm.v1.Params - 3, // 2: cosmos.evm.vm.v1.GenesisState.preinstalls:type_name -> cosmos.evm.vm.v1.Preinstall - 4, // 3: cosmos.evm.vm.v1.GenesisAccount.storage:type_name -> cosmos.evm.vm.v1.State + return file_cosmos_evm_vm_v2_genesis_proto_rawDescData +} + +var file_cosmos_evm_vm_v2_genesis_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_cosmos_evm_vm_v2_genesis_proto_goTypes = []interface{}{ + (*GenesisState)(nil), // 0: cosmos.evm.vm.v2.GenesisState + (*GenesisAccount)(nil), // 1: cosmos.evm.vm.v2.GenesisAccount + (*Params)(nil), // 2: cosmos.evm.vm.v2.Params + (*Preinstall)(nil), // 3: cosmos.evm.vm.v2.Preinstall + (*State)(nil), // 4: cosmos.evm.vm.v2.State +} +var file_cosmos_evm_vm_v2_genesis_proto_depIdxs = []int32{ + 1, // 0: cosmos.evm.vm.v2.GenesisState.accounts:type_name -> cosmos.evm.vm.v2.GenesisAccount + 2, // 1: cosmos.evm.vm.v2.GenesisState.params:type_name -> cosmos.evm.vm.v2.Params + 3, // 2: cosmos.evm.vm.v2.GenesisState.preinstalls:type_name -> cosmos.evm.vm.v2.Preinstall + 4, // 3: cosmos.evm.vm.v2.GenesisAccount.storage:type_name -> cosmos.evm.vm.v2.State 4, // [4:4] is the sub-list for method output_type 4, // [4:4] is the sub-list for method input_type 4, // [4:4] is the sub-list for extension type_name @@ -1551,14 +1551,14 @@ var file_cosmos_evm_vm_v1_genesis_proto_depIdxs = []int32{ 0, // [0:4] is the sub-list for field type_name } -func init() { file_cosmos_evm_vm_v1_genesis_proto_init() } -func file_cosmos_evm_vm_v1_genesis_proto_init() { - if File_cosmos_evm_vm_v1_genesis_proto != nil { +func init() { file_cosmos_evm_vm_v2_genesis_proto_init() } +func file_cosmos_evm_vm_v2_genesis_proto_init() { + if File_cosmos_evm_vm_v2_genesis_proto != nil { return } - file_cosmos_evm_vm_v1_evm_proto_init() + file_cosmos_evm_vm_v2_evm_proto_init() if !protoimpl.UnsafeEnabled { - file_cosmos_evm_vm_v1_genesis_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_genesis_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GenesisState); i { case 0: return &v.state @@ -1570,7 +1570,7 @@ func file_cosmos_evm_vm_v1_genesis_proto_init() { return nil } } - file_cosmos_evm_vm_v1_genesis_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_genesis_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GenesisAccount); i { case 0: return &v.state @@ -1587,18 +1587,18 @@ func file_cosmos_evm_vm_v1_genesis_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_cosmos_evm_vm_v1_genesis_proto_rawDesc, + RawDescriptor: file_cosmos_evm_vm_v2_genesis_proto_rawDesc, NumEnums: 0, NumMessages: 2, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_cosmos_evm_vm_v1_genesis_proto_goTypes, - DependencyIndexes: file_cosmos_evm_vm_v1_genesis_proto_depIdxs, - MessageInfos: file_cosmos_evm_vm_v1_genesis_proto_msgTypes, + GoTypes: file_cosmos_evm_vm_v2_genesis_proto_goTypes, + DependencyIndexes: file_cosmos_evm_vm_v2_genesis_proto_depIdxs, + MessageInfos: file_cosmos_evm_vm_v2_genesis_proto_msgTypes, }.Build() - File_cosmos_evm_vm_v1_genesis_proto = out.File - file_cosmos_evm_vm_v1_genesis_proto_rawDesc = nil - file_cosmos_evm_vm_v1_genesis_proto_goTypes = nil - file_cosmos_evm_vm_v1_genesis_proto_depIdxs = nil + File_cosmos_evm_vm_v2_genesis_proto = out.File + file_cosmos_evm_vm_v2_genesis_proto_rawDesc = nil + file_cosmos_evm_vm_v2_genesis_proto_goTypes = nil + file_cosmos_evm_vm_v2_genesis_proto_depIdxs = nil } diff --git a/api/cosmos/evm/vm/v1/msg.go b/api/cosmos/evm/vm/v2/msg.go similarity index 97% rename from api/cosmos/evm/vm/v1/msg.go rename to api/cosmos/evm/vm/v2/msg.go index 63600b3bb..2cfbff2ee 100644 --- a/api/cosmos/evm/vm/v1/msg.go +++ b/api/cosmos/evm/vm/v2/msg.go @@ -1,4 +1,4 @@ -package vmv1 +package vmv2 import ( "fmt" diff --git a/api/cosmos/evm/vm/v1/query.pulsar.go b/api/cosmos/evm/vm/v2/query.pulsar.go similarity index 89% rename from api/cosmos/evm/vm/v1/query.pulsar.go rename to api/cosmos/evm/vm/v2/query.pulsar.go index 470635d47..c1b30202d 100644 --- a/api/cosmos/evm/vm/v1/query.pulsar.go +++ b/api/cosmos/evm/vm/v2/query.pulsar.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-pulsar. DO NOT EDIT. -package vmv1 +package vmv2 import ( _ "cosmossdk.io/api/amino" @@ -22,8 +22,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_query_proto_init() - md_QueryConfigRequest = File_cosmos_evm_vm_v1_query_proto.Messages().ByName("QueryConfigRequest") + file_cosmos_evm_vm_v2_query_proto_init() + md_QueryConfigRequest = File_cosmos_evm_vm_v2_query_proto.Messages().ByName("QueryConfigRequest") } var _ protoreflect.Message = (*fastReflection_QueryConfigRequest)(nil) @@ -35,7 +35,7 @@ func (x *QueryConfigRequest) ProtoReflect() protoreflect.Message { } func (x *QueryConfigRequest) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[0] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -108,9 +108,9 @@ func (x *fastReflection_QueryConfigRequest) Has(fd protoreflect.FieldDescriptor) switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryConfigRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryConfigRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryConfigRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryConfigRequest does not contain field %s", fd.FullName())) } } @@ -124,9 +124,9 @@ func (x *fastReflection_QueryConfigRequest) Clear(fd protoreflect.FieldDescripto switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryConfigRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryConfigRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryConfigRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryConfigRequest does not contain field %s", fd.FullName())) } } @@ -140,9 +140,9 @@ func (x *fastReflection_QueryConfigRequest) Get(descriptor protoreflect.FieldDes switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryConfigRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryConfigRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryConfigRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryConfigRequest does not contain field %s", descriptor.FullName())) } } @@ -160,9 +160,9 @@ func (x *fastReflection_QueryConfigRequest) Set(fd protoreflect.FieldDescriptor, switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryConfigRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryConfigRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryConfigRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryConfigRequest does not contain field %s", fd.FullName())) } } @@ -180,9 +180,9 @@ func (x *fastReflection_QueryConfigRequest) Mutable(fd protoreflect.FieldDescrip switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryConfigRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryConfigRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryConfigRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryConfigRequest does not contain field %s", fd.FullName())) } } @@ -193,9 +193,9 @@ func (x *fastReflection_QueryConfigRequest) NewField(fd protoreflect.FieldDescri switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryConfigRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryConfigRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryConfigRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryConfigRequest does not contain field %s", fd.FullName())) } } @@ -205,7 +205,7 @@ func (x *fastReflection_QueryConfigRequest) NewField(fd protoreflect.FieldDescri func (x *fastReflection_QueryConfigRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.QueryConfigRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.QueryConfigRequest", d.FullName())) } panic("unreachable") } @@ -379,8 +379,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_query_proto_init() - md_QueryConfigResponse = File_cosmos_evm_vm_v1_query_proto.Messages().ByName("QueryConfigResponse") + file_cosmos_evm_vm_v2_query_proto_init() + md_QueryConfigResponse = File_cosmos_evm_vm_v2_query_proto.Messages().ByName("QueryConfigResponse") fd_QueryConfigResponse_config = md_QueryConfigResponse.Fields().ByName("config") } @@ -393,7 +393,7 @@ func (x *QueryConfigResponse) ProtoReflect() protoreflect.Message { } func (x *QueryConfigResponse) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[1] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -470,13 +470,13 @@ func (x *fastReflection_QueryConfigResponse) Range(f func(protoreflect.FieldDesc // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryConfigResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryConfigResponse.config": + case "cosmos.evm.vm.v2.QueryConfigResponse.config": return x.Config != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryConfigResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryConfigResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryConfigResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryConfigResponse does not contain field %s", fd.FullName())) } } @@ -488,13 +488,13 @@ func (x *fastReflection_QueryConfigResponse) Has(fd protoreflect.FieldDescriptor // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryConfigResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryConfigResponse.config": + case "cosmos.evm.vm.v2.QueryConfigResponse.config": x.Config = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryConfigResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryConfigResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryConfigResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryConfigResponse does not contain field %s", fd.FullName())) } } @@ -506,14 +506,14 @@ func (x *fastReflection_QueryConfigResponse) Clear(fd protoreflect.FieldDescript // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryConfigResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.QueryConfigResponse.config": + case "cosmos.evm.vm.v2.QueryConfigResponse.config": value := x.Config return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryConfigResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryConfigResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryConfigResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryConfigResponse does not contain field %s", descriptor.FullName())) } } @@ -529,13 +529,13 @@ func (x *fastReflection_QueryConfigResponse) Get(descriptor protoreflect.FieldDe // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryConfigResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryConfigResponse.config": + case "cosmos.evm.vm.v2.QueryConfigResponse.config": x.Config = value.Message().Interface().(*ChainConfig) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryConfigResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryConfigResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryConfigResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryConfigResponse does not contain field %s", fd.FullName())) } } @@ -551,16 +551,16 @@ func (x *fastReflection_QueryConfigResponse) Set(fd protoreflect.FieldDescriptor // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryConfigResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryConfigResponse.config": + case "cosmos.evm.vm.v2.QueryConfigResponse.config": if x.Config == nil { x.Config = new(ChainConfig) } return protoreflect.ValueOfMessage(x.Config.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryConfigResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryConfigResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryConfigResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryConfigResponse does not contain field %s", fd.FullName())) } } @@ -569,14 +569,14 @@ func (x *fastReflection_QueryConfigResponse) Mutable(fd protoreflect.FieldDescri // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryConfigResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryConfigResponse.config": + case "cosmos.evm.vm.v2.QueryConfigResponse.config": m := new(ChainConfig) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryConfigResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryConfigResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryConfigResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryConfigResponse does not contain field %s", fd.FullName())) } } @@ -586,7 +586,7 @@ func (x *fastReflection_QueryConfigResponse) NewField(fd protoreflect.FieldDescr func (x *fastReflection_QueryConfigResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.QueryConfigResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.QueryConfigResponse", d.FullName())) } panic("unreachable") } @@ -814,8 +814,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_query_proto_init() - md_QueryAccountRequest = File_cosmos_evm_vm_v1_query_proto.Messages().ByName("QueryAccountRequest") + file_cosmos_evm_vm_v2_query_proto_init() + md_QueryAccountRequest = File_cosmos_evm_vm_v2_query_proto.Messages().ByName("QueryAccountRequest") fd_QueryAccountRequest_address = md_QueryAccountRequest.Fields().ByName("address") } @@ -828,7 +828,7 @@ func (x *QueryAccountRequest) ProtoReflect() protoreflect.Message { } func (x *QueryAccountRequest) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[2] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -905,13 +905,13 @@ func (x *fastReflection_QueryAccountRequest) Range(f func(protoreflect.FieldDesc // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryAccountRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryAccountRequest.address": + case "cosmos.evm.vm.v2.QueryAccountRequest.address": return x.Address != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryAccountRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryAccountRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryAccountRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryAccountRequest does not contain field %s", fd.FullName())) } } @@ -923,13 +923,13 @@ func (x *fastReflection_QueryAccountRequest) Has(fd protoreflect.FieldDescriptor // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryAccountRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryAccountRequest.address": + case "cosmos.evm.vm.v2.QueryAccountRequest.address": x.Address = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryAccountRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryAccountRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryAccountRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryAccountRequest does not contain field %s", fd.FullName())) } } @@ -941,14 +941,14 @@ func (x *fastReflection_QueryAccountRequest) Clear(fd protoreflect.FieldDescript // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryAccountRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.QueryAccountRequest.address": + case "cosmos.evm.vm.v2.QueryAccountRequest.address": value := x.Address return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryAccountRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryAccountRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryAccountRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryAccountRequest does not contain field %s", descriptor.FullName())) } } @@ -964,13 +964,13 @@ func (x *fastReflection_QueryAccountRequest) Get(descriptor protoreflect.FieldDe // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryAccountRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryAccountRequest.address": + case "cosmos.evm.vm.v2.QueryAccountRequest.address": x.Address = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryAccountRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryAccountRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryAccountRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryAccountRequest does not contain field %s", fd.FullName())) } } @@ -986,13 +986,13 @@ func (x *fastReflection_QueryAccountRequest) Set(fd protoreflect.FieldDescriptor // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryAccountRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryAccountRequest.address": - panic(fmt.Errorf("field address of message cosmos.evm.vm.v1.QueryAccountRequest is not mutable")) + case "cosmos.evm.vm.v2.QueryAccountRequest.address": + panic(fmt.Errorf("field address of message cosmos.evm.vm.v2.QueryAccountRequest is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryAccountRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryAccountRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryAccountRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryAccountRequest does not contain field %s", fd.FullName())) } } @@ -1001,13 +1001,13 @@ func (x *fastReflection_QueryAccountRequest) Mutable(fd protoreflect.FieldDescri // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryAccountRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryAccountRequest.address": + case "cosmos.evm.vm.v2.QueryAccountRequest.address": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryAccountRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryAccountRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryAccountRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryAccountRequest does not contain field %s", fd.FullName())) } } @@ -1017,7 +1017,7 @@ func (x *fastReflection_QueryAccountRequest) NewField(fd protoreflect.FieldDescr func (x *fastReflection_QueryAccountRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.QueryAccountRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.QueryAccountRequest", d.FullName())) } panic("unreachable") } @@ -1236,8 +1236,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_query_proto_init() - md_QueryAccountResponse = File_cosmos_evm_vm_v1_query_proto.Messages().ByName("QueryAccountResponse") + file_cosmos_evm_vm_v2_query_proto_init() + md_QueryAccountResponse = File_cosmos_evm_vm_v2_query_proto.Messages().ByName("QueryAccountResponse") fd_QueryAccountResponse_balance = md_QueryAccountResponse.Fields().ByName("balance") fd_QueryAccountResponse_code_hash = md_QueryAccountResponse.Fields().ByName("code_hash") fd_QueryAccountResponse_nonce = md_QueryAccountResponse.Fields().ByName("nonce") @@ -1252,7 +1252,7 @@ func (x *QueryAccountResponse) ProtoReflect() protoreflect.Message { } func (x *QueryAccountResponse) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[3] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1341,17 +1341,17 @@ func (x *fastReflection_QueryAccountResponse) Range(f func(protoreflect.FieldDes // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryAccountResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryAccountResponse.balance": + case "cosmos.evm.vm.v2.QueryAccountResponse.balance": return x.Balance != "" - case "cosmos.evm.vm.v1.QueryAccountResponse.code_hash": + case "cosmos.evm.vm.v2.QueryAccountResponse.code_hash": return x.CodeHash != "" - case "cosmos.evm.vm.v1.QueryAccountResponse.nonce": + case "cosmos.evm.vm.v2.QueryAccountResponse.nonce": return x.Nonce != uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryAccountResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryAccountResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryAccountResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryAccountResponse does not contain field %s", fd.FullName())) } } @@ -1363,17 +1363,17 @@ func (x *fastReflection_QueryAccountResponse) Has(fd protoreflect.FieldDescripto // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryAccountResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryAccountResponse.balance": + case "cosmos.evm.vm.v2.QueryAccountResponse.balance": x.Balance = "" - case "cosmos.evm.vm.v1.QueryAccountResponse.code_hash": + case "cosmos.evm.vm.v2.QueryAccountResponse.code_hash": x.CodeHash = "" - case "cosmos.evm.vm.v1.QueryAccountResponse.nonce": + case "cosmos.evm.vm.v2.QueryAccountResponse.nonce": x.Nonce = uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryAccountResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryAccountResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryAccountResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryAccountResponse does not contain field %s", fd.FullName())) } } @@ -1385,20 +1385,20 @@ func (x *fastReflection_QueryAccountResponse) Clear(fd protoreflect.FieldDescrip // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryAccountResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.QueryAccountResponse.balance": + case "cosmos.evm.vm.v2.QueryAccountResponse.balance": value := x.Balance return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.QueryAccountResponse.code_hash": + case "cosmos.evm.vm.v2.QueryAccountResponse.code_hash": value := x.CodeHash return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.QueryAccountResponse.nonce": + case "cosmos.evm.vm.v2.QueryAccountResponse.nonce": value := x.Nonce return protoreflect.ValueOfUint64(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryAccountResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryAccountResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryAccountResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryAccountResponse does not contain field %s", descriptor.FullName())) } } @@ -1414,17 +1414,17 @@ func (x *fastReflection_QueryAccountResponse) Get(descriptor protoreflect.FieldD // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryAccountResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryAccountResponse.balance": + case "cosmos.evm.vm.v2.QueryAccountResponse.balance": x.Balance = value.Interface().(string) - case "cosmos.evm.vm.v1.QueryAccountResponse.code_hash": + case "cosmos.evm.vm.v2.QueryAccountResponse.code_hash": x.CodeHash = value.Interface().(string) - case "cosmos.evm.vm.v1.QueryAccountResponse.nonce": + case "cosmos.evm.vm.v2.QueryAccountResponse.nonce": x.Nonce = value.Uint() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryAccountResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryAccountResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryAccountResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryAccountResponse does not contain field %s", fd.FullName())) } } @@ -1440,17 +1440,17 @@ func (x *fastReflection_QueryAccountResponse) Set(fd protoreflect.FieldDescripto // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryAccountResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryAccountResponse.balance": - panic(fmt.Errorf("field balance of message cosmos.evm.vm.v1.QueryAccountResponse is not mutable")) - case "cosmos.evm.vm.v1.QueryAccountResponse.code_hash": - panic(fmt.Errorf("field code_hash of message cosmos.evm.vm.v1.QueryAccountResponse is not mutable")) - case "cosmos.evm.vm.v1.QueryAccountResponse.nonce": - panic(fmt.Errorf("field nonce of message cosmos.evm.vm.v1.QueryAccountResponse is not mutable")) + case "cosmos.evm.vm.v2.QueryAccountResponse.balance": + panic(fmt.Errorf("field balance of message cosmos.evm.vm.v2.QueryAccountResponse is not mutable")) + case "cosmos.evm.vm.v2.QueryAccountResponse.code_hash": + panic(fmt.Errorf("field code_hash of message cosmos.evm.vm.v2.QueryAccountResponse is not mutable")) + case "cosmos.evm.vm.v2.QueryAccountResponse.nonce": + panic(fmt.Errorf("field nonce of message cosmos.evm.vm.v2.QueryAccountResponse is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryAccountResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryAccountResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryAccountResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryAccountResponse does not contain field %s", fd.FullName())) } } @@ -1459,17 +1459,17 @@ func (x *fastReflection_QueryAccountResponse) Mutable(fd protoreflect.FieldDescr // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryAccountResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryAccountResponse.balance": + case "cosmos.evm.vm.v2.QueryAccountResponse.balance": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.QueryAccountResponse.code_hash": + case "cosmos.evm.vm.v2.QueryAccountResponse.code_hash": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.QueryAccountResponse.nonce": + case "cosmos.evm.vm.v2.QueryAccountResponse.nonce": return protoreflect.ValueOfUint64(uint64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryAccountResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryAccountResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryAccountResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryAccountResponse does not contain field %s", fd.FullName())) } } @@ -1479,7 +1479,7 @@ func (x *fastReflection_QueryAccountResponse) NewField(fd protoreflect.FieldDesc func (x *fastReflection_QueryAccountResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.QueryAccountResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.QueryAccountResponse", d.FullName())) } panic("unreachable") } @@ -1766,8 +1766,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_query_proto_init() - md_QueryCosmosAccountRequest = File_cosmos_evm_vm_v1_query_proto.Messages().ByName("QueryCosmosAccountRequest") + file_cosmos_evm_vm_v2_query_proto_init() + md_QueryCosmosAccountRequest = File_cosmos_evm_vm_v2_query_proto.Messages().ByName("QueryCosmosAccountRequest") fd_QueryCosmosAccountRequest_address = md_QueryCosmosAccountRequest.Fields().ByName("address") } @@ -1780,7 +1780,7 @@ func (x *QueryCosmosAccountRequest) ProtoReflect() protoreflect.Message { } func (x *QueryCosmosAccountRequest) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[4] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1857,13 +1857,13 @@ func (x *fastReflection_QueryCosmosAccountRequest) Range(f func(protoreflect.Fie // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryCosmosAccountRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryCosmosAccountRequest.address": + case "cosmos.evm.vm.v2.QueryCosmosAccountRequest.address": return x.Address != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryCosmosAccountRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryCosmosAccountRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryCosmosAccountRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryCosmosAccountRequest does not contain field %s", fd.FullName())) } } @@ -1875,13 +1875,13 @@ func (x *fastReflection_QueryCosmosAccountRequest) Has(fd protoreflect.FieldDesc // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryCosmosAccountRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryCosmosAccountRequest.address": + case "cosmos.evm.vm.v2.QueryCosmosAccountRequest.address": x.Address = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryCosmosAccountRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryCosmosAccountRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryCosmosAccountRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryCosmosAccountRequest does not contain field %s", fd.FullName())) } } @@ -1893,14 +1893,14 @@ func (x *fastReflection_QueryCosmosAccountRequest) Clear(fd protoreflect.FieldDe // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryCosmosAccountRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.QueryCosmosAccountRequest.address": + case "cosmos.evm.vm.v2.QueryCosmosAccountRequest.address": value := x.Address return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryCosmosAccountRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryCosmosAccountRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryCosmosAccountRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryCosmosAccountRequest does not contain field %s", descriptor.FullName())) } } @@ -1916,13 +1916,13 @@ func (x *fastReflection_QueryCosmosAccountRequest) Get(descriptor protoreflect.F // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryCosmosAccountRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryCosmosAccountRequest.address": + case "cosmos.evm.vm.v2.QueryCosmosAccountRequest.address": x.Address = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryCosmosAccountRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryCosmosAccountRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryCosmosAccountRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryCosmosAccountRequest does not contain field %s", fd.FullName())) } } @@ -1938,13 +1938,13 @@ func (x *fastReflection_QueryCosmosAccountRequest) Set(fd protoreflect.FieldDesc // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryCosmosAccountRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryCosmosAccountRequest.address": - panic(fmt.Errorf("field address of message cosmos.evm.vm.v1.QueryCosmosAccountRequest is not mutable")) + case "cosmos.evm.vm.v2.QueryCosmosAccountRequest.address": + panic(fmt.Errorf("field address of message cosmos.evm.vm.v2.QueryCosmosAccountRequest is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryCosmosAccountRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryCosmosAccountRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryCosmosAccountRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryCosmosAccountRequest does not contain field %s", fd.FullName())) } } @@ -1953,13 +1953,13 @@ func (x *fastReflection_QueryCosmosAccountRequest) Mutable(fd protoreflect.Field // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryCosmosAccountRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryCosmosAccountRequest.address": + case "cosmos.evm.vm.v2.QueryCosmosAccountRequest.address": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryCosmosAccountRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryCosmosAccountRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryCosmosAccountRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryCosmosAccountRequest does not contain field %s", fd.FullName())) } } @@ -1969,7 +1969,7 @@ func (x *fastReflection_QueryCosmosAccountRequest) NewField(fd protoreflect.Fiel func (x *fastReflection_QueryCosmosAccountRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.QueryCosmosAccountRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.QueryCosmosAccountRequest", d.FullName())) } panic("unreachable") } @@ -2188,8 +2188,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_query_proto_init() - md_QueryCosmosAccountResponse = File_cosmos_evm_vm_v1_query_proto.Messages().ByName("QueryCosmosAccountResponse") + file_cosmos_evm_vm_v2_query_proto_init() + md_QueryCosmosAccountResponse = File_cosmos_evm_vm_v2_query_proto.Messages().ByName("QueryCosmosAccountResponse") fd_QueryCosmosAccountResponse_cosmos_address = md_QueryCosmosAccountResponse.Fields().ByName("cosmos_address") fd_QueryCosmosAccountResponse_sequence = md_QueryCosmosAccountResponse.Fields().ByName("sequence") fd_QueryCosmosAccountResponse_account_number = md_QueryCosmosAccountResponse.Fields().ByName("account_number") @@ -2204,7 +2204,7 @@ func (x *QueryCosmosAccountResponse) ProtoReflect() protoreflect.Message { } func (x *QueryCosmosAccountResponse) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[5] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2293,17 +2293,17 @@ func (x *fastReflection_QueryCosmosAccountResponse) Range(f func(protoreflect.Fi // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryCosmosAccountResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryCosmosAccountResponse.cosmos_address": + case "cosmos.evm.vm.v2.QueryCosmosAccountResponse.cosmos_address": return x.CosmosAddress != "" - case "cosmos.evm.vm.v1.QueryCosmosAccountResponse.sequence": + case "cosmos.evm.vm.v2.QueryCosmosAccountResponse.sequence": return x.Sequence != uint64(0) - case "cosmos.evm.vm.v1.QueryCosmosAccountResponse.account_number": + case "cosmos.evm.vm.v2.QueryCosmosAccountResponse.account_number": return x.AccountNumber != uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryCosmosAccountResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryCosmosAccountResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryCosmosAccountResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryCosmosAccountResponse does not contain field %s", fd.FullName())) } } @@ -2315,17 +2315,17 @@ func (x *fastReflection_QueryCosmosAccountResponse) Has(fd protoreflect.FieldDes // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryCosmosAccountResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryCosmosAccountResponse.cosmos_address": + case "cosmos.evm.vm.v2.QueryCosmosAccountResponse.cosmos_address": x.CosmosAddress = "" - case "cosmos.evm.vm.v1.QueryCosmosAccountResponse.sequence": + case "cosmos.evm.vm.v2.QueryCosmosAccountResponse.sequence": x.Sequence = uint64(0) - case "cosmos.evm.vm.v1.QueryCosmosAccountResponse.account_number": + case "cosmos.evm.vm.v2.QueryCosmosAccountResponse.account_number": x.AccountNumber = uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryCosmosAccountResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryCosmosAccountResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryCosmosAccountResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryCosmosAccountResponse does not contain field %s", fd.FullName())) } } @@ -2337,20 +2337,20 @@ func (x *fastReflection_QueryCosmosAccountResponse) Clear(fd protoreflect.FieldD // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryCosmosAccountResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.QueryCosmosAccountResponse.cosmos_address": + case "cosmos.evm.vm.v2.QueryCosmosAccountResponse.cosmos_address": value := x.CosmosAddress return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.QueryCosmosAccountResponse.sequence": + case "cosmos.evm.vm.v2.QueryCosmosAccountResponse.sequence": value := x.Sequence return protoreflect.ValueOfUint64(value) - case "cosmos.evm.vm.v1.QueryCosmosAccountResponse.account_number": + case "cosmos.evm.vm.v2.QueryCosmosAccountResponse.account_number": value := x.AccountNumber return protoreflect.ValueOfUint64(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryCosmosAccountResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryCosmosAccountResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryCosmosAccountResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryCosmosAccountResponse does not contain field %s", descriptor.FullName())) } } @@ -2366,17 +2366,17 @@ func (x *fastReflection_QueryCosmosAccountResponse) Get(descriptor protoreflect. // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryCosmosAccountResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryCosmosAccountResponse.cosmos_address": + case "cosmos.evm.vm.v2.QueryCosmosAccountResponse.cosmos_address": x.CosmosAddress = value.Interface().(string) - case "cosmos.evm.vm.v1.QueryCosmosAccountResponse.sequence": + case "cosmos.evm.vm.v2.QueryCosmosAccountResponse.sequence": x.Sequence = value.Uint() - case "cosmos.evm.vm.v1.QueryCosmosAccountResponse.account_number": + case "cosmos.evm.vm.v2.QueryCosmosAccountResponse.account_number": x.AccountNumber = value.Uint() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryCosmosAccountResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryCosmosAccountResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryCosmosAccountResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryCosmosAccountResponse does not contain field %s", fd.FullName())) } } @@ -2392,17 +2392,17 @@ func (x *fastReflection_QueryCosmosAccountResponse) Set(fd protoreflect.FieldDes // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryCosmosAccountResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryCosmosAccountResponse.cosmos_address": - panic(fmt.Errorf("field cosmos_address of message cosmos.evm.vm.v1.QueryCosmosAccountResponse is not mutable")) - case "cosmos.evm.vm.v1.QueryCosmosAccountResponse.sequence": - panic(fmt.Errorf("field sequence of message cosmos.evm.vm.v1.QueryCosmosAccountResponse is not mutable")) - case "cosmos.evm.vm.v1.QueryCosmosAccountResponse.account_number": - panic(fmt.Errorf("field account_number of message cosmos.evm.vm.v1.QueryCosmosAccountResponse is not mutable")) + case "cosmos.evm.vm.v2.QueryCosmosAccountResponse.cosmos_address": + panic(fmt.Errorf("field cosmos_address of message cosmos.evm.vm.v2.QueryCosmosAccountResponse is not mutable")) + case "cosmos.evm.vm.v2.QueryCosmosAccountResponse.sequence": + panic(fmt.Errorf("field sequence of message cosmos.evm.vm.v2.QueryCosmosAccountResponse is not mutable")) + case "cosmos.evm.vm.v2.QueryCosmosAccountResponse.account_number": + panic(fmt.Errorf("field account_number of message cosmos.evm.vm.v2.QueryCosmosAccountResponse is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryCosmosAccountResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryCosmosAccountResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryCosmosAccountResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryCosmosAccountResponse does not contain field %s", fd.FullName())) } } @@ -2411,17 +2411,17 @@ func (x *fastReflection_QueryCosmosAccountResponse) Mutable(fd protoreflect.Fiel // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryCosmosAccountResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryCosmosAccountResponse.cosmos_address": + case "cosmos.evm.vm.v2.QueryCosmosAccountResponse.cosmos_address": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.QueryCosmosAccountResponse.sequence": + case "cosmos.evm.vm.v2.QueryCosmosAccountResponse.sequence": return protoreflect.ValueOfUint64(uint64(0)) - case "cosmos.evm.vm.v1.QueryCosmosAccountResponse.account_number": + case "cosmos.evm.vm.v2.QueryCosmosAccountResponse.account_number": return protoreflect.ValueOfUint64(uint64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryCosmosAccountResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryCosmosAccountResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryCosmosAccountResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryCosmosAccountResponse does not contain field %s", fd.FullName())) } } @@ -2431,7 +2431,7 @@ func (x *fastReflection_QueryCosmosAccountResponse) NewField(fd protoreflect.Fie func (x *fastReflection_QueryCosmosAccountResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.QueryCosmosAccountResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.QueryCosmosAccountResponse", d.FullName())) } panic("unreachable") } @@ -2702,8 +2702,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_query_proto_init() - md_QueryValidatorAccountRequest = File_cosmos_evm_vm_v1_query_proto.Messages().ByName("QueryValidatorAccountRequest") + file_cosmos_evm_vm_v2_query_proto_init() + md_QueryValidatorAccountRequest = File_cosmos_evm_vm_v2_query_proto.Messages().ByName("QueryValidatorAccountRequest") fd_QueryValidatorAccountRequest_cons_address = md_QueryValidatorAccountRequest.Fields().ByName("cons_address") } @@ -2716,7 +2716,7 @@ func (x *QueryValidatorAccountRequest) ProtoReflect() protoreflect.Message { } func (x *QueryValidatorAccountRequest) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[6] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2793,13 +2793,13 @@ func (x *fastReflection_QueryValidatorAccountRequest) Range(f func(protoreflect. // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryValidatorAccountRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryValidatorAccountRequest.cons_address": + case "cosmos.evm.vm.v2.QueryValidatorAccountRequest.cons_address": return x.ConsAddress != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryValidatorAccountRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryValidatorAccountRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryValidatorAccountRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryValidatorAccountRequest does not contain field %s", fd.FullName())) } } @@ -2811,13 +2811,13 @@ func (x *fastReflection_QueryValidatorAccountRequest) Has(fd protoreflect.FieldD // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryValidatorAccountRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryValidatorAccountRequest.cons_address": + case "cosmos.evm.vm.v2.QueryValidatorAccountRequest.cons_address": x.ConsAddress = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryValidatorAccountRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryValidatorAccountRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryValidatorAccountRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryValidatorAccountRequest does not contain field %s", fd.FullName())) } } @@ -2829,14 +2829,14 @@ func (x *fastReflection_QueryValidatorAccountRequest) Clear(fd protoreflect.Fiel // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryValidatorAccountRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.QueryValidatorAccountRequest.cons_address": + case "cosmos.evm.vm.v2.QueryValidatorAccountRequest.cons_address": value := x.ConsAddress return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryValidatorAccountRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryValidatorAccountRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryValidatorAccountRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryValidatorAccountRequest does not contain field %s", descriptor.FullName())) } } @@ -2852,13 +2852,13 @@ func (x *fastReflection_QueryValidatorAccountRequest) Get(descriptor protoreflec // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryValidatorAccountRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryValidatorAccountRequest.cons_address": + case "cosmos.evm.vm.v2.QueryValidatorAccountRequest.cons_address": x.ConsAddress = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryValidatorAccountRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryValidatorAccountRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryValidatorAccountRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryValidatorAccountRequest does not contain field %s", fd.FullName())) } } @@ -2874,13 +2874,13 @@ func (x *fastReflection_QueryValidatorAccountRequest) Set(fd protoreflect.FieldD // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryValidatorAccountRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryValidatorAccountRequest.cons_address": - panic(fmt.Errorf("field cons_address of message cosmos.evm.vm.v1.QueryValidatorAccountRequest is not mutable")) + case "cosmos.evm.vm.v2.QueryValidatorAccountRequest.cons_address": + panic(fmt.Errorf("field cons_address of message cosmos.evm.vm.v2.QueryValidatorAccountRequest is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryValidatorAccountRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryValidatorAccountRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryValidatorAccountRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryValidatorAccountRequest does not contain field %s", fd.FullName())) } } @@ -2889,13 +2889,13 @@ func (x *fastReflection_QueryValidatorAccountRequest) Mutable(fd protoreflect.Fi // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryValidatorAccountRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryValidatorAccountRequest.cons_address": + case "cosmos.evm.vm.v2.QueryValidatorAccountRequest.cons_address": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryValidatorAccountRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryValidatorAccountRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryValidatorAccountRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryValidatorAccountRequest does not contain field %s", fd.FullName())) } } @@ -2905,7 +2905,7 @@ func (x *fastReflection_QueryValidatorAccountRequest) NewField(fd protoreflect.F func (x *fastReflection_QueryValidatorAccountRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.QueryValidatorAccountRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.QueryValidatorAccountRequest", d.FullName())) } panic("unreachable") } @@ -3124,8 +3124,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_query_proto_init() - md_QueryValidatorAccountResponse = File_cosmos_evm_vm_v1_query_proto.Messages().ByName("QueryValidatorAccountResponse") + file_cosmos_evm_vm_v2_query_proto_init() + md_QueryValidatorAccountResponse = File_cosmos_evm_vm_v2_query_proto.Messages().ByName("QueryValidatorAccountResponse") fd_QueryValidatorAccountResponse_account_address = md_QueryValidatorAccountResponse.Fields().ByName("account_address") fd_QueryValidatorAccountResponse_sequence = md_QueryValidatorAccountResponse.Fields().ByName("sequence") fd_QueryValidatorAccountResponse_account_number = md_QueryValidatorAccountResponse.Fields().ByName("account_number") @@ -3140,7 +3140,7 @@ func (x *QueryValidatorAccountResponse) ProtoReflect() protoreflect.Message { } func (x *QueryValidatorAccountResponse) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[7] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3229,17 +3229,17 @@ func (x *fastReflection_QueryValidatorAccountResponse) Range(f func(protoreflect // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryValidatorAccountResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryValidatorAccountResponse.account_address": + case "cosmos.evm.vm.v2.QueryValidatorAccountResponse.account_address": return x.AccountAddress != "" - case "cosmos.evm.vm.v1.QueryValidatorAccountResponse.sequence": + case "cosmos.evm.vm.v2.QueryValidatorAccountResponse.sequence": return x.Sequence != uint64(0) - case "cosmos.evm.vm.v1.QueryValidatorAccountResponse.account_number": + case "cosmos.evm.vm.v2.QueryValidatorAccountResponse.account_number": return x.AccountNumber != uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryValidatorAccountResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryValidatorAccountResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryValidatorAccountResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryValidatorAccountResponse does not contain field %s", fd.FullName())) } } @@ -3251,17 +3251,17 @@ func (x *fastReflection_QueryValidatorAccountResponse) Has(fd protoreflect.Field // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryValidatorAccountResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryValidatorAccountResponse.account_address": + case "cosmos.evm.vm.v2.QueryValidatorAccountResponse.account_address": x.AccountAddress = "" - case "cosmos.evm.vm.v1.QueryValidatorAccountResponse.sequence": + case "cosmos.evm.vm.v2.QueryValidatorAccountResponse.sequence": x.Sequence = uint64(0) - case "cosmos.evm.vm.v1.QueryValidatorAccountResponse.account_number": + case "cosmos.evm.vm.v2.QueryValidatorAccountResponse.account_number": x.AccountNumber = uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryValidatorAccountResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryValidatorAccountResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryValidatorAccountResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryValidatorAccountResponse does not contain field %s", fd.FullName())) } } @@ -3273,20 +3273,20 @@ func (x *fastReflection_QueryValidatorAccountResponse) Clear(fd protoreflect.Fie // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryValidatorAccountResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.QueryValidatorAccountResponse.account_address": + case "cosmos.evm.vm.v2.QueryValidatorAccountResponse.account_address": value := x.AccountAddress return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.QueryValidatorAccountResponse.sequence": + case "cosmos.evm.vm.v2.QueryValidatorAccountResponse.sequence": value := x.Sequence return protoreflect.ValueOfUint64(value) - case "cosmos.evm.vm.v1.QueryValidatorAccountResponse.account_number": + case "cosmos.evm.vm.v2.QueryValidatorAccountResponse.account_number": value := x.AccountNumber return protoreflect.ValueOfUint64(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryValidatorAccountResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryValidatorAccountResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryValidatorAccountResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryValidatorAccountResponse does not contain field %s", descriptor.FullName())) } } @@ -3302,17 +3302,17 @@ func (x *fastReflection_QueryValidatorAccountResponse) Get(descriptor protorefle // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryValidatorAccountResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryValidatorAccountResponse.account_address": + case "cosmos.evm.vm.v2.QueryValidatorAccountResponse.account_address": x.AccountAddress = value.Interface().(string) - case "cosmos.evm.vm.v1.QueryValidatorAccountResponse.sequence": + case "cosmos.evm.vm.v2.QueryValidatorAccountResponse.sequence": x.Sequence = value.Uint() - case "cosmos.evm.vm.v1.QueryValidatorAccountResponse.account_number": + case "cosmos.evm.vm.v2.QueryValidatorAccountResponse.account_number": x.AccountNumber = value.Uint() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryValidatorAccountResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryValidatorAccountResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryValidatorAccountResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryValidatorAccountResponse does not contain field %s", fd.FullName())) } } @@ -3328,17 +3328,17 @@ func (x *fastReflection_QueryValidatorAccountResponse) Set(fd protoreflect.Field // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryValidatorAccountResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryValidatorAccountResponse.account_address": - panic(fmt.Errorf("field account_address of message cosmos.evm.vm.v1.QueryValidatorAccountResponse is not mutable")) - case "cosmos.evm.vm.v1.QueryValidatorAccountResponse.sequence": - panic(fmt.Errorf("field sequence of message cosmos.evm.vm.v1.QueryValidatorAccountResponse is not mutable")) - case "cosmos.evm.vm.v1.QueryValidatorAccountResponse.account_number": - panic(fmt.Errorf("field account_number of message cosmos.evm.vm.v1.QueryValidatorAccountResponse is not mutable")) + case "cosmos.evm.vm.v2.QueryValidatorAccountResponse.account_address": + panic(fmt.Errorf("field account_address of message cosmos.evm.vm.v2.QueryValidatorAccountResponse is not mutable")) + case "cosmos.evm.vm.v2.QueryValidatorAccountResponse.sequence": + panic(fmt.Errorf("field sequence of message cosmos.evm.vm.v2.QueryValidatorAccountResponse is not mutable")) + case "cosmos.evm.vm.v2.QueryValidatorAccountResponse.account_number": + panic(fmt.Errorf("field account_number of message cosmos.evm.vm.v2.QueryValidatorAccountResponse is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryValidatorAccountResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryValidatorAccountResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryValidatorAccountResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryValidatorAccountResponse does not contain field %s", fd.FullName())) } } @@ -3347,17 +3347,17 @@ func (x *fastReflection_QueryValidatorAccountResponse) Mutable(fd protoreflect.F // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryValidatorAccountResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryValidatorAccountResponse.account_address": + case "cosmos.evm.vm.v2.QueryValidatorAccountResponse.account_address": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.QueryValidatorAccountResponse.sequence": + case "cosmos.evm.vm.v2.QueryValidatorAccountResponse.sequence": return protoreflect.ValueOfUint64(uint64(0)) - case "cosmos.evm.vm.v1.QueryValidatorAccountResponse.account_number": + case "cosmos.evm.vm.v2.QueryValidatorAccountResponse.account_number": return protoreflect.ValueOfUint64(uint64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryValidatorAccountResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryValidatorAccountResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryValidatorAccountResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryValidatorAccountResponse does not contain field %s", fd.FullName())) } } @@ -3367,7 +3367,7 @@ func (x *fastReflection_QueryValidatorAccountResponse) NewField(fd protoreflect. func (x *fastReflection_QueryValidatorAccountResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.QueryValidatorAccountResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.QueryValidatorAccountResponse", d.FullName())) } panic("unreachable") } @@ -3638,8 +3638,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_query_proto_init() - md_QueryBalanceRequest = File_cosmos_evm_vm_v1_query_proto.Messages().ByName("QueryBalanceRequest") + file_cosmos_evm_vm_v2_query_proto_init() + md_QueryBalanceRequest = File_cosmos_evm_vm_v2_query_proto.Messages().ByName("QueryBalanceRequest") fd_QueryBalanceRequest_address = md_QueryBalanceRequest.Fields().ByName("address") } @@ -3652,7 +3652,7 @@ func (x *QueryBalanceRequest) ProtoReflect() protoreflect.Message { } func (x *QueryBalanceRequest) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[8] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3729,13 +3729,13 @@ func (x *fastReflection_QueryBalanceRequest) Range(f func(protoreflect.FieldDesc // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryBalanceRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryBalanceRequest.address": + case "cosmos.evm.vm.v2.QueryBalanceRequest.address": return x.Address != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryBalanceRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryBalanceRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryBalanceRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryBalanceRequest does not contain field %s", fd.FullName())) } } @@ -3747,13 +3747,13 @@ func (x *fastReflection_QueryBalanceRequest) Has(fd protoreflect.FieldDescriptor // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryBalanceRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryBalanceRequest.address": + case "cosmos.evm.vm.v2.QueryBalanceRequest.address": x.Address = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryBalanceRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryBalanceRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryBalanceRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryBalanceRequest does not contain field %s", fd.FullName())) } } @@ -3765,14 +3765,14 @@ func (x *fastReflection_QueryBalanceRequest) Clear(fd protoreflect.FieldDescript // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryBalanceRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.QueryBalanceRequest.address": + case "cosmos.evm.vm.v2.QueryBalanceRequest.address": value := x.Address return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryBalanceRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryBalanceRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryBalanceRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryBalanceRequest does not contain field %s", descriptor.FullName())) } } @@ -3788,13 +3788,13 @@ func (x *fastReflection_QueryBalanceRequest) Get(descriptor protoreflect.FieldDe // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryBalanceRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryBalanceRequest.address": + case "cosmos.evm.vm.v2.QueryBalanceRequest.address": x.Address = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryBalanceRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryBalanceRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryBalanceRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryBalanceRequest does not contain field %s", fd.FullName())) } } @@ -3810,13 +3810,13 @@ func (x *fastReflection_QueryBalanceRequest) Set(fd protoreflect.FieldDescriptor // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryBalanceRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryBalanceRequest.address": - panic(fmt.Errorf("field address of message cosmos.evm.vm.v1.QueryBalanceRequest is not mutable")) + case "cosmos.evm.vm.v2.QueryBalanceRequest.address": + panic(fmt.Errorf("field address of message cosmos.evm.vm.v2.QueryBalanceRequest is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryBalanceRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryBalanceRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryBalanceRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryBalanceRequest does not contain field %s", fd.FullName())) } } @@ -3825,13 +3825,13 @@ func (x *fastReflection_QueryBalanceRequest) Mutable(fd protoreflect.FieldDescri // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryBalanceRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryBalanceRequest.address": + case "cosmos.evm.vm.v2.QueryBalanceRequest.address": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryBalanceRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryBalanceRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryBalanceRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryBalanceRequest does not contain field %s", fd.FullName())) } } @@ -3841,7 +3841,7 @@ func (x *fastReflection_QueryBalanceRequest) NewField(fd protoreflect.FieldDescr func (x *fastReflection_QueryBalanceRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.QueryBalanceRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.QueryBalanceRequest", d.FullName())) } panic("unreachable") } @@ -4058,8 +4058,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_query_proto_init() - md_QueryBalanceResponse = File_cosmos_evm_vm_v1_query_proto.Messages().ByName("QueryBalanceResponse") + file_cosmos_evm_vm_v2_query_proto_init() + md_QueryBalanceResponse = File_cosmos_evm_vm_v2_query_proto.Messages().ByName("QueryBalanceResponse") fd_QueryBalanceResponse_balance = md_QueryBalanceResponse.Fields().ByName("balance") } @@ -4072,7 +4072,7 @@ func (x *QueryBalanceResponse) ProtoReflect() protoreflect.Message { } func (x *QueryBalanceResponse) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[9] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4149,13 +4149,13 @@ func (x *fastReflection_QueryBalanceResponse) Range(f func(protoreflect.FieldDes // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryBalanceResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryBalanceResponse.balance": + case "cosmos.evm.vm.v2.QueryBalanceResponse.balance": return x.Balance != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryBalanceResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryBalanceResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryBalanceResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryBalanceResponse does not contain field %s", fd.FullName())) } } @@ -4167,13 +4167,13 @@ func (x *fastReflection_QueryBalanceResponse) Has(fd protoreflect.FieldDescripto // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryBalanceResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryBalanceResponse.balance": + case "cosmos.evm.vm.v2.QueryBalanceResponse.balance": x.Balance = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryBalanceResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryBalanceResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryBalanceResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryBalanceResponse does not contain field %s", fd.FullName())) } } @@ -4185,14 +4185,14 @@ func (x *fastReflection_QueryBalanceResponse) Clear(fd protoreflect.FieldDescrip // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryBalanceResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.QueryBalanceResponse.balance": + case "cosmos.evm.vm.v2.QueryBalanceResponse.balance": value := x.Balance return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryBalanceResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryBalanceResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryBalanceResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryBalanceResponse does not contain field %s", descriptor.FullName())) } } @@ -4208,13 +4208,13 @@ func (x *fastReflection_QueryBalanceResponse) Get(descriptor protoreflect.FieldD // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryBalanceResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryBalanceResponse.balance": + case "cosmos.evm.vm.v2.QueryBalanceResponse.balance": x.Balance = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryBalanceResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryBalanceResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryBalanceResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryBalanceResponse does not contain field %s", fd.FullName())) } } @@ -4230,13 +4230,13 @@ func (x *fastReflection_QueryBalanceResponse) Set(fd protoreflect.FieldDescripto // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryBalanceResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryBalanceResponse.balance": - panic(fmt.Errorf("field balance of message cosmos.evm.vm.v1.QueryBalanceResponse is not mutable")) + case "cosmos.evm.vm.v2.QueryBalanceResponse.balance": + panic(fmt.Errorf("field balance of message cosmos.evm.vm.v2.QueryBalanceResponse is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryBalanceResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryBalanceResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryBalanceResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryBalanceResponse does not contain field %s", fd.FullName())) } } @@ -4245,13 +4245,13 @@ func (x *fastReflection_QueryBalanceResponse) Mutable(fd protoreflect.FieldDescr // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryBalanceResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryBalanceResponse.balance": + case "cosmos.evm.vm.v2.QueryBalanceResponse.balance": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryBalanceResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryBalanceResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryBalanceResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryBalanceResponse does not contain field %s", fd.FullName())) } } @@ -4261,7 +4261,7 @@ func (x *fastReflection_QueryBalanceResponse) NewField(fd protoreflect.FieldDesc func (x *fastReflection_QueryBalanceResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.QueryBalanceResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.QueryBalanceResponse", d.FullName())) } panic("unreachable") } @@ -4479,8 +4479,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_query_proto_init() - md_QueryStorageRequest = File_cosmos_evm_vm_v1_query_proto.Messages().ByName("QueryStorageRequest") + file_cosmos_evm_vm_v2_query_proto_init() + md_QueryStorageRequest = File_cosmos_evm_vm_v2_query_proto.Messages().ByName("QueryStorageRequest") fd_QueryStorageRequest_address = md_QueryStorageRequest.Fields().ByName("address") fd_QueryStorageRequest_key = md_QueryStorageRequest.Fields().ByName("key") } @@ -4494,7 +4494,7 @@ func (x *QueryStorageRequest) ProtoReflect() protoreflect.Message { } func (x *QueryStorageRequest) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[10] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -4577,15 +4577,15 @@ func (x *fastReflection_QueryStorageRequest) Range(f func(protoreflect.FieldDesc // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryStorageRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryStorageRequest.address": + case "cosmos.evm.vm.v2.QueryStorageRequest.address": return x.Address != "" - case "cosmos.evm.vm.v1.QueryStorageRequest.key": + case "cosmos.evm.vm.v2.QueryStorageRequest.key": return x.Key != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryStorageRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryStorageRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryStorageRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryStorageRequest does not contain field %s", fd.FullName())) } } @@ -4597,15 +4597,15 @@ func (x *fastReflection_QueryStorageRequest) Has(fd protoreflect.FieldDescriptor // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryStorageRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryStorageRequest.address": + case "cosmos.evm.vm.v2.QueryStorageRequest.address": x.Address = "" - case "cosmos.evm.vm.v1.QueryStorageRequest.key": + case "cosmos.evm.vm.v2.QueryStorageRequest.key": x.Key = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryStorageRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryStorageRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryStorageRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryStorageRequest does not contain field %s", fd.FullName())) } } @@ -4617,17 +4617,17 @@ func (x *fastReflection_QueryStorageRequest) Clear(fd protoreflect.FieldDescript // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryStorageRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.QueryStorageRequest.address": + case "cosmos.evm.vm.v2.QueryStorageRequest.address": value := x.Address return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.QueryStorageRequest.key": + case "cosmos.evm.vm.v2.QueryStorageRequest.key": value := x.Key return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryStorageRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryStorageRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryStorageRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryStorageRequest does not contain field %s", descriptor.FullName())) } } @@ -4643,15 +4643,15 @@ func (x *fastReflection_QueryStorageRequest) Get(descriptor protoreflect.FieldDe // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryStorageRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryStorageRequest.address": + case "cosmos.evm.vm.v2.QueryStorageRequest.address": x.Address = value.Interface().(string) - case "cosmos.evm.vm.v1.QueryStorageRequest.key": + case "cosmos.evm.vm.v2.QueryStorageRequest.key": x.Key = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryStorageRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryStorageRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryStorageRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryStorageRequest does not contain field %s", fd.FullName())) } } @@ -4667,15 +4667,15 @@ func (x *fastReflection_QueryStorageRequest) Set(fd protoreflect.FieldDescriptor // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryStorageRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryStorageRequest.address": - panic(fmt.Errorf("field address of message cosmos.evm.vm.v1.QueryStorageRequest is not mutable")) - case "cosmos.evm.vm.v1.QueryStorageRequest.key": - panic(fmt.Errorf("field key of message cosmos.evm.vm.v1.QueryStorageRequest is not mutable")) + case "cosmos.evm.vm.v2.QueryStorageRequest.address": + panic(fmt.Errorf("field address of message cosmos.evm.vm.v2.QueryStorageRequest is not mutable")) + case "cosmos.evm.vm.v2.QueryStorageRequest.key": + panic(fmt.Errorf("field key of message cosmos.evm.vm.v2.QueryStorageRequest is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryStorageRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryStorageRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryStorageRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryStorageRequest does not contain field %s", fd.FullName())) } } @@ -4684,15 +4684,15 @@ func (x *fastReflection_QueryStorageRequest) Mutable(fd protoreflect.FieldDescri // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryStorageRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryStorageRequest.address": + case "cosmos.evm.vm.v2.QueryStorageRequest.address": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.QueryStorageRequest.key": + case "cosmos.evm.vm.v2.QueryStorageRequest.key": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryStorageRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryStorageRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryStorageRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryStorageRequest does not contain field %s", fd.FullName())) } } @@ -4702,7 +4702,7 @@ func (x *fastReflection_QueryStorageRequest) NewField(fd protoreflect.FieldDescr func (x *fastReflection_QueryStorageRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.QueryStorageRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.QueryStorageRequest", d.FullName())) } panic("unreachable") } @@ -4962,8 +4962,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_query_proto_init() - md_QueryStorageResponse = File_cosmos_evm_vm_v1_query_proto.Messages().ByName("QueryStorageResponse") + file_cosmos_evm_vm_v2_query_proto_init() + md_QueryStorageResponse = File_cosmos_evm_vm_v2_query_proto.Messages().ByName("QueryStorageResponse") fd_QueryStorageResponse_value = md_QueryStorageResponse.Fields().ByName("value") } @@ -4976,7 +4976,7 @@ func (x *QueryStorageResponse) ProtoReflect() protoreflect.Message { } func (x *QueryStorageResponse) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[11] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5053,13 +5053,13 @@ func (x *fastReflection_QueryStorageResponse) Range(f func(protoreflect.FieldDes // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryStorageResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryStorageResponse.value": + case "cosmos.evm.vm.v2.QueryStorageResponse.value": return x.Value != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryStorageResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryStorageResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryStorageResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryStorageResponse does not contain field %s", fd.FullName())) } } @@ -5071,13 +5071,13 @@ func (x *fastReflection_QueryStorageResponse) Has(fd protoreflect.FieldDescripto // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryStorageResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryStorageResponse.value": + case "cosmos.evm.vm.v2.QueryStorageResponse.value": x.Value = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryStorageResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryStorageResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryStorageResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryStorageResponse does not contain field %s", fd.FullName())) } } @@ -5089,14 +5089,14 @@ func (x *fastReflection_QueryStorageResponse) Clear(fd protoreflect.FieldDescrip // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryStorageResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.QueryStorageResponse.value": + case "cosmos.evm.vm.v2.QueryStorageResponse.value": value := x.Value return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryStorageResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryStorageResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryStorageResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryStorageResponse does not contain field %s", descriptor.FullName())) } } @@ -5112,13 +5112,13 @@ func (x *fastReflection_QueryStorageResponse) Get(descriptor protoreflect.FieldD // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryStorageResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryStorageResponse.value": + case "cosmos.evm.vm.v2.QueryStorageResponse.value": x.Value = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryStorageResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryStorageResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryStorageResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryStorageResponse does not contain field %s", fd.FullName())) } } @@ -5134,13 +5134,13 @@ func (x *fastReflection_QueryStorageResponse) Set(fd protoreflect.FieldDescripto // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryStorageResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryStorageResponse.value": - panic(fmt.Errorf("field value of message cosmos.evm.vm.v1.QueryStorageResponse is not mutable")) + case "cosmos.evm.vm.v2.QueryStorageResponse.value": + panic(fmt.Errorf("field value of message cosmos.evm.vm.v2.QueryStorageResponse is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryStorageResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryStorageResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryStorageResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryStorageResponse does not contain field %s", fd.FullName())) } } @@ -5149,13 +5149,13 @@ func (x *fastReflection_QueryStorageResponse) Mutable(fd protoreflect.FieldDescr // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryStorageResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryStorageResponse.value": + case "cosmos.evm.vm.v2.QueryStorageResponse.value": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryStorageResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryStorageResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryStorageResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryStorageResponse does not contain field %s", fd.FullName())) } } @@ -5165,7 +5165,7 @@ func (x *fastReflection_QueryStorageResponse) NewField(fd protoreflect.FieldDesc func (x *fastReflection_QueryStorageResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.QueryStorageResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.QueryStorageResponse", d.FullName())) } panic("unreachable") } @@ -5382,8 +5382,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_query_proto_init() - md_QueryCodeRequest = File_cosmos_evm_vm_v1_query_proto.Messages().ByName("QueryCodeRequest") + file_cosmos_evm_vm_v2_query_proto_init() + md_QueryCodeRequest = File_cosmos_evm_vm_v2_query_proto.Messages().ByName("QueryCodeRequest") fd_QueryCodeRequest_address = md_QueryCodeRequest.Fields().ByName("address") } @@ -5396,7 +5396,7 @@ func (x *QueryCodeRequest) ProtoReflect() protoreflect.Message { } func (x *QueryCodeRequest) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[12] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5473,13 +5473,13 @@ func (x *fastReflection_QueryCodeRequest) Range(f func(protoreflect.FieldDescrip // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryCodeRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryCodeRequest.address": + case "cosmos.evm.vm.v2.QueryCodeRequest.address": return x.Address != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryCodeRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryCodeRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryCodeRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryCodeRequest does not contain field %s", fd.FullName())) } } @@ -5491,13 +5491,13 @@ func (x *fastReflection_QueryCodeRequest) Has(fd protoreflect.FieldDescriptor) b // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryCodeRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryCodeRequest.address": + case "cosmos.evm.vm.v2.QueryCodeRequest.address": x.Address = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryCodeRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryCodeRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryCodeRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryCodeRequest does not contain field %s", fd.FullName())) } } @@ -5509,14 +5509,14 @@ func (x *fastReflection_QueryCodeRequest) Clear(fd protoreflect.FieldDescriptor) // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryCodeRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.QueryCodeRequest.address": + case "cosmos.evm.vm.v2.QueryCodeRequest.address": value := x.Address return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryCodeRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryCodeRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryCodeRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryCodeRequest does not contain field %s", descriptor.FullName())) } } @@ -5532,13 +5532,13 @@ func (x *fastReflection_QueryCodeRequest) Get(descriptor protoreflect.FieldDescr // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryCodeRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryCodeRequest.address": + case "cosmos.evm.vm.v2.QueryCodeRequest.address": x.Address = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryCodeRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryCodeRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryCodeRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryCodeRequest does not contain field %s", fd.FullName())) } } @@ -5554,13 +5554,13 @@ func (x *fastReflection_QueryCodeRequest) Set(fd protoreflect.FieldDescriptor, v // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryCodeRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryCodeRequest.address": - panic(fmt.Errorf("field address of message cosmos.evm.vm.v1.QueryCodeRequest is not mutable")) + case "cosmos.evm.vm.v2.QueryCodeRequest.address": + panic(fmt.Errorf("field address of message cosmos.evm.vm.v2.QueryCodeRequest is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryCodeRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryCodeRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryCodeRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryCodeRequest does not contain field %s", fd.FullName())) } } @@ -5569,13 +5569,13 @@ func (x *fastReflection_QueryCodeRequest) Mutable(fd protoreflect.FieldDescripto // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryCodeRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryCodeRequest.address": + case "cosmos.evm.vm.v2.QueryCodeRequest.address": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryCodeRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryCodeRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryCodeRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryCodeRequest does not contain field %s", fd.FullName())) } } @@ -5585,7 +5585,7 @@ func (x *fastReflection_QueryCodeRequest) NewField(fd protoreflect.FieldDescript func (x *fastReflection_QueryCodeRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.QueryCodeRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.QueryCodeRequest", d.FullName())) } panic("unreachable") } @@ -5802,8 +5802,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_query_proto_init() - md_QueryCodeResponse = File_cosmos_evm_vm_v1_query_proto.Messages().ByName("QueryCodeResponse") + file_cosmos_evm_vm_v2_query_proto_init() + md_QueryCodeResponse = File_cosmos_evm_vm_v2_query_proto.Messages().ByName("QueryCodeResponse") fd_QueryCodeResponse_code = md_QueryCodeResponse.Fields().ByName("code") } @@ -5816,7 +5816,7 @@ func (x *QueryCodeResponse) ProtoReflect() protoreflect.Message { } func (x *QueryCodeResponse) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[13] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -5893,13 +5893,13 @@ func (x *fastReflection_QueryCodeResponse) Range(f func(protoreflect.FieldDescri // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryCodeResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryCodeResponse.code": + case "cosmos.evm.vm.v2.QueryCodeResponse.code": return len(x.Code) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryCodeResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryCodeResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryCodeResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryCodeResponse does not contain field %s", fd.FullName())) } } @@ -5911,13 +5911,13 @@ func (x *fastReflection_QueryCodeResponse) Has(fd protoreflect.FieldDescriptor) // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryCodeResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryCodeResponse.code": + case "cosmos.evm.vm.v2.QueryCodeResponse.code": x.Code = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryCodeResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryCodeResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryCodeResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryCodeResponse does not contain field %s", fd.FullName())) } } @@ -5929,14 +5929,14 @@ func (x *fastReflection_QueryCodeResponse) Clear(fd protoreflect.FieldDescriptor // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryCodeResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.QueryCodeResponse.code": + case "cosmos.evm.vm.v2.QueryCodeResponse.code": value := x.Code return protoreflect.ValueOfBytes(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryCodeResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryCodeResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryCodeResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryCodeResponse does not contain field %s", descriptor.FullName())) } } @@ -5952,13 +5952,13 @@ func (x *fastReflection_QueryCodeResponse) Get(descriptor protoreflect.FieldDesc // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryCodeResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryCodeResponse.code": + case "cosmos.evm.vm.v2.QueryCodeResponse.code": x.Code = value.Bytes() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryCodeResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryCodeResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryCodeResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryCodeResponse does not contain field %s", fd.FullName())) } } @@ -5974,13 +5974,13 @@ func (x *fastReflection_QueryCodeResponse) Set(fd protoreflect.FieldDescriptor, // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryCodeResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryCodeResponse.code": - panic(fmt.Errorf("field code of message cosmos.evm.vm.v1.QueryCodeResponse is not mutable")) + case "cosmos.evm.vm.v2.QueryCodeResponse.code": + panic(fmt.Errorf("field code of message cosmos.evm.vm.v2.QueryCodeResponse is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryCodeResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryCodeResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryCodeResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryCodeResponse does not contain field %s", fd.FullName())) } } @@ -5989,13 +5989,13 @@ func (x *fastReflection_QueryCodeResponse) Mutable(fd protoreflect.FieldDescript // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryCodeResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryCodeResponse.code": + case "cosmos.evm.vm.v2.QueryCodeResponse.code": return protoreflect.ValueOfBytes(nil) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryCodeResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryCodeResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryCodeResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryCodeResponse does not contain field %s", fd.FullName())) } } @@ -6005,7 +6005,7 @@ func (x *fastReflection_QueryCodeResponse) NewField(fd protoreflect.FieldDescrip func (x *fastReflection_QueryCodeResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.QueryCodeResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.QueryCodeResponse", d.FullName())) } panic("unreachable") } @@ -6225,8 +6225,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_query_proto_init() - md_QueryTxLogsRequest = File_cosmos_evm_vm_v1_query_proto.Messages().ByName("QueryTxLogsRequest") + file_cosmos_evm_vm_v2_query_proto_init() + md_QueryTxLogsRequest = File_cosmos_evm_vm_v2_query_proto.Messages().ByName("QueryTxLogsRequest") fd_QueryTxLogsRequest_hash = md_QueryTxLogsRequest.Fields().ByName("hash") fd_QueryTxLogsRequest_pagination = md_QueryTxLogsRequest.Fields().ByName("pagination") } @@ -6240,7 +6240,7 @@ func (x *QueryTxLogsRequest) ProtoReflect() protoreflect.Message { } func (x *QueryTxLogsRequest) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[14] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6323,15 +6323,15 @@ func (x *fastReflection_QueryTxLogsRequest) Range(f func(protoreflect.FieldDescr // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryTxLogsRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryTxLogsRequest.hash": + case "cosmos.evm.vm.v2.QueryTxLogsRequest.hash": return x.Hash != "" - case "cosmos.evm.vm.v1.QueryTxLogsRequest.pagination": + case "cosmos.evm.vm.v2.QueryTxLogsRequest.pagination": return x.Pagination != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTxLogsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTxLogsRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTxLogsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTxLogsRequest does not contain field %s", fd.FullName())) } } @@ -6343,15 +6343,15 @@ func (x *fastReflection_QueryTxLogsRequest) Has(fd protoreflect.FieldDescriptor) // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryTxLogsRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryTxLogsRequest.hash": + case "cosmos.evm.vm.v2.QueryTxLogsRequest.hash": x.Hash = "" - case "cosmos.evm.vm.v1.QueryTxLogsRequest.pagination": + case "cosmos.evm.vm.v2.QueryTxLogsRequest.pagination": x.Pagination = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTxLogsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTxLogsRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTxLogsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTxLogsRequest does not contain field %s", fd.FullName())) } } @@ -6363,17 +6363,17 @@ func (x *fastReflection_QueryTxLogsRequest) Clear(fd protoreflect.FieldDescripto // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryTxLogsRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.QueryTxLogsRequest.hash": + case "cosmos.evm.vm.v2.QueryTxLogsRequest.hash": value := x.Hash return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.QueryTxLogsRequest.pagination": + case "cosmos.evm.vm.v2.QueryTxLogsRequest.pagination": value := x.Pagination return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTxLogsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTxLogsRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTxLogsRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTxLogsRequest does not contain field %s", descriptor.FullName())) } } @@ -6389,15 +6389,15 @@ func (x *fastReflection_QueryTxLogsRequest) Get(descriptor protoreflect.FieldDes // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryTxLogsRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryTxLogsRequest.hash": + case "cosmos.evm.vm.v2.QueryTxLogsRequest.hash": x.Hash = value.Interface().(string) - case "cosmos.evm.vm.v1.QueryTxLogsRequest.pagination": + case "cosmos.evm.vm.v2.QueryTxLogsRequest.pagination": x.Pagination = value.Message().Interface().(*v1beta1.PageRequest) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTxLogsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTxLogsRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTxLogsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTxLogsRequest does not contain field %s", fd.FullName())) } } @@ -6413,18 +6413,18 @@ func (x *fastReflection_QueryTxLogsRequest) Set(fd protoreflect.FieldDescriptor, // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryTxLogsRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryTxLogsRequest.pagination": + case "cosmos.evm.vm.v2.QueryTxLogsRequest.pagination": if x.Pagination == nil { x.Pagination = new(v1beta1.PageRequest) } return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) - case "cosmos.evm.vm.v1.QueryTxLogsRequest.hash": - panic(fmt.Errorf("field hash of message cosmos.evm.vm.v1.QueryTxLogsRequest is not mutable")) + case "cosmos.evm.vm.v2.QueryTxLogsRequest.hash": + panic(fmt.Errorf("field hash of message cosmos.evm.vm.v2.QueryTxLogsRequest is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTxLogsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTxLogsRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTxLogsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTxLogsRequest does not contain field %s", fd.FullName())) } } @@ -6433,16 +6433,16 @@ func (x *fastReflection_QueryTxLogsRequest) Mutable(fd protoreflect.FieldDescrip // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryTxLogsRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryTxLogsRequest.hash": + case "cosmos.evm.vm.v2.QueryTxLogsRequest.hash": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.QueryTxLogsRequest.pagination": + case "cosmos.evm.vm.v2.QueryTxLogsRequest.pagination": m := new(v1beta1.PageRequest) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTxLogsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTxLogsRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTxLogsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTxLogsRequest does not contain field %s", fd.FullName())) } } @@ -6452,7 +6452,7 @@ func (x *fastReflection_QueryTxLogsRequest) NewField(fd protoreflect.FieldDescri func (x *fastReflection_QueryTxLogsRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.QueryTxLogsRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.QueryTxLogsRequest", d.FullName())) } panic("unreachable") } @@ -6775,8 +6775,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_query_proto_init() - md_QueryTxLogsResponse = File_cosmos_evm_vm_v1_query_proto.Messages().ByName("QueryTxLogsResponse") + file_cosmos_evm_vm_v2_query_proto_init() + md_QueryTxLogsResponse = File_cosmos_evm_vm_v2_query_proto.Messages().ByName("QueryTxLogsResponse") fd_QueryTxLogsResponse_logs = md_QueryTxLogsResponse.Fields().ByName("logs") fd_QueryTxLogsResponse_pagination = md_QueryTxLogsResponse.Fields().ByName("pagination") } @@ -6790,7 +6790,7 @@ func (x *QueryTxLogsResponse) ProtoReflect() protoreflect.Message { } func (x *QueryTxLogsResponse) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[15] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -6873,15 +6873,15 @@ func (x *fastReflection_QueryTxLogsResponse) Range(f func(protoreflect.FieldDesc // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryTxLogsResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryTxLogsResponse.logs": + case "cosmos.evm.vm.v2.QueryTxLogsResponse.logs": return len(x.Logs) != 0 - case "cosmos.evm.vm.v1.QueryTxLogsResponse.pagination": + case "cosmos.evm.vm.v2.QueryTxLogsResponse.pagination": return x.Pagination != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTxLogsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTxLogsResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTxLogsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTxLogsResponse does not contain field %s", fd.FullName())) } } @@ -6893,15 +6893,15 @@ func (x *fastReflection_QueryTxLogsResponse) Has(fd protoreflect.FieldDescriptor // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryTxLogsResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryTxLogsResponse.logs": + case "cosmos.evm.vm.v2.QueryTxLogsResponse.logs": x.Logs = nil - case "cosmos.evm.vm.v1.QueryTxLogsResponse.pagination": + case "cosmos.evm.vm.v2.QueryTxLogsResponse.pagination": x.Pagination = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTxLogsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTxLogsResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTxLogsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTxLogsResponse does not contain field %s", fd.FullName())) } } @@ -6913,20 +6913,20 @@ func (x *fastReflection_QueryTxLogsResponse) Clear(fd protoreflect.FieldDescript // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryTxLogsResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.QueryTxLogsResponse.logs": + case "cosmos.evm.vm.v2.QueryTxLogsResponse.logs": if len(x.Logs) == 0 { return protoreflect.ValueOfList(&_QueryTxLogsResponse_1_list{}) } listValue := &_QueryTxLogsResponse_1_list{list: &x.Logs} return protoreflect.ValueOfList(listValue) - case "cosmos.evm.vm.v1.QueryTxLogsResponse.pagination": + case "cosmos.evm.vm.v2.QueryTxLogsResponse.pagination": value := x.Pagination return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTxLogsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTxLogsResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTxLogsResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTxLogsResponse does not contain field %s", descriptor.FullName())) } } @@ -6942,17 +6942,17 @@ func (x *fastReflection_QueryTxLogsResponse) Get(descriptor protoreflect.FieldDe // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryTxLogsResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryTxLogsResponse.logs": + case "cosmos.evm.vm.v2.QueryTxLogsResponse.logs": lv := value.List() clv := lv.(*_QueryTxLogsResponse_1_list) x.Logs = *clv.list - case "cosmos.evm.vm.v1.QueryTxLogsResponse.pagination": + case "cosmos.evm.vm.v2.QueryTxLogsResponse.pagination": x.Pagination = value.Message().Interface().(*v1beta1.PageResponse) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTxLogsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTxLogsResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTxLogsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTxLogsResponse does not contain field %s", fd.FullName())) } } @@ -6968,22 +6968,22 @@ func (x *fastReflection_QueryTxLogsResponse) Set(fd protoreflect.FieldDescriptor // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryTxLogsResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryTxLogsResponse.logs": + case "cosmos.evm.vm.v2.QueryTxLogsResponse.logs": if x.Logs == nil { x.Logs = []*Log{} } value := &_QueryTxLogsResponse_1_list{list: &x.Logs} return protoreflect.ValueOfList(value) - case "cosmos.evm.vm.v1.QueryTxLogsResponse.pagination": + case "cosmos.evm.vm.v2.QueryTxLogsResponse.pagination": if x.Pagination == nil { x.Pagination = new(v1beta1.PageResponse) } return protoreflect.ValueOfMessage(x.Pagination.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTxLogsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTxLogsResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTxLogsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTxLogsResponse does not contain field %s", fd.FullName())) } } @@ -6992,17 +6992,17 @@ func (x *fastReflection_QueryTxLogsResponse) Mutable(fd protoreflect.FieldDescri // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryTxLogsResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryTxLogsResponse.logs": + case "cosmos.evm.vm.v2.QueryTxLogsResponse.logs": list := []*Log{} return protoreflect.ValueOfList(&_QueryTxLogsResponse_1_list{list: &list}) - case "cosmos.evm.vm.v1.QueryTxLogsResponse.pagination": + case "cosmos.evm.vm.v2.QueryTxLogsResponse.pagination": m := new(v1beta1.PageResponse) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTxLogsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTxLogsResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTxLogsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTxLogsResponse does not contain field %s", fd.FullName())) } } @@ -7012,7 +7012,7 @@ func (x *fastReflection_QueryTxLogsResponse) NewField(fd protoreflect.FieldDescr func (x *fastReflection_QueryTxLogsResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.QueryTxLogsResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.QueryTxLogsResponse", d.FullName())) } panic("unreachable") } @@ -7295,8 +7295,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_query_proto_init() - md_QueryParamsRequest = File_cosmos_evm_vm_v1_query_proto.Messages().ByName("QueryParamsRequest") + file_cosmos_evm_vm_v2_query_proto_init() + md_QueryParamsRequest = File_cosmos_evm_vm_v2_query_proto.Messages().ByName("QueryParamsRequest") } var _ protoreflect.Message = (*fastReflection_QueryParamsRequest)(nil) @@ -7308,7 +7308,7 @@ func (x *QueryParamsRequest) ProtoReflect() protoreflect.Message { } func (x *QueryParamsRequest) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[16] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7381,9 +7381,9 @@ func (x *fastReflection_QueryParamsRequest) Has(fd protoreflect.FieldDescriptor) switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryParamsRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryParamsRequest does not contain field %s", fd.FullName())) } } @@ -7397,9 +7397,9 @@ func (x *fastReflection_QueryParamsRequest) Clear(fd protoreflect.FieldDescripto switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryParamsRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryParamsRequest does not contain field %s", fd.FullName())) } } @@ -7413,9 +7413,9 @@ func (x *fastReflection_QueryParamsRequest) Get(descriptor protoreflect.FieldDes switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryParamsRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryParamsRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryParamsRequest does not contain field %s", descriptor.FullName())) } } @@ -7433,9 +7433,9 @@ func (x *fastReflection_QueryParamsRequest) Set(fd protoreflect.FieldDescriptor, switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryParamsRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryParamsRequest does not contain field %s", fd.FullName())) } } @@ -7453,9 +7453,9 @@ func (x *fastReflection_QueryParamsRequest) Mutable(fd protoreflect.FieldDescrip switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryParamsRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryParamsRequest does not contain field %s", fd.FullName())) } } @@ -7466,9 +7466,9 @@ func (x *fastReflection_QueryParamsRequest) NewField(fd protoreflect.FieldDescri switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryParamsRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryParamsRequest does not contain field %s", fd.FullName())) } } @@ -7478,7 +7478,7 @@ func (x *fastReflection_QueryParamsRequest) NewField(fd protoreflect.FieldDescri func (x *fastReflection_QueryParamsRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.QueryParamsRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.QueryParamsRequest", d.FullName())) } panic("unreachable") } @@ -7652,8 +7652,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_query_proto_init() - md_QueryParamsResponse = File_cosmos_evm_vm_v1_query_proto.Messages().ByName("QueryParamsResponse") + file_cosmos_evm_vm_v2_query_proto_init() + md_QueryParamsResponse = File_cosmos_evm_vm_v2_query_proto.Messages().ByName("QueryParamsResponse") fd_QueryParamsResponse_params = md_QueryParamsResponse.Fields().ByName("params") } @@ -7666,7 +7666,7 @@ func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message { } func (x *QueryParamsResponse) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[17] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7743,13 +7743,13 @@ func (x *fastReflection_QueryParamsResponse) Range(f func(protoreflect.FieldDesc // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryParamsResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryParamsResponse.params": + case "cosmos.evm.vm.v2.QueryParamsResponse.params": return x.Params != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryParamsResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryParamsResponse does not contain field %s", fd.FullName())) } } @@ -7761,13 +7761,13 @@ func (x *fastReflection_QueryParamsResponse) Has(fd protoreflect.FieldDescriptor // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryParamsResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryParamsResponse.params": + case "cosmos.evm.vm.v2.QueryParamsResponse.params": x.Params = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryParamsResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryParamsResponse does not contain field %s", fd.FullName())) } } @@ -7779,14 +7779,14 @@ func (x *fastReflection_QueryParamsResponse) Clear(fd protoreflect.FieldDescript // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryParamsResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.QueryParamsResponse.params": + case "cosmos.evm.vm.v2.QueryParamsResponse.params": value := x.Params return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryParamsResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryParamsResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryParamsResponse does not contain field %s", descriptor.FullName())) } } @@ -7802,13 +7802,13 @@ func (x *fastReflection_QueryParamsResponse) Get(descriptor protoreflect.FieldDe // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryParamsResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryParamsResponse.params": + case "cosmos.evm.vm.v2.QueryParamsResponse.params": x.Params = value.Message().Interface().(*Params) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryParamsResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryParamsResponse does not contain field %s", fd.FullName())) } } @@ -7824,16 +7824,16 @@ func (x *fastReflection_QueryParamsResponse) Set(fd protoreflect.FieldDescriptor // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryParamsResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryParamsResponse.params": + case "cosmos.evm.vm.v2.QueryParamsResponse.params": if x.Params == nil { x.Params = new(Params) } return protoreflect.ValueOfMessage(x.Params.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryParamsResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryParamsResponse does not contain field %s", fd.FullName())) } } @@ -7842,14 +7842,14 @@ func (x *fastReflection_QueryParamsResponse) Mutable(fd protoreflect.FieldDescri // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryParamsResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryParamsResponse.params": + case "cosmos.evm.vm.v2.QueryParamsResponse.params": m := new(Params) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryParamsResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryParamsResponse does not contain field %s", fd.FullName())) } } @@ -7859,7 +7859,7 @@ func (x *fastReflection_QueryParamsResponse) NewField(fd protoreflect.FieldDescr func (x *fastReflection_QueryParamsResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.QueryParamsResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.QueryParamsResponse", d.FullName())) } panic("unreachable") } @@ -8091,8 +8091,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_query_proto_init() - md_EthCallRequest = File_cosmos_evm_vm_v1_query_proto.Messages().ByName("EthCallRequest") + file_cosmos_evm_vm_v2_query_proto_init() + md_EthCallRequest = File_cosmos_evm_vm_v2_query_proto.Messages().ByName("EthCallRequest") fd_EthCallRequest_args = md_EthCallRequest.Fields().ByName("args") fd_EthCallRequest_gas_cap = md_EthCallRequest.Fields().ByName("gas_cap") fd_EthCallRequest_proposer_address = md_EthCallRequest.Fields().ByName("proposer_address") @@ -8109,7 +8109,7 @@ func (x *EthCallRequest) ProtoReflect() protoreflect.Message { } func (x *EthCallRequest) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[18] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8210,21 +8210,21 @@ func (x *fastReflection_EthCallRequest) Range(f func(protoreflect.FieldDescripto // a repeated field is populated if it is non-empty. func (x *fastReflection_EthCallRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.EthCallRequest.args": + case "cosmos.evm.vm.v2.EthCallRequest.args": return len(x.Args) != 0 - case "cosmos.evm.vm.v1.EthCallRequest.gas_cap": + case "cosmos.evm.vm.v2.EthCallRequest.gas_cap": return x.GasCap != uint64(0) - case "cosmos.evm.vm.v1.EthCallRequest.proposer_address": + case "cosmos.evm.vm.v2.EthCallRequest.proposer_address": return len(x.ProposerAddress) != 0 - case "cosmos.evm.vm.v1.EthCallRequest.chain_id": + case "cosmos.evm.vm.v2.EthCallRequest.chain_id": return x.ChainId != int64(0) - case "cosmos.evm.vm.v1.EthCallRequest.overrides": + case "cosmos.evm.vm.v2.EthCallRequest.overrides": return len(x.Overrides) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.EthCallRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.EthCallRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.EthCallRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.EthCallRequest does not contain field %s", fd.FullName())) } } @@ -8236,21 +8236,21 @@ func (x *fastReflection_EthCallRequest) Has(fd protoreflect.FieldDescriptor) boo // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_EthCallRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.EthCallRequest.args": + case "cosmos.evm.vm.v2.EthCallRequest.args": x.Args = nil - case "cosmos.evm.vm.v1.EthCallRequest.gas_cap": + case "cosmos.evm.vm.v2.EthCallRequest.gas_cap": x.GasCap = uint64(0) - case "cosmos.evm.vm.v1.EthCallRequest.proposer_address": + case "cosmos.evm.vm.v2.EthCallRequest.proposer_address": x.ProposerAddress = nil - case "cosmos.evm.vm.v1.EthCallRequest.chain_id": + case "cosmos.evm.vm.v2.EthCallRequest.chain_id": x.ChainId = int64(0) - case "cosmos.evm.vm.v1.EthCallRequest.overrides": + case "cosmos.evm.vm.v2.EthCallRequest.overrides": x.Overrides = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.EthCallRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.EthCallRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.EthCallRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.EthCallRequest does not contain field %s", fd.FullName())) } } @@ -8262,26 +8262,26 @@ func (x *fastReflection_EthCallRequest) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_EthCallRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.EthCallRequest.args": + case "cosmos.evm.vm.v2.EthCallRequest.args": value := x.Args return protoreflect.ValueOfBytes(value) - case "cosmos.evm.vm.v1.EthCallRequest.gas_cap": + case "cosmos.evm.vm.v2.EthCallRequest.gas_cap": value := x.GasCap return protoreflect.ValueOfUint64(value) - case "cosmos.evm.vm.v1.EthCallRequest.proposer_address": + case "cosmos.evm.vm.v2.EthCallRequest.proposer_address": value := x.ProposerAddress return protoreflect.ValueOfBytes(value) - case "cosmos.evm.vm.v1.EthCallRequest.chain_id": + case "cosmos.evm.vm.v2.EthCallRequest.chain_id": value := x.ChainId return protoreflect.ValueOfInt64(value) - case "cosmos.evm.vm.v1.EthCallRequest.overrides": + case "cosmos.evm.vm.v2.EthCallRequest.overrides": value := x.Overrides return protoreflect.ValueOfBytes(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.EthCallRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.EthCallRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.EthCallRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.EthCallRequest does not contain field %s", descriptor.FullName())) } } @@ -8297,21 +8297,21 @@ func (x *fastReflection_EthCallRequest) Get(descriptor protoreflect.FieldDescrip // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_EthCallRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.EthCallRequest.args": + case "cosmos.evm.vm.v2.EthCallRequest.args": x.Args = value.Bytes() - case "cosmos.evm.vm.v1.EthCallRequest.gas_cap": + case "cosmos.evm.vm.v2.EthCallRequest.gas_cap": x.GasCap = value.Uint() - case "cosmos.evm.vm.v1.EthCallRequest.proposer_address": + case "cosmos.evm.vm.v2.EthCallRequest.proposer_address": x.ProposerAddress = value.Bytes() - case "cosmos.evm.vm.v1.EthCallRequest.chain_id": + case "cosmos.evm.vm.v2.EthCallRequest.chain_id": x.ChainId = value.Int() - case "cosmos.evm.vm.v1.EthCallRequest.overrides": + case "cosmos.evm.vm.v2.EthCallRequest.overrides": x.Overrides = value.Bytes() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.EthCallRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.EthCallRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.EthCallRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.EthCallRequest does not contain field %s", fd.FullName())) } } @@ -8327,21 +8327,21 @@ func (x *fastReflection_EthCallRequest) Set(fd protoreflect.FieldDescriptor, val // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_EthCallRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.EthCallRequest.args": - panic(fmt.Errorf("field args of message cosmos.evm.vm.v1.EthCallRequest is not mutable")) - case "cosmos.evm.vm.v1.EthCallRequest.gas_cap": - panic(fmt.Errorf("field gas_cap of message cosmos.evm.vm.v1.EthCallRequest is not mutable")) - case "cosmos.evm.vm.v1.EthCallRequest.proposer_address": - panic(fmt.Errorf("field proposer_address of message cosmos.evm.vm.v1.EthCallRequest is not mutable")) - case "cosmos.evm.vm.v1.EthCallRequest.chain_id": - panic(fmt.Errorf("field chain_id of message cosmos.evm.vm.v1.EthCallRequest is not mutable")) - case "cosmos.evm.vm.v1.EthCallRequest.overrides": - panic(fmt.Errorf("field overrides of message cosmos.evm.vm.v1.EthCallRequest is not mutable")) + case "cosmos.evm.vm.v2.EthCallRequest.args": + panic(fmt.Errorf("field args of message cosmos.evm.vm.v2.EthCallRequest is not mutable")) + case "cosmos.evm.vm.v2.EthCallRequest.gas_cap": + panic(fmt.Errorf("field gas_cap of message cosmos.evm.vm.v2.EthCallRequest is not mutable")) + case "cosmos.evm.vm.v2.EthCallRequest.proposer_address": + panic(fmt.Errorf("field proposer_address of message cosmos.evm.vm.v2.EthCallRequest is not mutable")) + case "cosmos.evm.vm.v2.EthCallRequest.chain_id": + panic(fmt.Errorf("field chain_id of message cosmos.evm.vm.v2.EthCallRequest is not mutable")) + case "cosmos.evm.vm.v2.EthCallRequest.overrides": + panic(fmt.Errorf("field overrides of message cosmos.evm.vm.v2.EthCallRequest is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.EthCallRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.EthCallRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.EthCallRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.EthCallRequest does not contain field %s", fd.FullName())) } } @@ -8350,21 +8350,21 @@ func (x *fastReflection_EthCallRequest) Mutable(fd protoreflect.FieldDescriptor) // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_EthCallRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.EthCallRequest.args": + case "cosmos.evm.vm.v2.EthCallRequest.args": return protoreflect.ValueOfBytes(nil) - case "cosmos.evm.vm.v1.EthCallRequest.gas_cap": + case "cosmos.evm.vm.v2.EthCallRequest.gas_cap": return protoreflect.ValueOfUint64(uint64(0)) - case "cosmos.evm.vm.v1.EthCallRequest.proposer_address": + case "cosmos.evm.vm.v2.EthCallRequest.proposer_address": return protoreflect.ValueOfBytes(nil) - case "cosmos.evm.vm.v1.EthCallRequest.chain_id": + case "cosmos.evm.vm.v2.EthCallRequest.chain_id": return protoreflect.ValueOfInt64(int64(0)) - case "cosmos.evm.vm.v1.EthCallRequest.overrides": + case "cosmos.evm.vm.v2.EthCallRequest.overrides": return protoreflect.ValueOfBytes(nil) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.EthCallRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.EthCallRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.EthCallRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.EthCallRequest does not contain field %s", fd.FullName())) } } @@ -8374,7 +8374,7 @@ func (x *fastReflection_EthCallRequest) NewField(fd protoreflect.FieldDescriptor func (x *fastReflection_EthCallRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.EthCallRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.EthCallRequest", d.FullName())) } panic("unreachable") } @@ -8739,8 +8739,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_query_proto_init() - md_EstimateGasResponse = File_cosmos_evm_vm_v1_query_proto.Messages().ByName("EstimateGasResponse") + file_cosmos_evm_vm_v2_query_proto_init() + md_EstimateGasResponse = File_cosmos_evm_vm_v2_query_proto.Messages().ByName("EstimateGasResponse") fd_EstimateGasResponse_gas = md_EstimateGasResponse.Fields().ByName("gas") fd_EstimateGasResponse_ret = md_EstimateGasResponse.Fields().ByName("ret") fd_EstimateGasResponse_vm_error = md_EstimateGasResponse.Fields().ByName("vm_error") @@ -8755,7 +8755,7 @@ func (x *EstimateGasResponse) ProtoReflect() protoreflect.Message { } func (x *EstimateGasResponse) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[19] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8844,17 +8844,17 @@ func (x *fastReflection_EstimateGasResponse) Range(f func(protoreflect.FieldDesc // a repeated field is populated if it is non-empty. func (x *fastReflection_EstimateGasResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.EstimateGasResponse.gas": + case "cosmos.evm.vm.v2.EstimateGasResponse.gas": return x.Gas != uint64(0) - case "cosmos.evm.vm.v1.EstimateGasResponse.ret": + case "cosmos.evm.vm.v2.EstimateGasResponse.ret": return len(x.Ret) != 0 - case "cosmos.evm.vm.v1.EstimateGasResponse.vm_error": + case "cosmos.evm.vm.v2.EstimateGasResponse.vm_error": return x.VmError != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.EstimateGasResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.EstimateGasResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.EstimateGasResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.EstimateGasResponse does not contain field %s", fd.FullName())) } } @@ -8866,17 +8866,17 @@ func (x *fastReflection_EstimateGasResponse) Has(fd protoreflect.FieldDescriptor // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_EstimateGasResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.EstimateGasResponse.gas": + case "cosmos.evm.vm.v2.EstimateGasResponse.gas": x.Gas = uint64(0) - case "cosmos.evm.vm.v1.EstimateGasResponse.ret": + case "cosmos.evm.vm.v2.EstimateGasResponse.ret": x.Ret = nil - case "cosmos.evm.vm.v1.EstimateGasResponse.vm_error": + case "cosmos.evm.vm.v2.EstimateGasResponse.vm_error": x.VmError = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.EstimateGasResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.EstimateGasResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.EstimateGasResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.EstimateGasResponse does not contain field %s", fd.FullName())) } } @@ -8888,20 +8888,20 @@ func (x *fastReflection_EstimateGasResponse) Clear(fd protoreflect.FieldDescript // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_EstimateGasResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.EstimateGasResponse.gas": + case "cosmos.evm.vm.v2.EstimateGasResponse.gas": value := x.Gas return protoreflect.ValueOfUint64(value) - case "cosmos.evm.vm.v1.EstimateGasResponse.ret": + case "cosmos.evm.vm.v2.EstimateGasResponse.ret": value := x.Ret return protoreflect.ValueOfBytes(value) - case "cosmos.evm.vm.v1.EstimateGasResponse.vm_error": + case "cosmos.evm.vm.v2.EstimateGasResponse.vm_error": value := x.VmError return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.EstimateGasResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.EstimateGasResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.EstimateGasResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.EstimateGasResponse does not contain field %s", descriptor.FullName())) } } @@ -8917,17 +8917,17 @@ func (x *fastReflection_EstimateGasResponse) Get(descriptor protoreflect.FieldDe // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_EstimateGasResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.EstimateGasResponse.gas": + case "cosmos.evm.vm.v2.EstimateGasResponse.gas": x.Gas = value.Uint() - case "cosmos.evm.vm.v1.EstimateGasResponse.ret": + case "cosmos.evm.vm.v2.EstimateGasResponse.ret": x.Ret = value.Bytes() - case "cosmos.evm.vm.v1.EstimateGasResponse.vm_error": + case "cosmos.evm.vm.v2.EstimateGasResponse.vm_error": x.VmError = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.EstimateGasResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.EstimateGasResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.EstimateGasResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.EstimateGasResponse does not contain field %s", fd.FullName())) } } @@ -8943,17 +8943,17 @@ func (x *fastReflection_EstimateGasResponse) Set(fd protoreflect.FieldDescriptor // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_EstimateGasResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.EstimateGasResponse.gas": - panic(fmt.Errorf("field gas of message cosmos.evm.vm.v1.EstimateGasResponse is not mutable")) - case "cosmos.evm.vm.v1.EstimateGasResponse.ret": - panic(fmt.Errorf("field ret of message cosmos.evm.vm.v1.EstimateGasResponse is not mutable")) - case "cosmos.evm.vm.v1.EstimateGasResponse.vm_error": - panic(fmt.Errorf("field vm_error of message cosmos.evm.vm.v1.EstimateGasResponse is not mutable")) + case "cosmos.evm.vm.v2.EstimateGasResponse.gas": + panic(fmt.Errorf("field gas of message cosmos.evm.vm.v2.EstimateGasResponse is not mutable")) + case "cosmos.evm.vm.v2.EstimateGasResponse.ret": + panic(fmt.Errorf("field ret of message cosmos.evm.vm.v2.EstimateGasResponse is not mutable")) + case "cosmos.evm.vm.v2.EstimateGasResponse.vm_error": + panic(fmt.Errorf("field vm_error of message cosmos.evm.vm.v2.EstimateGasResponse is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.EstimateGasResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.EstimateGasResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.EstimateGasResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.EstimateGasResponse does not contain field %s", fd.FullName())) } } @@ -8962,17 +8962,17 @@ func (x *fastReflection_EstimateGasResponse) Mutable(fd protoreflect.FieldDescri // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_EstimateGasResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.EstimateGasResponse.gas": + case "cosmos.evm.vm.v2.EstimateGasResponse.gas": return protoreflect.ValueOfUint64(uint64(0)) - case "cosmos.evm.vm.v1.EstimateGasResponse.ret": + case "cosmos.evm.vm.v2.EstimateGasResponse.ret": return protoreflect.ValueOfBytes(nil) - case "cosmos.evm.vm.v1.EstimateGasResponse.vm_error": + case "cosmos.evm.vm.v2.EstimateGasResponse.vm_error": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.EstimateGasResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.EstimateGasResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.EstimateGasResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.EstimateGasResponse does not contain field %s", fd.FullName())) } } @@ -8982,7 +8982,7 @@ func (x *fastReflection_EstimateGasResponse) NewField(fd protoreflect.FieldDescr func (x *fastReflection_EstimateGasResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.EstimateGasResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.EstimateGasResponse", d.FullName())) } panic("unreachable") } @@ -9330,8 +9330,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_query_proto_init() - md_QueryTraceTxRequest = File_cosmos_evm_vm_v1_query_proto.Messages().ByName("QueryTraceTxRequest") + file_cosmos_evm_vm_v2_query_proto_init() + md_QueryTraceTxRequest = File_cosmos_evm_vm_v2_query_proto.Messages().ByName("QueryTraceTxRequest") fd_QueryTraceTxRequest_msg = md_QueryTraceTxRequest.Fields().ByName("msg") fd_QueryTraceTxRequest_trace_config = md_QueryTraceTxRequest.Fields().ByName("trace_config") fd_QueryTraceTxRequest_predecessors = md_QueryTraceTxRequest.Fields().ByName("predecessors") @@ -9352,7 +9352,7 @@ func (x *QueryTraceTxRequest) ProtoReflect() protoreflect.Message { } func (x *QueryTraceTxRequest) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[20] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9477,29 +9477,29 @@ func (x *fastReflection_QueryTraceTxRequest) Range(f func(protoreflect.FieldDesc // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryTraceTxRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryTraceTxRequest.msg": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.msg": return x.Msg != nil - case "cosmos.evm.vm.v1.QueryTraceTxRequest.trace_config": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.trace_config": return x.TraceConfig != nil - case "cosmos.evm.vm.v1.QueryTraceTxRequest.predecessors": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.predecessors": return len(x.Predecessors) != 0 - case "cosmos.evm.vm.v1.QueryTraceTxRequest.block_number": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.block_number": return x.BlockNumber != int64(0) - case "cosmos.evm.vm.v1.QueryTraceTxRequest.block_hash": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.block_hash": return x.BlockHash != "" - case "cosmos.evm.vm.v1.QueryTraceTxRequest.block_time": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.block_time": return x.BlockTime != nil - case "cosmos.evm.vm.v1.QueryTraceTxRequest.proposer_address": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.proposer_address": return len(x.ProposerAddress) != 0 - case "cosmos.evm.vm.v1.QueryTraceTxRequest.chain_id": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.chain_id": return x.ChainId != int64(0) - case "cosmos.evm.vm.v1.QueryTraceTxRequest.block_max_gas": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.block_max_gas": return x.BlockMaxGas != int64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTraceTxRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTraceTxRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTraceTxRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTraceTxRequest does not contain field %s", fd.FullName())) } } @@ -9511,29 +9511,29 @@ func (x *fastReflection_QueryTraceTxRequest) Has(fd protoreflect.FieldDescriptor // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryTraceTxRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryTraceTxRequest.msg": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.msg": x.Msg = nil - case "cosmos.evm.vm.v1.QueryTraceTxRequest.trace_config": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.trace_config": x.TraceConfig = nil - case "cosmos.evm.vm.v1.QueryTraceTxRequest.predecessors": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.predecessors": x.Predecessors = nil - case "cosmos.evm.vm.v1.QueryTraceTxRequest.block_number": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.block_number": x.BlockNumber = int64(0) - case "cosmos.evm.vm.v1.QueryTraceTxRequest.block_hash": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.block_hash": x.BlockHash = "" - case "cosmos.evm.vm.v1.QueryTraceTxRequest.block_time": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.block_time": x.BlockTime = nil - case "cosmos.evm.vm.v1.QueryTraceTxRequest.proposer_address": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.proposer_address": x.ProposerAddress = nil - case "cosmos.evm.vm.v1.QueryTraceTxRequest.chain_id": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.chain_id": x.ChainId = int64(0) - case "cosmos.evm.vm.v1.QueryTraceTxRequest.block_max_gas": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.block_max_gas": x.BlockMaxGas = int64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTraceTxRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTraceTxRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTraceTxRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTraceTxRequest does not contain field %s", fd.FullName())) } } @@ -9545,41 +9545,41 @@ func (x *fastReflection_QueryTraceTxRequest) Clear(fd protoreflect.FieldDescript // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryTraceTxRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.QueryTraceTxRequest.msg": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.msg": value := x.Msg return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "cosmos.evm.vm.v1.QueryTraceTxRequest.trace_config": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.trace_config": value := x.TraceConfig return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "cosmos.evm.vm.v1.QueryTraceTxRequest.predecessors": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.predecessors": if len(x.Predecessors) == 0 { return protoreflect.ValueOfList(&_QueryTraceTxRequest_4_list{}) } listValue := &_QueryTraceTxRequest_4_list{list: &x.Predecessors} return protoreflect.ValueOfList(listValue) - case "cosmos.evm.vm.v1.QueryTraceTxRequest.block_number": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.block_number": value := x.BlockNumber return protoreflect.ValueOfInt64(value) - case "cosmos.evm.vm.v1.QueryTraceTxRequest.block_hash": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.block_hash": value := x.BlockHash return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.QueryTraceTxRequest.block_time": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.block_time": value := x.BlockTime return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "cosmos.evm.vm.v1.QueryTraceTxRequest.proposer_address": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.proposer_address": value := x.ProposerAddress return protoreflect.ValueOfBytes(value) - case "cosmos.evm.vm.v1.QueryTraceTxRequest.chain_id": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.chain_id": value := x.ChainId return protoreflect.ValueOfInt64(value) - case "cosmos.evm.vm.v1.QueryTraceTxRequest.block_max_gas": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.block_max_gas": value := x.BlockMaxGas return protoreflect.ValueOfInt64(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTraceTxRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTraceTxRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTraceTxRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTraceTxRequest does not contain field %s", descriptor.FullName())) } } @@ -9595,31 +9595,31 @@ func (x *fastReflection_QueryTraceTxRequest) Get(descriptor protoreflect.FieldDe // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryTraceTxRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryTraceTxRequest.msg": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.msg": x.Msg = value.Message().Interface().(*MsgEthereumTx) - case "cosmos.evm.vm.v1.QueryTraceTxRequest.trace_config": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.trace_config": x.TraceConfig = value.Message().Interface().(*TraceConfig) - case "cosmos.evm.vm.v1.QueryTraceTxRequest.predecessors": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.predecessors": lv := value.List() clv := lv.(*_QueryTraceTxRequest_4_list) x.Predecessors = *clv.list - case "cosmos.evm.vm.v1.QueryTraceTxRequest.block_number": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.block_number": x.BlockNumber = value.Int() - case "cosmos.evm.vm.v1.QueryTraceTxRequest.block_hash": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.block_hash": x.BlockHash = value.Interface().(string) - case "cosmos.evm.vm.v1.QueryTraceTxRequest.block_time": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.block_time": x.BlockTime = value.Message().Interface().(*timestamppb.Timestamp) - case "cosmos.evm.vm.v1.QueryTraceTxRequest.proposer_address": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.proposer_address": x.ProposerAddress = value.Bytes() - case "cosmos.evm.vm.v1.QueryTraceTxRequest.chain_id": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.chain_id": x.ChainId = value.Int() - case "cosmos.evm.vm.v1.QueryTraceTxRequest.block_max_gas": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.block_max_gas": x.BlockMaxGas = value.Int() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTraceTxRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTraceTxRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTraceTxRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTraceTxRequest does not contain field %s", fd.FullName())) } } @@ -9635,42 +9635,42 @@ func (x *fastReflection_QueryTraceTxRequest) Set(fd protoreflect.FieldDescriptor // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryTraceTxRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryTraceTxRequest.msg": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.msg": if x.Msg == nil { x.Msg = new(MsgEthereumTx) } return protoreflect.ValueOfMessage(x.Msg.ProtoReflect()) - case "cosmos.evm.vm.v1.QueryTraceTxRequest.trace_config": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.trace_config": if x.TraceConfig == nil { x.TraceConfig = new(TraceConfig) } return protoreflect.ValueOfMessage(x.TraceConfig.ProtoReflect()) - case "cosmos.evm.vm.v1.QueryTraceTxRequest.predecessors": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.predecessors": if x.Predecessors == nil { x.Predecessors = []*MsgEthereumTx{} } value := &_QueryTraceTxRequest_4_list{list: &x.Predecessors} return protoreflect.ValueOfList(value) - case "cosmos.evm.vm.v1.QueryTraceTxRequest.block_time": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.block_time": if x.BlockTime == nil { x.BlockTime = new(timestamppb.Timestamp) } return protoreflect.ValueOfMessage(x.BlockTime.ProtoReflect()) - case "cosmos.evm.vm.v1.QueryTraceTxRequest.block_number": - panic(fmt.Errorf("field block_number of message cosmos.evm.vm.v1.QueryTraceTxRequest is not mutable")) - case "cosmos.evm.vm.v1.QueryTraceTxRequest.block_hash": - panic(fmt.Errorf("field block_hash of message cosmos.evm.vm.v1.QueryTraceTxRequest is not mutable")) - case "cosmos.evm.vm.v1.QueryTraceTxRequest.proposer_address": - panic(fmt.Errorf("field proposer_address of message cosmos.evm.vm.v1.QueryTraceTxRequest is not mutable")) - case "cosmos.evm.vm.v1.QueryTraceTxRequest.chain_id": - panic(fmt.Errorf("field chain_id of message cosmos.evm.vm.v1.QueryTraceTxRequest is not mutable")) - case "cosmos.evm.vm.v1.QueryTraceTxRequest.block_max_gas": - panic(fmt.Errorf("field block_max_gas of message cosmos.evm.vm.v1.QueryTraceTxRequest is not mutable")) + case "cosmos.evm.vm.v2.QueryTraceTxRequest.block_number": + panic(fmt.Errorf("field block_number of message cosmos.evm.vm.v2.QueryTraceTxRequest is not mutable")) + case "cosmos.evm.vm.v2.QueryTraceTxRequest.block_hash": + panic(fmt.Errorf("field block_hash of message cosmos.evm.vm.v2.QueryTraceTxRequest is not mutable")) + case "cosmos.evm.vm.v2.QueryTraceTxRequest.proposer_address": + panic(fmt.Errorf("field proposer_address of message cosmos.evm.vm.v2.QueryTraceTxRequest is not mutable")) + case "cosmos.evm.vm.v2.QueryTraceTxRequest.chain_id": + panic(fmt.Errorf("field chain_id of message cosmos.evm.vm.v2.QueryTraceTxRequest is not mutable")) + case "cosmos.evm.vm.v2.QueryTraceTxRequest.block_max_gas": + panic(fmt.Errorf("field block_max_gas of message cosmos.evm.vm.v2.QueryTraceTxRequest is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTraceTxRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTraceTxRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTraceTxRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTraceTxRequest does not contain field %s", fd.FullName())) } } @@ -9679,33 +9679,33 @@ func (x *fastReflection_QueryTraceTxRequest) Mutable(fd protoreflect.FieldDescri // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryTraceTxRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryTraceTxRequest.msg": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.msg": m := new(MsgEthereumTx) return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "cosmos.evm.vm.v1.QueryTraceTxRequest.trace_config": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.trace_config": m := new(TraceConfig) return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "cosmos.evm.vm.v1.QueryTraceTxRequest.predecessors": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.predecessors": list := []*MsgEthereumTx{} return protoreflect.ValueOfList(&_QueryTraceTxRequest_4_list{list: &list}) - case "cosmos.evm.vm.v1.QueryTraceTxRequest.block_number": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.block_number": return protoreflect.ValueOfInt64(int64(0)) - case "cosmos.evm.vm.v1.QueryTraceTxRequest.block_hash": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.block_hash": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.QueryTraceTxRequest.block_time": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.block_time": m := new(timestamppb.Timestamp) return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "cosmos.evm.vm.v1.QueryTraceTxRequest.proposer_address": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.proposer_address": return protoreflect.ValueOfBytes(nil) - case "cosmos.evm.vm.v1.QueryTraceTxRequest.chain_id": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.chain_id": return protoreflect.ValueOfInt64(int64(0)) - case "cosmos.evm.vm.v1.QueryTraceTxRequest.block_max_gas": + case "cosmos.evm.vm.v2.QueryTraceTxRequest.block_max_gas": return protoreflect.ValueOfInt64(int64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTraceTxRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTraceTxRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTraceTxRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTraceTxRequest does not contain field %s", fd.FullName())) } } @@ -9715,7 +9715,7 @@ func (x *fastReflection_QueryTraceTxRequest) NewField(fd protoreflect.FieldDescr func (x *fastReflection_QueryTraceTxRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.QueryTraceTxRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.QueryTraceTxRequest", d.FullName())) } panic("unreachable") } @@ -10276,8 +10276,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_query_proto_init() - md_QueryTraceTxResponse = File_cosmos_evm_vm_v1_query_proto.Messages().ByName("QueryTraceTxResponse") + file_cosmos_evm_vm_v2_query_proto_init() + md_QueryTraceTxResponse = File_cosmos_evm_vm_v2_query_proto.Messages().ByName("QueryTraceTxResponse") fd_QueryTraceTxResponse_data = md_QueryTraceTxResponse.Fields().ByName("data") } @@ -10290,7 +10290,7 @@ func (x *QueryTraceTxResponse) ProtoReflect() protoreflect.Message { } func (x *QueryTraceTxResponse) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[21] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10367,13 +10367,13 @@ func (x *fastReflection_QueryTraceTxResponse) Range(f func(protoreflect.FieldDes // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryTraceTxResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryTraceTxResponse.data": + case "cosmos.evm.vm.v2.QueryTraceTxResponse.data": return len(x.Data) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTraceTxResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTraceTxResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTraceTxResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTraceTxResponse does not contain field %s", fd.FullName())) } } @@ -10385,13 +10385,13 @@ func (x *fastReflection_QueryTraceTxResponse) Has(fd protoreflect.FieldDescripto // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryTraceTxResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryTraceTxResponse.data": + case "cosmos.evm.vm.v2.QueryTraceTxResponse.data": x.Data = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTraceTxResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTraceTxResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTraceTxResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTraceTxResponse does not contain field %s", fd.FullName())) } } @@ -10403,14 +10403,14 @@ func (x *fastReflection_QueryTraceTxResponse) Clear(fd protoreflect.FieldDescrip // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryTraceTxResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.QueryTraceTxResponse.data": + case "cosmos.evm.vm.v2.QueryTraceTxResponse.data": value := x.Data return protoreflect.ValueOfBytes(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTraceTxResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTraceTxResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTraceTxResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTraceTxResponse does not contain field %s", descriptor.FullName())) } } @@ -10426,13 +10426,13 @@ func (x *fastReflection_QueryTraceTxResponse) Get(descriptor protoreflect.FieldD // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryTraceTxResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryTraceTxResponse.data": + case "cosmos.evm.vm.v2.QueryTraceTxResponse.data": x.Data = value.Bytes() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTraceTxResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTraceTxResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTraceTxResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTraceTxResponse does not contain field %s", fd.FullName())) } } @@ -10448,13 +10448,13 @@ func (x *fastReflection_QueryTraceTxResponse) Set(fd protoreflect.FieldDescripto // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryTraceTxResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryTraceTxResponse.data": - panic(fmt.Errorf("field data of message cosmos.evm.vm.v1.QueryTraceTxResponse is not mutable")) + case "cosmos.evm.vm.v2.QueryTraceTxResponse.data": + panic(fmt.Errorf("field data of message cosmos.evm.vm.v2.QueryTraceTxResponse is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTraceTxResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTraceTxResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTraceTxResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTraceTxResponse does not contain field %s", fd.FullName())) } } @@ -10463,13 +10463,13 @@ func (x *fastReflection_QueryTraceTxResponse) Mutable(fd protoreflect.FieldDescr // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryTraceTxResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryTraceTxResponse.data": + case "cosmos.evm.vm.v2.QueryTraceTxResponse.data": return protoreflect.ValueOfBytes(nil) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTraceTxResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTraceTxResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTraceTxResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTraceTxResponse does not contain field %s", fd.FullName())) } } @@ -10479,7 +10479,7 @@ func (x *fastReflection_QueryTraceTxResponse) NewField(fd protoreflect.FieldDesc func (x *fastReflection_QueryTraceTxResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.QueryTraceTxResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.QueryTraceTxResponse", d.FullName())) } panic("unreachable") } @@ -10756,8 +10756,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_query_proto_init() - md_QueryTraceBlockRequest = File_cosmos_evm_vm_v1_query_proto.Messages().ByName("QueryTraceBlockRequest") + file_cosmos_evm_vm_v2_query_proto_init() + md_QueryTraceBlockRequest = File_cosmos_evm_vm_v2_query_proto.Messages().ByName("QueryTraceBlockRequest") fd_QueryTraceBlockRequest_txs = md_QueryTraceBlockRequest.Fields().ByName("txs") fd_QueryTraceBlockRequest_trace_config = md_QueryTraceBlockRequest.Fields().ByName("trace_config") fd_QueryTraceBlockRequest_block_number = md_QueryTraceBlockRequest.Fields().ByName("block_number") @@ -10777,7 +10777,7 @@ func (x *QueryTraceBlockRequest) ProtoReflect() protoreflect.Message { } func (x *QueryTraceBlockRequest) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[22] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10896,27 +10896,27 @@ func (x *fastReflection_QueryTraceBlockRequest) Range(f func(protoreflect.FieldD // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryTraceBlockRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.txs": + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.txs": return len(x.Txs) != 0 - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.trace_config": + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.trace_config": return x.TraceConfig != nil - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.block_number": + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.block_number": return x.BlockNumber != int64(0) - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.block_hash": + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.block_hash": return x.BlockHash != "" - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.block_time": + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.block_time": return x.BlockTime != nil - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.proposer_address": + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.proposer_address": return len(x.ProposerAddress) != 0 - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.chain_id": + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.chain_id": return x.ChainId != int64(0) - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.block_max_gas": + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.block_max_gas": return x.BlockMaxGas != int64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTraceBlockRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTraceBlockRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTraceBlockRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTraceBlockRequest does not contain field %s", fd.FullName())) } } @@ -10928,27 +10928,27 @@ func (x *fastReflection_QueryTraceBlockRequest) Has(fd protoreflect.FieldDescrip // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryTraceBlockRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.txs": + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.txs": x.Txs = nil - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.trace_config": + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.trace_config": x.TraceConfig = nil - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.block_number": + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.block_number": x.BlockNumber = int64(0) - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.block_hash": + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.block_hash": x.BlockHash = "" - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.block_time": + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.block_time": x.BlockTime = nil - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.proposer_address": + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.proposer_address": x.ProposerAddress = nil - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.chain_id": + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.chain_id": x.ChainId = int64(0) - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.block_max_gas": + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.block_max_gas": x.BlockMaxGas = int64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTraceBlockRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTraceBlockRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTraceBlockRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTraceBlockRequest does not contain field %s", fd.FullName())) } } @@ -10960,38 +10960,38 @@ func (x *fastReflection_QueryTraceBlockRequest) Clear(fd protoreflect.FieldDescr // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryTraceBlockRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.txs": + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.txs": if len(x.Txs) == 0 { return protoreflect.ValueOfList(&_QueryTraceBlockRequest_1_list{}) } listValue := &_QueryTraceBlockRequest_1_list{list: &x.Txs} return protoreflect.ValueOfList(listValue) - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.trace_config": + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.trace_config": value := x.TraceConfig return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.block_number": + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.block_number": value := x.BlockNumber return protoreflect.ValueOfInt64(value) - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.block_hash": + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.block_hash": value := x.BlockHash return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.block_time": + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.block_time": value := x.BlockTime return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.proposer_address": + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.proposer_address": value := x.ProposerAddress return protoreflect.ValueOfBytes(value) - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.chain_id": + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.chain_id": value := x.ChainId return protoreflect.ValueOfInt64(value) - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.block_max_gas": + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.block_max_gas": value := x.BlockMaxGas return protoreflect.ValueOfInt64(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTraceBlockRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTraceBlockRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTraceBlockRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTraceBlockRequest does not contain field %s", descriptor.FullName())) } } @@ -11007,29 +11007,29 @@ func (x *fastReflection_QueryTraceBlockRequest) Get(descriptor protoreflect.Fiel // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryTraceBlockRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.txs": + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.txs": lv := value.List() clv := lv.(*_QueryTraceBlockRequest_1_list) x.Txs = *clv.list - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.trace_config": + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.trace_config": x.TraceConfig = value.Message().Interface().(*TraceConfig) - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.block_number": + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.block_number": x.BlockNumber = value.Int() - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.block_hash": + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.block_hash": x.BlockHash = value.Interface().(string) - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.block_time": + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.block_time": x.BlockTime = value.Message().Interface().(*timestamppb.Timestamp) - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.proposer_address": + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.proposer_address": x.ProposerAddress = value.Bytes() - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.chain_id": + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.chain_id": x.ChainId = value.Int() - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.block_max_gas": + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.block_max_gas": x.BlockMaxGas = value.Int() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTraceBlockRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTraceBlockRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTraceBlockRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTraceBlockRequest does not contain field %s", fd.FullName())) } } @@ -11045,37 +11045,37 @@ func (x *fastReflection_QueryTraceBlockRequest) Set(fd protoreflect.FieldDescrip // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryTraceBlockRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.txs": + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.txs": if x.Txs == nil { x.Txs = []*MsgEthereumTx{} } value := &_QueryTraceBlockRequest_1_list{list: &x.Txs} return protoreflect.ValueOfList(value) - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.trace_config": + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.trace_config": if x.TraceConfig == nil { x.TraceConfig = new(TraceConfig) } return protoreflect.ValueOfMessage(x.TraceConfig.ProtoReflect()) - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.block_time": + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.block_time": if x.BlockTime == nil { x.BlockTime = new(timestamppb.Timestamp) } return protoreflect.ValueOfMessage(x.BlockTime.ProtoReflect()) - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.block_number": - panic(fmt.Errorf("field block_number of message cosmos.evm.vm.v1.QueryTraceBlockRequest is not mutable")) - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.block_hash": - panic(fmt.Errorf("field block_hash of message cosmos.evm.vm.v1.QueryTraceBlockRequest is not mutable")) - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.proposer_address": - panic(fmt.Errorf("field proposer_address of message cosmos.evm.vm.v1.QueryTraceBlockRequest is not mutable")) - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.chain_id": - panic(fmt.Errorf("field chain_id of message cosmos.evm.vm.v1.QueryTraceBlockRequest is not mutable")) - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.block_max_gas": - panic(fmt.Errorf("field block_max_gas of message cosmos.evm.vm.v1.QueryTraceBlockRequest is not mutable")) + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.block_number": + panic(fmt.Errorf("field block_number of message cosmos.evm.vm.v2.QueryTraceBlockRequest is not mutable")) + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.block_hash": + panic(fmt.Errorf("field block_hash of message cosmos.evm.vm.v2.QueryTraceBlockRequest is not mutable")) + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.proposer_address": + panic(fmt.Errorf("field proposer_address of message cosmos.evm.vm.v2.QueryTraceBlockRequest is not mutable")) + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.chain_id": + panic(fmt.Errorf("field chain_id of message cosmos.evm.vm.v2.QueryTraceBlockRequest is not mutable")) + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.block_max_gas": + panic(fmt.Errorf("field block_max_gas of message cosmos.evm.vm.v2.QueryTraceBlockRequest is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTraceBlockRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTraceBlockRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTraceBlockRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTraceBlockRequest does not contain field %s", fd.FullName())) } } @@ -11084,30 +11084,30 @@ func (x *fastReflection_QueryTraceBlockRequest) Mutable(fd protoreflect.FieldDes // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryTraceBlockRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.txs": + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.txs": list := []*MsgEthereumTx{} return protoreflect.ValueOfList(&_QueryTraceBlockRequest_1_list{list: &list}) - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.trace_config": + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.trace_config": m := new(TraceConfig) return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.block_number": + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.block_number": return protoreflect.ValueOfInt64(int64(0)) - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.block_hash": + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.block_hash": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.block_time": + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.block_time": m := new(timestamppb.Timestamp) return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.proposer_address": + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.proposer_address": return protoreflect.ValueOfBytes(nil) - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.chain_id": + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.chain_id": return protoreflect.ValueOfInt64(int64(0)) - case "cosmos.evm.vm.v1.QueryTraceBlockRequest.block_max_gas": + case "cosmos.evm.vm.v2.QueryTraceBlockRequest.block_max_gas": return protoreflect.ValueOfInt64(int64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTraceBlockRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTraceBlockRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTraceBlockRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTraceBlockRequest does not contain field %s", fd.FullName())) } } @@ -11117,7 +11117,7 @@ func (x *fastReflection_QueryTraceBlockRequest) NewField(fd protoreflect.FieldDe func (x *fastReflection_QueryTraceBlockRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.QueryTraceBlockRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.QueryTraceBlockRequest", d.FullName())) } panic("unreachable") } @@ -11624,8 +11624,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_query_proto_init() - md_QueryTraceBlockResponse = File_cosmos_evm_vm_v1_query_proto.Messages().ByName("QueryTraceBlockResponse") + file_cosmos_evm_vm_v2_query_proto_init() + md_QueryTraceBlockResponse = File_cosmos_evm_vm_v2_query_proto.Messages().ByName("QueryTraceBlockResponse") fd_QueryTraceBlockResponse_data = md_QueryTraceBlockResponse.Fields().ByName("data") } @@ -11638,7 +11638,7 @@ func (x *QueryTraceBlockResponse) ProtoReflect() protoreflect.Message { } func (x *QueryTraceBlockResponse) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[23] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11715,13 +11715,13 @@ func (x *fastReflection_QueryTraceBlockResponse) Range(f func(protoreflect.Field // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryTraceBlockResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryTraceBlockResponse.data": + case "cosmos.evm.vm.v2.QueryTraceBlockResponse.data": return len(x.Data) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTraceBlockResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTraceBlockResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTraceBlockResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTraceBlockResponse does not contain field %s", fd.FullName())) } } @@ -11733,13 +11733,13 @@ func (x *fastReflection_QueryTraceBlockResponse) Has(fd protoreflect.FieldDescri // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryTraceBlockResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryTraceBlockResponse.data": + case "cosmos.evm.vm.v2.QueryTraceBlockResponse.data": x.Data = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTraceBlockResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTraceBlockResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTraceBlockResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTraceBlockResponse does not contain field %s", fd.FullName())) } } @@ -11751,14 +11751,14 @@ func (x *fastReflection_QueryTraceBlockResponse) Clear(fd protoreflect.FieldDesc // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryTraceBlockResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.QueryTraceBlockResponse.data": + case "cosmos.evm.vm.v2.QueryTraceBlockResponse.data": value := x.Data return protoreflect.ValueOfBytes(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTraceBlockResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTraceBlockResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTraceBlockResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTraceBlockResponse does not contain field %s", descriptor.FullName())) } } @@ -11774,13 +11774,13 @@ func (x *fastReflection_QueryTraceBlockResponse) Get(descriptor protoreflect.Fie // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryTraceBlockResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryTraceBlockResponse.data": + case "cosmos.evm.vm.v2.QueryTraceBlockResponse.data": x.Data = value.Bytes() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTraceBlockResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTraceBlockResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTraceBlockResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTraceBlockResponse does not contain field %s", fd.FullName())) } } @@ -11796,13 +11796,13 @@ func (x *fastReflection_QueryTraceBlockResponse) Set(fd protoreflect.FieldDescri // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryTraceBlockResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryTraceBlockResponse.data": - panic(fmt.Errorf("field data of message cosmos.evm.vm.v1.QueryTraceBlockResponse is not mutable")) + case "cosmos.evm.vm.v2.QueryTraceBlockResponse.data": + panic(fmt.Errorf("field data of message cosmos.evm.vm.v2.QueryTraceBlockResponse is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTraceBlockResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTraceBlockResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTraceBlockResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTraceBlockResponse does not contain field %s", fd.FullName())) } } @@ -11811,13 +11811,13 @@ func (x *fastReflection_QueryTraceBlockResponse) Mutable(fd protoreflect.FieldDe // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryTraceBlockResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryTraceBlockResponse.data": + case "cosmos.evm.vm.v2.QueryTraceBlockResponse.data": return protoreflect.ValueOfBytes(nil) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTraceBlockResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTraceBlockResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTraceBlockResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTraceBlockResponse does not contain field %s", fd.FullName())) } } @@ -11827,7 +11827,7 @@ func (x *fastReflection_QueryTraceBlockResponse) NewField(fd protoreflect.FieldD func (x *fastReflection_QueryTraceBlockResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.QueryTraceBlockResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.QueryTraceBlockResponse", d.FullName())) } panic("unreachable") } @@ -12053,8 +12053,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_query_proto_init() - md_QueryTraceCallRequest = File_cosmos_evm_vm_v1_query_proto.Messages().ByName("QueryTraceCallRequest") + file_cosmos_evm_vm_v2_query_proto_init() + md_QueryTraceCallRequest = File_cosmos_evm_vm_v2_query_proto.Messages().ByName("QueryTraceCallRequest") fd_QueryTraceCallRequest_args = md_QueryTraceCallRequest.Fields().ByName("args") fd_QueryTraceCallRequest_gas_cap = md_QueryTraceCallRequest.Fields().ByName("gas_cap") fd_QueryTraceCallRequest_proposer_address = md_QueryTraceCallRequest.Fields().ByName("proposer_address") @@ -12074,7 +12074,7 @@ func (x *QueryTraceCallRequest) ProtoReflect() protoreflect.Message { } func (x *QueryTraceCallRequest) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[24] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12193,27 +12193,27 @@ func (x *fastReflection_QueryTraceCallRequest) Range(f func(protoreflect.FieldDe // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryTraceCallRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryTraceCallRequest.args": + case "cosmos.evm.vm.v2.QueryTraceCallRequest.args": return len(x.Args) != 0 - case "cosmos.evm.vm.v1.QueryTraceCallRequest.gas_cap": + case "cosmos.evm.vm.v2.QueryTraceCallRequest.gas_cap": return x.GasCap != uint64(0) - case "cosmos.evm.vm.v1.QueryTraceCallRequest.proposer_address": + case "cosmos.evm.vm.v2.QueryTraceCallRequest.proposer_address": return len(x.ProposerAddress) != 0 - case "cosmos.evm.vm.v1.QueryTraceCallRequest.trace_config": + case "cosmos.evm.vm.v2.QueryTraceCallRequest.trace_config": return x.TraceConfig != nil - case "cosmos.evm.vm.v1.QueryTraceCallRequest.block_number": + case "cosmos.evm.vm.v2.QueryTraceCallRequest.block_number": return x.BlockNumber != int64(0) - case "cosmos.evm.vm.v1.QueryTraceCallRequest.block_hash": + case "cosmos.evm.vm.v2.QueryTraceCallRequest.block_hash": return x.BlockHash != "" - case "cosmos.evm.vm.v1.QueryTraceCallRequest.block_time": + case "cosmos.evm.vm.v2.QueryTraceCallRequest.block_time": return x.BlockTime != nil - case "cosmos.evm.vm.v1.QueryTraceCallRequest.chain_id": + case "cosmos.evm.vm.v2.QueryTraceCallRequest.chain_id": return x.ChainId != int64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTraceCallRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTraceCallRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTraceCallRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTraceCallRequest does not contain field %s", fd.FullName())) } } @@ -12225,27 +12225,27 @@ func (x *fastReflection_QueryTraceCallRequest) Has(fd protoreflect.FieldDescript // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryTraceCallRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryTraceCallRequest.args": + case "cosmos.evm.vm.v2.QueryTraceCallRequest.args": x.Args = nil - case "cosmos.evm.vm.v1.QueryTraceCallRequest.gas_cap": + case "cosmos.evm.vm.v2.QueryTraceCallRequest.gas_cap": x.GasCap = uint64(0) - case "cosmos.evm.vm.v1.QueryTraceCallRequest.proposer_address": + case "cosmos.evm.vm.v2.QueryTraceCallRequest.proposer_address": x.ProposerAddress = nil - case "cosmos.evm.vm.v1.QueryTraceCallRequest.trace_config": + case "cosmos.evm.vm.v2.QueryTraceCallRequest.trace_config": x.TraceConfig = nil - case "cosmos.evm.vm.v1.QueryTraceCallRequest.block_number": + case "cosmos.evm.vm.v2.QueryTraceCallRequest.block_number": x.BlockNumber = int64(0) - case "cosmos.evm.vm.v1.QueryTraceCallRequest.block_hash": + case "cosmos.evm.vm.v2.QueryTraceCallRequest.block_hash": x.BlockHash = "" - case "cosmos.evm.vm.v1.QueryTraceCallRequest.block_time": + case "cosmos.evm.vm.v2.QueryTraceCallRequest.block_time": x.BlockTime = nil - case "cosmos.evm.vm.v1.QueryTraceCallRequest.chain_id": + case "cosmos.evm.vm.v2.QueryTraceCallRequest.chain_id": x.ChainId = int64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTraceCallRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTraceCallRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTraceCallRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTraceCallRequest does not contain field %s", fd.FullName())) } } @@ -12257,35 +12257,35 @@ func (x *fastReflection_QueryTraceCallRequest) Clear(fd protoreflect.FieldDescri // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryTraceCallRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.QueryTraceCallRequest.args": + case "cosmos.evm.vm.v2.QueryTraceCallRequest.args": value := x.Args return protoreflect.ValueOfBytes(value) - case "cosmos.evm.vm.v1.QueryTraceCallRequest.gas_cap": + case "cosmos.evm.vm.v2.QueryTraceCallRequest.gas_cap": value := x.GasCap return protoreflect.ValueOfUint64(value) - case "cosmos.evm.vm.v1.QueryTraceCallRequest.proposer_address": + case "cosmos.evm.vm.v2.QueryTraceCallRequest.proposer_address": value := x.ProposerAddress return protoreflect.ValueOfBytes(value) - case "cosmos.evm.vm.v1.QueryTraceCallRequest.trace_config": + case "cosmos.evm.vm.v2.QueryTraceCallRequest.trace_config": value := x.TraceConfig return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "cosmos.evm.vm.v1.QueryTraceCallRequest.block_number": + case "cosmos.evm.vm.v2.QueryTraceCallRequest.block_number": value := x.BlockNumber return protoreflect.ValueOfInt64(value) - case "cosmos.evm.vm.v1.QueryTraceCallRequest.block_hash": + case "cosmos.evm.vm.v2.QueryTraceCallRequest.block_hash": value := x.BlockHash return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.QueryTraceCallRequest.block_time": + case "cosmos.evm.vm.v2.QueryTraceCallRequest.block_time": value := x.BlockTime return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "cosmos.evm.vm.v1.QueryTraceCallRequest.chain_id": + case "cosmos.evm.vm.v2.QueryTraceCallRequest.chain_id": value := x.ChainId return protoreflect.ValueOfInt64(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTraceCallRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTraceCallRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTraceCallRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTraceCallRequest does not contain field %s", descriptor.FullName())) } } @@ -12301,27 +12301,27 @@ func (x *fastReflection_QueryTraceCallRequest) Get(descriptor protoreflect.Field // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryTraceCallRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryTraceCallRequest.args": + case "cosmos.evm.vm.v2.QueryTraceCallRequest.args": x.Args = value.Bytes() - case "cosmos.evm.vm.v1.QueryTraceCallRequest.gas_cap": + case "cosmos.evm.vm.v2.QueryTraceCallRequest.gas_cap": x.GasCap = value.Uint() - case "cosmos.evm.vm.v1.QueryTraceCallRequest.proposer_address": + case "cosmos.evm.vm.v2.QueryTraceCallRequest.proposer_address": x.ProposerAddress = value.Bytes() - case "cosmos.evm.vm.v1.QueryTraceCallRequest.trace_config": + case "cosmos.evm.vm.v2.QueryTraceCallRequest.trace_config": x.TraceConfig = value.Message().Interface().(*TraceConfig) - case "cosmos.evm.vm.v1.QueryTraceCallRequest.block_number": + case "cosmos.evm.vm.v2.QueryTraceCallRequest.block_number": x.BlockNumber = value.Int() - case "cosmos.evm.vm.v1.QueryTraceCallRequest.block_hash": + case "cosmos.evm.vm.v2.QueryTraceCallRequest.block_hash": x.BlockHash = value.Interface().(string) - case "cosmos.evm.vm.v1.QueryTraceCallRequest.block_time": + case "cosmos.evm.vm.v2.QueryTraceCallRequest.block_time": x.BlockTime = value.Message().Interface().(*timestamppb.Timestamp) - case "cosmos.evm.vm.v1.QueryTraceCallRequest.chain_id": + case "cosmos.evm.vm.v2.QueryTraceCallRequest.chain_id": x.ChainId = value.Int() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTraceCallRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTraceCallRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTraceCallRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTraceCallRequest does not contain field %s", fd.FullName())) } } @@ -12337,33 +12337,33 @@ func (x *fastReflection_QueryTraceCallRequest) Set(fd protoreflect.FieldDescript // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryTraceCallRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryTraceCallRequest.trace_config": + case "cosmos.evm.vm.v2.QueryTraceCallRequest.trace_config": if x.TraceConfig == nil { x.TraceConfig = new(TraceConfig) } return protoreflect.ValueOfMessage(x.TraceConfig.ProtoReflect()) - case "cosmos.evm.vm.v1.QueryTraceCallRequest.block_time": + case "cosmos.evm.vm.v2.QueryTraceCallRequest.block_time": if x.BlockTime == nil { x.BlockTime = new(timestamppb.Timestamp) } return protoreflect.ValueOfMessage(x.BlockTime.ProtoReflect()) - case "cosmos.evm.vm.v1.QueryTraceCallRequest.args": - panic(fmt.Errorf("field args of message cosmos.evm.vm.v1.QueryTraceCallRequest is not mutable")) - case "cosmos.evm.vm.v1.QueryTraceCallRequest.gas_cap": - panic(fmt.Errorf("field gas_cap of message cosmos.evm.vm.v1.QueryTraceCallRequest is not mutable")) - case "cosmos.evm.vm.v1.QueryTraceCallRequest.proposer_address": - panic(fmt.Errorf("field proposer_address of message cosmos.evm.vm.v1.QueryTraceCallRequest is not mutable")) - case "cosmos.evm.vm.v1.QueryTraceCallRequest.block_number": - panic(fmt.Errorf("field block_number of message cosmos.evm.vm.v1.QueryTraceCallRequest is not mutable")) - case "cosmos.evm.vm.v1.QueryTraceCallRequest.block_hash": - panic(fmt.Errorf("field block_hash of message cosmos.evm.vm.v1.QueryTraceCallRequest is not mutable")) - case "cosmos.evm.vm.v1.QueryTraceCallRequest.chain_id": - panic(fmt.Errorf("field chain_id of message cosmos.evm.vm.v1.QueryTraceCallRequest is not mutable")) + case "cosmos.evm.vm.v2.QueryTraceCallRequest.args": + panic(fmt.Errorf("field args of message cosmos.evm.vm.v2.QueryTraceCallRequest is not mutable")) + case "cosmos.evm.vm.v2.QueryTraceCallRequest.gas_cap": + panic(fmt.Errorf("field gas_cap of message cosmos.evm.vm.v2.QueryTraceCallRequest is not mutable")) + case "cosmos.evm.vm.v2.QueryTraceCallRequest.proposer_address": + panic(fmt.Errorf("field proposer_address of message cosmos.evm.vm.v2.QueryTraceCallRequest is not mutable")) + case "cosmos.evm.vm.v2.QueryTraceCallRequest.block_number": + panic(fmt.Errorf("field block_number of message cosmos.evm.vm.v2.QueryTraceCallRequest is not mutable")) + case "cosmos.evm.vm.v2.QueryTraceCallRequest.block_hash": + panic(fmt.Errorf("field block_hash of message cosmos.evm.vm.v2.QueryTraceCallRequest is not mutable")) + case "cosmos.evm.vm.v2.QueryTraceCallRequest.chain_id": + panic(fmt.Errorf("field chain_id of message cosmos.evm.vm.v2.QueryTraceCallRequest is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTraceCallRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTraceCallRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTraceCallRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTraceCallRequest does not contain field %s", fd.FullName())) } } @@ -12372,29 +12372,29 @@ func (x *fastReflection_QueryTraceCallRequest) Mutable(fd protoreflect.FieldDesc // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryTraceCallRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryTraceCallRequest.args": + case "cosmos.evm.vm.v2.QueryTraceCallRequest.args": return protoreflect.ValueOfBytes(nil) - case "cosmos.evm.vm.v1.QueryTraceCallRequest.gas_cap": + case "cosmos.evm.vm.v2.QueryTraceCallRequest.gas_cap": return protoreflect.ValueOfUint64(uint64(0)) - case "cosmos.evm.vm.v1.QueryTraceCallRequest.proposer_address": + case "cosmos.evm.vm.v2.QueryTraceCallRequest.proposer_address": return protoreflect.ValueOfBytes(nil) - case "cosmos.evm.vm.v1.QueryTraceCallRequest.trace_config": + case "cosmos.evm.vm.v2.QueryTraceCallRequest.trace_config": m := new(TraceConfig) return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "cosmos.evm.vm.v1.QueryTraceCallRequest.block_number": + case "cosmos.evm.vm.v2.QueryTraceCallRequest.block_number": return protoreflect.ValueOfInt64(int64(0)) - case "cosmos.evm.vm.v1.QueryTraceCallRequest.block_hash": + case "cosmos.evm.vm.v2.QueryTraceCallRequest.block_hash": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.QueryTraceCallRequest.block_time": + case "cosmos.evm.vm.v2.QueryTraceCallRequest.block_time": m := new(timestamppb.Timestamp) return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "cosmos.evm.vm.v1.QueryTraceCallRequest.chain_id": + case "cosmos.evm.vm.v2.QueryTraceCallRequest.chain_id": return protoreflect.ValueOfInt64(int64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTraceCallRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTraceCallRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTraceCallRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTraceCallRequest does not contain field %s", fd.FullName())) } } @@ -12404,7 +12404,7 @@ func (x *fastReflection_QueryTraceCallRequest) NewField(fd protoreflect.FieldDes func (x *fastReflection_QueryTraceCallRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.QueryTraceCallRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.QueryTraceCallRequest", d.FullName())) } panic("unreachable") } @@ -12900,8 +12900,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_query_proto_init() - md_QueryTraceCallResponse = File_cosmos_evm_vm_v1_query_proto.Messages().ByName("QueryTraceCallResponse") + file_cosmos_evm_vm_v2_query_proto_init() + md_QueryTraceCallResponse = File_cosmos_evm_vm_v2_query_proto.Messages().ByName("QueryTraceCallResponse") fd_QueryTraceCallResponse_data = md_QueryTraceCallResponse.Fields().ByName("data") } @@ -12914,7 +12914,7 @@ func (x *QueryTraceCallResponse) ProtoReflect() protoreflect.Message { } func (x *QueryTraceCallResponse) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[25] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12991,13 +12991,13 @@ func (x *fastReflection_QueryTraceCallResponse) Range(f func(protoreflect.FieldD // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryTraceCallResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryTraceCallResponse.data": + case "cosmos.evm.vm.v2.QueryTraceCallResponse.data": return len(x.Data) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTraceCallResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTraceCallResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTraceCallResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTraceCallResponse does not contain field %s", fd.FullName())) } } @@ -13009,13 +13009,13 @@ func (x *fastReflection_QueryTraceCallResponse) Has(fd protoreflect.FieldDescrip // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryTraceCallResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryTraceCallResponse.data": + case "cosmos.evm.vm.v2.QueryTraceCallResponse.data": x.Data = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTraceCallResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTraceCallResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTraceCallResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTraceCallResponse does not contain field %s", fd.FullName())) } } @@ -13027,14 +13027,14 @@ func (x *fastReflection_QueryTraceCallResponse) Clear(fd protoreflect.FieldDescr // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryTraceCallResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.QueryTraceCallResponse.data": + case "cosmos.evm.vm.v2.QueryTraceCallResponse.data": value := x.Data return protoreflect.ValueOfBytes(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTraceCallResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTraceCallResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTraceCallResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTraceCallResponse does not contain field %s", descriptor.FullName())) } } @@ -13050,13 +13050,13 @@ func (x *fastReflection_QueryTraceCallResponse) Get(descriptor protoreflect.Fiel // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryTraceCallResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryTraceCallResponse.data": + case "cosmos.evm.vm.v2.QueryTraceCallResponse.data": x.Data = value.Bytes() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTraceCallResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTraceCallResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTraceCallResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTraceCallResponse does not contain field %s", fd.FullName())) } } @@ -13072,13 +13072,13 @@ func (x *fastReflection_QueryTraceCallResponse) Set(fd protoreflect.FieldDescrip // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryTraceCallResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryTraceCallResponse.data": - panic(fmt.Errorf("field data of message cosmos.evm.vm.v1.QueryTraceCallResponse is not mutable")) + case "cosmos.evm.vm.v2.QueryTraceCallResponse.data": + panic(fmt.Errorf("field data of message cosmos.evm.vm.v2.QueryTraceCallResponse is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTraceCallResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTraceCallResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTraceCallResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTraceCallResponse does not contain field %s", fd.FullName())) } } @@ -13087,13 +13087,13 @@ func (x *fastReflection_QueryTraceCallResponse) Mutable(fd protoreflect.FieldDes // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryTraceCallResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryTraceCallResponse.data": + case "cosmos.evm.vm.v2.QueryTraceCallResponse.data": return protoreflect.ValueOfBytes(nil) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryTraceCallResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryTraceCallResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryTraceCallResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryTraceCallResponse does not contain field %s", fd.FullName())) } } @@ -13103,7 +13103,7 @@ func (x *fastReflection_QueryTraceCallResponse) NewField(fd protoreflect.FieldDe func (x *fastReflection_QueryTraceCallResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.QueryTraceCallResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.QueryTraceCallResponse", d.FullName())) } panic("unreachable") } @@ -13321,8 +13321,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_query_proto_init() - md_QueryBaseFeeRequest = File_cosmos_evm_vm_v1_query_proto.Messages().ByName("QueryBaseFeeRequest") + file_cosmos_evm_vm_v2_query_proto_init() + md_QueryBaseFeeRequest = File_cosmos_evm_vm_v2_query_proto.Messages().ByName("QueryBaseFeeRequest") } var _ protoreflect.Message = (*fastReflection_QueryBaseFeeRequest)(nil) @@ -13334,7 +13334,7 @@ func (x *QueryBaseFeeRequest) ProtoReflect() protoreflect.Message { } func (x *QueryBaseFeeRequest) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[26] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13407,9 +13407,9 @@ func (x *fastReflection_QueryBaseFeeRequest) Has(fd protoreflect.FieldDescriptor switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryBaseFeeRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryBaseFeeRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryBaseFeeRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryBaseFeeRequest does not contain field %s", fd.FullName())) } } @@ -13423,9 +13423,9 @@ func (x *fastReflection_QueryBaseFeeRequest) Clear(fd protoreflect.FieldDescript switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryBaseFeeRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryBaseFeeRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryBaseFeeRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryBaseFeeRequest does not contain field %s", fd.FullName())) } } @@ -13439,9 +13439,9 @@ func (x *fastReflection_QueryBaseFeeRequest) Get(descriptor protoreflect.FieldDe switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryBaseFeeRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryBaseFeeRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryBaseFeeRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryBaseFeeRequest does not contain field %s", descriptor.FullName())) } } @@ -13459,9 +13459,9 @@ func (x *fastReflection_QueryBaseFeeRequest) Set(fd protoreflect.FieldDescriptor switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryBaseFeeRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryBaseFeeRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryBaseFeeRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryBaseFeeRequest does not contain field %s", fd.FullName())) } } @@ -13479,9 +13479,9 @@ func (x *fastReflection_QueryBaseFeeRequest) Mutable(fd protoreflect.FieldDescri switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryBaseFeeRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryBaseFeeRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryBaseFeeRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryBaseFeeRequest does not contain field %s", fd.FullName())) } } @@ -13492,9 +13492,9 @@ func (x *fastReflection_QueryBaseFeeRequest) NewField(fd protoreflect.FieldDescr switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryBaseFeeRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryBaseFeeRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryBaseFeeRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryBaseFeeRequest does not contain field %s", fd.FullName())) } } @@ -13504,7 +13504,7 @@ func (x *fastReflection_QueryBaseFeeRequest) NewField(fd protoreflect.FieldDescr func (x *fastReflection_QueryBaseFeeRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.QueryBaseFeeRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.QueryBaseFeeRequest", d.FullName())) } panic("unreachable") } @@ -13678,8 +13678,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_query_proto_init() - md_QueryBaseFeeResponse = File_cosmos_evm_vm_v1_query_proto.Messages().ByName("QueryBaseFeeResponse") + file_cosmos_evm_vm_v2_query_proto_init() + md_QueryBaseFeeResponse = File_cosmos_evm_vm_v2_query_proto.Messages().ByName("QueryBaseFeeResponse") fd_QueryBaseFeeResponse_base_fee = md_QueryBaseFeeResponse.Fields().ByName("base_fee") } @@ -13692,7 +13692,7 @@ func (x *QueryBaseFeeResponse) ProtoReflect() protoreflect.Message { } func (x *QueryBaseFeeResponse) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[27] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -13769,13 +13769,13 @@ func (x *fastReflection_QueryBaseFeeResponse) Range(f func(protoreflect.FieldDes // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryBaseFeeResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryBaseFeeResponse.base_fee": + case "cosmos.evm.vm.v2.QueryBaseFeeResponse.base_fee": return x.BaseFee != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryBaseFeeResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryBaseFeeResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryBaseFeeResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryBaseFeeResponse does not contain field %s", fd.FullName())) } } @@ -13787,13 +13787,13 @@ func (x *fastReflection_QueryBaseFeeResponse) Has(fd protoreflect.FieldDescripto // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryBaseFeeResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryBaseFeeResponse.base_fee": + case "cosmos.evm.vm.v2.QueryBaseFeeResponse.base_fee": x.BaseFee = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryBaseFeeResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryBaseFeeResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryBaseFeeResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryBaseFeeResponse does not contain field %s", fd.FullName())) } } @@ -13805,14 +13805,14 @@ func (x *fastReflection_QueryBaseFeeResponse) Clear(fd protoreflect.FieldDescrip // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryBaseFeeResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.QueryBaseFeeResponse.base_fee": + case "cosmos.evm.vm.v2.QueryBaseFeeResponse.base_fee": value := x.BaseFee return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryBaseFeeResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryBaseFeeResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryBaseFeeResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryBaseFeeResponse does not contain field %s", descriptor.FullName())) } } @@ -13828,13 +13828,13 @@ func (x *fastReflection_QueryBaseFeeResponse) Get(descriptor protoreflect.FieldD // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryBaseFeeResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryBaseFeeResponse.base_fee": + case "cosmos.evm.vm.v2.QueryBaseFeeResponse.base_fee": x.BaseFee = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryBaseFeeResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryBaseFeeResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryBaseFeeResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryBaseFeeResponse does not contain field %s", fd.FullName())) } } @@ -13850,13 +13850,13 @@ func (x *fastReflection_QueryBaseFeeResponse) Set(fd protoreflect.FieldDescripto // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryBaseFeeResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryBaseFeeResponse.base_fee": - panic(fmt.Errorf("field base_fee of message cosmos.evm.vm.v1.QueryBaseFeeResponse is not mutable")) + case "cosmos.evm.vm.v2.QueryBaseFeeResponse.base_fee": + panic(fmt.Errorf("field base_fee of message cosmos.evm.vm.v2.QueryBaseFeeResponse is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryBaseFeeResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryBaseFeeResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryBaseFeeResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryBaseFeeResponse does not contain field %s", fd.FullName())) } } @@ -13865,13 +13865,13 @@ func (x *fastReflection_QueryBaseFeeResponse) Mutable(fd protoreflect.FieldDescr // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryBaseFeeResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryBaseFeeResponse.base_fee": + case "cosmos.evm.vm.v2.QueryBaseFeeResponse.base_fee": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryBaseFeeResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryBaseFeeResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryBaseFeeResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryBaseFeeResponse does not contain field %s", fd.FullName())) } } @@ -13881,7 +13881,7 @@ func (x *fastReflection_QueryBaseFeeResponse) NewField(fd protoreflect.FieldDesc func (x *fastReflection_QueryBaseFeeResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.QueryBaseFeeResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.QueryBaseFeeResponse", d.FullName())) } panic("unreachable") } @@ -14097,8 +14097,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_query_proto_init() - md_QueryGlobalMinGasPriceRequest = File_cosmos_evm_vm_v1_query_proto.Messages().ByName("QueryGlobalMinGasPriceRequest") + file_cosmos_evm_vm_v2_query_proto_init() + md_QueryGlobalMinGasPriceRequest = File_cosmos_evm_vm_v2_query_proto.Messages().ByName("QueryGlobalMinGasPriceRequest") } var _ protoreflect.Message = (*fastReflection_QueryGlobalMinGasPriceRequest)(nil) @@ -14110,7 +14110,7 @@ func (x *QueryGlobalMinGasPriceRequest) ProtoReflect() protoreflect.Message { } func (x *QueryGlobalMinGasPriceRequest) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[28] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14183,9 +14183,9 @@ func (x *fastReflection_QueryGlobalMinGasPriceRequest) Has(fd protoreflect.Field switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryGlobalMinGasPriceRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryGlobalMinGasPriceRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryGlobalMinGasPriceRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryGlobalMinGasPriceRequest does not contain field %s", fd.FullName())) } } @@ -14199,9 +14199,9 @@ func (x *fastReflection_QueryGlobalMinGasPriceRequest) Clear(fd protoreflect.Fie switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryGlobalMinGasPriceRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryGlobalMinGasPriceRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryGlobalMinGasPriceRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryGlobalMinGasPriceRequest does not contain field %s", fd.FullName())) } } @@ -14215,9 +14215,9 @@ func (x *fastReflection_QueryGlobalMinGasPriceRequest) Get(descriptor protorefle switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryGlobalMinGasPriceRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryGlobalMinGasPriceRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryGlobalMinGasPriceRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryGlobalMinGasPriceRequest does not contain field %s", descriptor.FullName())) } } @@ -14235,9 +14235,9 @@ func (x *fastReflection_QueryGlobalMinGasPriceRequest) Set(fd protoreflect.Field switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryGlobalMinGasPriceRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryGlobalMinGasPriceRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryGlobalMinGasPriceRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryGlobalMinGasPriceRequest does not contain field %s", fd.FullName())) } } @@ -14255,9 +14255,9 @@ func (x *fastReflection_QueryGlobalMinGasPriceRequest) Mutable(fd protoreflect.F switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryGlobalMinGasPriceRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryGlobalMinGasPriceRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryGlobalMinGasPriceRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryGlobalMinGasPriceRequest does not contain field %s", fd.FullName())) } } @@ -14268,9 +14268,9 @@ func (x *fastReflection_QueryGlobalMinGasPriceRequest) NewField(fd protoreflect. switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryGlobalMinGasPriceRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryGlobalMinGasPriceRequest")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryGlobalMinGasPriceRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryGlobalMinGasPriceRequest does not contain field %s", fd.FullName())) } } @@ -14280,7 +14280,7 @@ func (x *fastReflection_QueryGlobalMinGasPriceRequest) NewField(fd protoreflect. func (x *fastReflection_QueryGlobalMinGasPriceRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.QueryGlobalMinGasPriceRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.QueryGlobalMinGasPriceRequest", d.FullName())) } panic("unreachable") } @@ -14454,8 +14454,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_query_proto_init() - md_QueryGlobalMinGasPriceResponse = File_cosmos_evm_vm_v1_query_proto.Messages().ByName("QueryGlobalMinGasPriceResponse") + file_cosmos_evm_vm_v2_query_proto_init() + md_QueryGlobalMinGasPriceResponse = File_cosmos_evm_vm_v2_query_proto.Messages().ByName("QueryGlobalMinGasPriceResponse") fd_QueryGlobalMinGasPriceResponse_min_gas_price = md_QueryGlobalMinGasPriceResponse.Fields().ByName("min_gas_price") } @@ -14468,7 +14468,7 @@ func (x *QueryGlobalMinGasPriceResponse) ProtoReflect() protoreflect.Message { } func (x *QueryGlobalMinGasPriceResponse) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[29] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -14545,13 +14545,13 @@ func (x *fastReflection_QueryGlobalMinGasPriceResponse) Range(f func(protoreflec // a repeated field is populated if it is non-empty. func (x *fastReflection_QueryGlobalMinGasPriceResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryGlobalMinGasPriceResponse.min_gas_price": + case "cosmos.evm.vm.v2.QueryGlobalMinGasPriceResponse.min_gas_price": return x.MinGasPrice != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryGlobalMinGasPriceResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryGlobalMinGasPriceResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryGlobalMinGasPriceResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryGlobalMinGasPriceResponse does not contain field %s", fd.FullName())) } } @@ -14563,13 +14563,13 @@ func (x *fastReflection_QueryGlobalMinGasPriceResponse) Has(fd protoreflect.Fiel // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryGlobalMinGasPriceResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryGlobalMinGasPriceResponse.min_gas_price": + case "cosmos.evm.vm.v2.QueryGlobalMinGasPriceResponse.min_gas_price": x.MinGasPrice = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryGlobalMinGasPriceResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryGlobalMinGasPriceResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryGlobalMinGasPriceResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryGlobalMinGasPriceResponse does not contain field %s", fd.FullName())) } } @@ -14581,14 +14581,14 @@ func (x *fastReflection_QueryGlobalMinGasPriceResponse) Clear(fd protoreflect.Fi // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_QueryGlobalMinGasPriceResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.QueryGlobalMinGasPriceResponse.min_gas_price": + case "cosmos.evm.vm.v2.QueryGlobalMinGasPriceResponse.min_gas_price": value := x.MinGasPrice return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryGlobalMinGasPriceResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryGlobalMinGasPriceResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryGlobalMinGasPriceResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryGlobalMinGasPriceResponse does not contain field %s", descriptor.FullName())) } } @@ -14604,13 +14604,13 @@ func (x *fastReflection_QueryGlobalMinGasPriceResponse) Get(descriptor protorefl // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryGlobalMinGasPriceResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryGlobalMinGasPriceResponse.min_gas_price": + case "cosmos.evm.vm.v2.QueryGlobalMinGasPriceResponse.min_gas_price": x.MinGasPrice = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryGlobalMinGasPriceResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryGlobalMinGasPriceResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryGlobalMinGasPriceResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryGlobalMinGasPriceResponse does not contain field %s", fd.FullName())) } } @@ -14626,13 +14626,13 @@ func (x *fastReflection_QueryGlobalMinGasPriceResponse) Set(fd protoreflect.Fiel // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_QueryGlobalMinGasPriceResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryGlobalMinGasPriceResponse.min_gas_price": - panic(fmt.Errorf("field min_gas_price of message cosmos.evm.vm.v1.QueryGlobalMinGasPriceResponse is not mutable")) + case "cosmos.evm.vm.v2.QueryGlobalMinGasPriceResponse.min_gas_price": + panic(fmt.Errorf("field min_gas_price of message cosmos.evm.vm.v2.QueryGlobalMinGasPriceResponse is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryGlobalMinGasPriceResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryGlobalMinGasPriceResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryGlobalMinGasPriceResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryGlobalMinGasPriceResponse does not contain field %s", fd.FullName())) } } @@ -14641,13 +14641,13 @@ func (x *fastReflection_QueryGlobalMinGasPriceResponse) Mutable(fd protoreflect. // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_QueryGlobalMinGasPriceResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.QueryGlobalMinGasPriceResponse.min_gas_price": + case "cosmos.evm.vm.v2.QueryGlobalMinGasPriceResponse.min_gas_price": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.QueryGlobalMinGasPriceResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.QueryGlobalMinGasPriceResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.QueryGlobalMinGasPriceResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.QueryGlobalMinGasPriceResponse does not contain field %s", fd.FullName())) } } @@ -14657,7 +14657,7 @@ func (x *fastReflection_QueryGlobalMinGasPriceResponse) NewField(fd protoreflect func (x *fastReflection_QueryGlobalMinGasPriceResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.QueryGlobalMinGasPriceResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.QueryGlobalMinGasPriceResponse", d.FullName())) } panic("unreachable") } @@ -14872,7 +14872,7 @@ func (x *fastReflection_QueryGlobalMinGasPriceResponse) ProtoMethods() *protoifa // versions: // protoc-gen-go v1.27.0 // protoc (unknown) -// source: cosmos/evm/vm/v1/query.proto +// source: cosmos/evm/vm/v2/query.proto const ( // Verify that this generated code is sufficiently up-to-date. @@ -14891,7 +14891,7 @@ type QueryConfigRequest struct { func (x *QueryConfigRequest) Reset() { *x = QueryConfigRequest{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[0] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14905,7 +14905,7 @@ func (*QueryConfigRequest) ProtoMessage() {} // Deprecated: Use QueryConfigRequest.ProtoReflect.Descriptor instead. func (*QueryConfigRequest) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_query_proto_rawDescGZIP(), []int{0} + return file_cosmos_evm_vm_v2_query_proto_rawDescGZIP(), []int{0} } // QueryConfigResponse returns the EVM config. @@ -14921,7 +14921,7 @@ type QueryConfigResponse struct { func (x *QueryConfigResponse) Reset() { *x = QueryConfigResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[1] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14935,7 +14935,7 @@ func (*QueryConfigResponse) ProtoMessage() {} // Deprecated: Use QueryConfigResponse.ProtoReflect.Descriptor instead. func (*QueryConfigResponse) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_query_proto_rawDescGZIP(), []int{1} + return file_cosmos_evm_vm_v2_query_proto_rawDescGZIP(), []int{1} } func (x *QueryConfigResponse) GetConfig() *ChainConfig { @@ -14958,7 +14958,7 @@ type QueryAccountRequest struct { func (x *QueryAccountRequest) Reset() { *x = QueryAccountRequest{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[2] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -14972,7 +14972,7 @@ func (*QueryAccountRequest) ProtoMessage() {} // Deprecated: Use QueryAccountRequest.ProtoReflect.Descriptor instead. func (*QueryAccountRequest) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_query_proto_rawDescGZIP(), []int{2} + return file_cosmos_evm_vm_v2_query_proto_rawDescGZIP(), []int{2} } func (x *QueryAccountRequest) GetAddress() string { @@ -14999,7 +14999,7 @@ type QueryAccountResponse struct { func (x *QueryAccountResponse) Reset() { *x = QueryAccountResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[3] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15013,7 +15013,7 @@ func (*QueryAccountResponse) ProtoMessage() {} // Deprecated: Use QueryAccountResponse.ProtoReflect.Descriptor instead. func (*QueryAccountResponse) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_query_proto_rawDescGZIP(), []int{3} + return file_cosmos_evm_vm_v2_query_proto_rawDescGZIP(), []int{3} } func (x *QueryAccountResponse) GetBalance() string { @@ -15051,7 +15051,7 @@ type QueryCosmosAccountRequest struct { func (x *QueryCosmosAccountRequest) Reset() { *x = QueryCosmosAccountRequest{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[4] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15065,7 +15065,7 @@ func (*QueryCosmosAccountRequest) ProtoMessage() {} // Deprecated: Use QueryCosmosAccountRequest.ProtoReflect.Descriptor instead. func (*QueryCosmosAccountRequest) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_query_proto_rawDescGZIP(), []int{4} + return file_cosmos_evm_vm_v2_query_proto_rawDescGZIP(), []int{4} } func (x *QueryCosmosAccountRequest) GetAddress() string { @@ -15093,7 +15093,7 @@ type QueryCosmosAccountResponse struct { func (x *QueryCosmosAccountResponse) Reset() { *x = QueryCosmosAccountResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[5] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15107,7 +15107,7 @@ func (*QueryCosmosAccountResponse) ProtoMessage() {} // Deprecated: Use QueryCosmosAccountResponse.ProtoReflect.Descriptor instead. func (*QueryCosmosAccountResponse) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_query_proto_rawDescGZIP(), []int{5} + return file_cosmos_evm_vm_v2_query_proto_rawDescGZIP(), []int{5} } func (x *QueryCosmosAccountResponse) GetCosmosAddress() string { @@ -15145,7 +15145,7 @@ type QueryValidatorAccountRequest struct { func (x *QueryValidatorAccountRequest) Reset() { *x = QueryValidatorAccountRequest{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[6] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15159,7 +15159,7 @@ func (*QueryValidatorAccountRequest) ProtoMessage() {} // Deprecated: Use QueryValidatorAccountRequest.ProtoReflect.Descriptor instead. func (*QueryValidatorAccountRequest) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_query_proto_rawDescGZIP(), []int{6} + return file_cosmos_evm_vm_v2_query_proto_rawDescGZIP(), []int{6} } func (x *QueryValidatorAccountRequest) GetConsAddress() string { @@ -15187,7 +15187,7 @@ type QueryValidatorAccountResponse struct { func (x *QueryValidatorAccountResponse) Reset() { *x = QueryValidatorAccountResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[7] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15201,7 +15201,7 @@ func (*QueryValidatorAccountResponse) ProtoMessage() {} // Deprecated: Use QueryValidatorAccountResponse.ProtoReflect.Descriptor instead. func (*QueryValidatorAccountResponse) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_query_proto_rawDescGZIP(), []int{7} + return file_cosmos_evm_vm_v2_query_proto_rawDescGZIP(), []int{7} } func (x *QueryValidatorAccountResponse) GetAccountAddress() string { @@ -15238,7 +15238,7 @@ type QueryBalanceRequest struct { func (x *QueryBalanceRequest) Reset() { *x = QueryBalanceRequest{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[8] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15252,7 +15252,7 @@ func (*QueryBalanceRequest) ProtoMessage() {} // Deprecated: Use QueryBalanceRequest.ProtoReflect.Descriptor instead. func (*QueryBalanceRequest) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_query_proto_rawDescGZIP(), []int{8} + return file_cosmos_evm_vm_v2_query_proto_rawDescGZIP(), []int{8} } func (x *QueryBalanceRequest) GetAddress() string { @@ -15275,7 +15275,7 @@ type QueryBalanceResponse struct { func (x *QueryBalanceResponse) Reset() { *x = QueryBalanceResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[9] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15289,7 +15289,7 @@ func (*QueryBalanceResponse) ProtoMessage() {} // Deprecated: Use QueryBalanceResponse.ProtoReflect.Descriptor instead. func (*QueryBalanceResponse) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_query_proto_rawDescGZIP(), []int{9} + return file_cosmos_evm_vm_v2_query_proto_rawDescGZIP(), []int{9} } func (x *QueryBalanceResponse) GetBalance() string { @@ -15314,7 +15314,7 @@ type QueryStorageRequest struct { func (x *QueryStorageRequest) Reset() { *x = QueryStorageRequest{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[10] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15328,7 +15328,7 @@ func (*QueryStorageRequest) ProtoMessage() {} // Deprecated: Use QueryStorageRequest.ProtoReflect.Descriptor instead. func (*QueryStorageRequest) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_query_proto_rawDescGZIP(), []int{10} + return file_cosmos_evm_vm_v2_query_proto_rawDescGZIP(), []int{10} } func (x *QueryStorageRequest) GetAddress() string { @@ -15359,7 +15359,7 @@ type QueryStorageResponse struct { func (x *QueryStorageResponse) Reset() { *x = QueryStorageResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[11] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15373,7 +15373,7 @@ func (*QueryStorageResponse) ProtoMessage() {} // Deprecated: Use QueryStorageResponse.ProtoReflect.Descriptor instead. func (*QueryStorageResponse) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_query_proto_rawDescGZIP(), []int{11} + return file_cosmos_evm_vm_v2_query_proto_rawDescGZIP(), []int{11} } func (x *QueryStorageResponse) GetValue() string { @@ -15396,7 +15396,7 @@ type QueryCodeRequest struct { func (x *QueryCodeRequest) Reset() { *x = QueryCodeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[12] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15410,7 +15410,7 @@ func (*QueryCodeRequest) ProtoMessage() {} // Deprecated: Use QueryCodeRequest.ProtoReflect.Descriptor instead. func (*QueryCodeRequest) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_query_proto_rawDescGZIP(), []int{12} + return file_cosmos_evm_vm_v2_query_proto_rawDescGZIP(), []int{12} } func (x *QueryCodeRequest) GetAddress() string { @@ -15434,7 +15434,7 @@ type QueryCodeResponse struct { func (x *QueryCodeResponse) Reset() { *x = QueryCodeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[13] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15448,7 +15448,7 @@ func (*QueryCodeResponse) ProtoMessage() {} // Deprecated: Use QueryCodeResponse.ProtoReflect.Descriptor instead. func (*QueryCodeResponse) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_query_proto_rawDescGZIP(), []int{13} + return file_cosmos_evm_vm_v2_query_proto_rawDescGZIP(), []int{13} } func (x *QueryCodeResponse) GetCode() []byte { @@ -15473,7 +15473,7 @@ type QueryTxLogsRequest struct { func (x *QueryTxLogsRequest) Reset() { *x = QueryTxLogsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[14] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15487,7 +15487,7 @@ func (*QueryTxLogsRequest) ProtoMessage() {} // Deprecated: Use QueryTxLogsRequest.ProtoReflect.Descriptor instead. func (*QueryTxLogsRequest) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_query_proto_rawDescGZIP(), []int{14} + return file_cosmos_evm_vm_v2_query_proto_rawDescGZIP(), []int{14} } func (x *QueryTxLogsRequest) GetHash() string { @@ -15519,7 +15519,7 @@ type QueryTxLogsResponse struct { func (x *QueryTxLogsResponse) Reset() { *x = QueryTxLogsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[15] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15533,7 +15533,7 @@ func (*QueryTxLogsResponse) ProtoMessage() {} // Deprecated: Use QueryTxLogsResponse.ProtoReflect.Descriptor instead. func (*QueryTxLogsResponse) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_query_proto_rawDescGZIP(), []int{15} + return file_cosmos_evm_vm_v2_query_proto_rawDescGZIP(), []int{15} } func (x *QueryTxLogsResponse) GetLogs() []*Log { @@ -15560,7 +15560,7 @@ type QueryParamsRequest struct { func (x *QueryParamsRequest) Reset() { *x = QueryParamsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[16] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15574,7 +15574,7 @@ func (*QueryParamsRequest) ProtoMessage() {} // Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead. func (*QueryParamsRequest) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_query_proto_rawDescGZIP(), []int{16} + return file_cosmos_evm_vm_v2_query_proto_rawDescGZIP(), []int{16} } // QueryParamsResponse defines the response type for querying x/vm parameters. @@ -15590,7 +15590,7 @@ type QueryParamsResponse struct { func (x *QueryParamsResponse) Reset() { *x = QueryParamsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[17] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15604,7 +15604,7 @@ func (*QueryParamsResponse) ProtoMessage() {} // Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead. func (*QueryParamsResponse) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_query_proto_rawDescGZIP(), []int{17} + return file_cosmos_evm_vm_v2_query_proto_rawDescGZIP(), []int{17} } func (x *QueryParamsResponse) GetParams() *Params { @@ -15635,7 +15635,7 @@ type EthCallRequest struct { func (x *EthCallRequest) Reset() { *x = EthCallRequest{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[18] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15649,7 +15649,7 @@ func (*EthCallRequest) ProtoMessage() {} // Deprecated: Use EthCallRequest.ProtoReflect.Descriptor instead. func (*EthCallRequest) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_query_proto_rawDescGZIP(), []int{18} + return file_cosmos_evm_vm_v2_query_proto_rawDescGZIP(), []int{18} } func (x *EthCallRequest) GetArgs() []byte { @@ -15705,7 +15705,7 @@ type EstimateGasResponse struct { func (x *EstimateGasResponse) Reset() { *x = EstimateGasResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[19] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15719,7 +15719,7 @@ func (*EstimateGasResponse) ProtoMessage() {} // Deprecated: Use EstimateGasResponse.ProtoReflect.Descriptor instead. func (*EstimateGasResponse) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_query_proto_rawDescGZIP(), []int{19} + return file_cosmos_evm_vm_v2_query_proto_rawDescGZIP(), []int{19} } func (x *EstimateGasResponse) GetGas() uint64 { @@ -15773,7 +15773,7 @@ type QueryTraceTxRequest struct { func (x *QueryTraceTxRequest) Reset() { *x = QueryTraceTxRequest{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[20] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15787,7 +15787,7 @@ func (*QueryTraceTxRequest) ProtoMessage() {} // Deprecated: Use QueryTraceTxRequest.ProtoReflect.Descriptor instead. func (*QueryTraceTxRequest) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_query_proto_rawDescGZIP(), []int{20} + return file_cosmos_evm_vm_v2_query_proto_rawDescGZIP(), []int{20} } func (x *QueryTraceTxRequest) GetMsg() *MsgEthereumTx { @@ -15866,7 +15866,7 @@ type QueryTraceTxResponse struct { func (x *QueryTraceTxResponse) Reset() { *x = QueryTraceTxResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[21] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15880,7 +15880,7 @@ func (*QueryTraceTxResponse) ProtoMessage() {} // Deprecated: Use QueryTraceTxResponse.ProtoReflect.Descriptor instead. func (*QueryTraceTxResponse) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_query_proto_rawDescGZIP(), []int{21} + return file_cosmos_evm_vm_v2_query_proto_rawDescGZIP(), []int{21} } func (x *QueryTraceTxResponse) GetData() []byte { @@ -15917,7 +15917,7 @@ type QueryTraceBlockRequest struct { func (x *QueryTraceBlockRequest) Reset() { *x = QueryTraceBlockRequest{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[22] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -15931,7 +15931,7 @@ func (*QueryTraceBlockRequest) ProtoMessage() {} // Deprecated: Use QueryTraceBlockRequest.ProtoReflect.Descriptor instead. func (*QueryTraceBlockRequest) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_query_proto_rawDescGZIP(), []int{22} + return file_cosmos_evm_vm_v2_query_proto_rawDescGZIP(), []int{22} } func (x *QueryTraceBlockRequest) GetTxs() []*MsgEthereumTx { @@ -16003,7 +16003,7 @@ type QueryTraceBlockResponse struct { func (x *QueryTraceBlockResponse) Reset() { *x = QueryTraceBlockResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[23] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16017,7 +16017,7 @@ func (*QueryTraceBlockResponse) ProtoMessage() {} // Deprecated: Use QueryTraceBlockResponse.ProtoReflect.Descriptor instead. func (*QueryTraceBlockResponse) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_query_proto_rawDescGZIP(), []int{23} + return file_cosmos_evm_vm_v2_query_proto_rawDescGZIP(), []int{23} } func (x *QueryTraceBlockResponse) GetData() []byte { @@ -16054,7 +16054,7 @@ type QueryTraceCallRequest struct { func (x *QueryTraceCallRequest) Reset() { *x = QueryTraceCallRequest{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[24] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16068,7 +16068,7 @@ func (*QueryTraceCallRequest) ProtoMessage() {} // Deprecated: Use QueryTraceCallRequest.ProtoReflect.Descriptor instead. func (*QueryTraceCallRequest) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_query_proto_rawDescGZIP(), []int{24} + return file_cosmos_evm_vm_v2_query_proto_rawDescGZIP(), []int{24} } func (x *QueryTraceCallRequest) GetArgs() []byte { @@ -16140,7 +16140,7 @@ type QueryTraceCallResponse struct { func (x *QueryTraceCallResponse) Reset() { *x = QueryTraceCallResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[25] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16154,7 +16154,7 @@ func (*QueryTraceCallResponse) ProtoMessage() {} // Deprecated: Use QueryTraceCallResponse.ProtoReflect.Descriptor instead. func (*QueryTraceCallResponse) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_query_proto_rawDescGZIP(), []int{25} + return file_cosmos_evm_vm_v2_query_proto_rawDescGZIP(), []int{25} } func (x *QueryTraceCallResponse) GetData() []byte { @@ -16175,7 +16175,7 @@ type QueryBaseFeeRequest struct { func (x *QueryBaseFeeRequest) Reset() { *x = QueryBaseFeeRequest{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[26] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16189,7 +16189,7 @@ func (*QueryBaseFeeRequest) ProtoMessage() {} // Deprecated: Use QueryBaseFeeRequest.ProtoReflect.Descriptor instead. func (*QueryBaseFeeRequest) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_query_proto_rawDescGZIP(), []int{26} + return file_cosmos_evm_vm_v2_query_proto_rawDescGZIP(), []int{26} } // QueryBaseFeeResponse returns the EIP1559 base fee. @@ -16205,7 +16205,7 @@ type QueryBaseFeeResponse struct { func (x *QueryBaseFeeResponse) Reset() { *x = QueryBaseFeeResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[27] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16219,7 +16219,7 @@ func (*QueryBaseFeeResponse) ProtoMessage() {} // Deprecated: Use QueryBaseFeeResponse.ProtoReflect.Descriptor instead. func (*QueryBaseFeeResponse) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_query_proto_rawDescGZIP(), []int{27} + return file_cosmos_evm_vm_v2_query_proto_rawDescGZIP(), []int{27} } func (x *QueryBaseFeeResponse) GetBaseFee() string { @@ -16240,7 +16240,7 @@ type QueryGlobalMinGasPriceRequest struct { func (x *QueryGlobalMinGasPriceRequest) Reset() { *x = QueryGlobalMinGasPriceRequest{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[28] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16254,7 +16254,7 @@ func (*QueryGlobalMinGasPriceRequest) ProtoMessage() {} // Deprecated: Use QueryGlobalMinGasPriceRequest.ProtoReflect.Descriptor instead. func (*QueryGlobalMinGasPriceRequest) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_query_proto_rawDescGZIP(), []int{28} + return file_cosmos_evm_vm_v2_query_proto_rawDescGZIP(), []int{28} } // QueryGlobalMinGasPriceResponse returns the GlobalMinGasPrice @@ -16270,7 +16270,7 @@ type QueryGlobalMinGasPriceResponse struct { func (x *QueryGlobalMinGasPriceResponse) Reset() { *x = QueryGlobalMinGasPriceResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_query_proto_msgTypes[29] + mi := &file_cosmos_evm_vm_v2_query_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -16284,7 +16284,7 @@ func (*QueryGlobalMinGasPriceResponse) ProtoMessage() {} // Deprecated: Use QueryGlobalMinGasPriceResponse.ProtoReflect.Descriptor instead. func (*QueryGlobalMinGasPriceResponse) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_query_proto_rawDescGZIP(), []int{29} + return file_cosmos_evm_vm_v2_query_proto_rawDescGZIP(), []int{29} } func (x *QueryGlobalMinGasPriceResponse) GetMinGasPrice() string { @@ -16294,19 +16294,19 @@ func (x *QueryGlobalMinGasPriceResponse) GetMinGasPrice() string { return "" } -var File_cosmos_evm_vm_v1_query_proto protoreflect.FileDescriptor +var File_cosmos_evm_vm_v2_query_proto protoreflect.FileDescriptor -var file_cosmos_evm_vm_v1_query_proto_rawDesc = []byte{ +var file_cosmos_evm_vm_v2_query_proto_rawDesc = []byte{ 0x0a, 0x1c, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x6d, 0x2f, - 0x76, 0x31, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, - 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, + 0x76, 0x32, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, + 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x1a, 0x11, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2f, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x6d, 0x2f, 0x76, - 0x31, 0x2f, 0x65, 0x76, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x63, 0x6f, 0x73, - 0x6d, 0x6f, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x78, + 0x32, 0x2f, 0x65, 0x76, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x63, 0x6f, 0x73, + 0x6d, 0x6f, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x6d, 0x2f, 0x76, 0x32, 0x2f, 0x74, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, @@ -16317,7 +16317,7 @@ var file_cosmos_evm_vm_v1_query_proto_rawDesc = []byte{ 0x74, 0x22, 0x4c, 0x0a, 0x13, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, - 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x69, + 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x39, 0x0a, 0x13, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, @@ -16387,7 +16387,7 @@ var file_cosmos_evm_vm_v1_query_proto_rawDesc = []byte{ 0x65, 0x72, 0x79, 0x54, 0x78, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, - 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x12, 0x47, 0x0a, 0x0a, + 0x76, 0x32, 0x2e, 0x4c, 0x6f, 0x67, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x67, @@ -16397,7 +16397,7 @@ var file_cosmos_evm_vm_v1_query_proto_rawDesc = []byte{ 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, - 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x09, 0xc8, 0xde, + 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x09, 0xc8, 0xde, 0x1f, 0x00, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0xd5, 0x01, 0x0a, 0x0e, 0x45, 0x74, 0x68, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x67, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, @@ -16421,15 +16421,15 @@ var file_cosmos_evm_vm_v1_query_proto_rawDesc = []byte{ 0x0a, 0x13, 0x51, 0x75, 0x65, 0x72, 0x79, 0x54, 0x72, 0x61, 0x63, 0x65, 0x54, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, - 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, + 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x73, 0x67, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x54, 0x78, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x40, 0x0a, 0x0c, 0x74, 0x72, 0x61, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, - 0x31, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0b, 0x74, + 0x32, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x43, 0x0a, 0x0c, 0x70, 0x72, 0x65, 0x64, 0x65, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, - 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x54, + 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x73, 0x67, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x54, 0x78, 0x52, 0x0c, 0x70, 0x72, 0x65, 0x64, 0x65, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, @@ -16456,11 +16456,11 @@ var file_cosmos_evm_vm_v1_query_proto_rawDesc = []byte{ 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xb7, 0x03, 0x0a, 0x16, 0x51, 0x75, 0x65, 0x72, 0x79, 0x54, 0x72, 0x61, 0x63, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x03, 0x74, 0x78, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, - 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, + 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x73, 0x67, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x54, 0x78, 0x52, 0x03, 0x74, 0x78, 0x73, 0x12, 0x40, 0x0a, 0x0c, 0x74, 0x72, 0x61, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x63, 0x6f, 0x73, 0x6d, - 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, + 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, 0x6f, @@ -16496,7 +16496,7 @@ var file_cosmos_evm_vm_v1_query_proto_rawDesc = []byte{ 0x65, 0x73, 0x73, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x40, 0x0a, 0x0c, 0x74, 0x72, 0x61, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x63, 0x6f, 0x73, - 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, + 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x6c, @@ -16528,29 +16528,29 @@ var file_cosmos_evm_vm_v1_query_proto_rawDesc = []byte{ 0x2e, 0x49, 0x6e, 0x74, 0x52, 0x0b, 0x6d, 0x69, 0x6e, 0x47, 0x61, 0x73, 0x50, 0x72, 0x69, 0x63, 0x65, 0x32, 0x91, 0x10, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x85, 0x01, 0x0a, 0x07, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x25, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, - 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, - 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, + 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x12, 0x23, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2f, 0x7b, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x12, 0x9e, 0x01, 0x0a, 0x0d, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2b, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, - 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6f, + 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, - 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6f, 0x73, 0x6d, 0x6f, + 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x32, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2c, 0x12, 0x2a, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2f, 0x7b, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x12, 0xaf, 0x01, 0x0a, 0x10, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2e, 0x2e, 0x63, 0x6f, 0x73, 0x6d, - 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, + 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x63, 0x6f, 0x73, 0x6d, - 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, + 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x34, 0x12, 0x32, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, @@ -16558,216 +16558,216 @@ var file_cosmos_evm_vm_v1_query_proto_rawDesc = []byte{ 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2f, 0x7b, 0x63, 0x6f, 0x6e, 0x73, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x12, 0x86, 0x01, 0x0a, 0x07, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x25, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, - 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, 0x61, 0x6c, 0x61, 0x6e, + 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, - 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, + 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26, 0x12, 0x24, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x12, 0x8b, 0x01, 0x0a, 0x07, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x25, 0x2e, 0x63, 0x6f, - 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x51, + 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, - 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, + 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x31, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x12, 0x29, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x7b, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x2f, 0x7b, 0x6b, 0x65, 0x79, 0x7d, 0x12, 0x7a, 0x0a, 0x04, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x22, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, - 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6f, + 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x63, 0x6f, 0x73, 0x6d, - 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, + 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x29, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x12, 0x21, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x2f, 0x7b, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x7d, 0x12, 0x77, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x24, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, - 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, + 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x63, 0x6f, 0x73, 0x6d, - 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, + 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x20, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x12, 0x18, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x78, 0x0a, 0x07, 0x45, 0x74, 0x68, 0x43, 0x61, 0x6c, 0x6c, 0x12, 0x20, 0x2e, - 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, + 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x45, 0x74, 0x68, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, - 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x54, 0x78, + 0x76, 0x32, 0x2e, 0x4d, 0x73, 0x67, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x54, 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x22, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x12, 0x1a, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x74, 0x68, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x12, 0x7e, 0x0a, 0x0b, 0x45, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x47, 0x61, 0x73, 0x12, 0x20, 0x2e, 0x63, 0x6f, - 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x45, + 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x45, 0x74, 0x68, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, - 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, + 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x45, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x47, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x12, 0x1e, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x5f, 0x67, 0x61, 0x73, 0x12, 0x7c, 0x0a, 0x07, 0x54, 0x72, 0x61, 0x63, 0x65, 0x54, 0x78, 0x12, 0x25, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, - 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x54, 0x72, 0x61, 0x63, 0x65, 0x54, 0x78, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, - 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x54, 0x72, 0x61, 0x63, 0x65, 0x54, 0x78, 0x52, 0x65, + 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x54, 0x72, 0x61, 0x63, 0x65, 0x54, 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x22, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x12, 0x1a, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x5f, 0x74, 0x78, 0x12, 0x88, 0x01, 0x0a, 0x0a, 0x54, 0x72, 0x61, 0x63, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x28, 0x2e, 0x63, 0x6f, 0x73, 0x6d, - 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, + 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x54, 0x72, 0x61, 0x63, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, - 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x54, 0x72, 0x61, 0x63, + 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x54, 0x72, 0x61, 0x63, 0x65, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x25, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x12, 0x1d, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x84, 0x01, 0x0a, 0x09, 0x54, 0x72, 0x61, 0x63, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x12, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, - 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x54, 0x72, 0x61, 0x63, + 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x54, 0x72, 0x61, 0x63, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x63, - 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, + 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x54, 0x72, 0x61, 0x63, 0x65, 0x43, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x24, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x12, 0x1c, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x12, 0x7c, 0x0a, 0x07, 0x42, 0x61, 0x73, 0x65, 0x46, 0x65, 0x65, 0x12, 0x25, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, - 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, 0x61, 0x73, 0x65, 0x46, 0x65, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, - 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, 0x61, 0x73, 0x65, 0x46, 0x65, 0x65, 0x52, 0x65, + 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, 0x61, 0x73, 0x65, 0x46, 0x65, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x22, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x12, 0x1a, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x66, 0x65, 0x65, 0x12, 0x77, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x24, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, - 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6f, 0x6e, + 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x63, 0x6f, 0x73, - 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, + 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x20, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x12, 0x18, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x9f, 0x01, 0x0a, 0x11, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x69, 0x6e, 0x47, 0x61, 0x73, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x2f, 0x2e, 0x63, 0x6f, 0x73, 0x6d, - 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, + 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x69, 0x6e, 0x47, 0x61, 0x73, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x63, 0x6f, 0x73, - 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, + 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4d, 0x69, 0x6e, 0x47, 0x61, 0x73, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x27, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x12, 0x1f, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x69, 0x6e, 0x5f, 0x67, 0x61, 0x73, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x42, 0xad, 0x01, 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, - 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x42, 0x0a, + 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x42, 0x0a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x26, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, - 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x6d, 0x2f, 0x76, 0x31, 0x3b, - 0x76, 0x6d, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x45, 0x56, 0xaa, 0x02, 0x10, 0x43, 0x6f, 0x73, - 0x6d, 0x6f, 0x73, 0x2e, 0x45, 0x76, 0x6d, 0x2e, 0x56, 0x6d, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x10, - 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x45, 0x76, 0x6d, 0x5c, 0x56, 0x6d, 0x5c, 0x56, 0x31, + 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x6d, 0x2f, 0x76, 0x32, 0x3b, + 0x76, 0x6d, 0x76, 0x32, 0xa2, 0x02, 0x03, 0x43, 0x45, 0x56, 0xaa, 0x02, 0x10, 0x43, 0x6f, 0x73, + 0x6d, 0x6f, 0x73, 0x2e, 0x45, 0x76, 0x6d, 0x2e, 0x56, 0x6d, 0x2e, 0x56, 0x32, 0xca, 0x02, 0x10, + 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x45, 0x76, 0x6d, 0x5c, 0x56, 0x6d, 0x5c, 0x56, 0x32, 0xe2, 0x02, 0x1c, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x45, 0x76, 0x6d, 0x5c, 0x56, 0x6d, - 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, + 0x5c, 0x56, 0x32, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x3a, 0x3a, 0x45, 0x76, 0x6d, 0x3a, 0x3a, 0x56, - 0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6d, 0x3a, 0x3a, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_cosmos_evm_vm_v1_query_proto_rawDescOnce sync.Once - file_cosmos_evm_vm_v1_query_proto_rawDescData = file_cosmos_evm_vm_v1_query_proto_rawDesc + file_cosmos_evm_vm_v2_query_proto_rawDescOnce sync.Once + file_cosmos_evm_vm_v2_query_proto_rawDescData = file_cosmos_evm_vm_v2_query_proto_rawDesc ) -func file_cosmos_evm_vm_v1_query_proto_rawDescGZIP() []byte { - file_cosmos_evm_vm_v1_query_proto_rawDescOnce.Do(func() { - file_cosmos_evm_vm_v1_query_proto_rawDescData = protoimpl.X.CompressGZIP(file_cosmos_evm_vm_v1_query_proto_rawDescData) +func file_cosmos_evm_vm_v2_query_proto_rawDescGZIP() []byte { + file_cosmos_evm_vm_v2_query_proto_rawDescOnce.Do(func() { + file_cosmos_evm_vm_v2_query_proto_rawDescData = protoimpl.X.CompressGZIP(file_cosmos_evm_vm_v2_query_proto_rawDescData) }) - return file_cosmos_evm_vm_v1_query_proto_rawDescData -} - -var file_cosmos_evm_vm_v1_query_proto_msgTypes = make([]protoimpl.MessageInfo, 30) -var file_cosmos_evm_vm_v1_query_proto_goTypes = []interface{}{ - (*QueryConfigRequest)(nil), // 0: cosmos.evm.vm.v1.QueryConfigRequest - (*QueryConfigResponse)(nil), // 1: cosmos.evm.vm.v1.QueryConfigResponse - (*QueryAccountRequest)(nil), // 2: cosmos.evm.vm.v1.QueryAccountRequest - (*QueryAccountResponse)(nil), // 3: cosmos.evm.vm.v1.QueryAccountResponse - (*QueryCosmosAccountRequest)(nil), // 4: cosmos.evm.vm.v1.QueryCosmosAccountRequest - (*QueryCosmosAccountResponse)(nil), // 5: cosmos.evm.vm.v1.QueryCosmosAccountResponse - (*QueryValidatorAccountRequest)(nil), // 6: cosmos.evm.vm.v1.QueryValidatorAccountRequest - (*QueryValidatorAccountResponse)(nil), // 7: cosmos.evm.vm.v1.QueryValidatorAccountResponse - (*QueryBalanceRequest)(nil), // 8: cosmos.evm.vm.v1.QueryBalanceRequest - (*QueryBalanceResponse)(nil), // 9: cosmos.evm.vm.v1.QueryBalanceResponse - (*QueryStorageRequest)(nil), // 10: cosmos.evm.vm.v1.QueryStorageRequest - (*QueryStorageResponse)(nil), // 11: cosmos.evm.vm.v1.QueryStorageResponse - (*QueryCodeRequest)(nil), // 12: cosmos.evm.vm.v1.QueryCodeRequest - (*QueryCodeResponse)(nil), // 13: cosmos.evm.vm.v1.QueryCodeResponse - (*QueryTxLogsRequest)(nil), // 14: cosmos.evm.vm.v1.QueryTxLogsRequest - (*QueryTxLogsResponse)(nil), // 15: cosmos.evm.vm.v1.QueryTxLogsResponse - (*QueryParamsRequest)(nil), // 16: cosmos.evm.vm.v1.QueryParamsRequest - (*QueryParamsResponse)(nil), // 17: cosmos.evm.vm.v1.QueryParamsResponse - (*EthCallRequest)(nil), // 18: cosmos.evm.vm.v1.EthCallRequest - (*EstimateGasResponse)(nil), // 19: cosmos.evm.vm.v1.EstimateGasResponse - (*QueryTraceTxRequest)(nil), // 20: cosmos.evm.vm.v1.QueryTraceTxRequest - (*QueryTraceTxResponse)(nil), // 21: cosmos.evm.vm.v1.QueryTraceTxResponse - (*QueryTraceBlockRequest)(nil), // 22: cosmos.evm.vm.v1.QueryTraceBlockRequest - (*QueryTraceBlockResponse)(nil), // 23: cosmos.evm.vm.v1.QueryTraceBlockResponse - (*QueryTraceCallRequest)(nil), // 24: cosmos.evm.vm.v1.QueryTraceCallRequest - (*QueryTraceCallResponse)(nil), // 25: cosmos.evm.vm.v1.QueryTraceCallResponse - (*QueryBaseFeeRequest)(nil), // 26: cosmos.evm.vm.v1.QueryBaseFeeRequest - (*QueryBaseFeeResponse)(nil), // 27: cosmos.evm.vm.v1.QueryBaseFeeResponse - (*QueryGlobalMinGasPriceRequest)(nil), // 28: cosmos.evm.vm.v1.QueryGlobalMinGasPriceRequest - (*QueryGlobalMinGasPriceResponse)(nil), // 29: cosmos.evm.vm.v1.QueryGlobalMinGasPriceResponse - (*ChainConfig)(nil), // 30: cosmos.evm.vm.v1.ChainConfig + return file_cosmos_evm_vm_v2_query_proto_rawDescData +} + +var file_cosmos_evm_vm_v2_query_proto_msgTypes = make([]protoimpl.MessageInfo, 30) +var file_cosmos_evm_vm_v2_query_proto_goTypes = []interface{}{ + (*QueryConfigRequest)(nil), // 0: cosmos.evm.vm.v2.QueryConfigRequest + (*QueryConfigResponse)(nil), // 1: cosmos.evm.vm.v2.QueryConfigResponse + (*QueryAccountRequest)(nil), // 2: cosmos.evm.vm.v2.QueryAccountRequest + (*QueryAccountResponse)(nil), // 3: cosmos.evm.vm.v2.QueryAccountResponse + (*QueryCosmosAccountRequest)(nil), // 4: cosmos.evm.vm.v2.QueryCosmosAccountRequest + (*QueryCosmosAccountResponse)(nil), // 5: cosmos.evm.vm.v2.QueryCosmosAccountResponse + (*QueryValidatorAccountRequest)(nil), // 6: cosmos.evm.vm.v2.QueryValidatorAccountRequest + (*QueryValidatorAccountResponse)(nil), // 7: cosmos.evm.vm.v2.QueryValidatorAccountResponse + (*QueryBalanceRequest)(nil), // 8: cosmos.evm.vm.v2.QueryBalanceRequest + (*QueryBalanceResponse)(nil), // 9: cosmos.evm.vm.v2.QueryBalanceResponse + (*QueryStorageRequest)(nil), // 10: cosmos.evm.vm.v2.QueryStorageRequest + (*QueryStorageResponse)(nil), // 11: cosmos.evm.vm.v2.QueryStorageResponse + (*QueryCodeRequest)(nil), // 12: cosmos.evm.vm.v2.QueryCodeRequest + (*QueryCodeResponse)(nil), // 13: cosmos.evm.vm.v2.QueryCodeResponse + (*QueryTxLogsRequest)(nil), // 14: cosmos.evm.vm.v2.QueryTxLogsRequest + (*QueryTxLogsResponse)(nil), // 15: cosmos.evm.vm.v2.QueryTxLogsResponse + (*QueryParamsRequest)(nil), // 16: cosmos.evm.vm.v2.QueryParamsRequest + (*QueryParamsResponse)(nil), // 17: cosmos.evm.vm.v2.QueryParamsResponse + (*EthCallRequest)(nil), // 18: cosmos.evm.vm.v2.EthCallRequest + (*EstimateGasResponse)(nil), // 19: cosmos.evm.vm.v2.EstimateGasResponse + (*QueryTraceTxRequest)(nil), // 20: cosmos.evm.vm.v2.QueryTraceTxRequest + (*QueryTraceTxResponse)(nil), // 21: cosmos.evm.vm.v2.QueryTraceTxResponse + (*QueryTraceBlockRequest)(nil), // 22: cosmos.evm.vm.v2.QueryTraceBlockRequest + (*QueryTraceBlockResponse)(nil), // 23: cosmos.evm.vm.v2.QueryTraceBlockResponse + (*QueryTraceCallRequest)(nil), // 24: cosmos.evm.vm.v2.QueryTraceCallRequest + (*QueryTraceCallResponse)(nil), // 25: cosmos.evm.vm.v2.QueryTraceCallResponse + (*QueryBaseFeeRequest)(nil), // 26: cosmos.evm.vm.v2.QueryBaseFeeRequest + (*QueryBaseFeeResponse)(nil), // 27: cosmos.evm.vm.v2.QueryBaseFeeResponse + (*QueryGlobalMinGasPriceRequest)(nil), // 28: cosmos.evm.vm.v2.QueryGlobalMinGasPriceRequest + (*QueryGlobalMinGasPriceResponse)(nil), // 29: cosmos.evm.vm.v2.QueryGlobalMinGasPriceResponse + (*ChainConfig)(nil), // 30: cosmos.evm.vm.v2.ChainConfig (*v1beta1.PageRequest)(nil), // 31: cosmos.base.query.v1beta1.PageRequest - (*Log)(nil), // 32: cosmos.evm.vm.v1.Log + (*Log)(nil), // 32: cosmos.evm.vm.v2.Log (*v1beta1.PageResponse)(nil), // 33: cosmos.base.query.v1beta1.PageResponse - (*Params)(nil), // 34: cosmos.evm.vm.v1.Params - (*MsgEthereumTx)(nil), // 35: cosmos.evm.vm.v1.MsgEthereumTx - (*TraceConfig)(nil), // 36: cosmos.evm.vm.v1.TraceConfig + (*Params)(nil), // 34: cosmos.evm.vm.v2.Params + (*MsgEthereumTx)(nil), // 35: cosmos.evm.vm.v2.MsgEthereumTx + (*TraceConfig)(nil), // 36: cosmos.evm.vm.v2.TraceConfig (*timestamppb.Timestamp)(nil), // 37: google.protobuf.Timestamp - (*MsgEthereumTxResponse)(nil), // 38: cosmos.evm.vm.v1.MsgEthereumTxResponse -} -var file_cosmos_evm_vm_v1_query_proto_depIdxs = []int32{ - 30, // 0: cosmos.evm.vm.v1.QueryConfigResponse.config:type_name -> cosmos.evm.vm.v1.ChainConfig - 31, // 1: cosmos.evm.vm.v1.QueryTxLogsRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest - 32, // 2: cosmos.evm.vm.v1.QueryTxLogsResponse.logs:type_name -> cosmos.evm.vm.v1.Log - 33, // 3: cosmos.evm.vm.v1.QueryTxLogsResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse - 34, // 4: cosmos.evm.vm.v1.QueryParamsResponse.params:type_name -> cosmos.evm.vm.v1.Params - 35, // 5: cosmos.evm.vm.v1.QueryTraceTxRequest.msg:type_name -> cosmos.evm.vm.v1.MsgEthereumTx - 36, // 6: cosmos.evm.vm.v1.QueryTraceTxRequest.trace_config:type_name -> cosmos.evm.vm.v1.TraceConfig - 35, // 7: cosmos.evm.vm.v1.QueryTraceTxRequest.predecessors:type_name -> cosmos.evm.vm.v1.MsgEthereumTx - 37, // 8: cosmos.evm.vm.v1.QueryTraceTxRequest.block_time:type_name -> google.protobuf.Timestamp - 35, // 9: cosmos.evm.vm.v1.QueryTraceBlockRequest.txs:type_name -> cosmos.evm.vm.v1.MsgEthereumTx - 36, // 10: cosmos.evm.vm.v1.QueryTraceBlockRequest.trace_config:type_name -> cosmos.evm.vm.v1.TraceConfig - 37, // 11: cosmos.evm.vm.v1.QueryTraceBlockRequest.block_time:type_name -> google.protobuf.Timestamp - 36, // 12: cosmos.evm.vm.v1.QueryTraceCallRequest.trace_config:type_name -> cosmos.evm.vm.v1.TraceConfig - 37, // 13: cosmos.evm.vm.v1.QueryTraceCallRequest.block_time:type_name -> google.protobuf.Timestamp - 2, // 14: cosmos.evm.vm.v1.Query.Account:input_type -> cosmos.evm.vm.v1.QueryAccountRequest - 4, // 15: cosmos.evm.vm.v1.Query.CosmosAccount:input_type -> cosmos.evm.vm.v1.QueryCosmosAccountRequest - 6, // 16: cosmos.evm.vm.v1.Query.ValidatorAccount:input_type -> cosmos.evm.vm.v1.QueryValidatorAccountRequest - 8, // 17: cosmos.evm.vm.v1.Query.Balance:input_type -> cosmos.evm.vm.v1.QueryBalanceRequest - 10, // 18: cosmos.evm.vm.v1.Query.Storage:input_type -> cosmos.evm.vm.v1.QueryStorageRequest - 12, // 19: cosmos.evm.vm.v1.Query.Code:input_type -> cosmos.evm.vm.v1.QueryCodeRequest - 16, // 20: cosmos.evm.vm.v1.Query.Params:input_type -> cosmos.evm.vm.v1.QueryParamsRequest - 18, // 21: cosmos.evm.vm.v1.Query.EthCall:input_type -> cosmos.evm.vm.v1.EthCallRequest - 18, // 22: cosmos.evm.vm.v1.Query.EstimateGas:input_type -> cosmos.evm.vm.v1.EthCallRequest - 20, // 23: cosmos.evm.vm.v1.Query.TraceTx:input_type -> cosmos.evm.vm.v1.QueryTraceTxRequest - 22, // 24: cosmos.evm.vm.v1.Query.TraceBlock:input_type -> cosmos.evm.vm.v1.QueryTraceBlockRequest - 24, // 25: cosmos.evm.vm.v1.Query.TraceCall:input_type -> cosmos.evm.vm.v1.QueryTraceCallRequest - 26, // 26: cosmos.evm.vm.v1.Query.BaseFee:input_type -> cosmos.evm.vm.v1.QueryBaseFeeRequest - 0, // 27: cosmos.evm.vm.v1.Query.Config:input_type -> cosmos.evm.vm.v1.QueryConfigRequest - 28, // 28: cosmos.evm.vm.v1.Query.GlobalMinGasPrice:input_type -> cosmos.evm.vm.v1.QueryGlobalMinGasPriceRequest - 3, // 29: cosmos.evm.vm.v1.Query.Account:output_type -> cosmos.evm.vm.v1.QueryAccountResponse - 5, // 30: cosmos.evm.vm.v1.Query.CosmosAccount:output_type -> cosmos.evm.vm.v1.QueryCosmosAccountResponse - 7, // 31: cosmos.evm.vm.v1.Query.ValidatorAccount:output_type -> cosmos.evm.vm.v1.QueryValidatorAccountResponse - 9, // 32: cosmos.evm.vm.v1.Query.Balance:output_type -> cosmos.evm.vm.v1.QueryBalanceResponse - 11, // 33: cosmos.evm.vm.v1.Query.Storage:output_type -> cosmos.evm.vm.v1.QueryStorageResponse - 13, // 34: cosmos.evm.vm.v1.Query.Code:output_type -> cosmos.evm.vm.v1.QueryCodeResponse - 17, // 35: cosmos.evm.vm.v1.Query.Params:output_type -> cosmos.evm.vm.v1.QueryParamsResponse - 38, // 36: cosmos.evm.vm.v1.Query.EthCall:output_type -> cosmos.evm.vm.v1.MsgEthereumTxResponse - 19, // 37: cosmos.evm.vm.v1.Query.EstimateGas:output_type -> cosmos.evm.vm.v1.EstimateGasResponse - 21, // 38: cosmos.evm.vm.v1.Query.TraceTx:output_type -> cosmos.evm.vm.v1.QueryTraceTxResponse - 23, // 39: cosmos.evm.vm.v1.Query.TraceBlock:output_type -> cosmos.evm.vm.v1.QueryTraceBlockResponse - 25, // 40: cosmos.evm.vm.v1.Query.TraceCall:output_type -> cosmos.evm.vm.v1.QueryTraceCallResponse - 27, // 41: cosmos.evm.vm.v1.Query.BaseFee:output_type -> cosmos.evm.vm.v1.QueryBaseFeeResponse - 1, // 42: cosmos.evm.vm.v1.Query.Config:output_type -> cosmos.evm.vm.v1.QueryConfigResponse - 29, // 43: cosmos.evm.vm.v1.Query.GlobalMinGasPrice:output_type -> cosmos.evm.vm.v1.QueryGlobalMinGasPriceResponse + (*MsgEthereumTxResponse)(nil), // 38: cosmos.evm.vm.v2.MsgEthereumTxResponse +} +var file_cosmos_evm_vm_v2_query_proto_depIdxs = []int32{ + 30, // 0: cosmos.evm.vm.v2.QueryConfigResponse.config:type_name -> cosmos.evm.vm.v2.ChainConfig + 31, // 1: cosmos.evm.vm.v2.QueryTxLogsRequest.pagination:type_name -> cosmos.base.query.v1beta1.PageRequest + 32, // 2: cosmos.evm.vm.v2.QueryTxLogsResponse.logs:type_name -> cosmos.evm.vm.v2.Log + 33, // 3: cosmos.evm.vm.v2.QueryTxLogsResponse.pagination:type_name -> cosmos.base.query.v1beta1.PageResponse + 34, // 4: cosmos.evm.vm.v2.QueryParamsResponse.params:type_name -> cosmos.evm.vm.v2.Params + 35, // 5: cosmos.evm.vm.v2.QueryTraceTxRequest.msg:type_name -> cosmos.evm.vm.v2.MsgEthereumTx + 36, // 6: cosmos.evm.vm.v2.QueryTraceTxRequest.trace_config:type_name -> cosmos.evm.vm.v2.TraceConfig + 35, // 7: cosmos.evm.vm.v2.QueryTraceTxRequest.predecessors:type_name -> cosmos.evm.vm.v2.MsgEthereumTx + 37, // 8: cosmos.evm.vm.v2.QueryTraceTxRequest.block_time:type_name -> google.protobuf.Timestamp + 35, // 9: cosmos.evm.vm.v2.QueryTraceBlockRequest.txs:type_name -> cosmos.evm.vm.v2.MsgEthereumTx + 36, // 10: cosmos.evm.vm.v2.QueryTraceBlockRequest.trace_config:type_name -> cosmos.evm.vm.v2.TraceConfig + 37, // 11: cosmos.evm.vm.v2.QueryTraceBlockRequest.block_time:type_name -> google.protobuf.Timestamp + 36, // 12: cosmos.evm.vm.v2.QueryTraceCallRequest.trace_config:type_name -> cosmos.evm.vm.v2.TraceConfig + 37, // 13: cosmos.evm.vm.v2.QueryTraceCallRequest.block_time:type_name -> google.protobuf.Timestamp + 2, // 14: cosmos.evm.vm.v2.Query.Account:input_type -> cosmos.evm.vm.v2.QueryAccountRequest + 4, // 15: cosmos.evm.vm.v2.Query.CosmosAccount:input_type -> cosmos.evm.vm.v2.QueryCosmosAccountRequest + 6, // 16: cosmos.evm.vm.v2.Query.ValidatorAccount:input_type -> cosmos.evm.vm.v2.QueryValidatorAccountRequest + 8, // 17: cosmos.evm.vm.v2.Query.Balance:input_type -> cosmos.evm.vm.v2.QueryBalanceRequest + 10, // 18: cosmos.evm.vm.v2.Query.Storage:input_type -> cosmos.evm.vm.v2.QueryStorageRequest + 12, // 19: cosmos.evm.vm.v2.Query.Code:input_type -> cosmos.evm.vm.v2.QueryCodeRequest + 16, // 20: cosmos.evm.vm.v2.Query.Params:input_type -> cosmos.evm.vm.v2.QueryParamsRequest + 18, // 21: cosmos.evm.vm.v2.Query.EthCall:input_type -> cosmos.evm.vm.v2.EthCallRequest + 18, // 22: cosmos.evm.vm.v2.Query.EstimateGas:input_type -> cosmos.evm.vm.v2.EthCallRequest + 20, // 23: cosmos.evm.vm.v2.Query.TraceTx:input_type -> cosmos.evm.vm.v2.QueryTraceTxRequest + 22, // 24: cosmos.evm.vm.v2.Query.TraceBlock:input_type -> cosmos.evm.vm.v2.QueryTraceBlockRequest + 24, // 25: cosmos.evm.vm.v2.Query.TraceCall:input_type -> cosmos.evm.vm.v2.QueryTraceCallRequest + 26, // 26: cosmos.evm.vm.v2.Query.BaseFee:input_type -> cosmos.evm.vm.v2.QueryBaseFeeRequest + 0, // 27: cosmos.evm.vm.v2.Query.Config:input_type -> cosmos.evm.vm.v2.QueryConfigRequest + 28, // 28: cosmos.evm.vm.v2.Query.GlobalMinGasPrice:input_type -> cosmos.evm.vm.v2.QueryGlobalMinGasPriceRequest + 3, // 29: cosmos.evm.vm.v2.Query.Account:output_type -> cosmos.evm.vm.v2.QueryAccountResponse + 5, // 30: cosmos.evm.vm.v2.Query.CosmosAccount:output_type -> cosmos.evm.vm.v2.QueryCosmosAccountResponse + 7, // 31: cosmos.evm.vm.v2.Query.ValidatorAccount:output_type -> cosmos.evm.vm.v2.QueryValidatorAccountResponse + 9, // 32: cosmos.evm.vm.v2.Query.Balance:output_type -> cosmos.evm.vm.v2.QueryBalanceResponse + 11, // 33: cosmos.evm.vm.v2.Query.Storage:output_type -> cosmos.evm.vm.v2.QueryStorageResponse + 13, // 34: cosmos.evm.vm.v2.Query.Code:output_type -> cosmos.evm.vm.v2.QueryCodeResponse + 17, // 35: cosmos.evm.vm.v2.Query.Params:output_type -> cosmos.evm.vm.v2.QueryParamsResponse + 38, // 36: cosmos.evm.vm.v2.Query.EthCall:output_type -> cosmos.evm.vm.v2.MsgEthereumTxResponse + 19, // 37: cosmos.evm.vm.v2.Query.EstimateGas:output_type -> cosmos.evm.vm.v2.EstimateGasResponse + 21, // 38: cosmos.evm.vm.v2.Query.TraceTx:output_type -> cosmos.evm.vm.v2.QueryTraceTxResponse + 23, // 39: cosmos.evm.vm.v2.Query.TraceBlock:output_type -> cosmos.evm.vm.v2.QueryTraceBlockResponse + 25, // 40: cosmos.evm.vm.v2.Query.TraceCall:output_type -> cosmos.evm.vm.v2.QueryTraceCallResponse + 27, // 41: cosmos.evm.vm.v2.Query.BaseFee:output_type -> cosmos.evm.vm.v2.QueryBaseFeeResponse + 1, // 42: cosmos.evm.vm.v2.Query.Config:output_type -> cosmos.evm.vm.v2.QueryConfigResponse + 29, // 43: cosmos.evm.vm.v2.Query.GlobalMinGasPrice:output_type -> cosmos.evm.vm.v2.QueryGlobalMinGasPriceResponse 29, // [29:44] is the sub-list for method output_type 14, // [14:29] is the sub-list for method input_type 14, // [14:14] is the sub-list for extension type_name @@ -16775,15 +16775,15 @@ var file_cosmos_evm_vm_v1_query_proto_depIdxs = []int32{ 0, // [0:14] is the sub-list for field type_name } -func init() { file_cosmos_evm_vm_v1_query_proto_init() } -func file_cosmos_evm_vm_v1_query_proto_init() { - if File_cosmos_evm_vm_v1_query_proto != nil { +func init() { file_cosmos_evm_vm_v2_query_proto_init() } +func file_cosmos_evm_vm_v2_query_proto_init() { + if File_cosmos_evm_vm_v2_query_proto != nil { return } - file_cosmos_evm_vm_v1_evm_proto_init() - file_cosmos_evm_vm_v1_tx_proto_init() + file_cosmos_evm_vm_v2_evm_proto_init() + file_cosmos_evm_vm_v2_tx_proto_init() if !protoimpl.UnsafeEnabled { - file_cosmos_evm_vm_v1_query_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_query_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryConfigRequest); i { case 0: return &v.state @@ -16795,7 +16795,7 @@ func file_cosmos_evm_vm_v1_query_proto_init() { return nil } } - file_cosmos_evm_vm_v1_query_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_query_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryConfigResponse); i { case 0: return &v.state @@ -16807,7 +16807,7 @@ func file_cosmos_evm_vm_v1_query_proto_init() { return nil } } - file_cosmos_evm_vm_v1_query_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_query_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryAccountRequest); i { case 0: return &v.state @@ -16819,7 +16819,7 @@ func file_cosmos_evm_vm_v1_query_proto_init() { return nil } } - file_cosmos_evm_vm_v1_query_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_query_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryAccountResponse); i { case 0: return &v.state @@ -16831,7 +16831,7 @@ func file_cosmos_evm_vm_v1_query_proto_init() { return nil } } - file_cosmos_evm_vm_v1_query_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_query_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryCosmosAccountRequest); i { case 0: return &v.state @@ -16843,7 +16843,7 @@ func file_cosmos_evm_vm_v1_query_proto_init() { return nil } } - file_cosmos_evm_vm_v1_query_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_query_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryCosmosAccountResponse); i { case 0: return &v.state @@ -16855,7 +16855,7 @@ func file_cosmos_evm_vm_v1_query_proto_init() { return nil } } - file_cosmos_evm_vm_v1_query_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_query_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryValidatorAccountRequest); i { case 0: return &v.state @@ -16867,7 +16867,7 @@ func file_cosmos_evm_vm_v1_query_proto_init() { return nil } } - file_cosmos_evm_vm_v1_query_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_query_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryValidatorAccountResponse); i { case 0: return &v.state @@ -16879,7 +16879,7 @@ func file_cosmos_evm_vm_v1_query_proto_init() { return nil } } - file_cosmos_evm_vm_v1_query_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_query_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryBalanceRequest); i { case 0: return &v.state @@ -16891,7 +16891,7 @@ func file_cosmos_evm_vm_v1_query_proto_init() { return nil } } - file_cosmos_evm_vm_v1_query_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_query_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryBalanceResponse); i { case 0: return &v.state @@ -16903,7 +16903,7 @@ func file_cosmos_evm_vm_v1_query_proto_init() { return nil } } - file_cosmos_evm_vm_v1_query_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_query_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryStorageRequest); i { case 0: return &v.state @@ -16915,7 +16915,7 @@ func file_cosmos_evm_vm_v1_query_proto_init() { return nil } } - file_cosmos_evm_vm_v1_query_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_query_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryStorageResponse); i { case 0: return &v.state @@ -16927,7 +16927,7 @@ func file_cosmos_evm_vm_v1_query_proto_init() { return nil } } - file_cosmos_evm_vm_v1_query_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_query_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryCodeRequest); i { case 0: return &v.state @@ -16939,7 +16939,7 @@ func file_cosmos_evm_vm_v1_query_proto_init() { return nil } } - file_cosmos_evm_vm_v1_query_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_query_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryCodeResponse); i { case 0: return &v.state @@ -16951,7 +16951,7 @@ func file_cosmos_evm_vm_v1_query_proto_init() { return nil } } - file_cosmos_evm_vm_v1_query_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_query_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryTxLogsRequest); i { case 0: return &v.state @@ -16963,7 +16963,7 @@ func file_cosmos_evm_vm_v1_query_proto_init() { return nil } } - file_cosmos_evm_vm_v1_query_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_query_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryTxLogsResponse); i { case 0: return &v.state @@ -16975,7 +16975,7 @@ func file_cosmos_evm_vm_v1_query_proto_init() { return nil } } - file_cosmos_evm_vm_v1_query_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_query_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryParamsRequest); i { case 0: return &v.state @@ -16987,7 +16987,7 @@ func file_cosmos_evm_vm_v1_query_proto_init() { return nil } } - file_cosmos_evm_vm_v1_query_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_query_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryParamsResponse); i { case 0: return &v.state @@ -16999,7 +16999,7 @@ func file_cosmos_evm_vm_v1_query_proto_init() { return nil } } - file_cosmos_evm_vm_v1_query_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_query_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EthCallRequest); i { case 0: return &v.state @@ -17011,7 +17011,7 @@ func file_cosmos_evm_vm_v1_query_proto_init() { return nil } } - file_cosmos_evm_vm_v1_query_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_query_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EstimateGasResponse); i { case 0: return &v.state @@ -17023,7 +17023,7 @@ func file_cosmos_evm_vm_v1_query_proto_init() { return nil } } - file_cosmos_evm_vm_v1_query_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_query_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryTraceTxRequest); i { case 0: return &v.state @@ -17035,7 +17035,7 @@ func file_cosmos_evm_vm_v1_query_proto_init() { return nil } } - file_cosmos_evm_vm_v1_query_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_query_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryTraceTxResponse); i { case 0: return &v.state @@ -17047,7 +17047,7 @@ func file_cosmos_evm_vm_v1_query_proto_init() { return nil } } - file_cosmos_evm_vm_v1_query_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_query_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryTraceBlockRequest); i { case 0: return &v.state @@ -17059,7 +17059,7 @@ func file_cosmos_evm_vm_v1_query_proto_init() { return nil } } - file_cosmos_evm_vm_v1_query_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_query_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryTraceBlockResponse); i { case 0: return &v.state @@ -17071,7 +17071,7 @@ func file_cosmos_evm_vm_v1_query_proto_init() { return nil } } - file_cosmos_evm_vm_v1_query_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_query_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryTraceCallRequest); i { case 0: return &v.state @@ -17083,7 +17083,7 @@ func file_cosmos_evm_vm_v1_query_proto_init() { return nil } } - file_cosmos_evm_vm_v1_query_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_query_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryTraceCallResponse); i { case 0: return &v.state @@ -17095,7 +17095,7 @@ func file_cosmos_evm_vm_v1_query_proto_init() { return nil } } - file_cosmos_evm_vm_v1_query_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_query_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryBaseFeeRequest); i { case 0: return &v.state @@ -17107,7 +17107,7 @@ func file_cosmos_evm_vm_v1_query_proto_init() { return nil } } - file_cosmos_evm_vm_v1_query_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_query_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryBaseFeeResponse); i { case 0: return &v.state @@ -17119,7 +17119,7 @@ func file_cosmos_evm_vm_v1_query_proto_init() { return nil } } - file_cosmos_evm_vm_v1_query_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_query_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryGlobalMinGasPriceRequest); i { case 0: return &v.state @@ -17131,7 +17131,7 @@ func file_cosmos_evm_vm_v1_query_proto_init() { return nil } } - file_cosmos_evm_vm_v1_query_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_query_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryGlobalMinGasPriceResponse); i { case 0: return &v.state @@ -17148,18 +17148,18 @@ func file_cosmos_evm_vm_v1_query_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_cosmos_evm_vm_v1_query_proto_rawDesc, + RawDescriptor: file_cosmos_evm_vm_v2_query_proto_rawDesc, NumEnums: 0, NumMessages: 30, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_cosmos_evm_vm_v1_query_proto_goTypes, - DependencyIndexes: file_cosmos_evm_vm_v1_query_proto_depIdxs, - MessageInfos: file_cosmos_evm_vm_v1_query_proto_msgTypes, + GoTypes: file_cosmos_evm_vm_v2_query_proto_goTypes, + DependencyIndexes: file_cosmos_evm_vm_v2_query_proto_depIdxs, + MessageInfos: file_cosmos_evm_vm_v2_query_proto_msgTypes, }.Build() - File_cosmos_evm_vm_v1_query_proto = out.File - file_cosmos_evm_vm_v1_query_proto_rawDesc = nil - file_cosmos_evm_vm_v1_query_proto_goTypes = nil - file_cosmos_evm_vm_v1_query_proto_depIdxs = nil + File_cosmos_evm_vm_v2_query_proto = out.File + file_cosmos_evm_vm_v2_query_proto_rawDesc = nil + file_cosmos_evm_vm_v2_query_proto_goTypes = nil + file_cosmos_evm_vm_v2_query_proto_depIdxs = nil } diff --git a/api/cosmos/evm/vm/v1/query_grpc.pb.go b/api/cosmos/evm/vm/v2/query_grpc.pb.go similarity index 95% rename from api/cosmos/evm/vm/v1/query_grpc.pb.go rename to api/cosmos/evm/vm/v2/query_grpc.pb.go index fd130cf32..445c84a01 100644 --- a/api/cosmos/evm/vm/v1/query_grpc.pb.go +++ b/api/cosmos/evm/vm/v2/query_grpc.pb.go @@ -2,9 +2,9 @@ // versions: // - protoc-gen-go-grpc v1.3.0 // - protoc (unknown) -// source: cosmos/evm/vm/v1/query.proto +// source: cosmos/evm/vm/v2/query.proto -package vmv1 +package vmv2 import ( context "context" @@ -19,21 +19,21 @@ import ( const _ = grpc.SupportPackageIsVersion7 const ( - Query_Account_FullMethodName = "/cosmos.evm.vm.v1.Query/Account" - Query_CosmosAccount_FullMethodName = "/cosmos.evm.vm.v1.Query/CosmosAccount" - Query_ValidatorAccount_FullMethodName = "/cosmos.evm.vm.v1.Query/ValidatorAccount" - Query_Balance_FullMethodName = "/cosmos.evm.vm.v1.Query/Balance" - Query_Storage_FullMethodName = "/cosmos.evm.vm.v1.Query/Storage" - Query_Code_FullMethodName = "/cosmos.evm.vm.v1.Query/Code" - Query_Params_FullMethodName = "/cosmos.evm.vm.v1.Query/Params" - Query_EthCall_FullMethodName = "/cosmos.evm.vm.v1.Query/EthCall" - Query_EstimateGas_FullMethodName = "/cosmos.evm.vm.v1.Query/EstimateGas" - Query_TraceTx_FullMethodName = "/cosmos.evm.vm.v1.Query/TraceTx" - Query_TraceBlock_FullMethodName = "/cosmos.evm.vm.v1.Query/TraceBlock" - Query_TraceCall_FullMethodName = "/cosmos.evm.vm.v1.Query/TraceCall" - Query_BaseFee_FullMethodName = "/cosmos.evm.vm.v1.Query/BaseFee" - Query_Config_FullMethodName = "/cosmos.evm.vm.v1.Query/Config" - Query_GlobalMinGasPrice_FullMethodName = "/cosmos.evm.vm.v1.Query/GlobalMinGasPrice" + Query_Account_FullMethodName = "/cosmos.evm.vm.v2.Query/Account" + Query_CosmosAccount_FullMethodName = "/cosmos.evm.vm.v2.Query/CosmosAccount" + Query_ValidatorAccount_FullMethodName = "/cosmos.evm.vm.v2.Query/ValidatorAccount" + Query_Balance_FullMethodName = "/cosmos.evm.vm.v2.Query/Balance" + Query_Storage_FullMethodName = "/cosmos.evm.vm.v2.Query/Storage" + Query_Code_FullMethodName = "/cosmos.evm.vm.v2.Query/Code" + Query_Params_FullMethodName = "/cosmos.evm.vm.v2.Query/Params" + Query_EthCall_FullMethodName = "/cosmos.evm.vm.v2.Query/EthCall" + Query_EstimateGas_FullMethodName = "/cosmos.evm.vm.v2.Query/EstimateGas" + Query_TraceTx_FullMethodName = "/cosmos.evm.vm.v2.Query/TraceTx" + Query_TraceBlock_FullMethodName = "/cosmos.evm.vm.v2.Query/TraceBlock" + Query_TraceCall_FullMethodName = "/cosmos.evm.vm.v2.Query/TraceCall" + Query_BaseFee_FullMethodName = "/cosmos.evm.vm.v2.Query/BaseFee" + Query_Config_FullMethodName = "/cosmos.evm.vm.v2.Query/Config" + Query_GlobalMinGasPrice_FullMethodName = "/cosmos.evm.vm.v2.Query/GlobalMinGasPrice" ) // QueryClient is the client API for Query service. @@ -604,7 +604,7 @@ func _Query_GlobalMinGasPrice_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 Query_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "cosmos.evm.vm.v1.Query", + ServiceName: "cosmos.evm.vm.v2.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { @@ -669,5 +669,5 @@ var Query_ServiceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "cosmos/evm/vm/v1/query.proto", + Metadata: "cosmos/evm/vm/v2/query.proto", } diff --git a/api/cosmos/evm/vm/v1/tx.pulsar.go b/api/cosmos/evm/vm/v2/tx.pulsar.go similarity index 89% rename from api/cosmos/evm/vm/v1/tx.pulsar.go rename to api/cosmos/evm/vm/v2/tx.pulsar.go index f39f7451e..a23d6f751 100644 --- a/api/cosmos/evm/vm/v1/tx.pulsar.go +++ b/api/cosmos/evm/vm/v2/tx.pulsar.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-go-pulsar. DO NOT EDIT. -package vmv1 +package vmv2 import ( _ "cosmossdk.io/api/amino" @@ -24,8 +24,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_tx_proto_init() - md_MsgEthereumTx = File_cosmos_evm_vm_v1_tx_proto.Messages().ByName("MsgEthereumTx") + file_cosmos_evm_vm_v2_tx_proto_init() + md_MsgEthereumTx = File_cosmos_evm_vm_v2_tx_proto.Messages().ByName("MsgEthereumTx") fd_MsgEthereumTx_from = md_MsgEthereumTx.Fields().ByName("from") fd_MsgEthereumTx_raw = md_MsgEthereumTx.Fields().ByName("raw") } @@ -39,7 +39,7 @@ func (x *MsgEthereumTx) ProtoReflect() protoreflect.Message { } func (x *MsgEthereumTx) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_tx_proto_msgTypes[0] + mi := &file_cosmos_evm_vm_v2_tx_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -122,15 +122,15 @@ func (x *fastReflection_MsgEthereumTx) Range(f func(protoreflect.FieldDescriptor // a repeated field is populated if it is non-empty. func (x *fastReflection_MsgEthereumTx) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.MsgEthereumTx.from": + case "cosmos.evm.vm.v2.MsgEthereumTx.from": return len(x.From) != 0 - case "cosmos.evm.vm.v1.MsgEthereumTx.raw": + case "cosmos.evm.vm.v2.MsgEthereumTx.raw": return len(x.Raw) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgEthereumTx")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.MsgEthereumTx")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgEthereumTx does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.MsgEthereumTx does not contain field %s", fd.FullName())) } } @@ -142,15 +142,15 @@ func (x *fastReflection_MsgEthereumTx) Has(fd protoreflect.FieldDescriptor) bool // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgEthereumTx) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.MsgEthereumTx.from": + case "cosmos.evm.vm.v2.MsgEthereumTx.from": x.From = nil - case "cosmos.evm.vm.v1.MsgEthereumTx.raw": + case "cosmos.evm.vm.v2.MsgEthereumTx.raw": x.Raw = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgEthereumTx")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.MsgEthereumTx")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgEthereumTx does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.MsgEthereumTx does not contain field %s", fd.FullName())) } } @@ -162,17 +162,17 @@ func (x *fastReflection_MsgEthereumTx) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_MsgEthereumTx) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.MsgEthereumTx.from": + case "cosmos.evm.vm.v2.MsgEthereumTx.from": value := x.From return protoreflect.ValueOfBytes(value) - case "cosmos.evm.vm.v1.MsgEthereumTx.raw": + case "cosmos.evm.vm.v2.MsgEthereumTx.raw": value := x.Raw return protoreflect.ValueOfBytes(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgEthereumTx")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.MsgEthereumTx")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgEthereumTx does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.MsgEthereumTx does not contain field %s", descriptor.FullName())) } } @@ -188,15 +188,15 @@ func (x *fastReflection_MsgEthereumTx) Get(descriptor protoreflect.FieldDescript // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgEthereumTx) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.MsgEthereumTx.from": + case "cosmos.evm.vm.v2.MsgEthereumTx.from": x.From = value.Bytes() - case "cosmos.evm.vm.v1.MsgEthereumTx.raw": + case "cosmos.evm.vm.v2.MsgEthereumTx.raw": x.Raw = value.Bytes() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgEthereumTx")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.MsgEthereumTx")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgEthereumTx does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.MsgEthereumTx does not contain field %s", fd.FullName())) } } @@ -212,15 +212,15 @@ func (x *fastReflection_MsgEthereumTx) Set(fd protoreflect.FieldDescriptor, valu // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgEthereumTx) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.MsgEthereumTx.from": - panic(fmt.Errorf("field from of message cosmos.evm.vm.v1.MsgEthereumTx is not mutable")) - case "cosmos.evm.vm.v1.MsgEthereumTx.raw": - panic(fmt.Errorf("field raw of message cosmos.evm.vm.v1.MsgEthereumTx is not mutable")) + case "cosmos.evm.vm.v2.MsgEthereumTx.from": + panic(fmt.Errorf("field from of message cosmos.evm.vm.v2.MsgEthereumTx is not mutable")) + case "cosmos.evm.vm.v2.MsgEthereumTx.raw": + panic(fmt.Errorf("field raw of message cosmos.evm.vm.v2.MsgEthereumTx is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgEthereumTx")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.MsgEthereumTx")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgEthereumTx does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.MsgEthereumTx does not contain field %s", fd.FullName())) } } @@ -229,15 +229,15 @@ func (x *fastReflection_MsgEthereumTx) Mutable(fd protoreflect.FieldDescriptor) // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_MsgEthereumTx) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.MsgEthereumTx.from": + case "cosmos.evm.vm.v2.MsgEthereumTx.from": return protoreflect.ValueOfBytes(nil) - case "cosmos.evm.vm.v1.MsgEthereumTx.raw": + case "cosmos.evm.vm.v2.MsgEthereumTx.raw": return protoreflect.ValueOfBytes(nil) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgEthereumTx")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.MsgEthereumTx")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgEthereumTx does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.MsgEthereumTx does not contain field %s", fd.FullName())) } } @@ -247,7 +247,7 @@ func (x *fastReflection_MsgEthereumTx) NewField(fd protoreflect.FieldDescriptor) func (x *fastReflection_MsgEthereumTx) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.MsgEthereumTx", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.MsgEthereumTx", d.FullName())) } panic("unreachable") } @@ -510,8 +510,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_tx_proto_init() - md_ExtensionOptionsEthereumTx = File_cosmos_evm_vm_v1_tx_proto.Messages().ByName("ExtensionOptionsEthereumTx") + file_cosmos_evm_vm_v2_tx_proto_init() + md_ExtensionOptionsEthereumTx = File_cosmos_evm_vm_v2_tx_proto.Messages().ByName("ExtensionOptionsEthereumTx") } var _ protoreflect.Message = (*fastReflection_ExtensionOptionsEthereumTx)(nil) @@ -523,7 +523,7 @@ func (x *ExtensionOptionsEthereumTx) ProtoReflect() protoreflect.Message { } func (x *ExtensionOptionsEthereumTx) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_tx_proto_msgTypes[1] + mi := &file_cosmos_evm_vm_v2_tx_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -596,9 +596,9 @@ func (x *fastReflection_ExtensionOptionsEthereumTx) Has(fd protoreflect.FieldDes switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.ExtensionOptionsEthereumTx")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.ExtensionOptionsEthereumTx")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.ExtensionOptionsEthereumTx does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.ExtensionOptionsEthereumTx does not contain field %s", fd.FullName())) } } @@ -612,9 +612,9 @@ func (x *fastReflection_ExtensionOptionsEthereumTx) Clear(fd protoreflect.FieldD switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.ExtensionOptionsEthereumTx")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.ExtensionOptionsEthereumTx")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.ExtensionOptionsEthereumTx does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.ExtensionOptionsEthereumTx does not contain field %s", fd.FullName())) } } @@ -628,9 +628,9 @@ func (x *fastReflection_ExtensionOptionsEthereumTx) Get(descriptor protoreflect. switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.ExtensionOptionsEthereumTx")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.ExtensionOptionsEthereumTx")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.ExtensionOptionsEthereumTx does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.ExtensionOptionsEthereumTx does not contain field %s", descriptor.FullName())) } } @@ -648,9 +648,9 @@ func (x *fastReflection_ExtensionOptionsEthereumTx) Set(fd protoreflect.FieldDes switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.ExtensionOptionsEthereumTx")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.ExtensionOptionsEthereumTx")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.ExtensionOptionsEthereumTx does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.ExtensionOptionsEthereumTx does not contain field %s", fd.FullName())) } } @@ -668,9 +668,9 @@ func (x *fastReflection_ExtensionOptionsEthereumTx) Mutable(fd protoreflect.Fiel switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.ExtensionOptionsEthereumTx")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.ExtensionOptionsEthereumTx")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.ExtensionOptionsEthereumTx does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.ExtensionOptionsEthereumTx does not contain field %s", fd.FullName())) } } @@ -681,9 +681,9 @@ func (x *fastReflection_ExtensionOptionsEthereumTx) NewField(fd protoreflect.Fie switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.ExtensionOptionsEthereumTx")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.ExtensionOptionsEthereumTx")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.ExtensionOptionsEthereumTx does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.ExtensionOptionsEthereumTx does not contain field %s", fd.FullName())) } } @@ -693,7 +693,7 @@ func (x *fastReflection_ExtensionOptionsEthereumTx) NewField(fd protoreflect.Fie func (x *fastReflection_ExtensionOptionsEthereumTx) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.ExtensionOptionsEthereumTx", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.ExtensionOptionsEthereumTx", d.FullName())) } panic("unreachable") } @@ -925,8 +925,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_tx_proto_init() - md_MsgEthereumTxResponse = File_cosmos_evm_vm_v1_tx_proto.Messages().ByName("MsgEthereumTxResponse") + file_cosmos_evm_vm_v2_tx_proto_init() + md_MsgEthereumTxResponse = File_cosmos_evm_vm_v2_tx_proto.Messages().ByName("MsgEthereumTxResponse") fd_MsgEthereumTxResponse_hash = md_MsgEthereumTxResponse.Fields().ByName("hash") fd_MsgEthereumTxResponse_logs = md_MsgEthereumTxResponse.Fields().ByName("logs") fd_MsgEthereumTxResponse_ret = md_MsgEthereumTxResponse.Fields().ByName("ret") @@ -946,7 +946,7 @@ func (x *MsgEthereumTxResponse) ProtoReflect() protoreflect.Message { } func (x *MsgEthereumTxResponse) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_tx_proto_msgTypes[2] + mi := &file_cosmos_evm_vm_v2_tx_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1065,27 +1065,27 @@ func (x *fastReflection_MsgEthereumTxResponse) Range(f func(protoreflect.FieldDe // a repeated field is populated if it is non-empty. func (x *fastReflection_MsgEthereumTxResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.hash": + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.hash": return x.Hash != "" - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.logs": + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.logs": return len(x.Logs) != 0 - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.ret": + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.ret": return len(x.Ret) != 0 - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.vm_error": + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.vm_error": return x.VmError != "" - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.gas_used": + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.gas_used": return x.GasUsed != uint64(0) - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.max_used_gas": + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.max_used_gas": return x.MaxUsedGas != uint64(0) - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.block_hash": + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.block_hash": return len(x.BlockHash) != 0 - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.block_timestamp": + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.block_timestamp": return x.BlockTimestamp != uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgEthereumTxResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.MsgEthereumTxResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgEthereumTxResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.MsgEthereumTxResponse does not contain field %s", fd.FullName())) } } @@ -1097,27 +1097,27 @@ func (x *fastReflection_MsgEthereumTxResponse) Has(fd protoreflect.FieldDescript // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgEthereumTxResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.hash": + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.hash": x.Hash = "" - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.logs": + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.logs": x.Logs = nil - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.ret": + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.ret": x.Ret = nil - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.vm_error": + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.vm_error": x.VmError = "" - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.gas_used": + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.gas_used": x.GasUsed = uint64(0) - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.max_used_gas": + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.max_used_gas": x.MaxUsedGas = uint64(0) - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.block_hash": + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.block_hash": x.BlockHash = nil - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.block_timestamp": + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.block_timestamp": x.BlockTimestamp = uint64(0) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgEthereumTxResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.MsgEthereumTxResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgEthereumTxResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.MsgEthereumTxResponse does not contain field %s", fd.FullName())) } } @@ -1129,38 +1129,38 @@ func (x *fastReflection_MsgEthereumTxResponse) Clear(fd protoreflect.FieldDescri // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_MsgEthereumTxResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.hash": + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.hash": value := x.Hash return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.logs": + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.logs": if len(x.Logs) == 0 { return protoreflect.ValueOfList(&_MsgEthereumTxResponse_2_list{}) } listValue := &_MsgEthereumTxResponse_2_list{list: &x.Logs} return protoreflect.ValueOfList(listValue) - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.ret": + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.ret": value := x.Ret return protoreflect.ValueOfBytes(value) - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.vm_error": + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.vm_error": value := x.VmError return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.gas_used": + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.gas_used": value := x.GasUsed return protoreflect.ValueOfUint64(value) - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.max_used_gas": + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.max_used_gas": value := x.MaxUsedGas return protoreflect.ValueOfUint64(value) - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.block_hash": + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.block_hash": value := x.BlockHash return protoreflect.ValueOfBytes(value) - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.block_timestamp": + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.block_timestamp": value := x.BlockTimestamp return protoreflect.ValueOfUint64(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgEthereumTxResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.MsgEthereumTxResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgEthereumTxResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.MsgEthereumTxResponse does not contain field %s", descriptor.FullName())) } } @@ -1176,29 +1176,29 @@ func (x *fastReflection_MsgEthereumTxResponse) Get(descriptor protoreflect.Field // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgEthereumTxResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.hash": + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.hash": x.Hash = value.Interface().(string) - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.logs": + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.logs": lv := value.List() clv := lv.(*_MsgEthereumTxResponse_2_list) x.Logs = *clv.list - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.ret": + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.ret": x.Ret = value.Bytes() - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.vm_error": + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.vm_error": x.VmError = value.Interface().(string) - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.gas_used": + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.gas_used": x.GasUsed = value.Uint() - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.max_used_gas": + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.max_used_gas": x.MaxUsedGas = value.Uint() - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.block_hash": + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.block_hash": x.BlockHash = value.Bytes() - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.block_timestamp": + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.block_timestamp": x.BlockTimestamp = value.Uint() default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgEthereumTxResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.MsgEthereumTxResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgEthereumTxResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.MsgEthereumTxResponse does not contain field %s", fd.FullName())) } } @@ -1214,31 +1214,31 @@ func (x *fastReflection_MsgEthereumTxResponse) Set(fd protoreflect.FieldDescript // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgEthereumTxResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.logs": + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.logs": if x.Logs == nil { x.Logs = []*Log{} } value := &_MsgEthereumTxResponse_2_list{list: &x.Logs} return protoreflect.ValueOfList(value) - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.hash": - panic(fmt.Errorf("field hash of message cosmos.evm.vm.v1.MsgEthereumTxResponse is not mutable")) - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.ret": - panic(fmt.Errorf("field ret of message cosmos.evm.vm.v1.MsgEthereumTxResponse is not mutable")) - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.vm_error": - panic(fmt.Errorf("field vm_error of message cosmos.evm.vm.v1.MsgEthereumTxResponse is not mutable")) - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.gas_used": - panic(fmt.Errorf("field gas_used of message cosmos.evm.vm.v1.MsgEthereumTxResponse is not mutable")) - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.max_used_gas": - panic(fmt.Errorf("field max_used_gas of message cosmos.evm.vm.v1.MsgEthereumTxResponse is not mutable")) - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.block_hash": - panic(fmt.Errorf("field block_hash of message cosmos.evm.vm.v1.MsgEthereumTxResponse is not mutable")) - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.block_timestamp": - panic(fmt.Errorf("field block_timestamp of message cosmos.evm.vm.v1.MsgEthereumTxResponse is not mutable")) + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.hash": + panic(fmt.Errorf("field hash of message cosmos.evm.vm.v2.MsgEthereumTxResponse is not mutable")) + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.ret": + panic(fmt.Errorf("field ret of message cosmos.evm.vm.v2.MsgEthereumTxResponse is not mutable")) + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.vm_error": + panic(fmt.Errorf("field vm_error of message cosmos.evm.vm.v2.MsgEthereumTxResponse is not mutable")) + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.gas_used": + panic(fmt.Errorf("field gas_used of message cosmos.evm.vm.v2.MsgEthereumTxResponse is not mutable")) + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.max_used_gas": + panic(fmt.Errorf("field max_used_gas of message cosmos.evm.vm.v2.MsgEthereumTxResponse is not mutable")) + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.block_hash": + panic(fmt.Errorf("field block_hash of message cosmos.evm.vm.v2.MsgEthereumTxResponse is not mutable")) + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.block_timestamp": + panic(fmt.Errorf("field block_timestamp of message cosmos.evm.vm.v2.MsgEthereumTxResponse is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgEthereumTxResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.MsgEthereumTxResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgEthereumTxResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.MsgEthereumTxResponse does not contain field %s", fd.FullName())) } } @@ -1247,28 +1247,28 @@ func (x *fastReflection_MsgEthereumTxResponse) Mutable(fd protoreflect.FieldDesc // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_MsgEthereumTxResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.hash": + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.hash": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.logs": + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.logs": list := []*Log{} return protoreflect.ValueOfList(&_MsgEthereumTxResponse_2_list{list: &list}) - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.ret": + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.ret": return protoreflect.ValueOfBytes(nil) - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.vm_error": + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.vm_error": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.gas_used": + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.gas_used": return protoreflect.ValueOfUint64(uint64(0)) - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.max_used_gas": + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.max_used_gas": return protoreflect.ValueOfUint64(uint64(0)) - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.block_hash": + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.block_hash": return protoreflect.ValueOfBytes(nil) - case "cosmos.evm.vm.v1.MsgEthereumTxResponse.block_timestamp": + case "cosmos.evm.vm.v2.MsgEthereumTxResponse.block_timestamp": return protoreflect.ValueOfUint64(uint64(0)) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgEthereumTxResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.MsgEthereumTxResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgEthereumTxResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.MsgEthereumTxResponse does not contain field %s", fd.FullName())) } } @@ -1278,7 +1278,7 @@ func (x *fastReflection_MsgEthereumTxResponse) NewField(fd protoreflect.FieldDes func (x *fastReflection_MsgEthereumTxResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.MsgEthereumTxResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.MsgEthereumTxResponse", d.FullName())) } panic("unreachable") } @@ -1766,8 +1766,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_tx_proto_init() - md_MsgUpdateParams = File_cosmos_evm_vm_v1_tx_proto.Messages().ByName("MsgUpdateParams") + file_cosmos_evm_vm_v2_tx_proto_init() + md_MsgUpdateParams = File_cosmos_evm_vm_v2_tx_proto.Messages().ByName("MsgUpdateParams") fd_MsgUpdateParams_authority = md_MsgUpdateParams.Fields().ByName("authority") fd_MsgUpdateParams_params = md_MsgUpdateParams.Fields().ByName("params") } @@ -1781,7 +1781,7 @@ func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message { } func (x *MsgUpdateParams) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_tx_proto_msgTypes[3] + mi := &file_cosmos_evm_vm_v2_tx_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1864,15 +1864,15 @@ func (x *fastReflection_MsgUpdateParams) Range(f func(protoreflect.FieldDescript // a repeated field is populated if it is non-empty. func (x *fastReflection_MsgUpdateParams) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.MsgUpdateParams.authority": + case "cosmos.evm.vm.v2.MsgUpdateParams.authority": return x.Authority != "" - case "cosmos.evm.vm.v1.MsgUpdateParams.params": + case "cosmos.evm.vm.v2.MsgUpdateParams.params": return x.Params != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgUpdateParams")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.MsgUpdateParams")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgUpdateParams does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.MsgUpdateParams does not contain field %s", fd.FullName())) } } @@ -1884,15 +1884,15 @@ func (x *fastReflection_MsgUpdateParams) Has(fd protoreflect.FieldDescriptor) bo // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgUpdateParams) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.MsgUpdateParams.authority": + case "cosmos.evm.vm.v2.MsgUpdateParams.authority": x.Authority = "" - case "cosmos.evm.vm.v1.MsgUpdateParams.params": + case "cosmos.evm.vm.v2.MsgUpdateParams.params": x.Params = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgUpdateParams")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.MsgUpdateParams")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgUpdateParams does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.MsgUpdateParams does not contain field %s", fd.FullName())) } } @@ -1904,17 +1904,17 @@ func (x *fastReflection_MsgUpdateParams) Clear(fd protoreflect.FieldDescriptor) // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_MsgUpdateParams) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.MsgUpdateParams.authority": + case "cosmos.evm.vm.v2.MsgUpdateParams.authority": value := x.Authority return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.MsgUpdateParams.params": + case "cosmos.evm.vm.v2.MsgUpdateParams.params": value := x.Params return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgUpdateParams")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.MsgUpdateParams")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgUpdateParams does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.MsgUpdateParams does not contain field %s", descriptor.FullName())) } } @@ -1930,15 +1930,15 @@ func (x *fastReflection_MsgUpdateParams) Get(descriptor protoreflect.FieldDescri // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgUpdateParams) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.MsgUpdateParams.authority": + case "cosmos.evm.vm.v2.MsgUpdateParams.authority": x.Authority = value.Interface().(string) - case "cosmos.evm.vm.v1.MsgUpdateParams.params": + case "cosmos.evm.vm.v2.MsgUpdateParams.params": x.Params = value.Message().Interface().(*Params) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgUpdateParams")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.MsgUpdateParams")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgUpdateParams does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.MsgUpdateParams does not contain field %s", fd.FullName())) } } @@ -1954,18 +1954,18 @@ func (x *fastReflection_MsgUpdateParams) Set(fd protoreflect.FieldDescriptor, va // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgUpdateParams) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.MsgUpdateParams.params": + case "cosmos.evm.vm.v2.MsgUpdateParams.params": if x.Params == nil { x.Params = new(Params) } return protoreflect.ValueOfMessage(x.Params.ProtoReflect()) - case "cosmos.evm.vm.v1.MsgUpdateParams.authority": - panic(fmt.Errorf("field authority of message cosmos.evm.vm.v1.MsgUpdateParams is not mutable")) + case "cosmos.evm.vm.v2.MsgUpdateParams.authority": + panic(fmt.Errorf("field authority of message cosmos.evm.vm.v2.MsgUpdateParams is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgUpdateParams")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.MsgUpdateParams")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgUpdateParams does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.MsgUpdateParams does not contain field %s", fd.FullName())) } } @@ -1974,16 +1974,16 @@ func (x *fastReflection_MsgUpdateParams) Mutable(fd protoreflect.FieldDescriptor // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_MsgUpdateParams) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.MsgUpdateParams.authority": + case "cosmos.evm.vm.v2.MsgUpdateParams.authority": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.MsgUpdateParams.params": + case "cosmos.evm.vm.v2.MsgUpdateParams.params": m := new(Params) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgUpdateParams")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.MsgUpdateParams")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgUpdateParams does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.MsgUpdateParams does not contain field %s", fd.FullName())) } } @@ -1993,7 +1993,7 @@ func (x *fastReflection_MsgUpdateParams) NewField(fd protoreflect.FieldDescripto func (x *fastReflection_MsgUpdateParams) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.MsgUpdateParams", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.MsgUpdateParams", d.FullName())) } panic("unreachable") } @@ -2263,8 +2263,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_tx_proto_init() - md_MsgUpdateParamsResponse = File_cosmos_evm_vm_v1_tx_proto.Messages().ByName("MsgUpdateParamsResponse") + file_cosmos_evm_vm_v2_tx_proto_init() + md_MsgUpdateParamsResponse = File_cosmos_evm_vm_v2_tx_proto.Messages().ByName("MsgUpdateParamsResponse") } var _ protoreflect.Message = (*fastReflection_MsgUpdateParamsResponse)(nil) @@ -2276,7 +2276,7 @@ func (x *MsgUpdateParamsResponse) ProtoReflect() protoreflect.Message { } func (x *MsgUpdateParamsResponse) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_tx_proto_msgTypes[4] + mi := &file_cosmos_evm_vm_v2_tx_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2349,9 +2349,9 @@ func (x *fastReflection_MsgUpdateParamsResponse) Has(fd protoreflect.FieldDescri switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgUpdateParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.MsgUpdateParamsResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) } } @@ -2365,9 +2365,9 @@ func (x *fastReflection_MsgUpdateParamsResponse) Clear(fd protoreflect.FieldDesc switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgUpdateParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.MsgUpdateParamsResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) } } @@ -2381,9 +2381,9 @@ func (x *fastReflection_MsgUpdateParamsResponse) Get(descriptor protoreflect.Fie switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgUpdateParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.MsgUpdateParamsResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgUpdateParamsResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.MsgUpdateParamsResponse does not contain field %s", descriptor.FullName())) } } @@ -2401,9 +2401,9 @@ func (x *fastReflection_MsgUpdateParamsResponse) Set(fd protoreflect.FieldDescri switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgUpdateParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.MsgUpdateParamsResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) } } @@ -2421,9 +2421,9 @@ func (x *fastReflection_MsgUpdateParamsResponse) Mutable(fd protoreflect.FieldDe switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgUpdateParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.MsgUpdateParamsResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) } } @@ -2434,9 +2434,9 @@ func (x *fastReflection_MsgUpdateParamsResponse) NewField(fd protoreflect.FieldD switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgUpdateParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.MsgUpdateParamsResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) } } @@ -2446,7 +2446,7 @@ func (x *fastReflection_MsgUpdateParamsResponse) NewField(fd protoreflect.FieldD func (x *fastReflection_MsgUpdateParamsResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.MsgUpdateParamsResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.MsgUpdateParamsResponse", d.FullName())) } panic("unreachable") } @@ -2672,8 +2672,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_tx_proto_init() - md_MsgRegisterPreinstalls = File_cosmos_evm_vm_v1_tx_proto.Messages().ByName("MsgRegisterPreinstalls") + file_cosmos_evm_vm_v2_tx_proto_init() + md_MsgRegisterPreinstalls = File_cosmos_evm_vm_v2_tx_proto.Messages().ByName("MsgRegisterPreinstalls") fd_MsgRegisterPreinstalls_authority = md_MsgRegisterPreinstalls.Fields().ByName("authority") fd_MsgRegisterPreinstalls_preinstalls = md_MsgRegisterPreinstalls.Fields().ByName("preinstalls") } @@ -2687,7 +2687,7 @@ func (x *MsgRegisterPreinstalls) ProtoReflect() protoreflect.Message { } func (x *MsgRegisterPreinstalls) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_tx_proto_msgTypes[5] + mi := &file_cosmos_evm_vm_v2_tx_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2770,15 +2770,15 @@ func (x *fastReflection_MsgRegisterPreinstalls) Range(f func(protoreflect.FieldD // a repeated field is populated if it is non-empty. func (x *fastReflection_MsgRegisterPreinstalls) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.evm.vm.v1.MsgRegisterPreinstalls.authority": + case "cosmos.evm.vm.v2.MsgRegisterPreinstalls.authority": return x.Authority != "" - case "cosmos.evm.vm.v1.MsgRegisterPreinstalls.preinstalls": + case "cosmos.evm.vm.v2.MsgRegisterPreinstalls.preinstalls": return len(x.Preinstalls) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgRegisterPreinstalls")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.MsgRegisterPreinstalls")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgRegisterPreinstalls does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.MsgRegisterPreinstalls does not contain field %s", fd.FullName())) } } @@ -2790,15 +2790,15 @@ func (x *fastReflection_MsgRegisterPreinstalls) Has(fd protoreflect.FieldDescrip // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgRegisterPreinstalls) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.evm.vm.v1.MsgRegisterPreinstalls.authority": + case "cosmos.evm.vm.v2.MsgRegisterPreinstalls.authority": x.Authority = "" - case "cosmos.evm.vm.v1.MsgRegisterPreinstalls.preinstalls": + case "cosmos.evm.vm.v2.MsgRegisterPreinstalls.preinstalls": x.Preinstalls = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgRegisterPreinstalls")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.MsgRegisterPreinstalls")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgRegisterPreinstalls does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.MsgRegisterPreinstalls does not contain field %s", fd.FullName())) } } @@ -2810,10 +2810,10 @@ func (x *fastReflection_MsgRegisterPreinstalls) Clear(fd protoreflect.FieldDescr // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_MsgRegisterPreinstalls) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.evm.vm.v1.MsgRegisterPreinstalls.authority": + case "cosmos.evm.vm.v2.MsgRegisterPreinstalls.authority": value := x.Authority return protoreflect.ValueOfString(value) - case "cosmos.evm.vm.v1.MsgRegisterPreinstalls.preinstalls": + case "cosmos.evm.vm.v2.MsgRegisterPreinstalls.preinstalls": if len(x.Preinstalls) == 0 { return protoreflect.ValueOfList(&_MsgRegisterPreinstalls_2_list{}) } @@ -2821,9 +2821,9 @@ func (x *fastReflection_MsgRegisterPreinstalls) Get(descriptor protoreflect.Fiel return protoreflect.ValueOfList(listValue) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgRegisterPreinstalls")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.MsgRegisterPreinstalls")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgRegisterPreinstalls does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.MsgRegisterPreinstalls does not contain field %s", descriptor.FullName())) } } @@ -2839,17 +2839,17 @@ func (x *fastReflection_MsgRegisterPreinstalls) Get(descriptor protoreflect.Fiel // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgRegisterPreinstalls) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.evm.vm.v1.MsgRegisterPreinstalls.authority": + case "cosmos.evm.vm.v2.MsgRegisterPreinstalls.authority": x.Authority = value.Interface().(string) - case "cosmos.evm.vm.v1.MsgRegisterPreinstalls.preinstalls": + case "cosmos.evm.vm.v2.MsgRegisterPreinstalls.preinstalls": lv := value.List() clv := lv.(*_MsgRegisterPreinstalls_2_list) x.Preinstalls = *clv.list default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgRegisterPreinstalls")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.MsgRegisterPreinstalls")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgRegisterPreinstalls does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.MsgRegisterPreinstalls does not contain field %s", fd.FullName())) } } @@ -2865,19 +2865,19 @@ func (x *fastReflection_MsgRegisterPreinstalls) Set(fd protoreflect.FieldDescrip // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgRegisterPreinstalls) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.MsgRegisterPreinstalls.preinstalls": + case "cosmos.evm.vm.v2.MsgRegisterPreinstalls.preinstalls": if x.Preinstalls == nil { x.Preinstalls = []*Preinstall{} } value := &_MsgRegisterPreinstalls_2_list{list: &x.Preinstalls} return protoreflect.ValueOfList(value) - case "cosmos.evm.vm.v1.MsgRegisterPreinstalls.authority": - panic(fmt.Errorf("field authority of message cosmos.evm.vm.v1.MsgRegisterPreinstalls is not mutable")) + case "cosmos.evm.vm.v2.MsgRegisterPreinstalls.authority": + panic(fmt.Errorf("field authority of message cosmos.evm.vm.v2.MsgRegisterPreinstalls is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgRegisterPreinstalls")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.MsgRegisterPreinstalls")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgRegisterPreinstalls does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.MsgRegisterPreinstalls does not contain field %s", fd.FullName())) } } @@ -2886,16 +2886,16 @@ func (x *fastReflection_MsgRegisterPreinstalls) Mutable(fd protoreflect.FieldDes // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_MsgRegisterPreinstalls) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.evm.vm.v1.MsgRegisterPreinstalls.authority": + case "cosmos.evm.vm.v2.MsgRegisterPreinstalls.authority": return protoreflect.ValueOfString("") - case "cosmos.evm.vm.v1.MsgRegisterPreinstalls.preinstalls": + case "cosmos.evm.vm.v2.MsgRegisterPreinstalls.preinstalls": list := []*Preinstall{} return protoreflect.ValueOfList(&_MsgRegisterPreinstalls_2_list{list: &list}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgRegisterPreinstalls")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.MsgRegisterPreinstalls")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgRegisterPreinstalls does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.MsgRegisterPreinstalls does not contain field %s", fd.FullName())) } } @@ -2905,7 +2905,7 @@ func (x *fastReflection_MsgRegisterPreinstalls) NewField(fd protoreflect.FieldDe func (x *fastReflection_MsgRegisterPreinstalls) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.MsgRegisterPreinstalls", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.MsgRegisterPreinstalls", d.FullName())) } panic("unreachable") } @@ -3177,8 +3177,8 @@ var ( ) func init() { - file_cosmos_evm_vm_v1_tx_proto_init() - md_MsgRegisterPreinstallsResponse = File_cosmos_evm_vm_v1_tx_proto.Messages().ByName("MsgRegisterPreinstallsResponse") + file_cosmos_evm_vm_v2_tx_proto_init() + md_MsgRegisterPreinstallsResponse = File_cosmos_evm_vm_v2_tx_proto.Messages().ByName("MsgRegisterPreinstallsResponse") } var _ protoreflect.Message = (*fastReflection_MsgRegisterPreinstallsResponse)(nil) @@ -3190,7 +3190,7 @@ func (x *MsgRegisterPreinstallsResponse) ProtoReflect() protoreflect.Message { } func (x *MsgRegisterPreinstallsResponse) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_evm_vm_v1_tx_proto_msgTypes[6] + mi := &file_cosmos_evm_vm_v2_tx_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3263,9 +3263,9 @@ func (x *fastReflection_MsgRegisterPreinstallsResponse) Has(fd protoreflect.Fiel switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgRegisterPreinstallsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.MsgRegisterPreinstallsResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgRegisterPreinstallsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.MsgRegisterPreinstallsResponse does not contain field %s", fd.FullName())) } } @@ -3279,9 +3279,9 @@ func (x *fastReflection_MsgRegisterPreinstallsResponse) Clear(fd protoreflect.Fi switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgRegisterPreinstallsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.MsgRegisterPreinstallsResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgRegisterPreinstallsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.MsgRegisterPreinstallsResponse does not contain field %s", fd.FullName())) } } @@ -3295,9 +3295,9 @@ func (x *fastReflection_MsgRegisterPreinstallsResponse) Get(descriptor protorefl switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgRegisterPreinstallsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.MsgRegisterPreinstallsResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgRegisterPreinstallsResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.MsgRegisterPreinstallsResponse does not contain field %s", descriptor.FullName())) } } @@ -3315,9 +3315,9 @@ func (x *fastReflection_MsgRegisterPreinstallsResponse) Set(fd protoreflect.Fiel switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgRegisterPreinstallsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.MsgRegisterPreinstallsResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgRegisterPreinstallsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.MsgRegisterPreinstallsResponse does not contain field %s", fd.FullName())) } } @@ -3335,9 +3335,9 @@ func (x *fastReflection_MsgRegisterPreinstallsResponse) Mutable(fd protoreflect. switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgRegisterPreinstallsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.MsgRegisterPreinstallsResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgRegisterPreinstallsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.MsgRegisterPreinstallsResponse does not contain field %s", fd.FullName())) } } @@ -3348,9 +3348,9 @@ func (x *fastReflection_MsgRegisterPreinstallsResponse) NewField(fd protoreflect switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgRegisterPreinstallsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v2.MsgRegisterPreinstallsResponse")) } - panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgRegisterPreinstallsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.evm.vm.v2.MsgRegisterPreinstallsResponse does not contain field %s", fd.FullName())) } } @@ -3360,7 +3360,7 @@ func (x *fastReflection_MsgRegisterPreinstallsResponse) NewField(fd protoreflect func (x *fastReflection_MsgRegisterPreinstallsResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.MsgRegisterPreinstallsResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v2.MsgRegisterPreinstallsResponse", d.FullName())) } panic("unreachable") } @@ -3532,7 +3532,7 @@ func (x *fastReflection_MsgRegisterPreinstallsResponse) ProtoMethods() *protoifa // versions: // protoc-gen-go v1.27.0 // protoc (unknown) -// source: cosmos/evm/vm/v1/tx.proto +// source: cosmos/evm/vm/v2/tx.proto const ( // Verify that this generated code is sufficiently up-to-date. @@ -3558,7 +3558,7 @@ type MsgEthereumTx struct { func (x *MsgEthereumTx) Reset() { *x = MsgEthereumTx{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_tx_proto_msgTypes[0] + mi := &file_cosmos_evm_vm_v2_tx_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3572,7 +3572,7 @@ func (*MsgEthereumTx) ProtoMessage() {} // Deprecated: Use MsgEthereumTx.ProtoReflect.Descriptor instead. func (*MsgEthereumTx) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_tx_proto_rawDescGZIP(), []int{0} + return file_cosmos_evm_vm_v2_tx_proto_rawDescGZIP(), []int{0} } func (x *MsgEthereumTx) GetFrom() []byte { @@ -3599,7 +3599,7 @@ type ExtensionOptionsEthereumTx struct { func (x *ExtensionOptionsEthereumTx) Reset() { *x = ExtensionOptionsEthereumTx{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_tx_proto_msgTypes[1] + mi := &file_cosmos_evm_vm_v2_tx_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3613,7 +3613,7 @@ func (*ExtensionOptionsEthereumTx) ProtoMessage() {} // Deprecated: Use ExtensionOptionsEthereumTx.ProtoReflect.Descriptor instead. func (*ExtensionOptionsEthereumTx) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_tx_proto_rawDescGZIP(), []int{1} + return file_cosmos_evm_vm_v2_tx_proto_rawDescGZIP(), []int{1} } // MsgEthereumTxResponse defines the Msg/EthereumTx response type. @@ -3647,7 +3647,7 @@ type MsgEthereumTxResponse struct { func (x *MsgEthereumTxResponse) Reset() { *x = MsgEthereumTxResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_tx_proto_msgTypes[2] + mi := &file_cosmos_evm_vm_v2_tx_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3661,7 +3661,7 @@ func (*MsgEthereumTxResponse) ProtoMessage() {} // Deprecated: Use MsgEthereumTxResponse.ProtoReflect.Descriptor instead. func (*MsgEthereumTxResponse) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_tx_proto_rawDescGZIP(), []int{2} + return file_cosmos_evm_vm_v2_tx_proto_rawDescGZIP(), []int{2} } func (x *MsgEthereumTxResponse) GetHash() string { @@ -3736,7 +3736,7 @@ type MsgUpdateParams struct { func (x *MsgUpdateParams) Reset() { *x = MsgUpdateParams{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_tx_proto_msgTypes[3] + mi := &file_cosmos_evm_vm_v2_tx_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3750,7 +3750,7 @@ func (*MsgUpdateParams) ProtoMessage() {} // Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead. func (*MsgUpdateParams) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_tx_proto_rawDescGZIP(), []int{3} + return file_cosmos_evm_vm_v2_tx_proto_rawDescGZIP(), []int{3} } func (x *MsgUpdateParams) GetAuthority() string { @@ -3778,7 +3778,7 @@ type MsgUpdateParamsResponse struct { func (x *MsgUpdateParamsResponse) Reset() { *x = MsgUpdateParamsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_tx_proto_msgTypes[4] + mi := &file_cosmos_evm_vm_v2_tx_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3792,7 +3792,7 @@ func (*MsgUpdateParamsResponse) ProtoMessage() {} // Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead. func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_tx_proto_rawDescGZIP(), []int{4} + return file_cosmos_evm_vm_v2_tx_proto_rawDescGZIP(), []int{4} } // MsgRegisterPreinstalls defines a Msg for creating preinstalls in evm state. @@ -3810,7 +3810,7 @@ type MsgRegisterPreinstalls struct { func (x *MsgRegisterPreinstalls) Reset() { *x = MsgRegisterPreinstalls{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_tx_proto_msgTypes[5] + mi := &file_cosmos_evm_vm_v2_tx_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3824,7 +3824,7 @@ func (*MsgRegisterPreinstalls) ProtoMessage() {} // Deprecated: Use MsgRegisterPreinstalls.ProtoReflect.Descriptor instead. func (*MsgRegisterPreinstalls) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_tx_proto_rawDescGZIP(), []int{5} + return file_cosmos_evm_vm_v2_tx_proto_rawDescGZIP(), []int{5} } func (x *MsgRegisterPreinstalls) GetAuthority() string { @@ -3852,7 +3852,7 @@ type MsgRegisterPreinstallsResponse struct { func (x *MsgRegisterPreinstallsResponse) Reset() { *x = MsgRegisterPreinstallsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_evm_vm_v1_tx_proto_msgTypes[6] + mi := &file_cosmos_evm_vm_v2_tx_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3866,18 +3866,18 @@ func (*MsgRegisterPreinstallsResponse) ProtoMessage() {} // Deprecated: Use MsgRegisterPreinstallsResponse.ProtoReflect.Descriptor instead. func (*MsgRegisterPreinstallsResponse) Descriptor() ([]byte, []int) { - return file_cosmos_evm_vm_v1_tx_proto_rawDescGZIP(), []int{6} + return file_cosmos_evm_vm_v2_tx_proto_rawDescGZIP(), []int{6} } -var File_cosmos_evm_vm_v1_tx_proto protoreflect.FileDescriptor +var File_cosmos_evm_vm_v2_tx_proto protoreflect.FileDescriptor -var file_cosmos_evm_vm_v1_tx_proto_rawDesc = []byte{ +var file_cosmos_evm_vm_v2_tx_proto_rawDesc = []byte{ 0x0a, 0x19, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x6d, 0x2f, - 0x76, 0x31, 0x2f, 0x74, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x63, 0x6f, 0x73, - 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x1a, 0x11, 0x61, + 0x76, 0x32, 0x2f, 0x74, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x63, 0x6f, 0x73, + 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x1a, 0x11, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2f, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x6d, 0x2f, - 0x76, 0x31, 0x2f, 0x65, 0x76, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x63, 0x6f, + 0x76, 0x32, 0x2f, 0x65, 0x76, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 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, 0x1a, 0x19, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, @@ -3899,7 +3899,7 @@ var file_cosmos_evm_vm_v1_tx_proto_rawDesc = []byte{ 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x29, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x63, 0x6f, - 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x4c, + 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x6f, 0x67, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x72, 0x65, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x76, 0x6d, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x6d, @@ -3918,7 +3918,7 @@ var file_cosmos_evm_vm_v1_tx_proto_rawDesc = []byte{ 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x3b, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, - 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, + 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x09, 0xc8, 0xde, 0x1f, 0x00, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x3a, 0x32, 0x82, 0xe7, 0xb0, 0x2a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x8a, 0xe7, 0xb0, 0x2a, 0x1f, 0x63, 0x6f, @@ -3933,7 +3933,7 @@ var file_cosmos_evm_vm_v1_tx_proto_rawDesc = []byte{ 0x52, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x49, 0x0a, 0x0b, 0x70, 0x72, 0x65, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, - 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x65, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x42, 0x09, + 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x72, 0x65, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x42, 0x09, 0xc8, 0xde, 0x1f, 0x00, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x0b, 0x70, 0x72, 0x65, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x73, 0x3a, 0x39, 0x82, 0xe7, 0xb0, 0x2a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x8a, 0xe7, 0xb0, 0x2a, 0x26, 0x63, 0x6f, 0x73, 0x6d, 0x6f, @@ -3943,75 +3943,75 @@ var file_cosmos_evm_vm_v1_tx_proto_rawDesc = []byte{ 0x50, 0x72, 0x65, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xdc, 0x02, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x7d, 0x0a, 0x0a, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x54, 0x78, 0x12, 0x1f, 0x2e, 0x63, 0x6f, 0x73, 0x6d, - 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, + 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x73, 0x67, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x54, 0x78, 0x1a, 0x27, 0x2e, 0x63, 0x6f, 0x73, - 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, + 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x73, 0x67, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x54, 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x25, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x22, 0x1d, 0x2f, 0x63, 0x6f, - 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x65, + 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x6d, 0x2f, 0x76, 0x32, 0x2f, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x5f, 0x74, 0x78, 0x12, 0x5c, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x21, 0x2e, 0x63, 0x6f, 0x73, - 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, + 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x29, 0x2e, - 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, + 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x71, 0x0a, 0x13, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x50, 0x72, 0x65, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x73, 0x12, 0x28, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, - 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x50, 0x72, + 0x76, 0x32, 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x50, 0x72, 0x65, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x73, 0x1a, 0x30, 0x2e, 0x63, 0x6f, 0x73, 0x6d, - 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, + 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x50, 0x72, 0x65, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x1a, 0x05, 0x80, 0xe7, 0xb0, 0x2a, 0x01, 0x42, 0xaa, 0x01, 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, - 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x42, 0x07, 0x54, 0x78, 0x50, + 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x32, 0x42, 0x07, 0x54, 0x78, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x26, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, - 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x6d, 0x2f, 0x76, 0x31, 0x3b, 0x76, 0x6d, 0x76, 0x31, 0xa2, 0x02, + 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x6d, 0x2f, 0x76, 0x32, 0x3b, 0x76, 0x6d, 0x76, 0x32, 0xa2, 0x02, 0x03, 0x43, 0x45, 0x56, 0xaa, 0x02, 0x10, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x45, 0x76, - 0x6d, 0x2e, 0x56, 0x6d, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x10, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, - 0x5c, 0x45, 0x76, 0x6d, 0x5c, 0x56, 0x6d, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1c, 0x43, 0x6f, 0x73, - 0x6d, 0x6f, 0x73, 0x5c, 0x45, 0x76, 0x6d, 0x5c, 0x56, 0x6d, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, + 0x6d, 0x2e, 0x56, 0x6d, 0x2e, 0x56, 0x32, 0xca, 0x02, 0x10, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, + 0x5c, 0x45, 0x76, 0x6d, 0x5c, 0x56, 0x6d, 0x5c, 0x56, 0x32, 0xe2, 0x02, 0x1c, 0x43, 0x6f, 0x73, + 0x6d, 0x6f, 0x73, 0x5c, 0x45, 0x76, 0x6d, 0x5c, 0x56, 0x6d, 0x5c, 0x56, 0x32, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x13, 0x43, 0x6f, 0x73, 0x6d, - 0x6f, 0x73, 0x3a, 0x3a, 0x45, 0x76, 0x6d, 0x3a, 0x3a, 0x56, 0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x62, + 0x6f, 0x73, 0x3a, 0x3a, 0x45, 0x76, 0x6d, 0x3a, 0x3a, 0x56, 0x6d, 0x3a, 0x3a, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_cosmos_evm_vm_v1_tx_proto_rawDescOnce sync.Once - file_cosmos_evm_vm_v1_tx_proto_rawDescData = file_cosmos_evm_vm_v1_tx_proto_rawDesc + file_cosmos_evm_vm_v2_tx_proto_rawDescOnce sync.Once + file_cosmos_evm_vm_v2_tx_proto_rawDescData = file_cosmos_evm_vm_v2_tx_proto_rawDesc ) -func file_cosmos_evm_vm_v1_tx_proto_rawDescGZIP() []byte { - file_cosmos_evm_vm_v1_tx_proto_rawDescOnce.Do(func() { - file_cosmos_evm_vm_v1_tx_proto_rawDescData = protoimpl.X.CompressGZIP(file_cosmos_evm_vm_v1_tx_proto_rawDescData) +func file_cosmos_evm_vm_v2_tx_proto_rawDescGZIP() []byte { + file_cosmos_evm_vm_v2_tx_proto_rawDescOnce.Do(func() { + file_cosmos_evm_vm_v2_tx_proto_rawDescData = protoimpl.X.CompressGZIP(file_cosmos_evm_vm_v2_tx_proto_rawDescData) }) - return file_cosmos_evm_vm_v1_tx_proto_rawDescData -} - -var file_cosmos_evm_vm_v1_tx_proto_msgTypes = make([]protoimpl.MessageInfo, 7) -var file_cosmos_evm_vm_v1_tx_proto_goTypes = []interface{}{ - (*MsgEthereumTx)(nil), // 0: cosmos.evm.vm.v1.MsgEthereumTx - (*ExtensionOptionsEthereumTx)(nil), // 1: cosmos.evm.vm.v1.ExtensionOptionsEthereumTx - (*MsgEthereumTxResponse)(nil), // 2: cosmos.evm.vm.v1.MsgEthereumTxResponse - (*MsgUpdateParams)(nil), // 3: cosmos.evm.vm.v1.MsgUpdateParams - (*MsgUpdateParamsResponse)(nil), // 4: cosmos.evm.vm.v1.MsgUpdateParamsResponse - (*MsgRegisterPreinstalls)(nil), // 5: cosmos.evm.vm.v1.MsgRegisterPreinstalls - (*MsgRegisterPreinstallsResponse)(nil), // 6: cosmos.evm.vm.v1.MsgRegisterPreinstallsResponse - (*Log)(nil), // 7: cosmos.evm.vm.v1.Log - (*Params)(nil), // 8: cosmos.evm.vm.v1.Params - (*Preinstall)(nil), // 9: cosmos.evm.vm.v1.Preinstall -} -var file_cosmos_evm_vm_v1_tx_proto_depIdxs = []int32{ - 7, // 0: cosmos.evm.vm.v1.MsgEthereumTxResponse.logs:type_name -> cosmos.evm.vm.v1.Log - 8, // 1: cosmos.evm.vm.v1.MsgUpdateParams.params:type_name -> cosmos.evm.vm.v1.Params - 9, // 2: cosmos.evm.vm.v1.MsgRegisterPreinstalls.preinstalls:type_name -> cosmos.evm.vm.v1.Preinstall - 0, // 3: cosmos.evm.vm.v1.Msg.EthereumTx:input_type -> cosmos.evm.vm.v1.MsgEthereumTx - 3, // 4: cosmos.evm.vm.v1.Msg.UpdateParams:input_type -> cosmos.evm.vm.v1.MsgUpdateParams - 5, // 5: cosmos.evm.vm.v1.Msg.RegisterPreinstalls:input_type -> cosmos.evm.vm.v1.MsgRegisterPreinstalls - 2, // 6: cosmos.evm.vm.v1.Msg.EthereumTx:output_type -> cosmos.evm.vm.v1.MsgEthereumTxResponse - 4, // 7: cosmos.evm.vm.v1.Msg.UpdateParams:output_type -> cosmos.evm.vm.v1.MsgUpdateParamsResponse - 6, // 8: cosmos.evm.vm.v1.Msg.RegisterPreinstalls:output_type -> cosmos.evm.vm.v1.MsgRegisterPreinstallsResponse + return file_cosmos_evm_vm_v2_tx_proto_rawDescData +} + +var file_cosmos_evm_vm_v2_tx_proto_msgTypes = make([]protoimpl.MessageInfo, 7) +var file_cosmos_evm_vm_v2_tx_proto_goTypes = []interface{}{ + (*MsgEthereumTx)(nil), // 0: cosmos.evm.vm.v2.MsgEthereumTx + (*ExtensionOptionsEthereumTx)(nil), // 1: cosmos.evm.vm.v2.ExtensionOptionsEthereumTx + (*MsgEthereumTxResponse)(nil), // 2: cosmos.evm.vm.v2.MsgEthereumTxResponse + (*MsgUpdateParams)(nil), // 3: cosmos.evm.vm.v2.MsgUpdateParams + (*MsgUpdateParamsResponse)(nil), // 4: cosmos.evm.vm.v2.MsgUpdateParamsResponse + (*MsgRegisterPreinstalls)(nil), // 5: cosmos.evm.vm.v2.MsgRegisterPreinstalls + (*MsgRegisterPreinstallsResponse)(nil), // 6: cosmos.evm.vm.v2.MsgRegisterPreinstallsResponse + (*Log)(nil), // 7: cosmos.evm.vm.v2.Log + (*Params)(nil), // 8: cosmos.evm.vm.v2.Params + (*Preinstall)(nil), // 9: cosmos.evm.vm.v2.Preinstall +} +var file_cosmos_evm_vm_v2_tx_proto_depIdxs = []int32{ + 7, // 0: cosmos.evm.vm.v2.MsgEthereumTxResponse.logs:type_name -> cosmos.evm.vm.v2.Log + 8, // 1: cosmos.evm.vm.v2.MsgUpdateParams.params:type_name -> cosmos.evm.vm.v2.Params + 9, // 2: cosmos.evm.vm.v2.MsgRegisterPreinstalls.preinstalls:type_name -> cosmos.evm.vm.v2.Preinstall + 0, // 3: cosmos.evm.vm.v2.Msg.EthereumTx:input_type -> cosmos.evm.vm.v2.MsgEthereumTx + 3, // 4: cosmos.evm.vm.v2.Msg.UpdateParams:input_type -> cosmos.evm.vm.v2.MsgUpdateParams + 5, // 5: cosmos.evm.vm.v2.Msg.RegisterPreinstalls:input_type -> cosmos.evm.vm.v2.MsgRegisterPreinstalls + 2, // 6: cosmos.evm.vm.v2.Msg.EthereumTx:output_type -> cosmos.evm.vm.v2.MsgEthereumTxResponse + 4, // 7: cosmos.evm.vm.v2.Msg.UpdateParams:output_type -> cosmos.evm.vm.v2.MsgUpdateParamsResponse + 6, // 8: cosmos.evm.vm.v2.Msg.RegisterPreinstalls:output_type -> cosmos.evm.vm.v2.MsgRegisterPreinstallsResponse 6, // [6:9] is the sub-list for method output_type 3, // [3:6] is the sub-list for method input_type 3, // [3:3] is the sub-list for extension type_name @@ -4019,14 +4019,14 @@ var file_cosmos_evm_vm_v1_tx_proto_depIdxs = []int32{ 0, // [0:3] is the sub-list for field type_name } -func init() { file_cosmos_evm_vm_v1_tx_proto_init() } -func file_cosmos_evm_vm_v1_tx_proto_init() { - if File_cosmos_evm_vm_v1_tx_proto != nil { +func init() { file_cosmos_evm_vm_v2_tx_proto_init() } +func file_cosmos_evm_vm_v2_tx_proto_init() { + if File_cosmos_evm_vm_v2_tx_proto != nil { return } - file_cosmos_evm_vm_v1_evm_proto_init() + file_cosmos_evm_vm_v2_evm_proto_init() if !protoimpl.UnsafeEnabled { - file_cosmos_evm_vm_v1_tx_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_tx_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MsgEthereumTx); i { case 0: return &v.state @@ -4038,7 +4038,7 @@ func file_cosmos_evm_vm_v1_tx_proto_init() { return nil } } - file_cosmos_evm_vm_v1_tx_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_tx_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ExtensionOptionsEthereumTx); i { case 0: return &v.state @@ -4050,7 +4050,7 @@ func file_cosmos_evm_vm_v1_tx_proto_init() { return nil } } - file_cosmos_evm_vm_v1_tx_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_tx_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MsgEthereumTxResponse); i { case 0: return &v.state @@ -4062,7 +4062,7 @@ func file_cosmos_evm_vm_v1_tx_proto_init() { return nil } } - file_cosmos_evm_vm_v1_tx_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_tx_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MsgUpdateParams); i { case 0: return &v.state @@ -4074,7 +4074,7 @@ func file_cosmos_evm_vm_v1_tx_proto_init() { return nil } } - file_cosmos_evm_vm_v1_tx_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_tx_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MsgUpdateParamsResponse); i { case 0: return &v.state @@ -4086,7 +4086,7 @@ func file_cosmos_evm_vm_v1_tx_proto_init() { return nil } } - file_cosmos_evm_vm_v1_tx_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_tx_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MsgRegisterPreinstalls); i { case 0: return &v.state @@ -4098,7 +4098,7 @@ func file_cosmos_evm_vm_v1_tx_proto_init() { return nil } } - file_cosmos_evm_vm_v1_tx_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_evm_vm_v2_tx_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MsgRegisterPreinstallsResponse); i { case 0: return &v.state @@ -4115,18 +4115,18 @@ func file_cosmos_evm_vm_v1_tx_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_cosmos_evm_vm_v1_tx_proto_rawDesc, + RawDescriptor: file_cosmos_evm_vm_v2_tx_proto_rawDesc, NumEnums: 0, NumMessages: 7, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_cosmos_evm_vm_v1_tx_proto_goTypes, - DependencyIndexes: file_cosmos_evm_vm_v1_tx_proto_depIdxs, - MessageInfos: file_cosmos_evm_vm_v1_tx_proto_msgTypes, + GoTypes: file_cosmos_evm_vm_v2_tx_proto_goTypes, + DependencyIndexes: file_cosmos_evm_vm_v2_tx_proto_depIdxs, + MessageInfos: file_cosmos_evm_vm_v2_tx_proto_msgTypes, }.Build() - File_cosmos_evm_vm_v1_tx_proto = out.File - file_cosmos_evm_vm_v1_tx_proto_rawDesc = nil - file_cosmos_evm_vm_v1_tx_proto_goTypes = nil - file_cosmos_evm_vm_v1_tx_proto_depIdxs = nil + File_cosmos_evm_vm_v2_tx_proto = out.File + file_cosmos_evm_vm_v2_tx_proto_rawDesc = nil + file_cosmos_evm_vm_v2_tx_proto_goTypes = nil + file_cosmos_evm_vm_v2_tx_proto_depIdxs = nil } diff --git a/api/cosmos/evm/vm/v1/tx_grpc.pb.go b/api/cosmos/evm/vm/v2/tx_grpc.pb.go similarity index 95% rename from api/cosmos/evm/vm/v1/tx_grpc.pb.go rename to api/cosmos/evm/vm/v2/tx_grpc.pb.go index 0ed13e4bc..619af73d4 100644 --- a/api/cosmos/evm/vm/v1/tx_grpc.pb.go +++ b/api/cosmos/evm/vm/v2/tx_grpc.pb.go @@ -2,9 +2,9 @@ // versions: // - protoc-gen-go-grpc v1.3.0 // - protoc (unknown) -// source: cosmos/evm/vm/v1/tx.proto +// source: cosmos/evm/vm/v2/tx.proto -package vmv1 +package vmv2 import ( context "context" @@ -19,9 +19,9 @@ import ( const _ = grpc.SupportPackageIsVersion7 const ( - Msg_EthereumTx_FullMethodName = "/cosmos.evm.vm.v1.Msg/EthereumTx" - Msg_UpdateParams_FullMethodName = "/cosmos.evm.vm.v1.Msg/UpdateParams" - Msg_RegisterPreinstalls_FullMethodName = "/cosmos.evm.vm.v1.Msg/RegisterPreinstalls" + Msg_EthereumTx_FullMethodName = "/cosmos.evm.vm.v2.Msg/EthereumTx" + Msg_UpdateParams_FullMethodName = "/cosmos.evm.vm.v2.Msg/UpdateParams" + Msg_RegisterPreinstalls_FullMethodName = "/cosmos.evm.vm.v2.Msg/RegisterPreinstalls" ) // MsgClient is the client API for Msg service. @@ -176,7 +176,7 @@ func _Msg_RegisterPreinstalls_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.evm.vm.v1.Msg", + ServiceName: "cosmos.evm.vm.v2.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { @@ -193,5 +193,5 @@ var Msg_ServiceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "cosmos/evm/vm/v1/tx.proto", + Metadata: "cosmos/evm/vm/v2/tx.proto", } diff --git a/x/vm/types/events.pb.go b/x/vm/types/events.pb.go index 50dbb9010..627918ca9 100644 --- a/x/vm/types/events.pb.go +++ b/x/vm/types/events.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: cosmos/evm/vm/v1/events.proto +// source: cosmos/evm/vm/v2/events.proto package types @@ -44,7 +44,7 @@ func (m *EventEthereumTx) Reset() { *m = EventEthereumTx{} } func (m *EventEthereumTx) String() string { return proto.CompactTextString(m) } func (*EventEthereumTx) ProtoMessage() {} func (*EventEthereumTx) Descriptor() ([]byte, []int) { - return fileDescriptor_4cf8c3b5cf68a61d, []int{0} + return fileDescriptor_9d5ec5cc789bcbdc, []int{0} } func (m *EventEthereumTx) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -132,7 +132,7 @@ func (m *EventTxLog) Reset() { *m = EventTxLog{} } func (m *EventTxLog) String() string { return proto.CompactTextString(m) } func (*EventTxLog) ProtoMessage() {} func (*EventTxLog) Descriptor() ([]byte, []int) { - return fileDescriptor_4cf8c3b5cf68a61d, []int{1} + return fileDescriptor_9d5ec5cc789bcbdc, []int{1} } func (m *EventTxLog) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -182,7 +182,7 @@ func (m *EventMessage) Reset() { *m = EventMessage{} } func (m *EventMessage) String() string { return proto.CompactTextString(m) } func (*EventMessage) ProtoMessage() {} func (*EventMessage) Descriptor() ([]byte, []int) { - return fileDescriptor_4cf8c3b5cf68a61d, []int{2} + return fileDescriptor_9d5ec5cc789bcbdc, []int{2} } func (m *EventMessage) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -242,7 +242,7 @@ func (m *EventBlockBloom) Reset() { *m = EventBlockBloom{} } func (m *EventBlockBloom) String() string { return proto.CompactTextString(m) } func (*EventBlockBloom) ProtoMessage() {} func (*EventBlockBloom) Descriptor() ([]byte, []int) { - return fileDescriptor_4cf8c3b5cf68a61d, []int{3} + return fileDescriptor_9d5ec5cc789bcbdc, []int{3} } func (m *EventBlockBloom) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -279,19 +279,19 @@ func (m *EventBlockBloom) GetBloom() string { } func init() { - proto.RegisterType((*EventEthereumTx)(nil), "cosmos.evm.vm.v1.EventEthereumTx") - proto.RegisterType((*EventTxLog)(nil), "cosmos.evm.vm.v1.EventTxLog") - proto.RegisterType((*EventMessage)(nil), "cosmos.evm.vm.v1.EventMessage") - proto.RegisterType((*EventBlockBloom)(nil), "cosmos.evm.vm.v1.EventBlockBloom") + proto.RegisterType((*EventEthereumTx)(nil), "cosmos.evm.vm.v2.EventEthereumTx") + proto.RegisterType((*EventTxLog)(nil), "cosmos.evm.vm.v2.EventTxLog") + proto.RegisterType((*EventMessage)(nil), "cosmos.evm.vm.v2.EventMessage") + proto.RegisterType((*EventBlockBloom)(nil), "cosmos.evm.vm.v2.EventBlockBloom") } -func init() { proto.RegisterFile("cosmos/evm/vm/v1/events.proto", fileDescriptor_4cf8c3b5cf68a61d) } +func init() { proto.RegisterFile("cosmos/evm/vm/v2/events.proto", fileDescriptor_9d5ec5cc789bcbdc) } -var fileDescriptor_4cf8c3b5cf68a61d = []byte{ +var fileDescriptor_9d5ec5cc789bcbdc = []byte{ // 355 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x51, 0x4f, 0x4b, 0xfb, 0x40, 0x10, 0x6d, 0x7e, 0x6d, 0xd3, 0x5f, 0x57, 0x45, 0x59, 0x44, 0x23, 0x68, 0x28, 0x01, 0xd1, 0x53, - 0x42, 0xf1, 0xe6, 0xb1, 0x50, 0xf1, 0xa0, 0x17, 0x89, 0x08, 0x5e, 0x42, 0x9a, 0x8c, 0xd9, 0x60, + 0x02, 0xf5, 0xe6, 0xb1, 0x50, 0xf1, 0xa0, 0x17, 0x89, 0x08, 0x5e, 0x42, 0x9a, 0x8c, 0xd9, 0x60, 0x36, 0x1b, 0x32, 0x9b, 0xb2, 0xfd, 0x16, 0x7e, 0x2c, 0xc1, 0x4b, 0x8f, 0x1e, 0xa5, 0xfd, 0x22, 0xb2, 0x9b, 0x88, 0xc2, 0x1c, 0xe6, 0xbd, 0xf9, 0xc7, 0x9b, 0x47, 0xce, 0x12, 0x81, 0x5c, 0x60, 0x00, 0x4b, 0x1e, 0xe8, 0x98, 0x06, 0xb0, 0x84, 0x52, 0xa2, 0x5f, 0xd5, 0x42, 0x0a, 0x7a, 0xd0, @@ -310,7 +310,7 @@ var fileDescriptor_4cf8c3b5cf68a61d = []byte{ 0x10, 0x82, 0xeb, 0xcf, 0x2c, 0x74, 0xd2, 0xad, 0x6e, 0xc1, 0xec, 0xfa, 0x7d, 0xe3, 0x5a, 0xeb, 0x8d, 0x6b, 0x7d, 0x6d, 0x5c, 0xeb, 0x6d, 0xeb, 0xf6, 0xd6, 0x5b, 0xb7, 0xf7, 0xb9, 0x75, 0x7b, 0xcf, 0x93, 0x2c, 0x97, 0xac, 0x59, 0xf8, 0x89, 0xe0, 0xc1, 0x1f, 0x33, 0x95, 0xb6, 0x53, 0x5f, - 0xc4, 0x85, 0x6d, 0xbc, 0xbc, 0xfa, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x9a, 0x17, 0xaf, 0x30, 0xec, + 0xc4, 0x85, 0x6d, 0xbc, 0xbc, 0xfa, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x1b, 0x9a, 0x54, 0xbb, 0xec, 0x01, 0x00, 0x00, } diff --git a/x/vm/types/evm.pb.go b/x/vm/types/evm.pb.go index 28450b4f2..52e87a19d 100644 --- a/x/vm/types/evm.pb.go +++ b/x/vm/types/evm.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: cosmos/evm/vm/v1/evm.proto +// source: cosmos/evm/vm/v2/evm.proto package types @@ -54,7 +54,7 @@ func (x AccessType) String() string { } func (AccessType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_d1129b8db63d55c7, []int{0} + return fileDescriptor_ef25ff1b0ebf999a, []int{0} } // Params defines the EVM module parameters @@ -79,7 +79,7 @@ func (m *Params) Reset() { *m = Params{} } func (m *Params) String() string { return proto.CompactTextString(m) } func (*Params) ProtoMessage() {} func (*Params) Descriptor() ([]byte, []int) { - return fileDescriptor_d1129b8db63d55c7, []int{0} + return fileDescriptor_ef25ff1b0ebf999a, []int{0} } func (m *Params) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -165,7 +165,7 @@ func (m *ExtendedDenomOptions) Reset() { *m = ExtendedDenomOptions{} } func (m *ExtendedDenomOptions) String() string { return proto.CompactTextString(m) } func (*ExtendedDenomOptions) ProtoMessage() {} func (*ExtendedDenomOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_d1129b8db63d55c7, []int{1} + return fileDescriptor_ef25ff1b0ebf999a, []int{1} } func (m *ExtendedDenomOptions) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -214,7 +214,7 @@ func (m *AccessControl) Reset() { *m = AccessControl{} } func (m *AccessControl) String() string { return proto.CompactTextString(m) } func (*AccessControl) ProtoMessage() {} func (*AccessControl) Descriptor() ([]byte, []int) { - return fileDescriptor_d1129b8db63d55c7, []int{2} + return fileDescriptor_ef25ff1b0ebf999a, []int{2} } func (m *AccessControl) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -260,7 +260,7 @@ func (m *AccessControl) GetCall() AccessControlType { // AccessControlType defines the permission type for policies type AccessControlType struct { // access_type defines which type of permission is required for the operation - AccessType AccessType `protobuf:"varint,1,opt,name=access_type,json=accessType,proto3,enum=cosmos.evm.vm.v1.AccessType" json:"access_type,omitempty" yaml:"access_type"` + AccessType AccessType `protobuf:"varint,1,opt,name=access_type,json=accessType,proto3,enum=cosmos.evm.vm.v2.AccessType" json:"access_type,omitempty" yaml:"access_type"` // access_control_list defines defines different things depending on the // AccessType: // - ACCESS_TYPE_PERMISSIONLESS: list of addresses that are blocked from @@ -275,7 +275,7 @@ func (m *AccessControlType) Reset() { *m = AccessControlType{} } func (m *AccessControlType) String() string { return proto.CompactTextString(m) } func (*AccessControlType) ProtoMessage() {} func (*AccessControlType) Descriptor() ([]byte, []int) { - return fileDescriptor_d1129b8db63d55c7, []int{3} + return fileDescriptor_ef25ff1b0ebf999a, []int{3} } func (m *AccessControlType) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -385,7 +385,7 @@ func (m *ChainConfig) Reset() { *m = ChainConfig{} } func (m *ChainConfig) String() string { return proto.CompactTextString(m) } func (*ChainConfig) ProtoMessage() {} func (*ChainConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_d1129b8db63d55c7, []int{4} + return fileDescriptor_ef25ff1b0ebf999a, []int{4} } func (m *ChainConfig) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -454,7 +454,7 @@ func (m *State) Reset() { *m = State{} } func (m *State) String() string { return proto.CompactTextString(m) } func (*State) ProtoMessage() {} func (*State) Descriptor() ([]byte, []int) { - return fileDescriptor_d1129b8db63d55c7, []int{5} + return fileDescriptor_ef25ff1b0ebf999a, []int{5} } func (m *State) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -511,7 +511,7 @@ func (m *TransactionLogs) Reset() { *m = TransactionLogs{} } func (m *TransactionLogs) String() string { return proto.CompactTextString(m) } func (*TransactionLogs) ProtoMessage() {} func (*TransactionLogs) Descriptor() ([]byte, []int) { - return fileDescriptor_d1129b8db63d55c7, []int{6} + return fileDescriptor_ef25ff1b0ebf999a, []int{6} } func (m *TransactionLogs) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -589,7 +589,7 @@ func (m *Log) Reset() { *m = Log{} } func (m *Log) String() string { return proto.CompactTextString(m) } func (*Log) ProtoMessage() {} func (*Log) Descriptor() ([]byte, []int) { - return fileDescriptor_d1129b8db63d55c7, []int{7} + return fileDescriptor_ef25ff1b0ebf999a, []int{7} } func (m *Log) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -711,7 +711,7 @@ func (m *TxResult) Reset() { *m = TxResult{} } func (m *TxResult) String() string { return proto.CompactTextString(m) } func (*TxResult) ProtoMessage() {} func (*TxResult) Descriptor() ([]byte, []int) { - return fileDescriptor_d1129b8db63d55c7, []int{8} + return fileDescriptor_ef25ff1b0ebf999a, []int{8} } func (m *TxResult) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -752,7 +752,7 @@ func (m *AccessTuple) Reset() { *m = AccessTuple{} } func (m *AccessTuple) String() string { return proto.CompactTextString(m) } func (*AccessTuple) ProtoMessage() {} func (*AccessTuple) Descriptor() ([]byte, []int) { - return fileDescriptor_d1129b8db63d55c7, []int{9} + return fileDescriptor_ef25ff1b0ebf999a, []int{9} } func (m *AccessTuple) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -812,7 +812,7 @@ func (m *TraceConfig) Reset() { *m = TraceConfig{} } func (m *TraceConfig) String() string { return proto.CompactTextString(m) } func (*TraceConfig) ProtoMessage() {} func (*TraceConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_d1129b8db63d55c7, []int{10} + return fileDescriptor_ef25ff1b0ebf999a, []int{10} } func (m *TraceConfig) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -933,7 +933,7 @@ func (m *Preinstall) Reset() { *m = Preinstall{} } func (m *Preinstall) String() string { return proto.CompactTextString(m) } func (*Preinstall) ProtoMessage() {} func (*Preinstall) Descriptor() ([]byte, []int) { - return fileDescriptor_d1129b8db63d55c7, []int{11} + return fileDescriptor_ef25ff1b0ebf999a, []int{11} } func (m *Preinstall) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -994,7 +994,7 @@ func (m *EvmCoinInfo) Reset() { *m = EvmCoinInfo{} } func (m *EvmCoinInfo) String() string { return proto.CompactTextString(m) } func (*EvmCoinInfo) ProtoMessage() {} func (*EvmCoinInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_d1129b8db63d55c7, []int{12} + return fileDescriptor_ef25ff1b0ebf999a, []int{12} } func (m *EvmCoinInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1052,158 +1052,158 @@ func (m *EvmCoinInfo) GetDecimals() uint32 { } func init() { - proto.RegisterEnum("cosmos.evm.vm.v1.AccessType", AccessType_name, AccessType_value) - proto.RegisterType((*Params)(nil), "cosmos.evm.vm.v1.Params") - proto.RegisterType((*ExtendedDenomOptions)(nil), "cosmos.evm.vm.v1.ExtendedDenomOptions") - proto.RegisterType((*AccessControl)(nil), "cosmos.evm.vm.v1.AccessControl") - proto.RegisterType((*AccessControlType)(nil), "cosmos.evm.vm.v1.AccessControlType") - proto.RegisterType((*ChainConfig)(nil), "cosmos.evm.vm.v1.ChainConfig") - proto.RegisterType((*State)(nil), "cosmos.evm.vm.v1.State") - proto.RegisterType((*TransactionLogs)(nil), "cosmos.evm.vm.v1.TransactionLogs") - proto.RegisterType((*Log)(nil), "cosmos.evm.vm.v1.Log") - proto.RegisterType((*TxResult)(nil), "cosmos.evm.vm.v1.TxResult") - proto.RegisterType((*AccessTuple)(nil), "cosmos.evm.vm.v1.AccessTuple") - proto.RegisterType((*TraceConfig)(nil), "cosmos.evm.vm.v1.TraceConfig") - proto.RegisterType((*Preinstall)(nil), "cosmos.evm.vm.v1.Preinstall") - proto.RegisterType((*EvmCoinInfo)(nil), "cosmos.evm.vm.v1.EvmCoinInfo") -} - -func init() { proto.RegisterFile("cosmos/evm/vm/v1/evm.proto", fileDescriptor_d1129b8db63d55c7) } - -var fileDescriptor_d1129b8db63d55c7 = []byte{ - // 2111 bytes of a gzipped FileDescriptorProto + proto.RegisterEnum("cosmos.evm.vm.v2.AccessType", AccessType_name, AccessType_value) + proto.RegisterType((*Params)(nil), "cosmos.evm.vm.v2.Params") + proto.RegisterType((*ExtendedDenomOptions)(nil), "cosmos.evm.vm.v2.ExtendedDenomOptions") + proto.RegisterType((*AccessControl)(nil), "cosmos.evm.vm.v2.AccessControl") + proto.RegisterType((*AccessControlType)(nil), "cosmos.evm.vm.v2.AccessControlType") + proto.RegisterType((*ChainConfig)(nil), "cosmos.evm.vm.v2.ChainConfig") + proto.RegisterType((*State)(nil), "cosmos.evm.vm.v2.State") + proto.RegisterType((*TransactionLogs)(nil), "cosmos.evm.vm.v2.TransactionLogs") + proto.RegisterType((*Log)(nil), "cosmos.evm.vm.v2.Log") + proto.RegisterType((*TxResult)(nil), "cosmos.evm.vm.v2.TxResult") + proto.RegisterType((*AccessTuple)(nil), "cosmos.evm.vm.v2.AccessTuple") + proto.RegisterType((*TraceConfig)(nil), "cosmos.evm.vm.v2.TraceConfig") + proto.RegisterType((*Preinstall)(nil), "cosmos.evm.vm.v2.Preinstall") + proto.RegisterType((*EvmCoinInfo)(nil), "cosmos.evm.vm.v2.EvmCoinInfo") +} + +func init() { proto.RegisterFile("cosmos/evm/vm/v2/evm.proto", fileDescriptor_ef25ff1b0ebf999a) } + +var fileDescriptor_ef25ff1b0ebf999a = []byte{ + // 2110 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x58, 0x4d, 0x6f, 0x1b, 0xc7, 0x19, 0x16, 0xc5, 0x95, 0xb4, 0x1c, 0x52, 0xd4, 0x7a, 0x44, 0xcb, 0x34, 0xed, 0x68, 0xd5, 0x4d, - 0x5b, 0xa8, 0x46, 0x2a, 0x59, 0x72, 0xd4, 0x1a, 0x4e, 0xd3, 0x42, 0x94, 0x98, 0x56, 0xaa, 0x6c, - 0x0b, 0x43, 0x35, 0x46, 0x8a, 0x14, 0x8b, 0xe1, 0xee, 0x78, 0xb9, 0xd1, 0xee, 0x0e, 0xb1, 0xb3, - 0xa4, 0xc5, 0xfe, 0x81, 0x06, 0xee, 0x25, 0xed, 0xdd, 0x40, 0x80, 0x5e, 0x72, 0xcc, 0x4f, 0xe8, - 0x31, 0xc7, 0x1c, 0x8b, 0x02, 0x5d, 0x14, 0xf4, 0x21, 0x80, 0x8e, 0xfa, 0x05, 0xc5, 0x7c, 0xf0, - 0x5b, 0x61, 0x15, 0x40, 0xb0, 0xe7, 0x79, 0x3f, 0x9e, 0x67, 0x3e, 0xde, 0xdd, 0x79, 0x97, 0xa0, - 0xe2, 0x50, 0x16, 0x52, 0xb6, 0x4d, 0x3a, 0xe1, 0x36, 0xff, 0xdb, 0xe1, 0xa3, 0xad, 0x56, 0x4c, - 0x13, 0x0a, 0x0d, 0xe9, 0xdb, 0xe2, 0x16, 0xfe, 0xb7, 0x53, 0xb9, 0x85, 0x43, 0x3f, 0xa2, 0xdb, - 0xe2, 0x5f, 0x19, 0x54, 0x29, 0x79, 0xd4, 0xa3, 0x62, 0xb8, 0xcd, 0x47, 0xd2, 0x6a, 0xfd, 0x5d, - 0x03, 0x8b, 0xa7, 0x38, 0xc6, 0x21, 0x83, 0x3b, 0x20, 0x47, 0x3a, 0xa1, 0xed, 0x92, 0x88, 0x86, - 0xe5, 0xcc, 0x46, 0x66, 0x33, 0x57, 0x2d, 0x5d, 0xa5, 0xa6, 0xd1, 0xc5, 0x61, 0xf0, 0xc4, 0x1a, - 0xb8, 0x2c, 0xa4, 0x93, 0x4e, 0x78, 0xc8, 0x87, 0x70, 0x1f, 0x00, 0x72, 0x91, 0xc4, 0xd8, 0x26, - 0x7e, 0x8b, 0x95, 0xb5, 0x8d, 0xec, 0x66, 0xb6, 0x6a, 0xf5, 0x52, 0x33, 0x57, 0xe3, 0xd6, 0xda, - 0xd1, 0x29, 0xbb, 0x4a, 0xcd, 0x5b, 0x8a, 0x60, 0x10, 0x68, 0xa1, 0x9c, 0x00, 0x35, 0xbf, 0xc5, - 0xe0, 0x2e, 0x28, 0x70, 0x6a, 0xa7, 0x89, 0xa3, 0x88, 0x04, 0xac, 0xbc, 0xb4, 0x91, 0xdd, 0xcc, - 0x55, 0x57, 0x7a, 0xa9, 0x99, 0xaf, 0x7d, 0xfc, 0xf4, 0x40, 0x99, 0x51, 0x9e, 0x74, 0xc2, 0x3e, - 0x80, 0x7f, 0x02, 0x45, 0xec, 0x38, 0x84, 0x31, 0xdb, 0xa1, 0x51, 0x12, 0xd3, 0xa0, 0xac, 0x6f, - 0x64, 0x36, 0xf3, 0xbb, 0xe6, 0xd6, 0xe4, 0x46, 0x6c, 0xed, 0x8b, 0xb8, 0x03, 0x19, 0x56, 0xbd, - 0xfd, 0x4d, 0x6a, 0xce, 0xf5, 0x52, 0x73, 0x79, 0xcc, 0x8c, 0x96, 0xf1, 0x28, 0x84, 0x4f, 0xc0, - 0x5d, 0xec, 0x24, 0x7e, 0x87, 0xd8, 0x2c, 0xc1, 0x89, 0xef, 0xd8, 0xad, 0x98, 0x38, 0x34, 0x6c, - 0xf9, 0x01, 0x61, 0xe5, 0x1c, 0x9f, 0x1f, 0xba, 0x23, 0x03, 0xea, 0xc2, 0x7f, 0x3a, 0x74, 0xc3, - 0x87, 0xa0, 0xd4, 0xf4, 0x59, 0x42, 0xe3, 0xae, 0xcd, 0x48, 0xdc, 0x21, 0xf6, 0x2b, 0x3f, 0x72, - 0xe9, 0xab, 0x32, 0xd8, 0xc8, 0x6c, 0x6a, 0x08, 0x2a, 0x5f, 0x9d, 0xbb, 0x5e, 0x08, 0x0f, 0xfc, - 0x14, 0xac, 0x91, 0x8b, 0x84, 0x44, 0x2e, 0x71, 0xe5, 0x06, 0xdb, 0xb4, 0x95, 0xf8, 0x34, 0x62, - 0xe5, 0xbc, 0x58, 0xd4, 0x4f, 0xa7, 0x17, 0x55, 0x53, 0xf1, 0xe2, 0x10, 0x9e, 0xcb, 0x68, 0x54, - 0x22, 0xd7, 0x58, 0x9f, 0xdc, 0x7b, 0xfd, 0xdd, 0xd7, 0x0f, 0xd6, 0x46, 0x6a, 0xe7, 0x82, 0x57, - 0x8f, 0x3c, 0xf1, 0x63, 0x4d, 0x9f, 0x37, 0xb2, 0xc7, 0x9a, 0x9e, 0x35, 0xb4, 0x63, 0x4d, 0x5f, - 0x30, 0x16, 0x8f, 0x35, 0x7d, 0xd1, 0x58, 0xb2, 0x3e, 0x04, 0xa5, 0xeb, 0x24, 0xe0, 0x4f, 0x40, - 0x71, 0x7c, 0xaa, 0xb2, 0x4c, 0xd0, 0xf2, 0x98, 0xb4, 0xf5, 0xb7, 0x0c, 0x18, 0xdf, 0x60, 0xb8, - 0x0f, 0x16, 0x9d, 0x98, 0xe0, 0x84, 0x88, 0x84, 0xfc, 0xee, 0xbb, 0xff, 0xe7, 0xa0, 0xce, 0xba, - 0x2d, 0x52, 0xd5, 0xf8, 0x61, 0x21, 0x95, 0x08, 0x3f, 0x04, 0x9a, 0x83, 0x83, 0xa0, 0x3c, 0xff, - 0x43, 0x09, 0x44, 0x9a, 0xf5, 0x9f, 0x0c, 0xb8, 0x35, 0x15, 0x01, 0x1d, 0x90, 0x57, 0x85, 0x94, - 0x74, 0x5b, 0x72, 0x72, 0xc5, 0xdd, 0xfb, 0xdf, 0xc7, 0x2d, 0x48, 0x7f, 0xdc, 0x4b, 0x4d, 0x30, - 0xc4, 0x57, 0xa9, 0x09, 0x65, 0x7d, 0x8f, 0x10, 0x59, 0x08, 0xe0, 0x41, 0x04, 0x74, 0xc0, 0xea, - 0x78, 0xb5, 0xda, 0x81, 0xcf, 0x92, 0xf2, 0xbc, 0x28, 0xf4, 0x47, 0xbd, 0xd4, 0x1c, 0x9f, 0xd8, - 0x89, 0xcf, 0x92, 0xab, 0xd4, 0xac, 0x8c, 0xb1, 0x8e, 0x66, 0x5a, 0xe8, 0x16, 0x9e, 0x4c, 0xb0, - 0xbe, 0x32, 0x40, 0xfe, 0xa0, 0x89, 0xfd, 0xe8, 0x80, 0x46, 0x2f, 0x7d, 0x0f, 0x7e, 0x0a, 0x56, - 0x9a, 0x34, 0x24, 0x2c, 0x21, 0xd8, 0xb5, 0x1b, 0x01, 0x75, 0xce, 0xd5, 0x23, 0xfd, 0xe8, 0xdf, - 0xa9, 0x79, 0x5b, 0x2e, 0x90, 0xb9, 0xe7, 0x5b, 0x3e, 0xdd, 0x0e, 0x71, 0xd2, 0xdc, 0x3a, 0x8a, - 0xb8, 0xe8, 0x9a, 0x14, 0x9d, 0xc8, 0xb4, 0x50, 0x71, 0x60, 0xa9, 0x72, 0x03, 0x6c, 0x82, 0xa2, - 0x8b, 0xa9, 0xfd, 0x92, 0xc6, 0xe7, 0x8a, 0x7c, 0x5e, 0x90, 0x57, 0xbf, 0x97, 0xbc, 0x97, 0x9a, - 0x85, 0xc3, 0xfd, 0xe7, 0x1f, 0xd1, 0xf8, 0x5c, 0x50, 0x5c, 0xa5, 0xe6, 0x6d, 0x29, 0x36, 0x4e, - 0x64, 0xa1, 0x82, 0x8b, 0xe9, 0x20, 0x0c, 0xbe, 0x00, 0xc6, 0x20, 0x80, 0xb5, 0x5b, 0x2d, 0x1a, - 0x27, 0xe5, 0xec, 0x46, 0x66, 0x53, 0xaf, 0xfe, 0xbc, 0x97, 0x9a, 0x45, 0x45, 0x59, 0x97, 0x9e, - 0xab, 0xd4, 0xbc, 0x33, 0x41, 0xaa, 0x72, 0x2c, 0x54, 0x54, 0xb4, 0x2a, 0x14, 0x36, 0x40, 0x81, - 0xf8, 0xad, 0x9d, 0xbd, 0x87, 0x6a, 0x01, 0x9a, 0x58, 0xc0, 0x6f, 0x66, 0x2d, 0x20, 0x5f, 0x3b, - 0x3a, 0xdd, 0xd9, 0x7b, 0xd8, 0x9f, 0xff, 0xaa, 0x7a, 0xaf, 0x8d, 0xb0, 0x58, 0x28, 0x2f, 0xa1, - 0x9c, 0x7c, 0x5f, 0x63, 0x4f, 0x69, 0x2c, 0xde, 0x54, 0x63, 0xef, 0x3a, 0x8d, 0xbd, 0x71, 0x8d, - 0xbd, 0x71, 0x8d, 0xc7, 0x4a, 0x63, 0xe9, 0xa6, 0x1a, 0x8f, 0xaf, 0xd3, 0x78, 0x3c, 0xae, 0x21, - 0x63, 0x78, 0x31, 0x35, 0xba, 0x7f, 0xc6, 0x51, 0xe2, 0xb7, 0x43, 0x25, 0xa3, 0xdf, 0xb8, 0x98, - 0x26, 0x32, 0x2d, 0x54, 0x1c, 0x58, 0x24, 0xfb, 0x39, 0x28, 0x39, 0x34, 0x62, 0x09, 0xb7, 0x45, - 0xb4, 0x15, 0x10, 0x25, 0x91, 0x13, 0x12, 0x8f, 0x67, 0x49, 0xdc, 0x93, 0x12, 0xd7, 0xa5, 0x5b, - 0x68, 0x75, 0xdc, 0x2c, 0xc5, 0x6c, 0x60, 0xb4, 0x48, 0x42, 0x62, 0xd6, 0x68, 0xc7, 0x9e, 0x12, - 0x02, 0x42, 0xe8, 0xfd, 0x59, 0x42, 0xaa, 0xac, 0x26, 0x53, 0x2d, 0xb4, 0x32, 0x34, 0x49, 0x81, - 0x4f, 0x40, 0xd1, 0xe7, 0xaa, 0x8d, 0x76, 0xa0, 0xe8, 0xf3, 0x82, 0x7e, 0x77, 0x16, 0xbd, 0x7a, - 0x14, 0xc6, 0x13, 0x2d, 0xb4, 0xdc, 0x37, 0x48, 0x6a, 0x17, 0xc0, 0xb0, 0xed, 0xc7, 0xb6, 0x17, - 0x60, 0xc7, 0x27, 0xb1, 0xa2, 0x2f, 0x08, 0xfa, 0x5f, 0xcc, 0xa2, 0xbf, 0x2b, 0xe9, 0xa7, 0x93, - 0x2d, 0x64, 0x70, 0xe3, 0x6f, 0xa5, 0x4d, 0xaa, 0xd4, 0x41, 0xa1, 0x41, 0xe2, 0xc0, 0x8f, 0x14, - 0xff, 0xb2, 0xe0, 0x7f, 0x38, 0x8b, 0x5f, 0x55, 0xd0, 0x68, 0x9a, 0x85, 0xf2, 0x12, 0x0e, 0x48, - 0x03, 0x1a, 0xb9, 0xb4, 0x4f, 0x7a, 0xeb, 0xc6, 0xa4, 0xa3, 0x69, 0x16, 0xca, 0x4b, 0x28, 0x49, - 0x3d, 0xb0, 0x8a, 0xe3, 0x98, 0xbe, 0x9a, 0xd8, 0x10, 0x28, 0xb8, 0x7f, 0x39, 0x8b, 0xbb, 0xff, - 0x72, 0x9d, 0xce, 0xe6, 0x2f, 0x57, 0x6e, 0x1d, 0xdb, 0x12, 0x17, 0x40, 0x2f, 0xc6, 0xdd, 0x09, - 0x9d, 0xd2, 0x8d, 0x37, 0x7e, 0x3a, 0xd9, 0x42, 0x06, 0x37, 0x8e, 0xa9, 0x7c, 0x06, 0x4a, 0x21, - 0x89, 0x3d, 0x62, 0x47, 0x24, 0x61, 0xad, 0xc0, 0x4f, 0x94, 0xce, 0xed, 0x1b, 0x3f, 0x07, 0xd7, - 0xa5, 0x5b, 0x08, 0x0a, 0xf3, 0x33, 0x65, 0x95, 0x5a, 0x77, 0x81, 0xee, 0xf0, 0xdb, 0xc2, 0xf6, - 0xdd, 0x72, 0x59, 0xb4, 0x26, 0x4b, 0x02, 0x1f, 0xb9, 0xb0, 0x04, 0x16, 0xe4, 0xdd, 0x7e, 0x57, - 0xdc, 0xed, 0x12, 0xc0, 0x0a, 0xd0, 0x5d, 0xe2, 0xf8, 0x21, 0x0e, 0x58, 0xb9, 0x22, 0x12, 0x06, - 0x18, 0x7e, 0x0c, 0x96, 0x59, 0x13, 0x47, 0x5e, 0x13, 0xfb, 0x76, 0xe2, 0x87, 0xa4, 0x7c, 0x4f, - 0xcc, 0x78, 0x67, 0xd6, 0x8c, 0x4b, 0x72, 0xc6, 0x63, 0x79, 0x16, 0x2a, 0xf4, 0xf1, 0x99, 0x1f, - 0x12, 0x78, 0x0a, 0xf2, 0x0e, 0x8e, 0x9c, 0x76, 0x24, 0x59, 0xef, 0x0b, 0xd6, 0xed, 0x59, 0xac, - 0xea, 0x2a, 0x1e, 0xc9, 0xb2, 0x10, 0x90, 0xa8, 0xcf, 0xd8, 0x8a, 0xb1, 0xd7, 0x26, 0x92, 0xf1, - 0x9d, 0x1b, 0x33, 0x8e, 0x64, 0x59, 0x08, 0x48, 0xd4, 0x67, 0xec, 0x90, 0xf8, 0x3c, 0x50, 0x8c, - 0xeb, 0x37, 0x66, 0x1c, 0xc9, 0xb2, 0x10, 0x90, 0x48, 0x30, 0x3e, 0x05, 0x80, 0x32, 0x7c, 0x8e, - 0x25, 0xa1, 0x29, 0x08, 0xb7, 0x66, 0x11, 0xaa, 0xfe, 0x7a, 0x98, 0x64, 0xa1, 0x9c, 0x00, 0x9c, - 0x6e, 0xd0, 0xd7, 0xad, 0x19, 0x77, 0x8e, 0x35, 0xfd, 0x8e, 0x51, 0xb6, 0xb6, 0xc1, 0x02, 0xef, - 0x5b, 0x09, 0x34, 0x40, 0xf6, 0x9c, 0x74, 0x55, 0x0f, 0xc7, 0x87, 0xfc, 0xec, 0x3b, 0x38, 0x68, - 0x13, 0x79, 0x9d, 0x23, 0x09, 0xac, 0x53, 0xb0, 0x72, 0x16, 0xe3, 0x88, 0xf1, 0x9e, 0x97, 0x46, - 0x27, 0xd4, 0x63, 0x10, 0x02, 0xad, 0x89, 0x59, 0x53, 0xe5, 0x8a, 0x31, 0xfc, 0x19, 0xd0, 0x02, - 0xea, 0x31, 0xd1, 0xd8, 0xe4, 0x77, 0x6f, 0x4f, 0x77, 0x51, 0x27, 0xd4, 0x43, 0x22, 0xc4, 0xfa, - 0x4b, 0x16, 0x64, 0x4f, 0xa8, 0x07, 0xcb, 0x60, 0x09, 0xbb, 0x6e, 0x4c, 0x18, 0x53, 0x4c, 0x7d, - 0x08, 0xd7, 0xc0, 0x62, 0x42, 0x5b, 0xbe, 0x23, 0xe9, 0x72, 0x48, 0x21, 0x2e, 0xec, 0xe2, 0x04, - 0x8b, 0x1e, 0xa0, 0x80, 0xc4, 0x98, 0x7f, 0x42, 0x88, 0x52, 0xb7, 0xa3, 0x76, 0xd8, 0x20, 0xb1, - 0xb8, 0xca, 0xb5, 0xea, 0xca, 0x65, 0x6a, 0xe6, 0x85, 0xfd, 0x99, 0x30, 0xa3, 0x51, 0x00, 0xdf, - 0x03, 0x4b, 0xc9, 0x85, 0x2d, 0xd6, 0xb0, 0x20, 0xb6, 0x78, 0xf5, 0x32, 0x35, 0x57, 0x92, 0xe1, - 0x32, 0x7f, 0x87, 0x59, 0x13, 0x2d, 0x26, 0x17, 0xfc, 0x7f, 0xb8, 0x0d, 0xf4, 0xe4, 0xc2, 0xf6, - 0x23, 0x97, 0x5c, 0x88, 0x4b, 0x5c, 0xab, 0x96, 0x2e, 0x53, 0xd3, 0x18, 0x09, 0x3f, 0xe2, 0x3e, - 0xb4, 0x94, 0x5c, 0x88, 0x01, 0x7c, 0x0f, 0x00, 0x39, 0x25, 0xa1, 0x20, 0xef, 0xe4, 0xe5, 0xcb, - 0xd4, 0xcc, 0x09, 0xab, 0xe0, 0x1e, 0x0e, 0xa1, 0x05, 0x16, 0x24, 0xb7, 0x2e, 0xb8, 0x0b, 0x97, - 0xa9, 0xa9, 0x07, 0xd4, 0x93, 0x9c, 0xd2, 0xc5, 0xb7, 0x2a, 0x26, 0x21, 0xed, 0x10, 0x57, 0x5c, - 0x8c, 0x3a, 0xea, 0x43, 0xf8, 0x01, 0x58, 0x91, 0x5a, 0xfc, 0xec, 0x59, 0x82, 0xc3, 0x96, 0xfc, - 0xda, 0xa8, 0xc2, 0xcb, 0xd4, 0x2c, 0x0a, 0xd7, 0x59, 0xdf, 0x83, 0x26, 0xb0, 0xf5, 0xc5, 0x3c, - 0xd0, 0xcf, 0x2e, 0x10, 0x61, 0xed, 0x20, 0x81, 0x1f, 0x01, 0x43, 0x34, 0x9a, 0xd8, 0x49, 0xec, - 0xb1, 0x73, 0xa9, 0xde, 0x1b, 0xde, 0x81, 0x93, 0x11, 0x16, 0x5a, 0xe9, 0x9b, 0xf6, 0xd5, 0xe1, - 0x95, 0xc0, 0x42, 0x23, 0xa0, 0x34, 0x14, 0x65, 0x54, 0x40, 0x12, 0xc0, 0x17, 0x62, 0xcb, 0x45, - 0x89, 0x64, 0x45, 0x13, 0xff, 0xa3, 0xe9, 0x12, 0x99, 0xa8, 0xb3, 0xea, 0x3d, 0xde, 0xc2, 0x5f, - 0xa5, 0x66, 0x51, 0x6a, 0xab, 0x7c, 0xeb, 0xab, 0xef, 0xbe, 0x7e, 0x90, 0xe1, 0xa7, 0x23, 0x8a, - 0xd1, 0x00, 0xd9, 0x98, 0x24, 0xe2, 0xd8, 0x0b, 0x88, 0x0f, 0xf9, 0xdb, 0x2a, 0x26, 0x1d, 0x12, - 0x27, 0xc4, 0x15, 0xc7, 0xab, 0xa3, 0x01, 0xe6, 0xaf, 0x3e, 0x0f, 0x33, 0xbb, 0xcd, 0x88, 0x2b, - 0xcf, 0x12, 0x2d, 0x79, 0x98, 0xfd, 0x81, 0x11, 0xf7, 0x89, 0xf6, 0xf9, 0x97, 0xe6, 0x9c, 0x85, - 0x41, 0x5e, 0xf5, 0xf7, 0xed, 0x56, 0x40, 0x66, 0xd4, 0xe8, 0x2e, 0x28, 0xf0, 0xaf, 0x39, 0xec, - 0x11, 0xfb, 0x9c, 0x74, 0x55, 0xa5, 0xca, 0xba, 0x53, 0xf6, 0xdf, 0x93, 0x2e, 0x43, 0xa3, 0x40, - 0x49, 0x7c, 0xa9, 0x81, 0xfc, 0x59, 0x8c, 0x1d, 0xa2, 0xba, 0x75, 0x5e, 0xed, 0x1c, 0xc6, 0x4a, - 0x42, 0x21, 0xae, 0xcd, 0x0f, 0x95, 0xb6, 0x13, 0xf5, 0x44, 0xf6, 0x21, 0xcf, 0x88, 0x09, 0xb9, - 0x20, 0x8e, 0xd8, 0x4b, 0x0d, 0x29, 0x04, 0xf7, 0xc0, 0xb2, 0xeb, 0x33, 0xdc, 0x08, 0xc4, 0xc7, - 0xab, 0x73, 0x2e, 0x97, 0x5f, 0x35, 0x2e, 0x53, 0xb3, 0xa0, 0x1c, 0x75, 0x6e, 0x47, 0x63, 0x88, - 0xd7, 0xd0, 0x30, 0x4d, 0xcc, 0x56, 0xec, 0x8d, 0x2e, 0x6b, 0x68, 0x10, 0x2a, 0x3c, 0x68, 0x02, - 0xcb, 0x1b, 0xa3, 0xd1, 0xf6, 0x44, 0xf9, 0xea, 0x48, 0x02, 0x6e, 0x0d, 0xfc, 0xd0, 0x4f, 0x44, - 0xb9, 0x2e, 0x20, 0x09, 0xe0, 0x07, 0x20, 0x47, 0x3b, 0x24, 0x8e, 0x7d, 0x97, 0x30, 0x51, 0xa6, - 0xf9, 0xdd, 0x77, 0xa6, 0xcb, 0x60, 0xe4, 0x4b, 0x06, 0x0d, 0xe3, 0xf9, 0xe2, 0x48, 0x24, 0x26, - 0x19, 0x92, 0x90, 0xc6, 0x5d, 0xd1, 0x5a, 0xa9, 0xc5, 0x49, 0xc7, 0x53, 0x61, 0x47, 0x63, 0x08, - 0x56, 0x01, 0x54, 0x69, 0x31, 0x49, 0xda, 0x71, 0x64, 0x8b, 0x37, 0x48, 0x41, 0xe4, 0x8a, 0xe7, - 0x58, 0x7a, 0x91, 0x70, 0x1e, 0xe2, 0x04, 0xa3, 0x29, 0x0b, 0xfc, 0x35, 0x80, 0xf2, 0x4c, 0xec, - 0xcf, 0x18, 0x8d, 0xf8, 0xf7, 0xd8, 0x4b, 0xdf, 0x53, 0xbd, 0x91, 0xd0, 0x97, 0x5e, 0x35, 0x67, - 0x43, 0xa2, 0x63, 0x46, 0xd5, 0x2a, 0x8e, 0x35, 0x5d, 0x33, 0x16, 0x8e, 0x35, 0x7d, 0xc9, 0xd0, - 0x07, 0xfb, 0xa7, 0x56, 0x81, 0x56, 0xfb, 0x78, 0x64, 0x7a, 0xd6, 0x33, 0x00, 0x4e, 0x63, 0xe2, - 0xf3, 0x0e, 0x36, 0x08, 0xf8, 0x6b, 0x2f, 0xc2, 0x21, 0xe9, 0xbf, 0x6f, 0xf9, 0x78, 0xb4, 0x30, - 0xe7, 0xc7, 0x0b, 0x13, 0x02, 0xcd, 0xa1, 0x2e, 0x11, 0xa5, 0x91, 0x43, 0x62, 0x6c, 0xfd, 0x35, - 0x03, 0xf2, 0xb5, 0x4e, 0x78, 0x40, 0xfd, 0xe8, 0x28, 0x7a, 0x49, 0x87, 0xd7, 0x7c, 0x66, 0xf4, - 0x9a, 0x9f, 0xfe, 0xc2, 0x9f, 0xbf, 0xe6, 0x0b, 0x1f, 0xbe, 0x2b, 0xaa, 0xac, 0x15, 0xe0, 0xae, - 0x8a, 0x92, 0x4a, 0x05, 0x65, 0x3c, 0x9c, 0x6a, 0x19, 0xf8, 0xb3, 0xb9, 0x3c, 0x6c, 0x19, 0x1e, - 0xfc, 0x33, 0x03, 0x46, 0x3e, 0xa2, 0xe1, 0xaf, 0x40, 0x65, 0xff, 0xe0, 0xa0, 0x56, 0xaf, 0xdb, - 0x67, 0x9f, 0x9c, 0xd6, 0xec, 0xd3, 0x1a, 0x7a, 0x7a, 0x54, 0xaf, 0x1f, 0x3d, 0x7f, 0x76, 0x52, - 0xab, 0xd7, 0x8d, 0xb9, 0xca, 0xfd, 0xd7, 0x6f, 0x36, 0xca, 0xc3, 0xf8, 0x53, 0x12, 0x87, 0x3e, - 0x63, 0x3e, 0x8d, 0x02, 0xbe, 0xdc, 0xf7, 0xc1, 0xda, 0x68, 0x36, 0xaa, 0xd5, 0xcf, 0xd0, 0xd1, - 0xc1, 0x59, 0xed, 0xd0, 0xc8, 0x54, 0xca, 0xaf, 0xdf, 0x6c, 0x94, 0x86, 0x99, 0x88, 0xb0, 0x24, - 0xf6, 0x1d, 0xfe, 0x1e, 0x78, 0x0c, 0xca, 0xd7, 0x6b, 0xd6, 0x0e, 0x8d, 0xf9, 0x4a, 0xe5, 0xf5, - 0x9b, 0x8d, 0xb5, 0xeb, 0x14, 0x89, 0x5b, 0xd1, 0x3e, 0xff, 0xc7, 0xfa, 0x5c, 0xf5, 0xc9, 0x37, - 0xbd, 0xf5, 0xcc, 0xb7, 0xbd, 0xf5, 0xcc, 0x7f, 0x7b, 0xeb, 0x99, 0x2f, 0xde, 0xae, 0xcf, 0x7d, - 0xfb, 0x76, 0x7d, 0xee, 0x5f, 0x6f, 0xd7, 0xe7, 0xfe, 0xb8, 0xe1, 0xf9, 0x49, 0xb3, 0xdd, 0xd8, - 0x72, 0x68, 0xb8, 0x3d, 0xf9, 0xcb, 0x4b, 0xd2, 0x6d, 0x11, 0xd6, 0x58, 0x14, 0x3f, 0xbe, 0x3d, - 0xfa, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x48, 0x59, 0x0f, 0x70, 0xd5, 0x13, 0x00, 0x00, + 0x5b, 0xa8, 0x46, 0x2a, 0xd9, 0x72, 0xd4, 0x1a, 0x4e, 0xd3, 0x42, 0x94, 0x98, 0x56, 0xaa, 0x3f, + 0x84, 0xa1, 0x1a, 0x23, 0x45, 0x8a, 0xc5, 0x70, 0x77, 0x4c, 0x6e, 0xb4, 0xbb, 0x43, 0xec, 0x0c, + 0x69, 0xb1, 0x7f, 0xa0, 0x81, 0x7b, 0x49, 0x7b, 0x37, 0x10, 0xa0, 0x97, 0x1c, 0xf3, 0x13, 0x7a, + 0xcc, 0x31, 0xc7, 0xa2, 0x40, 0x17, 0x85, 0x7c, 0x08, 0xa0, 0xa3, 0x7e, 0x41, 0x31, 0x1f, 0xfc, + 0x56, 0x58, 0x05, 0x10, 0xec, 0x79, 0xde, 0x8f, 0xe7, 0x99, 0x8f, 0x77, 0x77, 0xde, 0x25, 0xa8, + 0x78, 0x94, 0x45, 0x94, 0x6d, 0x93, 0x6e, 0xb4, 0x2d, 0xfe, 0x76, 0xc4, 0x68, 0xab, 0x9d, 0x50, + 0x4e, 0xa1, 0xa5, 0x7c, 0x5b, 0xc2, 0x22, 0xfe, 0x76, 0x2a, 0x37, 0x70, 0x14, 0xc4, 0x74, 0x5b, + 0xfe, 0xab, 0x82, 0x2a, 0xa5, 0x26, 0x6d, 0x52, 0x39, 0xdc, 0x16, 0x23, 0x65, 0x75, 0xfe, 0x6e, + 0x80, 0xc5, 0x63, 0x9c, 0xe0, 0x88, 0xc1, 0x07, 0x20, 0x47, 0xba, 0x91, 0xeb, 0x93, 0x98, 0x46, + 0xe5, 0xcc, 0x46, 0x66, 0x33, 0x57, 0x2d, 0x5d, 0xa6, 0xb6, 0xd5, 0xc3, 0x51, 0xf8, 0xd8, 0x19, + 0xb8, 0x1c, 0x64, 0x92, 0x6e, 0x74, 0x20, 0x86, 0x70, 0x0f, 0x00, 0x72, 0xc6, 0x13, 0xec, 0x92, + 0xa0, 0xcd, 0xca, 0xc6, 0x46, 0x76, 0x33, 0x5b, 0x75, 0xce, 0x53, 0x3b, 0x57, 0x13, 0xd6, 0xda, + 0xe1, 0x31, 0xbb, 0x4c, 0xed, 0x1b, 0x9a, 0x60, 0x10, 0xe8, 0xa0, 0x9c, 0x04, 0xb5, 0xa0, 0xcd, + 0xe0, 0x0e, 0x28, 0x08, 0x6a, 0xaf, 0x85, 0xe3, 0x98, 0x84, 0xac, 0xbc, 0xb4, 0x91, 0xdd, 0xcc, + 0x55, 0x57, 0xce, 0x53, 0x3b, 0x5f, 0xfb, 0xf8, 0xe9, 0xbe, 0x36, 0xa3, 0x3c, 0xe9, 0x46, 0x7d, + 0x00, 0xff, 0x04, 0x8a, 0xd8, 0xf3, 0x08, 0x63, 0xae, 0x47, 0x63, 0x9e, 0xd0, 0xb0, 0x6c, 0x6e, + 0x64, 0x36, 0xf3, 0x3b, 0xf6, 0xd6, 0xe4, 0x46, 0x6c, 0xed, 0xc9, 0xb8, 0x7d, 0x15, 0x56, 0xbd, + 0xf9, 0x4d, 0x6a, 0xcf, 0x9d, 0xa7, 0xf6, 0xf2, 0x98, 0x19, 0x2d, 0xe3, 0x51, 0x08, 0x1f, 0x83, + 0xdb, 0xd8, 0xe3, 0x41, 0x97, 0xb8, 0x8c, 0x63, 0x1e, 0x78, 0x6e, 0x3b, 0x21, 0x1e, 0x8d, 0xda, + 0x41, 0x48, 0x58, 0x39, 0x27, 0xe6, 0x87, 0x6e, 0xa9, 0x80, 0xba, 0xf4, 0x1f, 0x0f, 0xdd, 0xf0, + 0x3e, 0x28, 0xb5, 0x02, 0xc6, 0x69, 0xd2, 0x73, 0x19, 0x49, 0xba, 0xc4, 0x7d, 0x15, 0xc4, 0x3e, + 0x7d, 0x55, 0x06, 0x1b, 0x99, 0x4d, 0x03, 0x41, 0xed, 0xab, 0x0b, 0xd7, 0x0b, 0xe9, 0x81, 0x9f, + 0x82, 0x35, 0x72, 0xc6, 0x49, 0xec, 0x13, 0x5f, 0x6d, 0xb0, 0x4b, 0xdb, 0x3c, 0xa0, 0x31, 0x2b, + 0xe7, 0xe5, 0xa2, 0x7e, 0x3a, 0xbd, 0xa8, 0x9a, 0x8e, 0x97, 0x87, 0xf0, 0x5c, 0x45, 0xa3, 0x12, + 0xb9, 0xc2, 0xfa, 0xf8, 0xce, 0xeb, 0xef, 0xbe, 0xbe, 0xb7, 0x36, 0x52, 0x3b, 0x67, 0xa2, 0x7a, + 0xd4, 0x89, 0x1f, 0x19, 0xe6, 0xbc, 0x95, 0x3d, 0x32, 0xcc, 0xac, 0x65, 0x1c, 0x19, 0xe6, 0x82, + 0xb5, 0x78, 0x64, 0x98, 0x8b, 0xd6, 0x92, 0xf3, 0x21, 0x28, 0x5d, 0x25, 0x01, 0x7f, 0x02, 0x8a, + 0xe3, 0x53, 0x55, 0x65, 0x82, 0x96, 0xc7, 0xa4, 0x9d, 0xbf, 0x65, 0xc0, 0xf8, 0x06, 0xc3, 0x3d, + 0xb0, 0xe8, 0x25, 0x04, 0x73, 0x22, 0x13, 0xf2, 0x3b, 0xef, 0xfe, 0x9f, 0x83, 0x3a, 0xe9, 0xb5, + 0x49, 0xd5, 0x10, 0x87, 0x85, 0x74, 0x22, 0xfc, 0x10, 0x18, 0x1e, 0x0e, 0xc3, 0xf2, 0xfc, 0x0f, + 0x25, 0x90, 0x69, 0xce, 0x7f, 0x32, 0xe0, 0xc6, 0x54, 0x04, 0xf4, 0x40, 0x5e, 0x17, 0x12, 0xef, + 0xb5, 0xd5, 0xe4, 0x8a, 0x3b, 0x77, 0xbf, 0x8f, 0x5b, 0x92, 0xfe, 0xf8, 0x3c, 0xb5, 0xc1, 0x10, + 0x5f, 0xa6, 0x36, 0x54, 0xf5, 0x3d, 0x42, 0xe4, 0x20, 0x80, 0x07, 0x11, 0xd0, 0x03, 0xab, 0xe3, + 0xd5, 0xea, 0x86, 0x01, 0xe3, 0xe5, 0x79, 0x59, 0xe8, 0x0f, 0xcf, 0x53, 0x7b, 0x7c, 0x62, 0x4f, + 0x02, 0xc6, 0x2f, 0x53, 0xbb, 0x32, 0xc6, 0x3a, 0x9a, 0xe9, 0xa0, 0x1b, 0x78, 0x32, 0xc1, 0xf9, + 0xca, 0x02, 0xf9, 0xfd, 0x16, 0x0e, 0xe2, 0x7d, 0x1a, 0xbf, 0x0c, 0x9a, 0xf0, 0x53, 0xb0, 0xd2, + 0xa2, 0x11, 0x61, 0x9c, 0x60, 0xdf, 0x6d, 0x84, 0xd4, 0x3b, 0xd5, 0x8f, 0xf4, 0xc3, 0x7f, 0xa7, + 0xf6, 0x4d, 0xb5, 0x40, 0xe6, 0x9f, 0x6e, 0x05, 0x74, 0x3b, 0xc2, 0xbc, 0xb5, 0x75, 0x18, 0x0b, + 0xd1, 0x35, 0x25, 0x3a, 0x91, 0xe9, 0xa0, 0xe2, 0xc0, 0x52, 0x15, 0x06, 0xd8, 0x02, 0x45, 0x1f, + 0x53, 0xf7, 0x25, 0x4d, 0x4e, 0x35, 0xf9, 0xbc, 0x24, 0xaf, 0x7e, 0x2f, 0xf9, 0x79, 0x6a, 0x17, + 0x0e, 0xf6, 0x9e, 0x7f, 0x44, 0x93, 0x53, 0x49, 0x71, 0x99, 0xda, 0x37, 0x95, 0xd8, 0x38, 0x91, + 0x83, 0x0a, 0x3e, 0xa6, 0x83, 0x30, 0xf8, 0x02, 0x58, 0x83, 0x00, 0xd6, 0x69, 0xb7, 0x69, 0xc2, + 0xcb, 0xd9, 0x8d, 0xcc, 0xa6, 0x59, 0xfd, 0xf9, 0x79, 0x6a, 0x17, 0x35, 0x65, 0x5d, 0x79, 0x2e, + 0x53, 0xfb, 0xd6, 0x04, 0xa9, 0xce, 0x71, 0x50, 0x51, 0xd3, 0xea, 0x50, 0xd8, 0x00, 0x05, 0x12, + 0xb4, 0x1f, 0xec, 0xde, 0xd7, 0x0b, 0x30, 0xe4, 0x02, 0x7e, 0x33, 0x6b, 0x01, 0xf9, 0xda, 0xe1, + 0xf1, 0x83, 0xdd, 0xfb, 0xfd, 0xf9, 0xaf, 0xea, 0xf7, 0xda, 0x08, 0x8b, 0x83, 0xf2, 0x0a, 0xaa, + 0xc9, 0xf7, 0x35, 0x76, 0xb5, 0xc6, 0xe2, 0x75, 0x35, 0x76, 0xaf, 0xd2, 0xd8, 0x1d, 0xd7, 0xd8, + 0x1d, 0xd7, 0x78, 0xa4, 0x35, 0x96, 0xae, 0xab, 0xf1, 0xe8, 0x2a, 0x8d, 0x47, 0xe3, 0x1a, 0x2a, + 0x46, 0x14, 0x53, 0xa3, 0xf7, 0x67, 0x1c, 0xf3, 0xa0, 0x13, 0x69, 0x19, 0xf3, 0xda, 0xc5, 0x34, + 0x91, 0xe9, 0xa0, 0xe2, 0xc0, 0xa2, 0xd8, 0x4f, 0x41, 0xc9, 0xa3, 0x31, 0xe3, 0xc2, 0x16, 0xd3, + 0x76, 0x48, 0xb4, 0x44, 0x4e, 0x4a, 0x3c, 0x9a, 0x25, 0x71, 0x47, 0x49, 0x5c, 0x95, 0xee, 0xa0, + 0xd5, 0x71, 0xb3, 0x12, 0x73, 0x81, 0xd5, 0x26, 0x9c, 0x24, 0xac, 0xd1, 0x49, 0x9a, 0x5a, 0x08, + 0x48, 0xa1, 0xf7, 0x67, 0x09, 0xe9, 0xb2, 0x9a, 0x4c, 0x75, 0xd0, 0xca, 0xd0, 0xa4, 0x04, 0x3e, + 0x01, 0xc5, 0x40, 0xa8, 0x36, 0x3a, 0xa1, 0xa6, 0xcf, 0x4b, 0xfa, 0x9d, 0x59, 0xf4, 0xfa, 0x51, + 0x18, 0x4f, 0x74, 0xd0, 0x72, 0xdf, 0xa0, 0xa8, 0x7d, 0x00, 0xa3, 0x4e, 0x90, 0xb8, 0xcd, 0x10, + 0x7b, 0x01, 0x49, 0x34, 0x7d, 0x41, 0xd2, 0xff, 0x62, 0x16, 0xfd, 0x6d, 0x45, 0x3f, 0x9d, 0xec, + 0x20, 0x4b, 0x18, 0x7f, 0xab, 0x6c, 0x4a, 0xa5, 0x0e, 0x0a, 0x0d, 0x92, 0x84, 0x41, 0xac, 0xf9, + 0x97, 0x25, 0xff, 0xfd, 0x59, 0xfc, 0xba, 0x82, 0x46, 0xd3, 0x1c, 0x94, 0x57, 0x70, 0x40, 0x1a, + 0xd2, 0xd8, 0xa7, 0x7d, 0xd2, 0x1b, 0xd7, 0x26, 0x1d, 0x4d, 0x73, 0x50, 0x5e, 0x41, 0x45, 0xda, + 0x04, 0xab, 0x38, 0x49, 0xe8, 0xab, 0x89, 0x0d, 0x81, 0x92, 0xfb, 0x97, 0xb3, 0xb8, 0xfb, 0x2f, + 0xd7, 0xe9, 0x6c, 0xf1, 0x72, 0x15, 0xd6, 0xb1, 0x2d, 0xf1, 0x01, 0x6c, 0x26, 0xb8, 0x37, 0xa1, + 0x53, 0xba, 0xf6, 0xc6, 0x4f, 0x27, 0x3b, 0xc8, 0x12, 0xc6, 0x31, 0x95, 0xcf, 0x40, 0x29, 0x22, + 0x49, 0x93, 0xb8, 0x31, 0xe1, 0xac, 0x1d, 0x06, 0x5c, 0xeb, 0xdc, 0xbc, 0xf6, 0x73, 0x70, 0x55, + 0xba, 0x83, 0xa0, 0x34, 0x3f, 0xd3, 0x56, 0xa5, 0x75, 0x1b, 0x98, 0x9e, 0xb8, 0x2d, 0xdc, 0xc0, + 0x2f, 0x97, 0x65, 0x6b, 0xb2, 0x24, 0xf1, 0xa1, 0x0f, 0x4b, 0x60, 0x41, 0xdd, 0xed, 0xb7, 0xe5, + 0xdd, 0xae, 0x00, 0xac, 0x00, 0xd3, 0x27, 0x5e, 0x10, 0xe1, 0x90, 0x95, 0x2b, 0x32, 0x61, 0x80, + 0xe1, 0xc7, 0x60, 0x99, 0xb5, 0x70, 0xdc, 0x6c, 0xe1, 0xc0, 0xe5, 0x41, 0x44, 0xca, 0x77, 0xe4, + 0x8c, 0x1f, 0xcc, 0x9a, 0x71, 0x49, 0xcd, 0x78, 0x2c, 0xcf, 0x41, 0x85, 0x3e, 0x3e, 0x09, 0x22, + 0x02, 0x8f, 0x41, 0xde, 0xc3, 0xb1, 0xd7, 0x89, 0x15, 0xeb, 0x5d, 0xc9, 0xba, 0x3d, 0x8b, 0x55, + 0x5f, 0xc5, 0x23, 0x59, 0x0e, 0x02, 0x0a, 0xf5, 0x19, 0xdb, 0x09, 0x6e, 0x76, 0x88, 0x62, 0x7c, + 0xe7, 0xda, 0x8c, 0x23, 0x59, 0x0e, 0x02, 0x0a, 0xf5, 0x19, 0xbb, 0x24, 0x39, 0x0d, 0x35, 0xe3, + 0xfa, 0xb5, 0x19, 0x47, 0xb2, 0x1c, 0x04, 0x14, 0x92, 0x8c, 0x4f, 0x01, 0xa0, 0x0c, 0x9f, 0x62, + 0x45, 0x68, 0x4b, 0xc2, 0xad, 0x59, 0x84, 0xba, 0xbf, 0x1e, 0x26, 0x39, 0x28, 0x27, 0x81, 0xa0, + 0x1b, 0xf4, 0x75, 0x6b, 0xd6, 0xad, 0x23, 0xc3, 0xbc, 0x65, 0x95, 0x9d, 0x6d, 0xb0, 0x20, 0xfa, + 0x56, 0x02, 0x2d, 0x90, 0x3d, 0x25, 0x3d, 0xdd, 0xc3, 0x89, 0xa1, 0x38, 0xfb, 0x2e, 0x0e, 0x3b, + 0x44, 0x5d, 0xe7, 0x48, 0x01, 0xe7, 0x18, 0xac, 0x9c, 0x24, 0x38, 0x66, 0xa2, 0xe7, 0xa5, 0xf1, + 0x13, 0xda, 0x64, 0x10, 0x02, 0xa3, 0x85, 0x59, 0x4b, 0xe7, 0xca, 0x31, 0xfc, 0x19, 0x30, 0x42, + 0xda, 0x64, 0xb2, 0xb1, 0xc9, 0xef, 0xdc, 0x9c, 0xee, 0xa2, 0x9e, 0xd0, 0x26, 0x92, 0x21, 0xce, + 0x5f, 0xb2, 0x20, 0xfb, 0x84, 0x36, 0x61, 0x19, 0x2c, 0x61, 0xdf, 0x4f, 0x08, 0x63, 0x9a, 0xa9, + 0x0f, 0xe1, 0x1a, 0x58, 0xe4, 0xb4, 0x1d, 0x78, 0x8a, 0x2e, 0x87, 0x34, 0x12, 0xc2, 0x3e, 0xe6, + 0x58, 0xf6, 0x00, 0x05, 0x24, 0xc7, 0xe2, 0x13, 0x42, 0x96, 0xba, 0x1b, 0x77, 0xa2, 0x06, 0x49, + 0xe4, 0x55, 0x6e, 0x54, 0x57, 0x2e, 0x52, 0x3b, 0x2f, 0xed, 0xcf, 0xa4, 0x19, 0x8d, 0x02, 0xf8, + 0x1e, 0x58, 0xe2, 0x67, 0xae, 0x5c, 0xc3, 0x82, 0xdc, 0xe2, 0xd5, 0x8b, 0xd4, 0x5e, 0xe1, 0xc3, + 0x65, 0xfe, 0x0e, 0xb3, 0x16, 0x5a, 0xe4, 0x67, 0xe2, 0x7f, 0xb8, 0x0d, 0x4c, 0x7e, 0xe6, 0x06, + 0xb1, 0x4f, 0xce, 0xe4, 0x25, 0x6e, 0x54, 0x4b, 0x17, 0xa9, 0x6d, 0x8d, 0x84, 0x1f, 0x0a, 0x1f, + 0x5a, 0xe2, 0x67, 0x72, 0x00, 0xdf, 0x03, 0x40, 0x4d, 0x49, 0x2a, 0xa8, 0x3b, 0x79, 0xf9, 0x22, + 0xb5, 0x73, 0xd2, 0x2a, 0xb9, 0x87, 0x43, 0xe8, 0x80, 0x05, 0xc5, 0x6d, 0x4a, 0xee, 0xc2, 0x45, + 0x6a, 0x9b, 0x21, 0x6d, 0x2a, 0x4e, 0xe5, 0x12, 0x5b, 0x95, 0x90, 0x88, 0x76, 0x89, 0x2f, 0x2f, + 0x46, 0x13, 0xf5, 0x21, 0xfc, 0x00, 0xac, 0x28, 0x2d, 0x71, 0xf6, 0x8c, 0xe3, 0xa8, 0xad, 0xbe, + 0x36, 0xaa, 0xf0, 0x22, 0xb5, 0x8b, 0xd2, 0x75, 0xd2, 0xf7, 0xa0, 0x09, 0xec, 0x7c, 0x31, 0x0f, + 0xcc, 0x93, 0x33, 0x44, 0x58, 0x27, 0xe4, 0xf0, 0x23, 0x60, 0xc9, 0x46, 0x13, 0x7b, 0xdc, 0x1d, + 0x3b, 0x97, 0xea, 0x9d, 0xe1, 0x1d, 0x38, 0x19, 0xe1, 0xa0, 0x95, 0xbe, 0x69, 0x4f, 0x1f, 0x5e, + 0x09, 0x2c, 0x34, 0x42, 0x4a, 0x23, 0x59, 0x46, 0x05, 0xa4, 0x00, 0x7c, 0x21, 0xb7, 0x5c, 0x96, + 0x48, 0x56, 0x36, 0xf1, 0x3f, 0x9a, 0x2e, 0x91, 0x89, 0x3a, 0xab, 0xde, 0x11, 0x2d, 0xfc, 0x65, + 0x6a, 0x17, 0x95, 0xb6, 0xce, 0x77, 0xbe, 0xfa, 0xee, 0xeb, 0x7b, 0x19, 0x71, 0x3a, 0xb2, 0x18, + 0x2d, 0x90, 0x4d, 0x08, 0x97, 0xc7, 0x5e, 0x40, 0x62, 0x28, 0xde, 0x56, 0x09, 0xe9, 0x92, 0x84, + 0x13, 0x5f, 0x1e, 0xaf, 0x89, 0x06, 0x58, 0xbc, 0xfa, 0x9a, 0x98, 0xb9, 0x1d, 0x46, 0x7c, 0x75, + 0x96, 0x68, 0xa9, 0x89, 0xd9, 0x1f, 0x18, 0xf1, 0x1f, 0x1b, 0x9f, 0x7f, 0x69, 0xcf, 0x39, 0x18, + 0xe4, 0x75, 0x7f, 0xdf, 0x69, 0x87, 0x64, 0x46, 0x8d, 0xee, 0x80, 0x82, 0xf8, 0x9a, 0xc3, 0x4d, + 0xe2, 0x9e, 0x92, 0x9e, 0xae, 0x54, 0x55, 0x77, 0xda, 0xfe, 0x7b, 0xd2, 0x63, 0x68, 0x14, 0x68, + 0x89, 0x2f, 0x0d, 0x90, 0x3f, 0x49, 0xb0, 0x47, 0x74, 0xb7, 0x2e, 0xaa, 0x5d, 0xc0, 0x44, 0x4b, + 0x68, 0x24, 0xb4, 0xc5, 0xa1, 0xd2, 0x0e, 0xd7, 0x4f, 0x64, 0x1f, 0x8a, 0x8c, 0x84, 0x90, 0x33, + 0xe2, 0xc9, 0xbd, 0x34, 0x90, 0x46, 0x70, 0x17, 0x2c, 0xfb, 0x01, 0xc3, 0x8d, 0x50, 0x7e, 0xbc, + 0x7a, 0xa7, 0x6a, 0xf9, 0x55, 0xeb, 0x22, 0xb5, 0x0b, 0xda, 0x51, 0x17, 0x76, 0x34, 0x86, 0x44, + 0x0d, 0x0d, 0xd3, 0xe4, 0x6c, 0xe5, 0xde, 0x98, 0xaa, 0x86, 0x06, 0xa1, 0xd2, 0x83, 0x26, 0xb0, + 0xba, 0x31, 0x1a, 0x9d, 0xa6, 0x2c, 0x5f, 0x13, 0x29, 0x20, 0xac, 0x61, 0x10, 0x05, 0x5c, 0x96, + 0xeb, 0x02, 0x52, 0x00, 0x7e, 0x00, 0x72, 0xb4, 0x4b, 0x92, 0x24, 0xf0, 0x09, 0x93, 0x65, 0x9a, + 0xdf, 0x79, 0x67, 0xba, 0x0c, 0x46, 0xbe, 0x64, 0xd0, 0x30, 0x5e, 0x2c, 0x8e, 0xc4, 0x72, 0x92, + 0x11, 0x89, 0x68, 0xd2, 0x93, 0xad, 0x95, 0x5e, 0x9c, 0x72, 0x3c, 0x95, 0x76, 0x34, 0x86, 0x60, + 0x15, 0x40, 0x9d, 0x96, 0x10, 0xde, 0x49, 0x62, 0x57, 0xbe, 0x41, 0x0a, 0x32, 0x57, 0x3e, 0xc7, + 0xca, 0x8b, 0xa4, 0xf3, 0x00, 0x73, 0x8c, 0xa6, 0x2c, 0xf0, 0xd7, 0x00, 0xaa, 0x33, 0x71, 0x3f, + 0x63, 0x34, 0x16, 0xdf, 0x63, 0x2f, 0x83, 0xa6, 0xee, 0x8d, 0xa4, 0xbe, 0xf2, 0xea, 0x39, 0x5b, + 0x0a, 0x1d, 0x31, 0xaa, 0x57, 0x71, 0x64, 0x98, 0x86, 0xb5, 0x70, 0x64, 0x98, 0x4b, 0x96, 0x39, + 0xd8, 0x3f, 0xbd, 0x0a, 0xb4, 0xda, 0xc7, 0x23, 0xd3, 0x73, 0x9e, 0x01, 0x70, 0x9c, 0x90, 0x40, + 0x74, 0xb0, 0x61, 0x28, 0x5e, 0x7b, 0x31, 0x8e, 0x48, 0xff, 0x7d, 0x2b, 0xc6, 0xa3, 0x85, 0x39, + 0x3f, 0x5e, 0x98, 0x10, 0x18, 0x1e, 0xf5, 0x89, 0x2c, 0x8d, 0x1c, 0x92, 0x63, 0xe7, 0xaf, 0x19, + 0x90, 0xaf, 0x75, 0xa3, 0x7d, 0x1a, 0xc4, 0x87, 0xf1, 0x4b, 0x3a, 0xbc, 0xe6, 0x33, 0xa3, 0xd7, + 0xfc, 0xf4, 0x17, 0xfe, 0xfc, 0x15, 0x5f, 0xf8, 0xf0, 0x5d, 0x59, 0x65, 0xed, 0x10, 0xf7, 0x74, + 0x94, 0x52, 0x2a, 0x68, 0xe3, 0xc1, 0x54, 0xcb, 0x20, 0x9e, 0xcd, 0xe5, 0x61, 0xcb, 0x70, 0xef, + 0x9f, 0x19, 0x30, 0xf2, 0x11, 0x0d, 0x7f, 0x05, 0x2a, 0x7b, 0xfb, 0xfb, 0xb5, 0x7a, 0xdd, 0x3d, + 0xf9, 0xe4, 0xb8, 0xe6, 0x1e, 0xd7, 0xd0, 0xd3, 0xc3, 0x7a, 0xfd, 0xf0, 0xf9, 0xb3, 0x27, 0xb5, + 0x7a, 0xdd, 0x9a, 0xab, 0xdc, 0x7d, 0xfd, 0x66, 0xa3, 0x3c, 0x8c, 0x3f, 0x26, 0x49, 0x14, 0x30, + 0x16, 0xd0, 0x38, 0x14, 0xcb, 0x7d, 0x1f, 0xac, 0x8d, 0x66, 0xa3, 0x5a, 0xfd, 0x04, 0x1d, 0xee, + 0x9f, 0xd4, 0x0e, 0xac, 0x4c, 0xa5, 0xfc, 0xfa, 0xcd, 0x46, 0x69, 0x98, 0x89, 0x08, 0xe3, 0x49, + 0xe0, 0x89, 0xf7, 0xc0, 0x23, 0x50, 0xbe, 0x5a, 0xb3, 0x76, 0x60, 0xcd, 0x57, 0x2a, 0xaf, 0xdf, + 0x6c, 0xac, 0x5d, 0xa5, 0x48, 0xfc, 0x8a, 0xf1, 0xf9, 0x3f, 0xd6, 0xe7, 0xaa, 0x8f, 0xbf, 0x39, + 0x5f, 0xcf, 0x7c, 0x7b, 0xbe, 0x9e, 0xf9, 0xef, 0xf9, 0x7a, 0xe6, 0x8b, 0xb7, 0xeb, 0x73, 0xdf, + 0xbe, 0x5d, 0x9f, 0xfb, 0xd7, 0xdb, 0xf5, 0xb9, 0x3f, 0x6e, 0x34, 0x03, 0xde, 0xea, 0x34, 0xb6, + 0x3c, 0x1a, 0x6d, 0x4f, 0xfe, 0xf2, 0xc2, 0x7b, 0x6d, 0xc2, 0x1a, 0x8b, 0xf2, 0xc7, 0xb7, 0x87, + 0xff, 0x0b, 0x00, 0x00, 0xff, 0xff, 0x7d, 0x22, 0x4f, 0xa1, 0xd5, 0x13, 0x00, 0x00, } func (m *Params) Marshal() (dAtA []byte, err error) { diff --git a/x/vm/types/genesis.pb.go b/x/vm/types/genesis.pb.go index 799c0b6cb..b171d7d81 100644 --- a/x/vm/types/genesis.pb.go +++ b/x/vm/types/genesis.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: cosmos/evm/vm/v1/genesis.proto +// source: cosmos/evm/vm/v2/genesis.proto package types @@ -38,7 +38,7 @@ func (m *GenesisState) Reset() { *m = GenesisState{} } func (m *GenesisState) String() string { return proto.CompactTextString(m) } func (*GenesisState) ProtoMessage() {} func (*GenesisState) Descriptor() ([]byte, []int) { - return fileDescriptor_e6b6f3a3ceb84d18, []int{0} + return fileDescriptor_0ecf4517e0b63a91, []int{0} } func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -104,7 +104,7 @@ func (m *GenesisAccount) Reset() { *m = GenesisAccount{} } func (m *GenesisAccount) String() string { return proto.CompactTextString(m) } func (*GenesisAccount) ProtoMessage() {} func (*GenesisAccount) Descriptor() ([]byte, []int) { - return fileDescriptor_e6b6f3a3ceb84d18, []int{1} + return fileDescriptor_0ecf4517e0b63a91, []int{1} } func (m *GenesisAccount) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -155,18 +155,18 @@ func (m *GenesisAccount) GetStorage() Storage { } func init() { - proto.RegisterType((*GenesisState)(nil), "cosmos.evm.vm.v1.GenesisState") - proto.RegisterType((*GenesisAccount)(nil), "cosmos.evm.vm.v1.GenesisAccount") + proto.RegisterType((*GenesisState)(nil), "cosmos.evm.vm.v2.GenesisState") + proto.RegisterType((*GenesisAccount)(nil), "cosmos.evm.vm.v2.GenesisAccount") } -func init() { proto.RegisterFile("cosmos/evm/vm/v1/genesis.proto", fileDescriptor_e6b6f3a3ceb84d18) } +func init() { proto.RegisterFile("cosmos/evm/vm/v2/genesis.proto", fileDescriptor_0ecf4517e0b63a91) } -var fileDescriptor_e6b6f3a3ceb84d18 = []byte{ +var fileDescriptor_0ecf4517e0b63a91 = []byte{ // 340 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4b, 0xce, 0x2f, 0xce, - 0xcd, 0x2f, 0xd6, 0x4f, 0x2d, 0xcb, 0xd5, 0x07, 0x21, 0x43, 0xfd, 0xf4, 0xd4, 0xbc, 0xd4, 0xe2, + 0xcd, 0x2f, 0xd6, 0x4f, 0x2d, 0xcb, 0xd5, 0x07, 0x21, 0x23, 0xfd, 0xf4, 0xd4, 0xbc, 0xd4, 0xe2, 0xcc, 0x62, 0xbd, 0x82, 0xa2, 0xfc, 0x92, 0x7c, 0x21, 0x01, 0x88, 0xbc, 0x5e, 0x6a, 0x59, 0xae, - 0x1e, 0x08, 0x19, 0x4a, 0x09, 0x26, 0xe6, 0x66, 0xe6, 0xe5, 0xeb, 0x83, 0x49, 0x88, 0x22, 0x29, + 0x1e, 0x08, 0x19, 0x49, 0x09, 0x26, 0xe6, 0x66, 0xe6, 0xe5, 0xeb, 0x83, 0x49, 0x88, 0x22, 0x29, 0x29, 0x0c, 0x43, 0x40, 0xca, 0x21, 0x72, 0x22, 0xe9, 0xf9, 0xe9, 0xf9, 0x60, 0xa6, 0x3e, 0x88, 0x05, 0x11, 0x55, 0xba, 0xcf, 0xc8, 0xc5, 0xe3, 0x0e, 0xb1, 0x28, 0xb8, 0x24, 0xb1, 0x24, 0x55, 0xc8, 0x9d, 0x8b, 0x23, 0x31, 0x39, 0x39, 0xbf, 0x34, 0xaf, 0xa4, 0x58, 0x82, 0x51, 0x81, 0x59, @@ -183,7 +183,7 @@ var fileDescriptor_e6b6f3a3ceb84d18 = []byte{ 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, 0x92, 0x63, 0x7c, 0xf0, 0x48, 0x8e, 0x71, 0xc2, 0x63, 0x39, 0x86, 0x0b, 0x8f, 0xe5, 0x18, 0x6e, 0x3c, 0x96, 0x63, 0x88, 0x52, 0x48, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x47, 0x8a, 0xc2, 0x0a, 0x50, 0x24, 0x96, 0x54, 0x16, 0xa4, - 0x16, 0x27, 0xb1, 0x81, 0xa3, 0xcb, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0x3a, 0x23, 0x28, 0x5f, + 0x16, 0x27, 0xb1, 0x81, 0xa3, 0xcb, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0xda, 0x9c, 0x77, 0x3b, 0x27, 0x02, 0x00, 0x00, } diff --git a/x/vm/types/msg.go b/x/vm/types/msg.go index 19bda468f..ce5350ab3 100644 --- a/x/vm/types/msg.go +++ b/x/vm/types/msg.go @@ -12,7 +12,7 @@ import ( ethtypes "github.com/ethereum/go-ethereum/core/types" protov2 "google.golang.org/protobuf/proto" - evmapi "github.com/cosmos/evm/api/cosmos/evm/vm/v1" + evmapi "github.com/cosmos/evm/api/cosmos/evm/vm/v2" errorsmod "cosmossdk.io/errors" sdkmath "cosmossdk.io/math" diff --git a/x/vm/types/query.pb.go b/x/vm/types/query.pb.go index c007de0a7..e9acc6115 100644 --- a/x/vm/types/query.pb.go +++ b/x/vm/types/query.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: cosmos/evm/vm/v1/query.proto +// source: cosmos/evm/vm/v2/query.proto package types @@ -45,7 +45,7 @@ func (m *QueryConfigRequest) Reset() { *m = QueryConfigRequest{} } func (m *QueryConfigRequest) String() string { return proto.CompactTextString(m) } func (*QueryConfigRequest) ProtoMessage() {} func (*QueryConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0e8f08e175b3ef0c, []int{0} + return fileDescriptor_9389a935b4fcf22c, []int{0} } func (m *QueryConfigRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -84,7 +84,7 @@ func (m *QueryConfigResponse) Reset() { *m = QueryConfigResponse{} } func (m *QueryConfigResponse) String() string { return proto.CompactTextString(m) } func (*QueryConfigResponse) ProtoMessage() {} func (*QueryConfigResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0e8f08e175b3ef0c, []int{1} + return fileDescriptor_9389a935b4fcf22c, []int{1} } func (m *QueryConfigResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -130,7 +130,7 @@ func (m *QueryAccountRequest) Reset() { *m = QueryAccountRequest{} } func (m *QueryAccountRequest) String() string { return proto.CompactTextString(m) } func (*QueryAccountRequest) ProtoMessage() {} func (*QueryAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0e8f08e175b3ef0c, []int{2} + return fileDescriptor_9389a935b4fcf22c, []int{2} } func (m *QueryAccountRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -173,7 +173,7 @@ func (m *QueryAccountResponse) Reset() { *m = QueryAccountResponse{} } func (m *QueryAccountResponse) String() string { return proto.CompactTextString(m) } func (*QueryAccountResponse) ProtoMessage() {} func (*QueryAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0e8f08e175b3ef0c, []int{3} + return fileDescriptor_9389a935b4fcf22c, []int{3} } func (m *QueryAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -234,7 +234,7 @@ func (m *QueryCosmosAccountRequest) Reset() { *m = QueryCosmosAccountReq func (m *QueryCosmosAccountRequest) String() string { return proto.CompactTextString(m) } func (*QueryCosmosAccountRequest) ProtoMessage() {} func (*QueryCosmosAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0e8f08e175b3ef0c, []int{4} + return fileDescriptor_9389a935b4fcf22c, []int{4} } func (m *QueryCosmosAccountRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -278,7 +278,7 @@ func (m *QueryCosmosAccountResponse) Reset() { *m = QueryCosmosAccountRe func (m *QueryCosmosAccountResponse) String() string { return proto.CompactTextString(m) } func (*QueryCosmosAccountResponse) ProtoMessage() {} func (*QueryCosmosAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0e8f08e175b3ef0c, []int{5} + return fileDescriptor_9389a935b4fcf22c, []int{5} } func (m *QueryCosmosAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -339,7 +339,7 @@ func (m *QueryValidatorAccountRequest) Reset() { *m = QueryValidatorAcco func (m *QueryValidatorAccountRequest) String() string { return proto.CompactTextString(m) } func (*QueryValidatorAccountRequest) ProtoMessage() {} func (*QueryValidatorAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0e8f08e175b3ef0c, []int{6} + return fileDescriptor_9389a935b4fcf22c, []int{6} } func (m *QueryValidatorAccountRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -383,7 +383,7 @@ func (m *QueryValidatorAccountResponse) Reset() { *m = QueryValidatorAcc func (m *QueryValidatorAccountResponse) String() string { return proto.CompactTextString(m) } func (*QueryValidatorAccountResponse) ProtoMessage() {} func (*QueryValidatorAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0e8f08e175b3ef0c, []int{7} + return fileDescriptor_9389a935b4fcf22c, []int{7} } func (m *QueryValidatorAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -443,7 +443,7 @@ func (m *QueryBalanceRequest) Reset() { *m = QueryBalanceRequest{} } func (m *QueryBalanceRequest) String() string { return proto.CompactTextString(m) } func (*QueryBalanceRequest) ProtoMessage() {} func (*QueryBalanceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0e8f08e175b3ef0c, []int{8} + return fileDescriptor_9389a935b4fcf22c, []int{8} } func (m *QueryBalanceRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -482,7 +482,7 @@ func (m *QueryBalanceResponse) Reset() { *m = QueryBalanceResponse{} } func (m *QueryBalanceResponse) String() string { return proto.CompactTextString(m) } func (*QueryBalanceResponse) ProtoMessage() {} func (*QueryBalanceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0e8f08e175b3ef0c, []int{9} + return fileDescriptor_9389a935b4fcf22c, []int{9} } func (m *QueryBalanceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -530,7 +530,7 @@ func (m *QueryStorageRequest) Reset() { *m = QueryStorageRequest{} } func (m *QueryStorageRequest) String() string { return proto.CompactTextString(m) } func (*QueryStorageRequest) ProtoMessage() {} func (*QueryStorageRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0e8f08e175b3ef0c, []int{10} + return fileDescriptor_9389a935b4fcf22c, []int{10} } func (m *QueryStorageRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -570,7 +570,7 @@ func (m *QueryStorageResponse) Reset() { *m = QueryStorageResponse{} } func (m *QueryStorageResponse) String() string { return proto.CompactTextString(m) } func (*QueryStorageResponse) ProtoMessage() {} func (*QueryStorageResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0e8f08e175b3ef0c, []int{11} + return fileDescriptor_9389a935b4fcf22c, []int{11} } func (m *QueryStorageResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -616,7 +616,7 @@ func (m *QueryCodeRequest) Reset() { *m = QueryCodeRequest{} } func (m *QueryCodeRequest) String() string { return proto.CompactTextString(m) } func (*QueryCodeRequest) ProtoMessage() {} func (*QueryCodeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0e8f08e175b3ef0c, []int{12} + return fileDescriptor_9389a935b4fcf22c, []int{12} } func (m *QueryCodeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -656,7 +656,7 @@ func (m *QueryCodeResponse) Reset() { *m = QueryCodeResponse{} } func (m *QueryCodeResponse) String() string { return proto.CompactTextString(m) } func (*QueryCodeResponse) ProtoMessage() {} func (*QueryCodeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0e8f08e175b3ef0c, []int{13} + return fileDescriptor_9389a935b4fcf22c, []int{13} } func (m *QueryCodeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -704,7 +704,7 @@ func (m *QueryTxLogsRequest) Reset() { *m = QueryTxLogsRequest{} } func (m *QueryTxLogsRequest) String() string { return proto.CompactTextString(m) } func (*QueryTxLogsRequest) ProtoMessage() {} func (*QueryTxLogsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0e8f08e175b3ef0c, []int{14} + return fileDescriptor_9389a935b4fcf22c, []int{14} } func (m *QueryTxLogsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -745,7 +745,7 @@ func (m *QueryTxLogsResponse) Reset() { *m = QueryTxLogsResponse{} } func (m *QueryTxLogsResponse) String() string { return proto.CompactTextString(m) } func (*QueryTxLogsResponse) ProtoMessage() {} func (*QueryTxLogsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0e8f08e175b3ef0c, []int{15} + return fileDescriptor_9389a935b4fcf22c, []int{15} } func (m *QueryTxLogsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -796,7 +796,7 @@ func (m *QueryParamsRequest) Reset() { *m = QueryParamsRequest{} } func (m *QueryParamsRequest) String() string { return proto.CompactTextString(m) } func (*QueryParamsRequest) ProtoMessage() {} func (*QueryParamsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0e8f08e175b3ef0c, []int{16} + return fileDescriptor_9389a935b4fcf22c, []int{16} } func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -835,7 +835,7 @@ func (m *QueryParamsResponse) Reset() { *m = QueryParamsResponse{} } func (m *QueryParamsResponse) String() string { return proto.CompactTextString(m) } func (*QueryParamsResponse) ProtoMessage() {} func (*QueryParamsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0e8f08e175b3ef0c, []int{17} + return fileDescriptor_9389a935b4fcf22c, []int{17} } func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -889,7 +889,7 @@ func (m *EthCallRequest) Reset() { *m = EthCallRequest{} } func (m *EthCallRequest) String() string { return proto.CompactTextString(m) } func (*EthCallRequest) ProtoMessage() {} func (*EthCallRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0e8f08e175b3ef0c, []int{18} + return fileDescriptor_9389a935b4fcf22c, []int{18} } func (m *EthCallRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -968,7 +968,7 @@ func (m *EstimateGasResponse) Reset() { *m = EstimateGasResponse{} } func (m *EstimateGasResponse) String() string { return proto.CompactTextString(m) } func (*EstimateGasResponse) ProtoMessage() {} func (*EstimateGasResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0e8f08e175b3ef0c, []int{19} + return fileDescriptor_9389a935b4fcf22c, []int{19} } func (m *EstimateGasResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1045,7 +1045,7 @@ func (m *QueryTraceTxRequest) Reset() { *m = QueryTraceTxRequest{} } func (m *QueryTraceTxRequest) String() string { return proto.CompactTextString(m) } func (*QueryTraceTxRequest) ProtoMessage() {} func (*QueryTraceTxRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0e8f08e175b3ef0c, []int{20} + return fileDescriptor_9389a935b4fcf22c, []int{20} } func (m *QueryTraceTxRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1147,7 +1147,7 @@ func (m *QueryTraceTxResponse) Reset() { *m = QueryTraceTxResponse{} } func (m *QueryTraceTxResponse) String() string { return proto.CompactTextString(m) } func (*QueryTraceTxResponse) ProtoMessage() {} func (*QueryTraceTxResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0e8f08e175b3ef0c, []int{21} + return fileDescriptor_9389a935b4fcf22c, []int{21} } func (m *QueryTraceTxResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1207,7 +1207,7 @@ func (m *QueryTraceBlockRequest) Reset() { *m = QueryTraceBlockRequest{} func (m *QueryTraceBlockRequest) String() string { return proto.CompactTextString(m) } func (*QueryTraceBlockRequest) ProtoMessage() {} func (*QueryTraceBlockRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0e8f08e175b3ef0c, []int{22} + return fileDescriptor_9389a935b4fcf22c, []int{22} } func (m *QueryTraceBlockRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1302,7 +1302,7 @@ func (m *QueryTraceBlockResponse) Reset() { *m = QueryTraceBlockResponse func (m *QueryTraceBlockResponse) String() string { return proto.CompactTextString(m) } func (*QueryTraceBlockResponse) ProtoMessage() {} func (*QueryTraceBlockResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0e8f08e175b3ef0c, []int{23} + return fileDescriptor_9389a935b4fcf22c, []int{23} } func (m *QueryTraceBlockResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1362,7 +1362,7 @@ func (m *QueryTraceCallRequest) Reset() { *m = QueryTraceCallRequest{} } func (m *QueryTraceCallRequest) String() string { return proto.CompactTextString(m) } func (*QueryTraceCallRequest) ProtoMessage() {} func (*QueryTraceCallRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0e8f08e175b3ef0c, []int{24} + return fileDescriptor_9389a935b4fcf22c, []int{24} } func (m *QueryTraceCallRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1457,7 +1457,7 @@ func (m *QueryTraceCallResponse) Reset() { *m = QueryTraceCallResponse{} func (m *QueryTraceCallResponse) String() string { return proto.CompactTextString(m) } func (*QueryTraceCallResponse) ProtoMessage() {} func (*QueryTraceCallResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0e8f08e175b3ef0c, []int{25} + return fileDescriptor_9389a935b4fcf22c, []int{25} } func (m *QueryTraceCallResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1502,7 +1502,7 @@ func (m *QueryBaseFeeRequest) Reset() { *m = QueryBaseFeeRequest{} } func (m *QueryBaseFeeRequest) String() string { return proto.CompactTextString(m) } func (*QueryBaseFeeRequest) ProtoMessage() {} func (*QueryBaseFeeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0e8f08e175b3ef0c, []int{26} + return fileDescriptor_9389a935b4fcf22c, []int{26} } func (m *QueryBaseFeeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1541,7 +1541,7 @@ func (m *QueryBaseFeeResponse) Reset() { *m = QueryBaseFeeResponse{} } func (m *QueryBaseFeeResponse) String() string { return proto.CompactTextString(m) } func (*QueryBaseFeeResponse) ProtoMessage() {} func (*QueryBaseFeeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0e8f08e175b3ef0c, []int{27} + return fileDescriptor_9389a935b4fcf22c, []int{27} } func (m *QueryBaseFeeResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1579,7 +1579,7 @@ func (m *QueryGlobalMinGasPriceRequest) Reset() { *m = QueryGlobalMinGas func (m *QueryGlobalMinGasPriceRequest) String() string { return proto.CompactTextString(m) } func (*QueryGlobalMinGasPriceRequest) ProtoMessage() {} func (*QueryGlobalMinGasPriceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_0e8f08e175b3ef0c, []int{28} + return fileDescriptor_9389a935b4fcf22c, []int{28} } func (m *QueryGlobalMinGasPriceRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1618,7 +1618,7 @@ func (m *QueryGlobalMinGasPriceResponse) Reset() { *m = QueryGlobalMinGa func (m *QueryGlobalMinGasPriceResponse) String() string { return proto.CompactTextString(m) } func (*QueryGlobalMinGasPriceResponse) ProtoMessage() {} func (*QueryGlobalMinGasPriceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_0e8f08e175b3ef0c, []int{29} + return fileDescriptor_9389a935b4fcf22c, []int{29} } func (m *QueryGlobalMinGasPriceResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1648,150 +1648,150 @@ func (m *QueryGlobalMinGasPriceResponse) XXX_DiscardUnknown() { var xxx_messageInfo_QueryGlobalMinGasPriceResponse proto.InternalMessageInfo func init() { - proto.RegisterType((*QueryConfigRequest)(nil), "cosmos.evm.vm.v1.QueryConfigRequest") - proto.RegisterType((*QueryConfigResponse)(nil), "cosmos.evm.vm.v1.QueryConfigResponse") - proto.RegisterType((*QueryAccountRequest)(nil), "cosmos.evm.vm.v1.QueryAccountRequest") - proto.RegisterType((*QueryAccountResponse)(nil), "cosmos.evm.vm.v1.QueryAccountResponse") - proto.RegisterType((*QueryCosmosAccountRequest)(nil), "cosmos.evm.vm.v1.QueryCosmosAccountRequest") - proto.RegisterType((*QueryCosmosAccountResponse)(nil), "cosmos.evm.vm.v1.QueryCosmosAccountResponse") - proto.RegisterType((*QueryValidatorAccountRequest)(nil), "cosmos.evm.vm.v1.QueryValidatorAccountRequest") - proto.RegisterType((*QueryValidatorAccountResponse)(nil), "cosmos.evm.vm.v1.QueryValidatorAccountResponse") - proto.RegisterType((*QueryBalanceRequest)(nil), "cosmos.evm.vm.v1.QueryBalanceRequest") - proto.RegisterType((*QueryBalanceResponse)(nil), "cosmos.evm.vm.v1.QueryBalanceResponse") - proto.RegisterType((*QueryStorageRequest)(nil), "cosmos.evm.vm.v1.QueryStorageRequest") - proto.RegisterType((*QueryStorageResponse)(nil), "cosmos.evm.vm.v1.QueryStorageResponse") - proto.RegisterType((*QueryCodeRequest)(nil), "cosmos.evm.vm.v1.QueryCodeRequest") - proto.RegisterType((*QueryCodeResponse)(nil), "cosmos.evm.vm.v1.QueryCodeResponse") - proto.RegisterType((*QueryTxLogsRequest)(nil), "cosmos.evm.vm.v1.QueryTxLogsRequest") - proto.RegisterType((*QueryTxLogsResponse)(nil), "cosmos.evm.vm.v1.QueryTxLogsResponse") - proto.RegisterType((*QueryParamsRequest)(nil), "cosmos.evm.vm.v1.QueryParamsRequest") - proto.RegisterType((*QueryParamsResponse)(nil), "cosmos.evm.vm.v1.QueryParamsResponse") - proto.RegisterType((*EthCallRequest)(nil), "cosmos.evm.vm.v1.EthCallRequest") - proto.RegisterType((*EstimateGasResponse)(nil), "cosmos.evm.vm.v1.EstimateGasResponse") - proto.RegisterType((*QueryTraceTxRequest)(nil), "cosmos.evm.vm.v1.QueryTraceTxRequest") - proto.RegisterType((*QueryTraceTxResponse)(nil), "cosmos.evm.vm.v1.QueryTraceTxResponse") - proto.RegisterType((*QueryTraceBlockRequest)(nil), "cosmos.evm.vm.v1.QueryTraceBlockRequest") - proto.RegisterType((*QueryTraceBlockResponse)(nil), "cosmos.evm.vm.v1.QueryTraceBlockResponse") - proto.RegisterType((*QueryTraceCallRequest)(nil), "cosmos.evm.vm.v1.QueryTraceCallRequest") - proto.RegisterType((*QueryTraceCallResponse)(nil), "cosmos.evm.vm.v1.QueryTraceCallResponse") - proto.RegisterType((*QueryBaseFeeRequest)(nil), "cosmos.evm.vm.v1.QueryBaseFeeRequest") - proto.RegisterType((*QueryBaseFeeResponse)(nil), "cosmos.evm.vm.v1.QueryBaseFeeResponse") - proto.RegisterType((*QueryGlobalMinGasPriceRequest)(nil), "cosmos.evm.vm.v1.QueryGlobalMinGasPriceRequest") - proto.RegisterType((*QueryGlobalMinGasPriceResponse)(nil), "cosmos.evm.vm.v1.QueryGlobalMinGasPriceResponse") -} - -func init() { proto.RegisterFile("cosmos/evm/vm/v1/query.proto", fileDescriptor_0e8f08e175b3ef0c) } - -var fileDescriptor_0e8f08e175b3ef0c = []byte{ - // 1716 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x58, 0xcd, 0x6f, 0xdb, 0x46, - 0x16, 0x37, 0x2d, 0xd9, 0x92, 0x46, 0x76, 0xa2, 0x4c, 0xec, 0x8d, 0xcc, 0xb5, 0x25, 0x87, 0xf1, - 0x77, 0x1c, 0x32, 0xf6, 0x66, 0x17, 0xd8, 0xec, 0x61, 0xd7, 0x36, 0x1c, 0x27, 0x9b, 0x64, 0x91, - 0x55, 0x8d, 0x1e, 0x0a, 0x14, 0xc2, 0x88, 0x9a, 0x50, 0x84, 0x45, 0x52, 0xe1, 0x50, 0xaa, 0x9c, - 0x8f, 0x1e, 0x8a, 0x36, 0x4d, 0x90, 0x4b, 0x8a, 0xde, 0xdb, 0x1c, 0x7b, 0x6b, 0x6f, 0xfd, 0x17, - 0x72, 0x0c, 0x50, 0x14, 0x28, 0x7a, 0x48, 0x8b, 0xa4, 0x40, 0xfb, 0x37, 0xf4, 0x54, 0xcc, 0x07, - 0x25, 0x52, 0x14, 0x25, 0xa7, 0x48, 0xd1, 0x1e, 0x0a, 0x18, 0x09, 0x67, 0xe6, 0xcd, 0x7b, 0xbf, - 0x79, 0xdf, 0x4f, 0x60, 0x56, 0x77, 0x88, 0xe5, 0x10, 0x0d, 0xb7, 0x2c, 0x8d, 0xfe, 0x6d, 0x68, - 0xb7, 0x9a, 0xd8, 0x3d, 0x54, 0x1b, 0xae, 0xe3, 0x39, 0x30, 0xc7, 0x4f, 0x55, 0xdc, 0xb2, 0x54, - 0xfa, 0xb7, 0x21, 0x9f, 0x40, 0x96, 0x69, 0x3b, 0x1a, 0xfb, 0x97, 0x13, 0xc9, 0x6b, 0x82, 0x45, - 0x05, 0x11, 0xcc, 0x6f, 0x6b, 0xad, 0x8d, 0x0a, 0xf6, 0xd0, 0x86, 0xd6, 0x40, 0x86, 0x69, 0x23, - 0xcf, 0x74, 0x6c, 0x41, 0x2b, 0x47, 0xc4, 0x51, 0xd6, 0xfc, 0x6c, 0x26, 0x72, 0xe6, 0xb5, 0xc5, - 0xd1, 0x94, 0xe1, 0x18, 0x0e, 0xfb, 0xd4, 0xe8, 0x97, 0xd8, 0x9d, 0x35, 0x1c, 0xc7, 0xa8, 0x63, - 0x0d, 0x35, 0x4c, 0x0d, 0xd9, 0xb6, 0xe3, 0x31, 0x49, 0x44, 0x9c, 0x16, 0xc5, 0x29, 0x5b, 0x55, - 0x9a, 0x37, 0x35, 0xcf, 0xb4, 0x30, 0xf1, 0x90, 0xd5, 0xe0, 0x04, 0xca, 0x14, 0x80, 0xff, 0xa7, - 0x68, 0x77, 0x1c, 0xfb, 0xa6, 0x69, 0x94, 0xf0, 0xad, 0x26, 0x26, 0x9e, 0x72, 0x0d, 0x9c, 0x0c, - 0xed, 0x92, 0x86, 0x63, 0x13, 0x0c, 0xff, 0x0e, 0xc6, 0x75, 0xb6, 0x93, 0x97, 0xe6, 0xa5, 0x95, - 0xec, 0xe6, 0x9c, 0xda, 0xab, 0x1a, 0x75, 0xa7, 0x86, 0x4c, 0x5b, 0x5c, 0x13, 0xc4, 0xca, 0x3f, - 0x05, 0xb7, 0x2d, 0x5d, 0x77, 0x9a, 0xb6, 0x27, 0x84, 0xc0, 0x3c, 0x48, 0xa1, 0x6a, 0xd5, 0xc5, - 0x84, 0x30, 0x76, 0x99, 0x92, 0xbf, 0xbc, 0x98, 0x7e, 0xf0, 0xa4, 0x38, 0xf2, 0xd3, 0x93, 0xe2, - 0x88, 0xa2, 0x83, 0xa9, 0xf0, 0x55, 0x81, 0x24, 0x0f, 0x52, 0x15, 0x54, 0x47, 0xb6, 0x8e, 0xfd, - 0xbb, 0x62, 0x09, 0xff, 0x0a, 0x32, 0xba, 0x53, 0xc5, 0xe5, 0x1a, 0x22, 0xb5, 0xfc, 0x28, 0x3b, - 0x4b, 0xd3, 0x8d, 0xcb, 0x88, 0xd4, 0xe0, 0x14, 0x18, 0xb3, 0x1d, 0x7a, 0x29, 0x31, 0x2f, 0xad, - 0x24, 0x4b, 0x7c, 0xa1, 0xfc, 0x1b, 0xcc, 0x88, 0xd7, 0xd2, 0xc7, 0xfc, 0x0a, 0x94, 0xf7, 0x25, - 0x20, 0xf7, 0xe3, 0x20, 0xc0, 0x2e, 0x82, 0x63, 0x5c, 0x4f, 0xe5, 0x30, 0xa7, 0x49, 0xbe, 0xbb, - 0xc5, 0x37, 0xa1, 0x0c, 0xd2, 0x84, 0x0a, 0xa5, 0xf8, 0x46, 0x19, 0xbe, 0xce, 0x9a, 0xb2, 0x40, - 0x9c, 0x6b, 0xd9, 0x6e, 0x5a, 0x15, 0xec, 0x8a, 0x17, 0x4c, 0x8a, 0xdd, 0xff, 0xb1, 0x4d, 0xe5, - 0x2a, 0x98, 0x65, 0x38, 0xde, 0x44, 0x75, 0xb3, 0x8a, 0x3c, 0xc7, 0xed, 0x79, 0xcc, 0x69, 0x30, - 0xa1, 0x3b, 0x76, 0x2f, 0x8e, 0x2c, 0xdd, 0xdb, 0x8a, 0xbc, 0xea, 0x91, 0x04, 0xe6, 0x62, 0xb8, - 0x89, 0x87, 0x2d, 0x83, 0xe3, 0x3e, 0xaa, 0x30, 0x47, 0x1f, 0xec, 0x6b, 0x7c, 0x9a, 0xef, 0x44, - 0xdb, 0xdc, 0xce, 0xaf, 0x62, 0x9e, 0xf3, 0xc2, 0x89, 0x3a, 0x57, 0x87, 0x39, 0x91, 0x72, 0x55, - 0x08, 0x7b, 0xc3, 0x73, 0x5c, 0x64, 0x0c, 0x17, 0x06, 0x73, 0x20, 0x71, 0x80, 0x0f, 0x85, 0xbf, - 0xd1, 0xcf, 0x80, 0xf8, 0x75, 0x21, 0xbe, 0xc3, 0x4c, 0x88, 0x9f, 0x02, 0x63, 0x2d, 0x54, 0x6f, - 0xfa, 0xc2, 0xf9, 0x42, 0xf9, 0x07, 0xc8, 0x09, 0x57, 0xaa, 0xbe, 0xd2, 0x23, 0x97, 0xc1, 0x89, - 0xc0, 0x3d, 0x21, 0x02, 0x82, 0x24, 0xf5, 0x7d, 0x76, 0x6b, 0xa2, 0xc4, 0xbe, 0x95, 0xdb, 0x22, - 0xe2, 0xf7, 0xdb, 0xd7, 0x1c, 0x83, 0xf8, 0x22, 0x20, 0x48, 0xb2, 0x88, 0xe1, 0xfc, 0xd9, 0x37, - 0xbc, 0x04, 0x40, 0x37, 0x77, 0xb1, 0xb7, 0x65, 0x37, 0x97, 0xfc, 0x90, 0xa7, 0x89, 0x4e, 0xe5, - 0x69, 0x52, 0x24, 0x3a, 0xf5, 0x46, 0x57, 0x55, 0xa5, 0xc0, 0xcd, 0x00, 0xc8, 0x87, 0x92, 0x50, - 0xac, 0x2f, 0x5c, 0xe0, 0x5c, 0x05, 0xc9, 0xba, 0x63, 0xd0, 0xd7, 0x25, 0x56, 0xb2, 0x9b, 0xd3, - 0xd1, 0xb4, 0x72, 0xcd, 0x31, 0x4a, 0x8c, 0x04, 0xee, 0xf5, 0x01, 0xb5, 0x3c, 0x14, 0x14, 0x97, - 0x13, 0x44, 0xd5, 0xc9, 0x7c, 0x37, 0x90, 0x8b, 0x2c, 0x5f, 0x0f, 0x4a, 0x49, 0x00, 0xf4, 0x77, - 0x05, 0xc0, 0x7f, 0x81, 0xf1, 0x06, 0xdb, 0x11, 0x99, 0x2f, 0x1f, 0x85, 0xc8, 0x6f, 0x6c, 0x67, - 0x9e, 0x3e, 0x2f, 0x8e, 0x7c, 0xf6, 0xe3, 0x17, 0x6b, 0x52, 0x49, 0x5c, 0x51, 0xbe, 0x96, 0xc0, - 0xb1, 0x5d, 0xaf, 0xb6, 0x83, 0xea, 0xf5, 0x80, 0xba, 0x91, 0x6b, 0x10, 0xdf, 0x30, 0xf4, 0x1b, - 0x9e, 0x02, 0x29, 0x03, 0x91, 0xb2, 0x8e, 0x1a, 0x22, 0x46, 0xc6, 0x0d, 0x44, 0x76, 0x50, 0x03, - 0xbe, 0x0d, 0x72, 0x0d, 0xd7, 0x69, 0x38, 0x04, 0xbb, 0x9d, 0x38, 0xa3, 0x31, 0x32, 0xb1, 0xbd, - 0xf9, 0xf3, 0xf3, 0xa2, 0x6a, 0x98, 0x5e, 0xad, 0x59, 0x51, 0x75, 0xc7, 0xd2, 0x44, 0xf1, 0xe0, - 0xff, 0x9d, 0x23, 0xd5, 0x03, 0xcd, 0x3b, 0x6c, 0x60, 0xa2, 0xee, 0x74, 0x03, 0xbc, 0x74, 0xdc, - 0xe7, 0xe5, 0x07, 0xe7, 0x0c, 0x48, 0xeb, 0x34, 0x6b, 0x97, 0xcd, 0x6a, 0x3e, 0x39, 0x2f, 0xad, - 0x24, 0x4a, 0x29, 0xb6, 0xbe, 0x52, 0x85, 0xb3, 0x20, 0xe3, 0xb4, 0xb0, 0xeb, 0x9a, 0x55, 0x4c, - 0xf2, 0x63, 0x0c, 0x6b, 0x77, 0x43, 0xd9, 0x07, 0x27, 0x77, 0x89, 0x67, 0x5a, 0xc8, 0xc3, 0x7b, - 0xa8, 0xab, 0xab, 0x1c, 0x48, 0x18, 0x88, 0x3f, 0x2d, 0x59, 0xa2, 0x9f, 0x74, 0xc7, 0xc5, 0x1e, - 0x7b, 0xd5, 0x44, 0x89, 0x7e, 0x52, 0x99, 0x2d, 0xab, 0x8c, 0x5d, 0xd7, 0xe1, 0xe1, 0x9e, 0x29, - 0xa5, 0x5a, 0xd6, 0x2e, 0x5d, 0x2a, 0x0f, 0x93, 0xbe, 0x8f, 0xb8, 0x48, 0xc7, 0xfb, 0x6d, 0x5f, - 0x65, 0x1b, 0x20, 0x61, 0x11, 0xbf, 0xf2, 0x14, 0xa3, 0xfa, 0xbf, 0x4e, 0x8c, 0x5d, 0xaf, 0x86, - 0x5d, 0xdc, 0xb4, 0xf6, 0xdb, 0x25, 0x4a, 0x0b, 0xff, 0x03, 0x26, 0x3c, 0xca, 0xa4, 0x2c, 0xaa, - 0x56, 0x22, 0xae, 0x6a, 0x31, 0x51, 0xa2, 0x6a, 0x65, 0xbd, 0xee, 0x02, 0xee, 0x80, 0x89, 0x86, - 0x8b, 0xab, 0x58, 0xc7, 0x84, 0x38, 0x2e, 0xc9, 0x27, 0x99, 0x83, 0x0e, 0x95, 0x1e, 0xba, 0x44, - 0xb3, 0x6e, 0xa5, 0xee, 0xe8, 0x07, 0x7e, 0x7e, 0x1b, 0x63, 0x4a, 0xce, 0xb2, 0x3d, 0x9e, 0xdd, - 0xe0, 0x1c, 0x00, 0x9c, 0x84, 0x05, 0xe1, 0x38, 0xd3, 0x48, 0x86, 0xed, 0xb0, 0xba, 0x75, 0xd9, - 0x3f, 0xa6, 0xe5, 0x3b, 0x9f, 0x62, 0xcf, 0x90, 0x55, 0x5e, 0xdb, 0x55, 0xbf, 0xb6, 0xab, 0xfb, - 0x7e, 0x6d, 0xdf, 0x9e, 0xa4, 0x4e, 0xf8, 0xf8, 0xbb, 0xa2, 0xc4, 0x1d, 0x91, 0x73, 0xa2, 0xc7, - 0x7d, 0x7d, 0x29, 0xfd, 0xdb, 0xf8, 0x52, 0x26, 0xec, 0x4b, 0x0a, 0x98, 0xe4, 0x6f, 0xb0, 0x50, - 0xbb, 0x4c, 0x1d, 0x04, 0x04, 0xd4, 0x70, 0x1d, 0xb5, 0xf7, 0x10, 0xf9, 0x6f, 0x32, 0x3d, 0x9a, - 0x4b, 0x94, 0xd2, 0x5e, 0xbb, 0x6c, 0xda, 0x55, 0xdc, 0x56, 0xd6, 0x44, 0xea, 0xec, 0xb8, 0x42, - 0x37, 0xaf, 0x55, 0x91, 0x87, 0xfc, 0xf0, 0xa1, 0xdf, 0xca, 0x97, 0x09, 0xf0, 0x97, 0x2e, 0xf1, - 0x36, 0xe5, 0x1a, 0x70, 0x1d, 0xaf, 0xed, 0x67, 0x97, 0xe1, 0xae, 0xe3, 0xb5, 0xc9, 0x6b, 0x70, - 0x9d, 0x3f, 0xad, 0x7e, 0x44, 0xab, 0x2b, 0xe7, 0xc0, 0xa9, 0x88, 0xe1, 0x06, 0x18, 0xfa, 0xc3, - 0x04, 0x98, 0xee, 0xd2, 0xff, 0x51, 0xb3, 0x6a, 0xaf, 0x03, 0x25, 0x7f, 0x07, 0x07, 0xda, 0x79, - 0x45, 0x07, 0x4a, 0xfb, 0x0e, 0x14, 0xf4, 0x9d, 0xa0, 0x71, 0xd3, 0x21, 0xe3, 0x2a, 0xeb, 0xc1, - 0x88, 0xe3, 0x86, 0x18, 0x60, 0xb7, 0xe9, 0x4e, 0x07, 0x47, 0xf0, 0x25, 0x8c, 0xbb, 0xb3, 0xc6, - 0x54, 0x78, 0x5b, 0xb0, 0xb8, 0x00, 0xd2, 0xb4, 0x9c, 0x97, 0x6f, 0x62, 0xd1, 0x21, 0x6d, 0xcf, - 0x7c, 0xfb, 0xbc, 0x38, 0xcd, 0xf5, 0x47, 0xaa, 0x07, 0xaa, 0xe9, 0x68, 0x16, 0xf2, 0x6a, 0xea, - 0x15, 0xdb, 0xa3, 0x9d, 0x1b, 0xbb, 0xad, 0x14, 0x45, 0xcf, 0xba, 0x57, 0x77, 0x2a, 0xa8, 0x7e, - 0xdd, 0xb4, 0xf7, 0x10, 0xb9, 0xe1, 0x9a, 0x9d, 0x86, 0x51, 0xd1, 0x41, 0x21, 0x8e, 0x40, 0x08, - 0xde, 0x02, 0x93, 0x96, 0x69, 0x53, 0x67, 0x2d, 0x37, 0xe8, 0x81, 0x90, 0x3e, 0x47, 0x95, 0x13, - 0x8f, 0x20, 0x6b, 0x75, 0x59, 0x6d, 0x7e, 0x94, 0x03, 0x63, 0x4c, 0x0a, 0xfc, 0x40, 0x02, 0x29, - 0xd1, 0x36, 0xc3, 0xc5, 0xa8, 0xf1, 0xfb, 0xcc, 0x45, 0xf2, 0xd2, 0x30, 0x32, 0x8e, 0x53, 0x39, - 0xfb, 0xde, 0x57, 0x3f, 0x7c, 0x3c, 0xba, 0x08, 0xcf, 0x68, 0x91, 0x99, 0x51, 0xb4, 0xce, 0xda, - 0x1d, 0xe1, 0xd8, 0xf7, 0xe0, 0x27, 0x12, 0x98, 0x0c, 0x4d, 0x27, 0xf0, 0x6c, 0x8c, 0x98, 0x7e, - 0x53, 0x90, 0xbc, 0x7e, 0x34, 0x62, 0x81, 0x6c, 0x93, 0x21, 0x5b, 0x87, 0x6b, 0x51, 0x64, 0xfe, - 0x20, 0x14, 0x01, 0xf8, 0xb9, 0x04, 0x72, 0xbd, 0x83, 0x06, 0x54, 0x63, 0xc4, 0xc6, 0xcc, 0x37, - 0xb2, 0x76, 0x64, 0x7a, 0x81, 0xf4, 0x22, 0x43, 0x7a, 0x01, 0x6e, 0x46, 0x91, 0xb6, 0xfc, 0x3b, - 0x5d, 0xb0, 0xc1, 0xd9, 0xe9, 0x1e, 0xbc, 0x2f, 0x81, 0x94, 0x18, 0x29, 0x62, 0x4d, 0x1b, 0x9e, - 0x56, 0x62, 0x4d, 0xdb, 0x33, 0x99, 0x28, 0xeb, 0x0c, 0xd6, 0x12, 0x5c, 0x88, 0xc2, 0x12, 0x23, - 0x0a, 0x09, 0xa8, 0xee, 0x91, 0x04, 0x52, 0x62, 0xb8, 0x88, 0x05, 0x12, 0x9e, 0x64, 0x62, 0x81, - 0xf4, 0xcc, 0x28, 0xca, 0x06, 0x03, 0x72, 0x16, 0xae, 0x46, 0x81, 0x10, 0x4e, 0xda, 0xc5, 0xa1, - 0xdd, 0x39, 0xc0, 0x87, 0xf7, 0xe0, 0x6d, 0x90, 0xa4, 0x33, 0x08, 0x54, 0x62, 0x5d, 0xa6, 0x33, - 0xd8, 0xc8, 0x67, 0x06, 0xd2, 0x08, 0x0c, 0xab, 0x0c, 0xc3, 0x19, 0x78, 0xba, 0x9f, 0x37, 0x55, - 0x43, 0x9a, 0x78, 0x07, 0x8c, 0xf3, 0x36, 0x1c, 0x2e, 0xc4, 0x70, 0x0e, 0x75, 0xfb, 0xf2, 0xe2, - 0x10, 0x2a, 0x81, 0x60, 0x9e, 0x21, 0x90, 0x61, 0x3e, 0x8a, 0x80, 0xb7, 0xf8, 0xb0, 0x0d, 0x52, - 0xa2, 0xc3, 0x87, 0xf3, 0x51, 0x9e, 0xe1, 0xe6, 0x5f, 0x5e, 0x1e, 0xd6, 0x81, 0xf8, 0x72, 0x15, - 0x26, 0x77, 0x16, 0xca, 0x51, 0xb9, 0xd8, 0xab, 0x95, 0x75, 0x2a, 0xee, 0x5d, 0x90, 0x0d, 0x34, - 0xe1, 0x47, 0x90, 0xde, 0xe7, 0xcd, 0x7d, 0xba, 0x78, 0x65, 0x89, 0xc9, 0x9e, 0x87, 0x85, 0x3e, - 0xb2, 0x05, 0x39, 0x4d, 0x91, 0xf0, 0x2e, 0x48, 0x89, 0xee, 0x2c, 0xd6, 0xf7, 0xc2, 0x8d, 0x7c, - 0xac, 0xef, 0xf5, 0x34, 0x79, 0x83, 0x5e, 0xcf, 0x2b, 0xab, 0xd7, 0x86, 0x0f, 0x24, 0x00, 0xba, - 0x6d, 0x03, 0x5c, 0x19, 0xc4, 0x3a, 0xd8, 0x12, 0xca, 0xab, 0x47, 0xa0, 0x14, 0x38, 0x16, 0x19, - 0x8e, 0x22, 0x9c, 0x8b, 0xc3, 0xc1, 0x6a, 0x25, 0x7c, 0x5f, 0x02, 0x99, 0x4e, 0x21, 0x84, 0xcb, - 0x83, 0xf8, 0x07, 0xcd, 0xb1, 0x32, 0x9c, 0x50, 0xe0, 0x58, 0x60, 0x38, 0x0a, 0x70, 0x36, 0x0e, - 0x07, 0xf3, 0x87, 0xbb, 0x34, 0x29, 0xb1, 0x5a, 0x38, 0x20, 0x29, 0x05, 0x0b, 0xf0, 0x80, 0xa4, - 0x14, 0x2a, 0xc8, 0x83, 0xec, 0xe1, 0x17, 0x6a, 0x1a, 0x80, 0xa2, 0x7b, 0x59, 0x88, 0x0d, 0xed, - 0xc0, 0x0f, 0x8d, 0xb1, 0x01, 0x18, 0xfe, 0xe1, 0x71, 0x50, 0x00, 0xf2, 0xf6, 0x0a, 0x7e, 0x2a, - 0x81, 0x13, 0x91, 0x92, 0x0e, 0xe3, 0xea, 0x41, 0x5c, 0x77, 0x20, 0x9f, 0x3f, 0xfa, 0x05, 0x01, - 0x6d, 0x99, 0x41, 0x3b, 0x0d, 0x8b, 0x51, 0x68, 0xa1, 0x2e, 0x62, 0xfb, 0xe2, 0xd3, 0x17, 0x05, - 0xe9, 0xd9, 0x8b, 0x82, 0xf4, 0xfd, 0x8b, 0x82, 0xf4, 0xf8, 0x65, 0x61, 0xe4, 0xd9, 0xcb, 0xc2, - 0xc8, 0x37, 0x2f, 0x0b, 0x23, 0x6f, 0xcd, 0x47, 0x7b, 0x4d, 0xca, 0xa4, 0x4d, 0xd9, 0xb0, 0x4e, - 0xb3, 0x32, 0xce, 0x9a, 0xb5, 0xbf, 0xfd, 0x12, 0x00, 0x00, 0xff, 0xff, 0xb2, 0xe7, 0xce, 0x3f, - 0xa9, 0x16, 0x00, 0x00, + proto.RegisterType((*QueryConfigRequest)(nil), "cosmos.evm.vm.v2.QueryConfigRequest") + proto.RegisterType((*QueryConfigResponse)(nil), "cosmos.evm.vm.v2.QueryConfigResponse") + proto.RegisterType((*QueryAccountRequest)(nil), "cosmos.evm.vm.v2.QueryAccountRequest") + proto.RegisterType((*QueryAccountResponse)(nil), "cosmos.evm.vm.v2.QueryAccountResponse") + proto.RegisterType((*QueryCosmosAccountRequest)(nil), "cosmos.evm.vm.v2.QueryCosmosAccountRequest") + proto.RegisterType((*QueryCosmosAccountResponse)(nil), "cosmos.evm.vm.v2.QueryCosmosAccountResponse") + proto.RegisterType((*QueryValidatorAccountRequest)(nil), "cosmos.evm.vm.v2.QueryValidatorAccountRequest") + proto.RegisterType((*QueryValidatorAccountResponse)(nil), "cosmos.evm.vm.v2.QueryValidatorAccountResponse") + proto.RegisterType((*QueryBalanceRequest)(nil), "cosmos.evm.vm.v2.QueryBalanceRequest") + proto.RegisterType((*QueryBalanceResponse)(nil), "cosmos.evm.vm.v2.QueryBalanceResponse") + proto.RegisterType((*QueryStorageRequest)(nil), "cosmos.evm.vm.v2.QueryStorageRequest") + proto.RegisterType((*QueryStorageResponse)(nil), "cosmos.evm.vm.v2.QueryStorageResponse") + proto.RegisterType((*QueryCodeRequest)(nil), "cosmos.evm.vm.v2.QueryCodeRequest") + proto.RegisterType((*QueryCodeResponse)(nil), "cosmos.evm.vm.v2.QueryCodeResponse") + proto.RegisterType((*QueryTxLogsRequest)(nil), "cosmos.evm.vm.v2.QueryTxLogsRequest") + proto.RegisterType((*QueryTxLogsResponse)(nil), "cosmos.evm.vm.v2.QueryTxLogsResponse") + proto.RegisterType((*QueryParamsRequest)(nil), "cosmos.evm.vm.v2.QueryParamsRequest") + proto.RegisterType((*QueryParamsResponse)(nil), "cosmos.evm.vm.v2.QueryParamsResponse") + proto.RegisterType((*EthCallRequest)(nil), "cosmos.evm.vm.v2.EthCallRequest") + proto.RegisterType((*EstimateGasResponse)(nil), "cosmos.evm.vm.v2.EstimateGasResponse") + proto.RegisterType((*QueryTraceTxRequest)(nil), "cosmos.evm.vm.v2.QueryTraceTxRequest") + proto.RegisterType((*QueryTraceTxResponse)(nil), "cosmos.evm.vm.v2.QueryTraceTxResponse") + proto.RegisterType((*QueryTraceBlockRequest)(nil), "cosmos.evm.vm.v2.QueryTraceBlockRequest") + proto.RegisterType((*QueryTraceBlockResponse)(nil), "cosmos.evm.vm.v2.QueryTraceBlockResponse") + proto.RegisterType((*QueryTraceCallRequest)(nil), "cosmos.evm.vm.v2.QueryTraceCallRequest") + proto.RegisterType((*QueryTraceCallResponse)(nil), "cosmos.evm.vm.v2.QueryTraceCallResponse") + proto.RegisterType((*QueryBaseFeeRequest)(nil), "cosmos.evm.vm.v2.QueryBaseFeeRequest") + proto.RegisterType((*QueryBaseFeeResponse)(nil), "cosmos.evm.vm.v2.QueryBaseFeeResponse") + proto.RegisterType((*QueryGlobalMinGasPriceRequest)(nil), "cosmos.evm.vm.v2.QueryGlobalMinGasPriceRequest") + proto.RegisterType((*QueryGlobalMinGasPriceResponse)(nil), "cosmos.evm.vm.v2.QueryGlobalMinGasPriceResponse") +} + +func init() { proto.RegisterFile("cosmos/evm/vm/v2/query.proto", fileDescriptor_9389a935b4fcf22c) } + +var fileDescriptor_9389a935b4fcf22c = []byte{ + // 1719 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x58, 0xcd, 0x6f, 0x1b, 0xc7, + 0x15, 0xd7, 0x8a, 0x94, 0x48, 0x0e, 0x25, 0x9b, 0x1e, 0x4b, 0x35, 0xb5, 0x95, 0x48, 0x79, 0xad, + 0x6f, 0xcb, 0xbb, 0x16, 0xeb, 0x16, 0xa8, 0x7b, 0x68, 0x25, 0x41, 0x96, 0x5d, 0xdb, 0x85, 0xcb, + 0x0a, 0x3d, 0x14, 0x28, 0x88, 0xe1, 0x72, 0xbc, 0x5c, 0x88, 0xbb, 0x4b, 0xef, 0x2c, 0x59, 0xca, + 0x1f, 0x3d, 0x14, 0x8d, 0x63, 0xc3, 0x17, 0x07, 0xb9, 0x27, 0x3e, 0xe6, 0x96, 0xdc, 0xf2, 0x2f, + 0xf8, 0x68, 0x20, 0x08, 0x10, 0xe4, 0xe0, 0x04, 0x76, 0x80, 0xe4, 0x6f, 0xc8, 0x29, 0x98, 0x8f, + 0x25, 0x77, 0xb9, 0x5c, 0x52, 0x0e, 0x1c, 0x24, 0x87, 0x00, 0x82, 0xbd, 0x33, 0xf3, 0xe6, 0xbd, + 0xdf, 0xbc, 0xef, 0x47, 0x30, 0xaf, 0x3b, 0xc4, 0x72, 0x88, 0x86, 0xdb, 0x96, 0x46, 0xff, 0x4a, + 0xda, 0x9d, 0x16, 0x76, 0x8f, 0xd4, 0xa6, 0xeb, 0x78, 0x0e, 0xcc, 0xf1, 0x53, 0x15, 0xb7, 0x2d, + 0x95, 0xfe, 0x95, 0xe4, 0x53, 0xc8, 0x32, 0x6d, 0x47, 0x63, 0xff, 0x72, 0x22, 0x79, 0x43, 0xb0, + 0xa8, 0x22, 0x82, 0xf9, 0x6d, 0xad, 0xbd, 0x55, 0xc5, 0x1e, 0xda, 0xd2, 0x9a, 0xc8, 0x30, 0x6d, + 0xe4, 0x99, 0x8e, 0x2d, 0x68, 0xe5, 0x88, 0x38, 0xca, 0x9a, 0x9f, 0xcd, 0x45, 0xce, 0xbc, 0x8e, + 0x38, 0x9a, 0x31, 0x1c, 0xc3, 0x61, 0x9f, 0x1a, 0xfd, 0x12, 0xbb, 0xf3, 0x86, 0xe3, 0x18, 0x0d, + 0xac, 0xa1, 0xa6, 0xa9, 0x21, 0xdb, 0x76, 0x3c, 0x26, 0x89, 0x88, 0xd3, 0xa2, 0x38, 0x65, 0xab, + 0x6a, 0xeb, 0xb6, 0xe6, 0x99, 0x16, 0x26, 0x1e, 0xb2, 0x9a, 0x9c, 0x40, 0x99, 0x01, 0xf0, 0xef, + 0x14, 0xed, 0xae, 0x63, 0xdf, 0x36, 0x8d, 0x32, 0xbe, 0xd3, 0xc2, 0xc4, 0x53, 0x6e, 0x80, 0xd3, + 0xa1, 0x5d, 0xd2, 0x74, 0x6c, 0x82, 0xe1, 0xef, 0xc1, 0xa4, 0xce, 0x76, 0xf2, 0xd2, 0xa2, 0xb4, + 0x96, 0x2d, 0x2d, 0xa8, 0xfd, 0xaa, 0x51, 0x77, 0xeb, 0xc8, 0xb4, 0xc5, 0x35, 0x41, 0xac, 0xfc, + 0x51, 0x70, 0xdb, 0xd6, 0x75, 0xa7, 0x65, 0x7b, 0x42, 0x08, 0xcc, 0x83, 0x14, 0xaa, 0xd5, 0x5c, + 0x4c, 0x08, 0x63, 0x97, 0x29, 0xfb, 0xcb, 0xcb, 0xe9, 0x47, 0xcf, 0x8a, 0x63, 0xdf, 0x3d, 0x2b, + 0x8e, 0x29, 0x3a, 0x98, 0x09, 0x5f, 0x15, 0x48, 0xf2, 0x20, 0x55, 0x45, 0x0d, 0x64, 0xeb, 0xd8, + 0xbf, 0x2b, 0x96, 0xf0, 0xb7, 0x20, 0xa3, 0x3b, 0x35, 0x5c, 0xa9, 0x23, 0x52, 0xcf, 0x8f, 0xb3, + 0xb3, 0x34, 0xdd, 0xb8, 0x8a, 0x48, 0x1d, 0xce, 0x80, 0x09, 0xdb, 0xa1, 0x97, 0x12, 0x8b, 0xd2, + 0x5a, 0xb2, 0xcc, 0x17, 0xca, 0x9f, 0xc1, 0x9c, 0x78, 0x2d, 0x7d, 0xcc, 0x8f, 0x40, 0xf9, 0x50, + 0x02, 0xf2, 0x20, 0x0e, 0x02, 0xec, 0x32, 0x38, 0xc1, 0xf5, 0x54, 0x09, 0x73, 0x9a, 0xe6, 0xbb, + 0xdb, 0x7c, 0x13, 0xca, 0x20, 0x4d, 0xa8, 0x50, 0x8a, 0x6f, 0x9c, 0xe1, 0xeb, 0xae, 0x29, 0x0b, + 0xc4, 0xb9, 0x56, 0xec, 0x96, 0x55, 0xc5, 0xae, 0x78, 0xc1, 0xb4, 0xd8, 0xfd, 0x1b, 0xdb, 0x54, + 0xae, 0x83, 0x79, 0x86, 0xe3, 0x9f, 0xa8, 0x61, 0xd6, 0x90, 0xe7, 0xb8, 0x7d, 0x8f, 0x39, 0x0b, + 0xa6, 0x74, 0xc7, 0xee, 0xc7, 0x91, 0xa5, 0x7b, 0xdb, 0x91, 0x57, 0x3d, 0x91, 0xc0, 0x42, 0x0c, + 0x37, 0xf1, 0xb0, 0x55, 0x70, 0xd2, 0x47, 0x15, 0xe6, 0xe8, 0x83, 0x7d, 0x8b, 0x4f, 0xf3, 0x9d, + 0x68, 0x87, 0xdb, 0xf9, 0x4d, 0xcc, 0x73, 0x51, 0x38, 0x51, 0xf7, 0xea, 0x28, 0x27, 0x52, 0xae, + 0x0b, 0x61, 0xff, 0xf0, 0x1c, 0x17, 0x19, 0xa3, 0x85, 0xc1, 0x1c, 0x48, 0x1c, 0xe2, 0x23, 0xe1, + 0x6f, 0xf4, 0x33, 0x20, 0x7e, 0x53, 0x88, 0xef, 0x32, 0x13, 0xe2, 0x67, 0xc0, 0x44, 0x1b, 0x35, + 0x5a, 0xbe, 0x70, 0xbe, 0x50, 0xfe, 0x00, 0x72, 0xc2, 0x95, 0x6a, 0x6f, 0xf4, 0xc8, 0x55, 0x70, + 0x2a, 0x70, 0x4f, 0x88, 0x80, 0x20, 0x49, 0x7d, 0x9f, 0xdd, 0x9a, 0x2a, 0xb3, 0x6f, 0xe5, 0xae, + 0x88, 0xf8, 0x83, 0xce, 0x0d, 0xc7, 0x20, 0xbe, 0x08, 0x08, 0x92, 0x2c, 0x62, 0x38, 0x7f, 0xf6, + 0x0d, 0xaf, 0x00, 0xd0, 0xcb, 0x5d, 0xec, 0x6d, 0xd9, 0xd2, 0x8a, 0x1f, 0xf2, 0x34, 0xd1, 0xa9, + 0x3c, 0x4d, 0x8a, 0x44, 0xa7, 0xde, 0xea, 0xa9, 0xaa, 0x1c, 0xb8, 0x19, 0x00, 0xf9, 0x58, 0x12, + 0x8a, 0xf5, 0x85, 0x0b, 0x9c, 0xeb, 0x20, 0xd9, 0x70, 0x0c, 0xfa, 0xba, 0xc4, 0x5a, 0xb6, 0x34, + 0x1b, 0x4d, 0x2b, 0x37, 0x1c, 0xa3, 0xcc, 0x48, 0xe0, 0xfe, 0x00, 0x50, 0xab, 0x23, 0x41, 0x71, + 0x39, 0x41, 0x54, 0xdd, 0xcc, 0x77, 0x0b, 0xb9, 0xc8, 0xf2, 0xf5, 0xa0, 0x94, 0x05, 0x40, 0x7f, + 0x57, 0x00, 0xfc, 0x13, 0x98, 0x6c, 0xb2, 0x1d, 0x91, 0xf9, 0xf2, 0x51, 0x88, 0xfc, 0xc6, 0x4e, + 0xe6, 0xf9, 0xcb, 0xe2, 0xd8, 0x47, 0xdf, 0x7e, 0xb2, 0x21, 0x95, 0xc5, 0x15, 0xe5, 0x73, 0x09, + 0x9c, 0xd8, 0xf3, 0xea, 0xbb, 0xa8, 0xd1, 0x08, 0xa8, 0x1b, 0xb9, 0x06, 0xf1, 0x0d, 0x43, 0xbf, + 0xe1, 0x19, 0x90, 0x32, 0x10, 0xa9, 0xe8, 0xa8, 0x29, 0x62, 0x64, 0xd2, 0x40, 0x64, 0x17, 0x35, + 0xe1, 0xbf, 0x41, 0xae, 0xe9, 0x3a, 0x4d, 0x87, 0x60, 0xb7, 0x1b, 0x67, 0x34, 0x46, 0xa6, 0x76, + 0x4a, 0xdf, 0xbf, 0x2c, 0xaa, 0x86, 0xe9, 0xd5, 0x5b, 0x55, 0x55, 0x77, 0x2c, 0x4d, 0x14, 0x0f, + 0xfe, 0xdf, 0x05, 0x52, 0x3b, 0xd4, 0xbc, 0xa3, 0x26, 0x26, 0xea, 0x6e, 0x2f, 0xc0, 0xcb, 0x27, + 0x7d, 0x5e, 0x7e, 0x70, 0xce, 0x81, 0xb4, 0x4e, 0xb3, 0x76, 0xc5, 0xac, 0xe5, 0x93, 0x8b, 0xd2, + 0x5a, 0xa2, 0x9c, 0x62, 0xeb, 0x6b, 0x35, 0x38, 0x0f, 0x32, 0x4e, 0x1b, 0xbb, 0xae, 0x59, 0xc3, + 0x24, 0x3f, 0xc1, 0xb0, 0xf6, 0x36, 0x94, 0x03, 0x70, 0x7a, 0x8f, 0x78, 0xa6, 0x85, 0x3c, 0xbc, + 0x8f, 0x7a, 0xba, 0xca, 0x81, 0x84, 0x81, 0xf8, 0xd3, 0x92, 0x65, 0xfa, 0x49, 0x77, 0x5c, 0xec, + 0xb1, 0x57, 0x4d, 0x95, 0xe9, 0x27, 0x95, 0xd9, 0xb6, 0x2a, 0xd8, 0x75, 0x1d, 0x1e, 0xee, 0x99, + 0x72, 0xaa, 0x6d, 0xed, 0xd1, 0xa5, 0xf2, 0x38, 0xe9, 0xfb, 0x88, 0x8b, 0x74, 0x7c, 0xd0, 0xf1, + 0x55, 0xb6, 0x05, 0x12, 0x16, 0xf1, 0x2b, 0x4f, 0x31, 0xaa, 0xff, 0x9b, 0xc4, 0xd8, 0xf3, 0xea, + 0xd8, 0xc5, 0x2d, 0xeb, 0xa0, 0x53, 0xa6, 0xb4, 0xf0, 0x2f, 0x60, 0xca, 0xa3, 0x4c, 0x2a, 0xa2, + 0x6a, 0x25, 0xe2, 0xaa, 0x16, 0x13, 0x25, 0xaa, 0x56, 0xd6, 0xeb, 0x2d, 0xe0, 0x2e, 0x98, 0x6a, + 0xba, 0xb8, 0x86, 0x75, 0x4c, 0x88, 0xe3, 0x92, 0x7c, 0x92, 0x39, 0xe8, 0x48, 0xe9, 0xa1, 0x4b, + 0x34, 0xeb, 0x56, 0x1b, 0x8e, 0x7e, 0xe8, 0xe7, 0xb7, 0x09, 0xa6, 0xe4, 0x2c, 0xdb, 0xe3, 0xd9, + 0x0d, 0x2e, 0x00, 0xc0, 0x49, 0x58, 0x10, 0x4e, 0x32, 0x8d, 0x64, 0xd8, 0x0e, 0xab, 0x5b, 0x57, + 0xfd, 0x63, 0x5a, 0xbe, 0xf3, 0x29, 0xf6, 0x0c, 0x59, 0xe5, 0xb5, 0x5d, 0xf5, 0x6b, 0xbb, 0x7a, + 0xe0, 0xd7, 0xf6, 0x9d, 0x69, 0xea, 0x84, 0x4f, 0xbf, 0x2a, 0x4a, 0xdc, 0x11, 0x39, 0x27, 0x7a, + 0x3c, 0xd0, 0x97, 0xd2, 0x3f, 0x8d, 0x2f, 0x65, 0xc2, 0xbe, 0xa4, 0x80, 0x69, 0xfe, 0x06, 0x0b, + 0x75, 0x2a, 0xd4, 0x41, 0x40, 0x40, 0x0d, 0x37, 0x51, 0x67, 0x1f, 0x91, 0xbf, 0x26, 0xd3, 0xe3, + 0xb9, 0x44, 0x39, 0xed, 0x75, 0x2a, 0xa6, 0x5d, 0xc3, 0x1d, 0x65, 0x43, 0xa4, 0xce, 0xae, 0x2b, + 0xf4, 0xf2, 0x5a, 0x0d, 0x79, 0xc8, 0x0f, 0x1f, 0xfa, 0xad, 0x7c, 0x9a, 0x00, 0xbf, 0xe9, 0x11, + 0xef, 0x50, 0xae, 0x01, 0xd7, 0xf1, 0x3a, 0x7e, 0x76, 0x19, 0xed, 0x3a, 0x5e, 0x87, 0xbc, 0x05, + 0xd7, 0xf9, 0xd5, 0xea, 0xc7, 0xb4, 0xba, 0x72, 0x01, 0x9c, 0x89, 0x18, 0x6e, 0x88, 0xa1, 0xdf, + 0x4d, 0x80, 0xd9, 0x1e, 0xfd, 0x2f, 0x35, 0xab, 0xf6, 0x3b, 0x50, 0xf2, 0x67, 0x70, 0xa0, 0xdd, + 0x37, 0x74, 0xa0, 0xb4, 0xef, 0x40, 0x41, 0xdf, 0x09, 0x1a, 0x37, 0x1d, 0x32, 0xae, 0xb2, 0x19, + 0x8c, 0x38, 0x6e, 0x88, 0x21, 0x76, 0x9b, 0xed, 0x76, 0x70, 0x04, 0x5f, 0xc1, 0xb8, 0x37, 0x6b, + 0xcc, 0x84, 0xb7, 0x05, 0x8b, 0x4b, 0x20, 0x4d, 0xcb, 0x79, 0xe5, 0x36, 0x16, 0x1d, 0xd2, 0xce, + 0xdc, 0x97, 0x2f, 0x8b, 0xb3, 0x5c, 0x7f, 0xa4, 0x76, 0xa8, 0x9a, 0x8e, 0x66, 0x21, 0xaf, 0xae, + 0x5e, 0xb3, 0x3d, 0xda, 0xb9, 0xb1, 0xdb, 0x4a, 0x51, 0xf4, 0xac, 0xfb, 0x0d, 0xa7, 0x8a, 0x1a, + 0x37, 0x4d, 0x7b, 0x1f, 0x91, 0x5b, 0xae, 0xd9, 0x6d, 0x18, 0x15, 0x1d, 0x14, 0xe2, 0x08, 0x84, + 0xe0, 0x6d, 0x30, 0x6d, 0x99, 0x36, 0x75, 0xd6, 0x4a, 0x93, 0x1e, 0x08, 0xe9, 0x0b, 0x54, 0x39, + 0xf1, 0x08, 0xb2, 0x56, 0x8f, 0x55, 0xe9, 0xbd, 0x1c, 0x98, 0x60, 0x52, 0xe0, 0x3b, 0x12, 0x48, + 0x89, 0xb6, 0x19, 0x2e, 0x47, 0x8d, 0x3f, 0x60, 0x2e, 0x92, 0x57, 0x46, 0x91, 0x71, 0x9c, 0xca, + 0xf9, 0xff, 0x7d, 0xf6, 0xcd, 0xfb, 0xe3, 0xcb, 0xf0, 0x9c, 0xd6, 0x37, 0x33, 0x6e, 0x69, 0xa2, + 0x75, 0xd6, 0xee, 0x09, 0xc7, 0x7e, 0x00, 0x3f, 0x90, 0xc0, 0x74, 0x68, 0x3a, 0x81, 0xe7, 0x63, + 0xc4, 0x0c, 0x9a, 0x82, 0xe4, 0xcd, 0xe3, 0x11, 0x0b, 0x64, 0x25, 0x86, 0x6c, 0x13, 0x6e, 0x44, + 0x91, 0xf9, 0x83, 0x50, 0x04, 0xe0, 0xc7, 0x12, 0xc8, 0xf5, 0x0f, 0x1a, 0x50, 0x8d, 0x11, 0x1b, + 0x33, 0xdf, 0xc8, 0xda, 0xb1, 0xe9, 0x05, 0xd2, 0xcb, 0x0c, 0xe9, 0x25, 0x58, 0x8a, 0x22, 0x6d, + 0xfb, 0x77, 0x7a, 0x60, 0x83, 0xb3, 0xd3, 0x03, 0xf8, 0x50, 0x02, 0x29, 0x31, 0x52, 0xc4, 0x9a, + 0x36, 0x3c, 0xad, 0xc4, 0x9a, 0xb6, 0x6f, 0x32, 0x51, 0x36, 0x19, 0xac, 0x15, 0xb8, 0x14, 0x85, + 0x25, 0x46, 0x14, 0x12, 0x50, 0xdd, 0x13, 0x09, 0xa4, 0xc4, 0x70, 0x11, 0x0b, 0x24, 0x3c, 0xc9, + 0xc4, 0x02, 0xe9, 0x9b, 0x51, 0x94, 0x2d, 0x06, 0xe4, 0x3c, 0x5c, 0x8f, 0x02, 0x21, 0x9c, 0xb4, + 0x87, 0x43, 0xbb, 0x77, 0x88, 0x8f, 0x1e, 0xc0, 0xbb, 0x20, 0x49, 0x67, 0x10, 0xa8, 0xc4, 0xba, + 0x4c, 0x77, 0xb0, 0x91, 0xcf, 0x0d, 0xa5, 0x11, 0x18, 0xd6, 0x19, 0x86, 0x73, 0xf0, 0xec, 0x20, + 0x6f, 0xaa, 0x85, 0x34, 0xf1, 0x1f, 0x30, 0xc9, 0xdb, 0x70, 0xb8, 0x14, 0xc3, 0x39, 0xd4, 0xed, + 0xcb, 0xcb, 0x23, 0xa8, 0x04, 0x82, 0x45, 0x86, 0x40, 0x86, 0xf9, 0x28, 0x02, 0xde, 0xe2, 0xc3, + 0x0e, 0x48, 0x89, 0x0e, 0x1f, 0x2e, 0x46, 0x79, 0x86, 0x9b, 0x7f, 0x79, 0x75, 0x54, 0x07, 0xe2, + 0xcb, 0x55, 0x98, 0xdc, 0x79, 0x28, 0x47, 0xe5, 0x62, 0xaf, 0x5e, 0xd1, 0xa9, 0xb8, 0xff, 0x82, + 0x6c, 0xa0, 0x09, 0x3f, 0x86, 0xf4, 0x01, 0x6f, 0x1e, 0xd0, 0xc5, 0x2b, 0x2b, 0x4c, 0xf6, 0x22, + 0x2c, 0x0c, 0x90, 0x2d, 0xc8, 0x69, 0x8a, 0x84, 0xf7, 0x41, 0x4a, 0x74, 0x67, 0xb1, 0xbe, 0x17, + 0x6e, 0xe4, 0x63, 0x7d, 0xaf, 0xaf, 0xc9, 0x1b, 0xf6, 0x7a, 0x5e, 0x59, 0xbd, 0x0e, 0x7c, 0x24, + 0x01, 0xd0, 0x6b, 0x1b, 0xe0, 0xda, 0x30, 0xd6, 0xc1, 0x96, 0x50, 0x5e, 0x3f, 0x06, 0xa5, 0xc0, + 0xb1, 0xcc, 0x70, 0x14, 0xe1, 0x42, 0x1c, 0x0e, 0x56, 0x2b, 0xe1, 0xff, 0x25, 0x90, 0xe9, 0x16, + 0x42, 0xb8, 0x3a, 0x8c, 0x7f, 0xd0, 0x1c, 0x6b, 0xa3, 0x09, 0x05, 0x8e, 0x25, 0x86, 0xa3, 0x00, + 0xe7, 0xe3, 0x70, 0x30, 0x7f, 0xb8, 0x4f, 0x93, 0x12, 0xab, 0x85, 0x43, 0x92, 0x52, 0xb0, 0x00, + 0x0f, 0x49, 0x4a, 0xa1, 0x82, 0x3c, 0xcc, 0x1e, 0x7e, 0xa1, 0xa6, 0x01, 0x28, 0xba, 0x97, 0xa5, + 0xd8, 0xd0, 0x0e, 0xfc, 0xd0, 0x18, 0x1b, 0x80, 0xe1, 0x1f, 0x1e, 0x87, 0x05, 0x20, 0x6f, 0xaf, + 0xe0, 0x87, 0x12, 0x38, 0x15, 0x29, 0xe9, 0x30, 0xae, 0x1e, 0xc4, 0x75, 0x07, 0xf2, 0xc5, 0xe3, + 0x5f, 0x10, 0xd0, 0x56, 0x19, 0xb4, 0xb3, 0xb0, 0x18, 0x85, 0x16, 0xea, 0x22, 0x76, 0x2e, 0x3f, + 0x7f, 0x55, 0x90, 0x5e, 0xbc, 0x2a, 0x48, 0x5f, 0xbf, 0x2a, 0x48, 0x4f, 0x5f, 0x17, 0xc6, 0x5e, + 0xbc, 0x2e, 0x8c, 0x7d, 0xf1, 0xba, 0x30, 0xf6, 0xaf, 0xc5, 0x68, 0xaf, 0x49, 0x99, 0x74, 0x28, + 0x1b, 0xd6, 0x69, 0x56, 0x27, 0x59, 0xb3, 0xf6, 0xbb, 0x1f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xa6, + 0x56, 0x26, 0x26, 0xa9, 0x16, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1856,7 +1856,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient { func (c *queryClient) Account(ctx context.Context, in *QueryAccountRequest, opts ...grpc.CallOption) (*QueryAccountResponse, error) { out := new(QueryAccountResponse) - err := c.cc.Invoke(ctx, "/cosmos.evm.vm.v1.Query/Account", in, out, opts...) + err := c.cc.Invoke(ctx, "/cosmos.evm.vm.v2.Query/Account", in, out, opts...) if err != nil { return nil, err } @@ -1865,7 +1865,7 @@ func (c *queryClient) Account(ctx context.Context, in *QueryAccountRequest, opts func (c *queryClient) CosmosAccount(ctx context.Context, in *QueryCosmosAccountRequest, opts ...grpc.CallOption) (*QueryCosmosAccountResponse, error) { out := new(QueryCosmosAccountResponse) - err := c.cc.Invoke(ctx, "/cosmos.evm.vm.v1.Query/CosmosAccount", in, out, opts...) + err := c.cc.Invoke(ctx, "/cosmos.evm.vm.v2.Query/CosmosAccount", in, out, opts...) if err != nil { return nil, err } @@ -1874,7 +1874,7 @@ func (c *queryClient) CosmosAccount(ctx context.Context, in *QueryCosmosAccountR func (c *queryClient) ValidatorAccount(ctx context.Context, in *QueryValidatorAccountRequest, opts ...grpc.CallOption) (*QueryValidatorAccountResponse, error) { out := new(QueryValidatorAccountResponse) - err := c.cc.Invoke(ctx, "/cosmos.evm.vm.v1.Query/ValidatorAccount", in, out, opts...) + err := c.cc.Invoke(ctx, "/cosmos.evm.vm.v2.Query/ValidatorAccount", in, out, opts...) if err != nil { return nil, err } @@ -1883,7 +1883,7 @@ func (c *queryClient) ValidatorAccount(ctx context.Context, in *QueryValidatorAc func (c *queryClient) Balance(ctx context.Context, in *QueryBalanceRequest, opts ...grpc.CallOption) (*QueryBalanceResponse, error) { out := new(QueryBalanceResponse) - err := c.cc.Invoke(ctx, "/cosmos.evm.vm.v1.Query/Balance", in, out, opts...) + err := c.cc.Invoke(ctx, "/cosmos.evm.vm.v2.Query/Balance", in, out, opts...) if err != nil { return nil, err } @@ -1892,7 +1892,7 @@ func (c *queryClient) Balance(ctx context.Context, in *QueryBalanceRequest, opts func (c *queryClient) Storage(ctx context.Context, in *QueryStorageRequest, opts ...grpc.CallOption) (*QueryStorageResponse, error) { out := new(QueryStorageResponse) - err := c.cc.Invoke(ctx, "/cosmos.evm.vm.v1.Query/Storage", in, out, opts...) + err := c.cc.Invoke(ctx, "/cosmos.evm.vm.v2.Query/Storage", in, out, opts...) if err != nil { return nil, err } @@ -1901,7 +1901,7 @@ func (c *queryClient) Storage(ctx context.Context, in *QueryStorageRequest, opts func (c *queryClient) Code(ctx context.Context, in *QueryCodeRequest, opts ...grpc.CallOption) (*QueryCodeResponse, error) { out := new(QueryCodeResponse) - err := c.cc.Invoke(ctx, "/cosmos.evm.vm.v1.Query/Code", in, out, opts...) + err := c.cc.Invoke(ctx, "/cosmos.evm.vm.v2.Query/Code", in, out, opts...) if err != nil { return nil, err } @@ -1910,7 +1910,7 @@ func (c *queryClient) Code(ctx context.Context, in *QueryCodeRequest, opts ...gr func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) { out := new(QueryParamsResponse) - err := c.cc.Invoke(ctx, "/cosmos.evm.vm.v1.Query/Params", in, out, opts...) + err := c.cc.Invoke(ctx, "/cosmos.evm.vm.v2.Query/Params", in, out, opts...) if err != nil { return nil, err } @@ -1919,7 +1919,7 @@ func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts . func (c *queryClient) EthCall(ctx context.Context, in *EthCallRequest, opts ...grpc.CallOption) (*MsgEthereumTxResponse, error) { out := new(MsgEthereumTxResponse) - err := c.cc.Invoke(ctx, "/cosmos.evm.vm.v1.Query/EthCall", in, out, opts...) + err := c.cc.Invoke(ctx, "/cosmos.evm.vm.v2.Query/EthCall", in, out, opts...) if err != nil { return nil, err } @@ -1928,7 +1928,7 @@ func (c *queryClient) EthCall(ctx context.Context, in *EthCallRequest, opts ...g func (c *queryClient) EstimateGas(ctx context.Context, in *EthCallRequest, opts ...grpc.CallOption) (*EstimateGasResponse, error) { out := new(EstimateGasResponse) - err := c.cc.Invoke(ctx, "/cosmos.evm.vm.v1.Query/EstimateGas", in, out, opts...) + err := c.cc.Invoke(ctx, "/cosmos.evm.vm.v2.Query/EstimateGas", in, out, opts...) if err != nil { return nil, err } @@ -1937,7 +1937,7 @@ func (c *queryClient) EstimateGas(ctx context.Context, in *EthCallRequest, opts func (c *queryClient) TraceTx(ctx context.Context, in *QueryTraceTxRequest, opts ...grpc.CallOption) (*QueryTraceTxResponse, error) { out := new(QueryTraceTxResponse) - err := c.cc.Invoke(ctx, "/cosmos.evm.vm.v1.Query/TraceTx", in, out, opts...) + err := c.cc.Invoke(ctx, "/cosmos.evm.vm.v2.Query/TraceTx", in, out, opts...) if err != nil { return nil, err } @@ -1946,7 +1946,7 @@ func (c *queryClient) TraceTx(ctx context.Context, in *QueryTraceTxRequest, opts func (c *queryClient) TraceBlock(ctx context.Context, in *QueryTraceBlockRequest, opts ...grpc.CallOption) (*QueryTraceBlockResponse, error) { out := new(QueryTraceBlockResponse) - err := c.cc.Invoke(ctx, "/cosmos.evm.vm.v1.Query/TraceBlock", in, out, opts...) + err := c.cc.Invoke(ctx, "/cosmos.evm.vm.v2.Query/TraceBlock", in, out, opts...) if err != nil { return nil, err } @@ -1955,7 +1955,7 @@ func (c *queryClient) TraceBlock(ctx context.Context, in *QueryTraceBlockRequest func (c *queryClient) TraceCall(ctx context.Context, in *QueryTraceCallRequest, opts ...grpc.CallOption) (*QueryTraceCallResponse, error) { out := new(QueryTraceCallResponse) - err := c.cc.Invoke(ctx, "/cosmos.evm.vm.v1.Query/TraceCall", in, out, opts...) + err := c.cc.Invoke(ctx, "/cosmos.evm.vm.v2.Query/TraceCall", in, out, opts...) if err != nil { return nil, err } @@ -1964,7 +1964,7 @@ func (c *queryClient) TraceCall(ctx context.Context, in *QueryTraceCallRequest, func (c *queryClient) BaseFee(ctx context.Context, in *QueryBaseFeeRequest, opts ...grpc.CallOption) (*QueryBaseFeeResponse, error) { out := new(QueryBaseFeeResponse) - err := c.cc.Invoke(ctx, "/cosmos.evm.vm.v1.Query/BaseFee", in, out, opts...) + err := c.cc.Invoke(ctx, "/cosmos.evm.vm.v2.Query/BaseFee", in, out, opts...) if err != nil { return nil, err } @@ -1973,7 +1973,7 @@ func (c *queryClient) BaseFee(ctx context.Context, in *QueryBaseFeeRequest, opts func (c *queryClient) Config(ctx context.Context, in *QueryConfigRequest, opts ...grpc.CallOption) (*QueryConfigResponse, error) { out := new(QueryConfigResponse) - err := c.cc.Invoke(ctx, "/cosmos.evm.vm.v1.Query/Config", in, out, opts...) + err := c.cc.Invoke(ctx, "/cosmos.evm.vm.v2.Query/Config", in, out, opts...) if err != nil { return nil, err } @@ -1982,7 +1982,7 @@ func (c *queryClient) Config(ctx context.Context, in *QueryConfigRequest, opts . func (c *queryClient) GlobalMinGasPrice(ctx context.Context, in *QueryGlobalMinGasPriceRequest, opts ...grpc.CallOption) (*QueryGlobalMinGasPriceResponse, error) { out := new(QueryGlobalMinGasPriceResponse) - err := c.cc.Invoke(ctx, "/cosmos.evm.vm.v1.Query/GlobalMinGasPrice", in, out, opts...) + err := c.cc.Invoke(ctx, "/cosmos.evm.vm.v2.Query/GlobalMinGasPrice", in, out, opts...) if err != nil { return nil, err } @@ -2095,7 +2095,7 @@ func _Query_Account_Handler(srv interface{}, ctx context.Context, dec func(inter } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/cosmos.evm.vm.v1.Query/Account", + FullMethod: "/cosmos.evm.vm.v2.Query/Account", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).Account(ctx, req.(*QueryAccountRequest)) @@ -2113,7 +2113,7 @@ func _Query_CosmosAccount_Handler(srv interface{}, ctx context.Context, dec func } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/cosmos.evm.vm.v1.Query/CosmosAccount", + FullMethod: "/cosmos.evm.vm.v2.Query/CosmosAccount", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).CosmosAccount(ctx, req.(*QueryCosmosAccountRequest)) @@ -2131,7 +2131,7 @@ func _Query_ValidatorAccount_Handler(srv interface{}, ctx context.Context, dec f } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/cosmos.evm.vm.v1.Query/ValidatorAccount", + FullMethod: "/cosmos.evm.vm.v2.Query/ValidatorAccount", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).ValidatorAccount(ctx, req.(*QueryValidatorAccountRequest)) @@ -2149,7 +2149,7 @@ func _Query_Balance_Handler(srv interface{}, ctx context.Context, dec func(inter } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/cosmos.evm.vm.v1.Query/Balance", + FullMethod: "/cosmos.evm.vm.v2.Query/Balance", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).Balance(ctx, req.(*QueryBalanceRequest)) @@ -2167,7 +2167,7 @@ func _Query_Storage_Handler(srv interface{}, ctx context.Context, dec func(inter } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/cosmos.evm.vm.v1.Query/Storage", + FullMethod: "/cosmos.evm.vm.v2.Query/Storage", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).Storage(ctx, req.(*QueryStorageRequest)) @@ -2185,7 +2185,7 @@ func _Query_Code_Handler(srv interface{}, ctx context.Context, dec func(interfac } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/cosmos.evm.vm.v1.Query/Code", + FullMethod: "/cosmos.evm.vm.v2.Query/Code", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).Code(ctx, req.(*QueryCodeRequest)) @@ -2203,7 +2203,7 @@ func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interf } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/cosmos.evm.vm.v1.Query/Params", + FullMethod: "/cosmos.evm.vm.v2.Query/Params", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest)) @@ -2221,7 +2221,7 @@ func _Query_EthCall_Handler(srv interface{}, ctx context.Context, dec func(inter } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/cosmos.evm.vm.v1.Query/EthCall", + FullMethod: "/cosmos.evm.vm.v2.Query/EthCall", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).EthCall(ctx, req.(*EthCallRequest)) @@ -2239,7 +2239,7 @@ func _Query_EstimateGas_Handler(srv interface{}, ctx context.Context, dec func(i } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/cosmos.evm.vm.v1.Query/EstimateGas", + FullMethod: "/cosmos.evm.vm.v2.Query/EstimateGas", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).EstimateGas(ctx, req.(*EthCallRequest)) @@ -2257,7 +2257,7 @@ func _Query_TraceTx_Handler(srv interface{}, ctx context.Context, dec func(inter } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/cosmos.evm.vm.v1.Query/TraceTx", + FullMethod: "/cosmos.evm.vm.v2.Query/TraceTx", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).TraceTx(ctx, req.(*QueryTraceTxRequest)) @@ -2275,7 +2275,7 @@ func _Query_TraceBlock_Handler(srv interface{}, ctx context.Context, dec func(in } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/cosmos.evm.vm.v1.Query/TraceBlock", + FullMethod: "/cosmos.evm.vm.v2.Query/TraceBlock", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).TraceBlock(ctx, req.(*QueryTraceBlockRequest)) @@ -2293,7 +2293,7 @@ func _Query_TraceCall_Handler(srv interface{}, ctx context.Context, dec func(int } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/cosmos.evm.vm.v1.Query/TraceCall", + FullMethod: "/cosmos.evm.vm.v2.Query/TraceCall", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).TraceCall(ctx, req.(*QueryTraceCallRequest)) @@ -2311,7 +2311,7 @@ func _Query_BaseFee_Handler(srv interface{}, ctx context.Context, dec func(inter } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/cosmos.evm.vm.v1.Query/BaseFee", + FullMethod: "/cosmos.evm.vm.v2.Query/BaseFee", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).BaseFee(ctx, req.(*QueryBaseFeeRequest)) @@ -2329,7 +2329,7 @@ func _Query_Config_Handler(srv interface{}, ctx context.Context, dec func(interf } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/cosmos.evm.vm.v1.Query/Config", + FullMethod: "/cosmos.evm.vm.v2.Query/Config", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).Config(ctx, req.(*QueryConfigRequest)) @@ -2347,7 +2347,7 @@ func _Query_GlobalMinGasPrice_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/cosmos.evm.vm.v1.Query/GlobalMinGasPrice", + FullMethod: "/cosmos.evm.vm.v2.Query/GlobalMinGasPrice", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).GlobalMinGasPrice(ctx, req.(*QueryGlobalMinGasPriceRequest)) @@ -2356,7 +2356,7 @@ func _Query_GlobalMinGasPrice_Handler(srv interface{}, ctx context.Context, dec } var _Query_serviceDesc = grpc.ServiceDesc{ - ServiceName: "cosmos.evm.vm.v1.Query", + ServiceName: "cosmos.evm.vm.v2.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { @@ -2421,7 +2421,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "cosmos/evm/vm/v1/query.proto", + Metadata: "cosmos/evm/vm/v2/query.proto", } func (m *QueryConfigRequest) Marshal() (dAtA []byte, err error) { diff --git a/x/vm/types/query.pb.gw.go b/x/vm/types/query.pb.gw.go index 4265f3fbc..f8f19a9ed 100644 --- a/x/vm/types/query.pb.gw.go +++ b/x/vm/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: cosmos/evm/vm/v1/query.proto +// source: cosmos/evm/vm/v2/query.proto /* Package types is a reverse proxy. diff --git a/x/vm/types/tx.pb.go b/x/vm/types/tx.pb.go index 096775978..eb0d8c1ef 100644 --- a/x/vm/types/tx.pb.go +++ b/x/vm/types/tx.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: cosmos/evm/vm/v1/tx.proto +// source: cosmos/evm/vm/v2/tx.proto package types @@ -46,7 +46,7 @@ func (m *MsgEthereumTx) Reset() { *m = MsgEthereumTx{} } func (m *MsgEthereumTx) String() string { return proto.CompactTextString(m) } func (*MsgEthereumTx) ProtoMessage() {} func (*MsgEthereumTx) Descriptor() ([]byte, []int) { - return fileDescriptor_77a8ac5e8c9c4850, []int{0} + return fileDescriptor_7b050a9cdff153f5, []int{0} } func (m *MsgEthereumTx) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -83,7 +83,7 @@ func (m *ExtensionOptionsEthereumTx) Reset() { *m = ExtensionOptionsEthe func (m *ExtensionOptionsEthereumTx) String() string { return proto.CompactTextString(m) } func (*ExtensionOptionsEthereumTx) ProtoMessage() {} func (*ExtensionOptionsEthereumTx) Descriptor() ([]byte, []int) { - return fileDescriptor_77a8ac5e8c9c4850, []int{1} + return fileDescriptor_7b050a9cdff153f5, []int{1} } func (m *ExtensionOptionsEthereumTx) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -140,7 +140,7 @@ func (m *MsgEthereumTxResponse) Reset() { *m = MsgEthereumTxResponse{} } func (m *MsgEthereumTxResponse) String() string { return proto.CompactTextString(m) } func (*MsgEthereumTxResponse) ProtoMessage() {} func (*MsgEthereumTxResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_77a8ac5e8c9c4850, []int{2} + return fileDescriptor_7b050a9cdff153f5, []int{2} } func (m *MsgEthereumTxResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -182,7 +182,7 @@ func (m *MsgUpdateParams) Reset() { *m = MsgUpdateParams{} } func (m *MsgUpdateParams) String() string { return proto.CompactTextString(m) } func (*MsgUpdateParams) ProtoMessage() {} func (*MsgUpdateParams) Descriptor() ([]byte, []int) { - return fileDescriptor_77a8ac5e8c9c4850, []int{3} + return fileDescriptor_7b050a9cdff153f5, []int{3} } func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -234,7 +234,7 @@ func (m *MsgUpdateParamsResponse) Reset() { *m = MsgUpdateParamsResponse func (m *MsgUpdateParamsResponse) String() string { return proto.CompactTextString(m) } func (*MsgUpdateParamsResponse) ProtoMessage() {} func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_77a8ac5e8c9c4850, []int{4} + return fileDescriptor_7b050a9cdff153f5, []int{4} } func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -275,7 +275,7 @@ func (m *MsgRegisterPreinstalls) Reset() { *m = MsgRegisterPreinstalls{} func (m *MsgRegisterPreinstalls) String() string { return proto.CompactTextString(m) } func (*MsgRegisterPreinstalls) ProtoMessage() {} func (*MsgRegisterPreinstalls) Descriptor() ([]byte, []int) { - return fileDescriptor_77a8ac5e8c9c4850, []int{5} + return fileDescriptor_7b050a9cdff153f5, []int{5} } func (m *MsgRegisterPreinstalls) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -327,7 +327,7 @@ func (m *MsgRegisterPreinstallsResponse) Reset() { *m = MsgRegisterPrein func (m *MsgRegisterPreinstallsResponse) String() string { return proto.CompactTextString(m) } func (*MsgRegisterPreinstallsResponse) ProtoMessage() {} func (*MsgRegisterPreinstallsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_77a8ac5e8c9c4850, []int{6} + return fileDescriptor_7b050a9cdff153f5, []int{6} } func (m *MsgRegisterPreinstallsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -357,65 +357,66 @@ func (m *MsgRegisterPreinstallsResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgRegisterPreinstallsResponse proto.InternalMessageInfo func init() { - proto.RegisterType((*MsgEthereumTx)(nil), "cosmos.evm.vm.v1.MsgEthereumTx") - proto.RegisterType((*ExtensionOptionsEthereumTx)(nil), "cosmos.evm.vm.v1.ExtensionOptionsEthereumTx") - proto.RegisterType((*MsgEthereumTxResponse)(nil), "cosmos.evm.vm.v1.MsgEthereumTxResponse") - proto.RegisterType((*MsgUpdateParams)(nil), "cosmos.evm.vm.v1.MsgUpdateParams") - proto.RegisterType((*MsgUpdateParamsResponse)(nil), "cosmos.evm.vm.v1.MsgUpdateParamsResponse") - proto.RegisterType((*MsgRegisterPreinstalls)(nil), "cosmos.evm.vm.v1.MsgRegisterPreinstalls") - proto.RegisterType((*MsgRegisterPreinstallsResponse)(nil), "cosmos.evm.vm.v1.MsgRegisterPreinstallsResponse") -} - -func init() { proto.RegisterFile("cosmos/evm/vm/v1/tx.proto", fileDescriptor_77a8ac5e8c9c4850) } - -var fileDescriptor_77a8ac5e8c9c4850 = []byte{ - // 736 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x4d, 0x6b, 0x13, 0x41, - 0x18, 0xce, 0x26, 0xdb, 0x36, 0x99, 0x56, 0x1b, 0xd7, 0xd6, 0x6e, 0x97, 0x36, 0x49, 0x17, 0xb5, - 0x69, 0xc1, 0xac, 0x8d, 0x20, 0x18, 0x4f, 0x06, 0x8a, 0x1a, 0x0c, 0x96, 0xb5, 0xbd, 0x88, 0x10, - 0xa6, 0xcd, 0x38, 0x59, 0xcc, 0xec, 0xac, 0x3b, 0x93, 0x98, 0x1e, 0x04, 0x29, 0x1e, 0xc4, 0x83, - 0x08, 0xfe, 0x01, 0x8f, 0x1e, 0x7b, 0xf0, 0xe4, 0x2f, 0xe8, 0xb1, 0x28, 0x88, 0x88, 0x14, 0x69, - 0x85, 0xfe, 0x0d, 0x99, 0xd9, 0x4d, 0x93, 0x34, 0x0b, 0x15, 0x61, 0x59, 0x66, 0xdf, 0xe7, 0x79, - 0x9f, 0xf7, 0x73, 0x16, 0xcc, 0x6e, 0x51, 0x46, 0x28, 0xb3, 0x50, 0x9b, 0x58, 0xe2, 0x59, 0xb1, - 0x78, 0xa7, 0xe0, 0xf9, 0x94, 0x53, 0x2d, 0x1d, 0x40, 0x05, 0xd4, 0x26, 0x05, 0xf1, 0xac, 0x18, - 0x17, 0x20, 0x71, 0x5c, 0x6a, 0xc9, 0x77, 0x40, 0x32, 0x8c, 0x21, 0x7f, 0x41, 0x0f, 0xb0, 0x99, - 0x10, 0x23, 0x0c, 0x0b, 0x80, 0x30, 0x1c, 0x02, 0x61, 0xd0, 0x9a, 0xfc, 0xb2, 0xc2, 0x30, 0x01, - 0x34, 0x85, 0x29, 0xa6, 0x81, 0x5d, 0x9c, 0x42, 0xeb, 0x1c, 0xa6, 0x14, 0x37, 0x91, 0x05, 0x3d, - 0xc7, 0x82, 0xae, 0x4b, 0x39, 0xe4, 0x0e, 0x75, 0x43, 0x1f, 0xf3, 0xb5, 0x02, 0xce, 0x55, 0x19, - 0x5e, 0xe5, 0x0d, 0xe4, 0xa3, 0x16, 0x59, 0xef, 0x68, 0x1a, 0x50, 0x9f, 0xfa, 0x94, 0xe8, 0x23, - 0x39, 0x25, 0x3f, 0x61, 0xcb, 0xb3, 0x76, 0x19, 0x24, 0x7c, 0xf8, 0x42, 0x1f, 0x15, 0xa6, 0xb2, - 0xb6, 0x77, 0x90, 0x8d, 0xfd, 0x3c, 0xc8, 0x82, 0x9e, 0x93, 0x2d, 0xe0, 0xd2, 0xc2, 0x9b, 0x8f, - 0xd9, 0xd8, 0xdb, 0xe3, 0xdd, 0x65, 0xbd, 0xaf, 0xb0, 0x01, 0xf1, 0x8a, 0x9a, 0x54, 0xd2, 0xf1, - 0x8a, 0x9a, 0x8c, 0xa7, 0x13, 0x15, 0x35, 0x99, 0x48, 0xab, 0x15, 0x35, 0xa9, 0xa6, 0x47, 0x4c, - 0x13, 0x18, 0xab, 0x1d, 0x8e, 0x5c, 0xe6, 0x50, 0xf7, 0xa1, 0x27, 0x13, 0xec, 0x79, 0x95, 0x54, - 0x21, 0x6c, 0xbe, 0x8b, 0x83, 0xe9, 0x01, 0x35, 0x1b, 0x31, 0x8f, 0xba, 0x0c, 0x89, 0x94, 0x1b, - 0x90, 0x35, 0x74, 0x25, 0xa7, 0xe4, 0x53, 0xb6, 0x3c, 0x6b, 0x4b, 0x40, 0x6d, 0x52, 0xcc, 0xf4, - 0x78, 0x2e, 0x91, 0x1f, 0x2f, 0x4e, 0x17, 0x4e, 0x0f, 0xa4, 0xf0, 0x80, 0x62, 0x5b, 0x52, 0xb4, - 0x34, 0x48, 0xf8, 0x88, 0xeb, 0x09, 0x59, 0xb0, 0x38, 0x6a, 0xb3, 0x20, 0xd9, 0x26, 0x35, 0xe4, - 0xfb, 0xd4, 0xd7, 0x55, 0x29, 0x3a, 0xd6, 0x26, 0xab, 0xe2, 0x53, 0x40, 0x18, 0xb2, 0x5a, 0x8b, - 0xa1, 0xba, 0x6c, 0x91, 0x6a, 0x8f, 0x61, 0xc8, 0x36, 0x18, 0xaa, 0x6b, 0x39, 0x30, 0x41, 0x60, - 0x47, 0x42, 0x35, 0x0c, 0x99, 0x6c, 0x97, 0x6a, 0x03, 0x02, 0x3b, 0x02, 0xbe, 0x0b, 0x99, 0x36, - 0x0f, 0xc0, 0x66, 0x93, 0x6e, 0x3d, 0xab, 0xc9, 0x74, 0xc7, 0x64, 0xc0, 0x94, 0xb4, 0xdc, 0x13, - 0x39, 0x2f, 0x82, 0xc9, 0x00, 0xe6, 0x0e, 0x41, 0x8c, 0x43, 0xe2, 0xe9, 0x49, 0xa9, 0x71, 0x5e, - 0x9a, 0xd7, 0xbb, 0xd6, 0xb0, 0x21, 0x5f, 0x14, 0x30, 0x59, 0x65, 0x78, 0xc3, 0xab, 0x43, 0x8e, - 0xd6, 0xa0, 0x0f, 0x09, 0xd3, 0x6e, 0x82, 0x14, 0x6c, 0xf1, 0x06, 0xf5, 0x1d, 0xbe, 0x1d, 0xf4, - 0xa3, 0xac, 0x7f, 0xfd, 0x7c, 0x6d, 0x2a, 0x2c, 0xff, 0x4e, 0xbd, 0xee, 0x23, 0xc6, 0x1e, 0x71, - 0xdf, 0x71, 0xb1, 0xdd, 0xa3, 0x6a, 0xb7, 0xc1, 0xa8, 0x27, 0x15, 0xf4, 0x78, 0x4e, 0xc9, 0x8f, - 0x17, 0xf5, 0xe1, 0x86, 0x05, 0x11, 0xca, 0x29, 0x31, 0xfe, 0x4f, 0xc7, 0xbb, 0xcb, 0x8a, 0x1d, - 0xba, 0x94, 0x8a, 0x3b, 0xc7, 0xbb, 0xcb, 0x3d, 0x31, 0xb1, 0x02, 0xd9, 0xbe, 0x15, 0xe8, 0x58, - 0xc1, 0x1e, 0xf4, 0x27, 0x6a, 0xce, 0x82, 0x99, 0x53, 0xa6, 0xee, 0x38, 0xcd, 0xef, 0x0a, 0xb8, - 0x54, 0x65, 0xd8, 0x46, 0xd8, 0x61, 0x1c, 0xf9, 0x6b, 0x3e, 0x72, 0x5c, 0xc6, 0x61, 0xb3, 0xf9, - 0xff, 0xe5, 0xdd, 0x07, 0xe3, 0x5e, 0x4f, 0x26, 0x5c, 0x8a, 0xb9, 0x88, 0x1a, 0x4f, 0x48, 0xfd, - 0x75, 0xf6, 0xfb, 0x96, 0x6e, 0x0d, 0x17, 0x7b, 0x35, 0xa2, 0xd8, 0x88, 0xec, 0xcd, 0x1c, 0xc8, - 0x44, 0x23, 0xdd, 0xd2, 0x8b, 0xbf, 0xe2, 0x20, 0x51, 0x65, 0x58, 0x7b, 0x09, 0xfa, 0x6e, 0x97, - 0x96, 0x1d, 0x4e, 0x74, 0xe0, 0x22, 0x18, 0x8b, 0x67, 0x10, 0x4e, 0x5a, 0x7b, 0x65, 0xe7, 0xdb, - 0x9f, 0x0f, 0xf1, 0xac, 0x39, 0x6f, 0x0d, 0xff, 0x7b, 0x42, 0x76, 0x8d, 0x77, 0xb4, 0x27, 0x60, - 0x62, 0x60, 0xab, 0x16, 0x22, 0xf5, 0xfb, 0x29, 0xc6, 0xd2, 0x99, 0x94, 0x93, 0xeb, 0xfa, 0x1c, - 0x5c, 0x8c, 0x9a, 0x6d, 0x3e, 0x52, 0x21, 0x82, 0x69, 0x5c, 0xff, 0x57, 0x66, 0x37, 0xa4, 0x31, - 0xf2, 0x4a, 0x0c, 0xb2, 0x5c, 0xda, 0x3b, 0xcc, 0x28, 0xfb, 0x87, 0x19, 0xe5, 0xf7, 0x61, 0x46, - 0x79, 0x7f, 0x94, 0x89, 0xed, 0x1f, 0x65, 0x62, 0x3f, 0x8e, 0x32, 0xb1, 0xc7, 0x39, 0xec, 0xf0, - 0x46, 0x6b, 0xb3, 0xb0, 0x45, 0x89, 0x75, 0x7a, 0x9a, 0x7c, 0xdb, 0x43, 0x6c, 0x73, 0x54, 0xfe, - 0x30, 0x6f, 0xfc, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x5b, 0xb8, 0x53, 0x9d, 0xf6, 0x05, 0x00, 0x00, + proto.RegisterType((*MsgEthereumTx)(nil), "cosmos.evm.vm.v2.MsgEthereumTx") + proto.RegisterType((*ExtensionOptionsEthereumTx)(nil), "cosmos.evm.vm.v2.ExtensionOptionsEthereumTx") + proto.RegisterType((*MsgEthereumTxResponse)(nil), "cosmos.evm.vm.v2.MsgEthereumTxResponse") + proto.RegisterType((*MsgUpdateParams)(nil), "cosmos.evm.vm.v2.MsgUpdateParams") + proto.RegisterType((*MsgUpdateParamsResponse)(nil), "cosmos.evm.vm.v2.MsgUpdateParamsResponse") + proto.RegisterType((*MsgRegisterPreinstalls)(nil), "cosmos.evm.vm.v2.MsgRegisterPreinstalls") + proto.RegisterType((*MsgRegisterPreinstallsResponse)(nil), "cosmos.evm.vm.v2.MsgRegisterPreinstallsResponse") +} + +func init() { proto.RegisterFile("cosmos/evm/vm/v2/tx.proto", fileDescriptor_7b050a9cdff153f5) } + +var fileDescriptor_7b050a9cdff153f5 = []byte{ + // 743 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xdf, 0x6b, 0x13, 0x49, + 0x1c, 0xcf, 0x26, 0xdb, 0x36, 0x99, 0xf6, 0xae, 0xb9, 0xb9, 0xf6, 0xba, 0x5d, 0xda, 0x24, 0x5d, + 0xee, 0xae, 0x69, 0xe1, 0xb2, 0x77, 0x39, 0x38, 0xb8, 0xf8, 0x64, 0xa0, 0xa8, 0xc1, 0x60, 0x59, + 0xdb, 0x17, 0x11, 0xc2, 0xb4, 0x19, 0x27, 0x8b, 0x99, 0x9d, 0x75, 0x67, 0x12, 0xd3, 0x07, 0x41, + 0x8a, 0x0f, 0xe2, 0x83, 0x08, 0xfe, 0x03, 0x3e, 0xfa, 0xd8, 0x07, 0x9f, 0xfc, 0x0b, 0xfa, 0x58, + 0x14, 0x44, 0x44, 0x8a, 0xb4, 0x42, 0xff, 0x0d, 0x99, 0xd9, 0x4d, 0x93, 0x34, 0x0b, 0x15, 0x61, + 0x49, 0x66, 0xbf, 0x9f, 0xcf, 0xf7, 0xf3, 0xfd, 0x39, 0x0b, 0x16, 0x77, 0x19, 0xa7, 0x8c, 0xdb, + 0xb8, 0x4b, 0x6d, 0xf9, 0x94, 0x6d, 0xd1, 0x2b, 0xf9, 0x01, 0x13, 0x0c, 0x66, 0x43, 0xa8, 0x84, + 0xbb, 0xb4, 0x24, 0x9f, 0xb2, 0xf9, 0x0b, 0xa2, 0xae, 0xc7, 0x6c, 0xf5, 0x1b, 0x92, 0x4c, 0x73, + 0xcc, 0x5f, 0xd2, 0x43, 0x6c, 0x21, 0xc2, 0x28, 0x27, 0x76, 0xf7, 0x1f, 0xf9, 0x17, 0x01, 0x51, + 0xd0, 0x86, 0x7a, 0xb3, 0xa3, 0x30, 0x21, 0x34, 0x47, 0x18, 0x61, 0xa1, 0x5d, 0x9e, 0x22, 0xeb, + 0x12, 0x61, 0x8c, 0xb4, 0xb1, 0x8d, 0x7c, 0xd7, 0x46, 0x9e, 0xc7, 0x04, 0x12, 0x2e, 0xf3, 0x22, + 0x1f, 0xeb, 0x89, 0x06, 0x7e, 0xaa, 0x73, 0xb2, 0x21, 0x5a, 0x38, 0xc0, 0x1d, 0xba, 0xd5, 0x83, + 0x10, 0xe8, 0xf7, 0x02, 0x46, 0x8d, 0x89, 0x82, 0x56, 0x9c, 0x71, 0xd4, 0x19, 0xfe, 0x0e, 0x52, + 0x01, 0x7a, 0x68, 0x4c, 0x4a, 0x53, 0x15, 0x1e, 0x1e, 0xe7, 0x13, 0x9f, 0x8e, 0xf3, 0x60, 0xe0, + 0xe4, 0x48, 0xb8, 0xb2, 0xf2, 0xf4, 0x55, 0x3e, 0xf1, 0xec, 0xec, 0x60, 0xdd, 0x18, 0x2a, 0x6c, + 0x44, 0xbc, 0xa6, 0xa7, 0xb5, 0x6c, 0xb2, 0xa6, 0xa7, 0x93, 0xd9, 0x54, 0x4d, 0x4f, 0xa7, 0xb2, + 0x7a, 0x4d, 0x4f, 0xeb, 0xd9, 0x09, 0xcb, 0x02, 0xe6, 0x46, 0x4f, 0x60, 0x8f, 0xbb, 0xcc, 0xbb, + 0xe5, 0xab, 0x04, 0x07, 0x5e, 0x15, 0x5d, 0x0a, 0x5b, 0xcf, 0x93, 0x60, 0x7e, 0x44, 0xcd, 0xc1, + 0xdc, 0x67, 0x1e, 0xc7, 0x32, 0xe5, 0x16, 0xe2, 0x2d, 0x43, 0x2b, 0x68, 0xc5, 0x8c, 0xa3, 0xce, + 0x70, 0x0d, 0xe8, 0x6d, 0x46, 0xb8, 0x91, 0x2c, 0xa4, 0x8a, 0xd3, 0xe5, 0xf9, 0xd2, 0xc5, 0x81, + 0x94, 0x6e, 0x32, 0xe2, 0x28, 0x0a, 0xcc, 0x82, 0x54, 0x80, 0x85, 0x91, 0x52, 0x05, 0xcb, 0x23, + 0x5c, 0x04, 0xe9, 0x2e, 0x6d, 0xe0, 0x20, 0x60, 0x81, 0xa1, 0x2b, 0xd1, 0xa9, 0x2e, 0xdd, 0x90, + 0xaf, 0x12, 0x22, 0x88, 0x37, 0x3a, 0x1c, 0x37, 0x55, 0x8b, 0x74, 0x67, 0x8a, 0x20, 0xbe, 0xcd, + 0x71, 0x13, 0x16, 0xc0, 0x0c, 0x45, 0x3d, 0x05, 0x35, 0x08, 0xe2, 0xaa, 0x5d, 0xba, 0x03, 0x28, + 0xea, 0x49, 0xf8, 0x1a, 0xe2, 0x70, 0x19, 0x80, 0x9d, 0x36, 0xdb, 0xbd, 0xdf, 0x50, 0xe9, 0x4e, + 0xa9, 0x80, 0x19, 0x65, 0xb9, 0x2e, 0x73, 0x5e, 0x05, 0xb3, 0x21, 0x2c, 0x5c, 0x8a, 0xb9, 0x40, + 0xd4, 0x37, 0xd2, 0x4a, 0xe3, 0x67, 0x65, 0xde, 0xea, 0x5b, 0xa3, 0x86, 0xbc, 0xd5, 0xc0, 0x6c, + 0x9d, 0x93, 0x6d, 0xbf, 0x89, 0x04, 0xde, 0x44, 0x01, 0xa2, 0x1c, 0xfe, 0x07, 0x32, 0xa8, 0x23, + 0x5a, 0x2c, 0x70, 0xc5, 0x5e, 0xd8, 0x8f, 0xaa, 0xf1, 0xee, 0xcd, 0x5f, 0x73, 0x51, 0xf9, 0x57, + 0x9b, 0xcd, 0x00, 0x73, 0x7e, 0x5b, 0x04, 0xae, 0x47, 0x9c, 0x01, 0x15, 0x5e, 0x01, 0x93, 0xbe, + 0x52, 0x30, 0x92, 0x05, 0xad, 0x38, 0x5d, 0x36, 0xc6, 0x1b, 0x16, 0x46, 0xa8, 0x66, 0xe4, 0xf8, + 0x5f, 0x9f, 0x1d, 0xac, 0x6b, 0x4e, 0xe4, 0x52, 0x29, 0xef, 0x9f, 0x1d, 0xac, 0x0f, 0xc4, 0xe4, + 0x0a, 0xe4, 0x87, 0x56, 0xa0, 0x67, 0x87, 0x7b, 0x30, 0x9c, 0xa8, 0xb5, 0x08, 0x16, 0x2e, 0x98, + 0xfa, 0xe3, 0xb4, 0x3e, 0x68, 0xe0, 0xb7, 0x3a, 0x27, 0x0e, 0x26, 0x2e, 0x17, 0x38, 0xd8, 0x0c, + 0xb0, 0xeb, 0x71, 0x81, 0xda, 0xed, 0x1f, 0x2f, 0xef, 0x06, 0x98, 0xf6, 0x07, 0x32, 0xd1, 0x52, + 0x2c, 0xc5, 0xd4, 0x78, 0x4e, 0x1a, 0xae, 0x73, 0xd8, 0xb7, 0xf2, 0xff, 0x78, 0xb1, 0x7f, 0xc6, + 0x14, 0x1b, 0x93, 0xbd, 0x55, 0x00, 0xb9, 0x78, 0xa4, 0x5f, 0x7a, 0xf9, 0x73, 0x12, 0xa4, 0xea, + 0x9c, 0xc0, 0x47, 0x60, 0xe8, 0x76, 0xc1, 0xfc, 0x78, 0xa2, 0x23, 0x17, 0xc1, 0x5c, 0xbd, 0x84, + 0x70, 0xde, 0xda, 0x3f, 0xf6, 0xdf, 0x7f, 0x7d, 0x99, 0xcc, 0x5b, 0xcb, 0xf6, 0xf8, 0xb7, 0x27, + 0x62, 0x37, 0x44, 0x0f, 0xde, 0x05, 0x33, 0x23, 0x5b, 0xb5, 0x12, 0xab, 0x3f, 0x4c, 0x31, 0xd7, + 0x2e, 0xa5, 0x9c, 0x5f, 0xd7, 0x07, 0xe0, 0xd7, 0xb8, 0xd9, 0x16, 0x63, 0x15, 0x62, 0x98, 0xe6, + 0xdf, 0xdf, 0xcb, 0xec, 0x87, 0x34, 0x27, 0x1e, 0xcb, 0x41, 0x56, 0x2b, 0x87, 0x27, 0x39, 0xed, + 0xe8, 0x24, 0xa7, 0x7d, 0x39, 0xc9, 0x69, 0x2f, 0x4e, 0x73, 0x89, 0xa3, 0xd3, 0x5c, 0xe2, 0xe3, + 0x69, 0x2e, 0x71, 0xa7, 0x40, 0x5c, 0xd1, 0xea, 0xec, 0x94, 0x76, 0x19, 0xb5, 0x2f, 0x4e, 0x53, + 0xec, 0xf9, 0x98, 0xef, 0x4c, 0xaa, 0x0f, 0xe6, 0xbf, 0xdf, 0x02, 0x00, 0x00, 0xff, 0xff, 0xa4, + 0x1e, 0x33, 0xf1, 0xf6, 0x05, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -452,7 +453,7 @@ func NewMsgClient(cc grpc1.ClientConn) MsgClient { func (c *msgClient) EthereumTx(ctx context.Context, in *MsgEthereumTx, opts ...grpc.CallOption) (*MsgEthereumTxResponse, error) { out := new(MsgEthereumTxResponse) - err := c.cc.Invoke(ctx, "/cosmos.evm.vm.v1.Msg/EthereumTx", in, out, opts...) + err := c.cc.Invoke(ctx, "/cosmos.evm.vm.v2.Msg/EthereumTx", in, out, opts...) if err != nil { return nil, err } @@ -461,7 +462,7 @@ func (c *msgClient) EthereumTx(ctx context.Context, in *MsgEthereumTx, opts ...g func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) { out := new(MsgUpdateParamsResponse) - err := c.cc.Invoke(ctx, "/cosmos.evm.vm.v1.Msg/UpdateParams", in, out, opts...) + err := c.cc.Invoke(ctx, "/cosmos.evm.vm.v2.Msg/UpdateParams", in, out, opts...) if err != nil { return nil, err } @@ -470,7 +471,7 @@ func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts func (c *msgClient) RegisterPreinstalls(ctx context.Context, in *MsgRegisterPreinstalls, opts ...grpc.CallOption) (*MsgRegisterPreinstallsResponse, error) { out := new(MsgRegisterPreinstallsResponse) - err := c.cc.Invoke(ctx, "/cosmos.evm.vm.v1.Msg/RegisterPreinstalls", in, out, opts...) + err := c.cc.Invoke(ctx, "/cosmos.evm.vm.v2.Msg/RegisterPreinstalls", in, out, opts...) if err != nil { return nil, err } @@ -519,7 +520,7 @@ func _Msg_EthereumTx_Handler(srv interface{}, ctx context.Context, dec func(inte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/cosmos.evm.vm.v1.Msg/EthereumTx", + FullMethod: "/cosmos.evm.vm.v2.Msg/EthereumTx", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).EthereumTx(ctx, req.(*MsgEthereumTx)) @@ -537,7 +538,7 @@ func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(in } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/cosmos.evm.vm.v1.Msg/UpdateParams", + FullMethod: "/cosmos.evm.vm.v2.Msg/UpdateParams", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).UpdateParams(ctx, req.(*MsgUpdateParams)) @@ -555,7 +556,7 @@ func _Msg_RegisterPreinstalls_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/cosmos.evm.vm.v1.Msg/RegisterPreinstalls", + FullMethod: "/cosmos.evm.vm.v2.Msg/RegisterPreinstalls", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).RegisterPreinstalls(ctx, req.(*MsgRegisterPreinstalls)) @@ -564,7 +565,7 @@ func _Msg_RegisterPreinstalls_Handler(srv interface{}, ctx context.Context, dec } var _Msg_serviceDesc = grpc.ServiceDesc{ - ServiceName: "cosmos.evm.vm.v1.Msg", + ServiceName: "cosmos.evm.vm.v2.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { @@ -581,7 +582,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "cosmos/evm/vm/v1/tx.proto", + Metadata: "cosmos/evm/vm/v2/tx.proto", } func (m *MsgEthereumTx) Marshal() (dAtA []byte, err error) { diff --git a/x/vm/types/tx.pb.gw.go b/x/vm/types/tx.pb.gw.go index 8dfc68f25..937643db5 100644 --- a/x/vm/types/tx.pb.gw.go +++ b/x/vm/types/tx.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: cosmos/evm/vm/v1/tx.proto +// source: cosmos/evm/vm/v2/tx.proto /* Package types is a reverse proxy. @@ -163,7 +163,7 @@ func RegisterMsgHandlerClient(ctx context.Context, mux *runtime.ServeMux, client } var ( - pattern_Msg_EthereumTx_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"cosmos", "evm", "vm", "v1", "ethereum_tx"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Msg_EthereumTx_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"cosmos", "evm", "vm", "v2", "ethereum_tx"}, "", runtime.AssumeColonVerbOpt(false))) ) var ( From b2036119a8ec9910900accb7ab582248759a8cd1 Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Thu, 11 Dec 2025 10:11:44 +0700 Subject: [PATCH 3/7] support old tx types --- x/vm/types/oldtx/access_list.go | 55 + x/vm/types/oldtx/access_list_tx.go | 252 ++ x/vm/types/oldtx/dynamic_fee_tx.go | 284 ++ x/vm/types/oldtx/evm.pb.go | 4784 ++++++++++++++++++++++++++++ x/vm/types/oldtx/legacy_tx.go | 230 ++ x/vm/types/oldtx/msg.go | 48 + x/vm/types/oldtx/tx.pb.go | 3271 +++++++++++++++++++ x/vm/types/oldtx/tx_data.go | 90 + 8 files changed, 9014 insertions(+) create mode 100644 x/vm/types/oldtx/access_list.go create mode 100644 x/vm/types/oldtx/access_list_tx.go create mode 100644 x/vm/types/oldtx/dynamic_fee_tx.go create mode 100644 x/vm/types/oldtx/evm.pb.go create mode 100644 x/vm/types/oldtx/legacy_tx.go create mode 100644 x/vm/types/oldtx/msg.go create mode 100644 x/vm/types/oldtx/tx.pb.go create mode 100644 x/vm/types/oldtx/tx_data.go diff --git a/x/vm/types/oldtx/access_list.go b/x/vm/types/oldtx/access_list.go new file mode 100644 index 000000000..2fc7f142f --- /dev/null +++ b/x/vm/types/oldtx/access_list.go @@ -0,0 +1,55 @@ +package oldtx + +import ( + "github.com/ethereum/go-ethereum/common" + ethtypes "github.com/ethereum/go-ethereum/core/types" +) + +// AccessList is an EIP-2930 access list that represents the slice of +// the protobuf AccessTuples. +type AccessList []AccessTuple + +// NewAccessList creates a new protobuf-compatible AccessList from an ethereum +// core AccessList type +func NewAccessList(ethAccessList *ethtypes.AccessList) AccessList { + if ethAccessList == nil { + return nil + } + + al := AccessList{} + for _, tuple := range *ethAccessList { + storageKeys := make([]string, len(tuple.StorageKeys)) + + for i := range tuple.StorageKeys { + storageKeys[i] = tuple.StorageKeys[i].String() + } + + al = append(al, AccessTuple{ + Address: tuple.Address.String(), + StorageKeys: storageKeys, + }) + } + + return al +} + +// ToEthAccessList is an utility function to convert the protobuf compatible +// AccessList to eth core AccessList from go-ethereum +func (al AccessList) ToEthAccessList() *ethtypes.AccessList { + var ethAccessList ethtypes.AccessList + + for _, tuple := range al { + storageKeys := make([]common.Hash, len(tuple.StorageKeys)) + + for i := range tuple.StorageKeys { + storageKeys[i] = common.HexToHash(tuple.StorageKeys[i]) + } + + ethAccessList = append(ethAccessList, ethtypes.AccessTuple{ + Address: common.HexToAddress(tuple.Address), + StorageKeys: storageKeys, + }) + } + + return ðAccessList +} diff --git a/x/vm/types/oldtx/access_list_tx.go b/x/vm/types/oldtx/access_list_tx.go new file mode 100644 index 000000000..b94e3a882 --- /dev/null +++ b/x/vm/types/oldtx/access_list_tx.go @@ -0,0 +1,252 @@ +package oldtx + +import ( + "math/big" + + "github.com/ethereum/go-ethereum/common" + ethtypes "github.com/ethereum/go-ethereum/core/types" + + "github.com/cosmos/evm/utils" + ethutils "github.com/cosmos/evm/utils/eth" + + errorsmod "cosmossdk.io/errors" + sdkmath "cosmossdk.io/math" + + errortypes "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/cosmos/evm/x/vm/types" +) + +func newAccessListTx(tx *ethtypes.Transaction) (*AccessListTx, error) { + txData := &AccessListTx{ + Nonce: tx.Nonce(), + Data: tx.Data(), + GasLimit: tx.Gas(), + } + + v, r, s := tx.RawSignatureValues() + if to := tx.To(); to != nil { + txData.To = to.Hex() + } + + if tx.Value() != nil { + amountInt, err := utils.SafeNewIntFromBigInt(tx.Value()) + if err != nil { + return nil, err + } + txData.Amount = &amountInt + } + + if tx.GasPrice() != nil { + gasPriceInt, err := utils.SafeNewIntFromBigInt(tx.GasPrice()) + if err != nil { + return nil, err + } + txData.GasPrice = &gasPriceInt + } + + if tx.AccessList() != nil { + al := tx.AccessList() + txData.Accesses = NewAccessList(&al) + } + + txData.SetSignatureValues(tx.ChainId(), v, r, s) + return txData, nil +} + +// TxType returns the tx type +func (tx *AccessListTx) TxType() uint8 { + return ethtypes.AccessListTxType +} + +// Copy returns an instance with the same field values +func (tx *AccessListTx) Copy() TxData { + return &AccessListTx{ + ChainID: tx.ChainID, + Nonce: tx.Nonce, + GasPrice: tx.GasPrice, + GasLimit: tx.GasLimit, + To: tx.To, + Amount: tx.Amount, + Data: common.CopyBytes(tx.Data), + Accesses: tx.Accesses, + V: common.CopyBytes(tx.V), + R: common.CopyBytes(tx.R), + S: common.CopyBytes(tx.S), + } +} + +// GetChainID returns the chain id field from the AccessListTx +func (tx *AccessListTx) GetChainID() *big.Int { + if tx.ChainID == nil { + return nil + } + + return tx.ChainID.BigInt() +} + +// GetAccessList returns the AccessList field. +func (tx *AccessListTx) GetAccessList() ethtypes.AccessList { + if tx.Accesses == nil { + return nil + } + return *tx.Accesses.ToEthAccessList() +} + +// GetData returns the a copy of the input data bytes. +func (tx *AccessListTx) GetData() []byte { + return common.CopyBytes(tx.Data) +} + +// GetGas returns the gas limit. +func (tx *AccessListTx) GetGas() uint64 { + return tx.GasLimit +} + +// GetGasPrice returns the gas price field. +func (tx *AccessListTx) GetGasPrice() *big.Int { + if tx.GasPrice == nil { + return nil + } + return tx.GasPrice.BigInt() +} + +// GetGasTipCap returns the gas price field. +func (tx *AccessListTx) GetGasTipCap() *big.Int { + return tx.GetGasPrice() +} + +// GetGasFeeCap returns the gas price field. +func (tx *AccessListTx) GetGasFeeCap() *big.Int { + return tx.GetGasPrice() +} + +// GetValue returns the tx amount. +func (tx *AccessListTx) GetValue() *big.Int { + if tx.Amount == nil { + return nil + } + + return tx.Amount.BigInt() +} + +// GetNonce returns the account sequence for the transaction. +func (tx *AccessListTx) GetNonce() uint64 { return tx.Nonce } + +// GetTo returns the pointer to the recipient address. +func (tx *AccessListTx) GetTo() *common.Address { + if tx.To == "" { + return nil + } + to := common.HexToAddress(tx.To) + return &to +} + +// AsEthereumData returns an AccessListTx transaction tx from the proto-formatted +// TxData defined on the Cosmos EVM. +func (tx *AccessListTx) AsEthereumData() ethtypes.TxData { + v, r, s := tx.GetRawSignatureValues() + return ðtypes.AccessListTx{ + ChainID: tx.GetChainID(), + Nonce: tx.GetNonce(), + GasPrice: tx.GetGasPrice(), + Gas: tx.GetGas(), + To: tx.GetTo(), + Value: tx.GetValue(), + Data: tx.GetData(), + AccessList: tx.GetAccessList(), + V: v, + R: r, + S: s, + } +} + +// GetRawSignatureValues returns the V, R, S signature values of the transaction. +// The return values should not be modified by the caller. +func (tx *AccessListTx) GetRawSignatureValues() (v, r, s *big.Int) { + return ethutils.RawSignatureValues(tx.V, tx.R, tx.S) +} + +// SetSignatureValues sets the signature values to the transaction. +func (tx *AccessListTx) SetSignatureValues(chainID, v, r, s *big.Int) { + if v != nil { + tx.V = v.Bytes() + } + if r != nil { + tx.R = r.Bytes() + } + if s != nil { + tx.S = s.Bytes() + } + if chainID != nil { + chainIDInt := sdkmath.NewIntFromBigInt(chainID) + tx.ChainID = &chainIDInt + } +} + +// Validate performs a stateless validation of the tx fields. +func (tx AccessListTx) Validate() error { + gasPrice := tx.GetGasPrice() + if gasPrice == nil { + return errorsmod.Wrap(types.ErrInvalidGasPrice, "cannot be nil") + } + if !utils.IsValidInt256(gasPrice) { + return errorsmod.Wrap(types.ErrInvalidGasPrice, "out of bound") + } + + if gasPrice.Sign() == -1 { + return errorsmod.Wrapf(types.ErrInvalidGasPrice, "gas price cannot be negative %s", gasPrice) + } + + amount := tx.GetValue() + // Amount can be 0 + if amount != nil && amount.Sign() == -1 { + return errorsmod.Wrapf(types.ErrInvalidAmount, "amount cannot be negative %s", amount) + } + if !utils.IsValidInt256(amount) { + return errorsmod.Wrap(types.ErrInvalidAmount, "out of bound") + } + + if !utils.IsValidInt256(tx.Fee()) { + return errorsmod.Wrap(types.ErrInvalidGasFee, "out of bound") + } + + if tx.To != "" { + if err := utils.ValidateAddress(tx.To); err != nil { + return errorsmod.Wrap(err, "invalid to address") + } + } + + if tx.GetChainID() == nil { + return errorsmod.Wrap( + errortypes.ErrInvalidChainID, + "chain ID must be present on AccessList txs", + ) + } + + return nil +} + +// Fee returns gasprice * gaslimit. +func (tx AccessListTx) Fee() *big.Int { + return fee(tx.GetGasPrice(), tx.GetGas()) +} + +// Cost returns amount + gasprice * gaslimit. +func (tx AccessListTx) Cost() *big.Int { + return cost(tx.Fee(), tx.GetValue()) +} + +// EffectiveGasPrice is the same as GasPrice for AccessListTx +func (tx AccessListTx) EffectiveGasPrice(_ *big.Int) *big.Int { + return tx.GetGasPrice() +} + +// EffectiveFee is the same as Fee for AccessListTx +func (tx AccessListTx) EffectiveFee(_ *big.Int) *big.Int { + return tx.Fee() +} + +// EffectiveCost is the same as Cost for AccessListTx +func (tx AccessListTx) EffectiveCost(_ *big.Int) *big.Int { + return tx.Cost() +} diff --git a/x/vm/types/oldtx/dynamic_fee_tx.go b/x/vm/types/oldtx/dynamic_fee_tx.go new file mode 100644 index 000000000..0f6b2f2cf --- /dev/null +++ b/x/vm/types/oldtx/dynamic_fee_tx.go @@ -0,0 +1,284 @@ +package oldtx + +import ( + "math/big" + + "github.com/ethereum/go-ethereum/common" + ethtypes "github.com/ethereum/go-ethereum/core/types" + + "github.com/cosmos/evm/utils" + ethutils "github.com/cosmos/evm/utils/eth" + "github.com/cosmos/evm/x/vm/types" + + errorsmod "cosmossdk.io/errors" + sdkmath "cosmossdk.io/math" + + errortypes "github.com/cosmos/cosmos-sdk/types/errors" +) + +func NewDynamicFeeTx(tx *ethtypes.Transaction) (*DynamicFeeTx, error) { + txData := &DynamicFeeTx{ + Nonce: tx.Nonce(), + Data: tx.Data(), + GasLimit: tx.Gas(), + } + + v, r, s := tx.RawSignatureValues() + if to := tx.To(); to != nil { + txData.To = to.Hex() + } + + if tx.Value() != nil { + amountInt, err := utils.SafeNewIntFromBigInt(tx.Value()) + if err != nil { + return nil, err + } + txData.Amount = &amountInt + } + + if tx.GasFeeCap() != nil { + gasFeeCapInt, err := utils.SafeNewIntFromBigInt(tx.GasFeeCap()) + if err != nil { + return nil, err + } + txData.GasFeeCap = &gasFeeCapInt + } + + if tx.GasTipCap() != nil { + gasTipCapInt, err := utils.SafeNewIntFromBigInt(tx.GasTipCap()) + if err != nil { + return nil, err + } + txData.GasTipCap = &gasTipCapInt + } + + if tx.AccessList() != nil { + al := tx.AccessList() + txData.Accesses = NewAccessList(&al) + } + + txData.SetSignatureValues(tx.ChainId(), v, r, s) + return txData, nil +} + +// TxType returns the tx type +func (tx *DynamicFeeTx) TxType() uint8 { + return ethtypes.DynamicFeeTxType +} + +// Copy returns an instance with the same field values +func (tx *DynamicFeeTx) Copy() TxData { + return &DynamicFeeTx{ + ChainID: tx.ChainID, + Nonce: tx.Nonce, + GasTipCap: tx.GasTipCap, + GasFeeCap: tx.GasFeeCap, + GasLimit: tx.GasLimit, + To: tx.To, + Amount: tx.Amount, + Data: common.CopyBytes(tx.Data), + Accesses: tx.Accesses, + V: common.CopyBytes(tx.V), + R: common.CopyBytes(tx.R), + S: common.CopyBytes(tx.S), + } +} + +// GetChainID returns the chain id field from the DynamicFeeTx +func (tx *DynamicFeeTx) GetChainID() *big.Int { + if tx.ChainID == nil { + return nil + } + + return tx.ChainID.BigInt() +} + +// GetAccessList returns the AccessList field. +func (tx *DynamicFeeTx) GetAccessList() ethtypes.AccessList { + if tx.Accesses == nil { + return nil + } + return *tx.Accesses.ToEthAccessList() +} + +// GetData returns the a copy of the input data bytes. +func (tx *DynamicFeeTx) GetData() []byte { + return common.CopyBytes(tx.Data) +} + +// GetGas returns the gas limit. +func (tx *DynamicFeeTx) GetGas() uint64 { + return tx.GasLimit +} + +// GetGasPrice returns the gas fee cap field. +func (tx *DynamicFeeTx) GetGasPrice() *big.Int { + return tx.GetGasFeeCap() +} + +// GetGasTipCap returns the gas tip cap field. +func (tx *DynamicFeeTx) GetGasTipCap() *big.Int { + if tx.GasTipCap == nil { + return nil + } + return tx.GasTipCap.BigInt() +} + +// GetGasFeeCap returns the gas fee cap field. +func (tx *DynamicFeeTx) GetGasFeeCap() *big.Int { + if tx.GasFeeCap == nil { + return nil + } + return tx.GasFeeCap.BigInt() +} + +// GetValue returns the tx amount. +func (tx *DynamicFeeTx) GetValue() *big.Int { + if tx.Amount == nil { + return nil + } + + return tx.Amount.BigInt() +} + +// GetNonce returns the account sequence for the transaction. +func (tx *DynamicFeeTx) GetNonce() uint64 { return tx.Nonce } + +// GetTo returns the pointer to the recipient address. +func (tx *DynamicFeeTx) GetTo() *common.Address { + if tx.To == "" { + return nil + } + to := common.HexToAddress(tx.To) + return &to +} + +// AsEthereumData returns an DynamicFeeTx transaction tx from the proto-formatted +// TxData defined on the Cosmos EVM. +func (tx *DynamicFeeTx) AsEthereumData() ethtypes.TxData { + v, r, s := tx.GetRawSignatureValues() + return ðtypes.DynamicFeeTx{ + ChainID: tx.GetChainID(), + Nonce: tx.GetNonce(), + GasTipCap: tx.GetGasTipCap(), + GasFeeCap: tx.GetGasFeeCap(), + Gas: tx.GetGas(), + To: tx.GetTo(), + Value: tx.GetValue(), + Data: tx.GetData(), + AccessList: tx.GetAccessList(), + V: v, + R: r, + S: s, + } +} + +// GetRawSignatureValues returns the V, R, S signature values of the transaction. +// The return values should not be modified by the caller. +func (tx *DynamicFeeTx) GetRawSignatureValues() (v, r, s *big.Int) { + return ethutils.RawSignatureValues(tx.V, tx.R, tx.S) +} + +// SetSignatureValues sets the signature values to the transaction. +func (tx *DynamicFeeTx) SetSignatureValues(chainID, v, r, s *big.Int) { + if v != nil { + tx.V = v.Bytes() + } + if r != nil { + tx.R = r.Bytes() + } + if s != nil { + tx.S = s.Bytes() + } + if chainID != nil { + chainIDInt := sdkmath.NewIntFromBigInt(chainID) + tx.ChainID = &chainIDInt + } +} + +// Validate performs a stateless validation of the tx fields. +func (tx DynamicFeeTx) Validate() error { + if tx.GasTipCap == nil { + return errorsmod.Wrap(types.ErrInvalidGasCap, "gas tip cap cannot nil") + } + + if tx.GasFeeCap == nil { + return errorsmod.Wrap(types.ErrInvalidGasCap, "gas fee cap cannot nil") + } + + if tx.GasTipCap.IsNegative() { + return errorsmod.Wrapf(types.ErrInvalidGasCap, "gas tip cap cannot be negative %s", tx.GasTipCap) + } + + if tx.GasFeeCap.IsNegative() { + return errorsmod.Wrapf(types.ErrInvalidGasCap, "gas fee cap cannot be negative %s", tx.GasFeeCap) + } + + if !utils.IsValidInt256(tx.GetGasTipCap()) { + return errorsmod.Wrap(types.ErrInvalidGasCap, "out of bound") + } + + if !utils.IsValidInt256(tx.GetGasFeeCap()) { + return errorsmod.Wrap(types.ErrInvalidGasCap, "out of bound") + } + + if tx.GasFeeCap.LT(*tx.GasTipCap) { + return errorsmod.Wrapf( + types.ErrInvalidGasCap, "max priority fee per gas higher than max fee per gas (%s > %s)", + tx.GasTipCap, tx.GasFeeCap, + ) + } + + if !utils.IsValidInt256(tx.Fee()) { + return errorsmod.Wrap(types.ErrInvalidGasFee, "out of bound") + } + + amount := tx.GetValue() + // Amount can be 0 + if amount != nil && amount.Sign() == -1 { + return errorsmod.Wrapf(types.ErrInvalidAmount, "amount cannot be negative %s", amount) + } + if !utils.IsValidInt256(amount) { + return errorsmod.Wrap(types.ErrInvalidAmount, "out of bound") + } + + if tx.To != "" { + if err := utils.ValidateAddress(tx.To); err != nil { + return errorsmod.Wrap(err, "invalid to address") + } + } + + if tx.GetChainID() == nil { + return errorsmod.Wrap( + errortypes.ErrInvalidChainID, + "chain ID must be present on DynamicFee txs", + ) + } + + return nil +} + +// Fee returns gasprice * gaslimit. +func (tx DynamicFeeTx) Fee() *big.Int { + return fee(tx.GetGasFeeCap(), tx.GetGas()) +} + +// Cost returns amount + gasprice * gaslimit. +func (tx DynamicFeeTx) Cost() *big.Int { + return cost(tx.Fee(), tx.GetValue()) +} + +// EffectiveGasPrice returns the effective gas price +func (tx *DynamicFeeTx) EffectiveGasPrice(baseFee *big.Int) *big.Int { + return types.EffectiveGasPrice(baseFee, tx.GasFeeCap.BigInt(), tx.GasTipCap.BigInt()) +} + +// EffectiveFee returns effective_gasprice * gaslimit. +func (tx DynamicFeeTx) EffectiveFee(baseFee *big.Int) *big.Int { + return fee(tx.EffectiveGasPrice(baseFee), tx.GetGas()) +} + +// EffectiveCost returns amount + effective_gasprice * gaslimit. +func (tx DynamicFeeTx) EffectiveCost(baseFee *big.Int) *big.Int { + return cost(tx.EffectiveFee(baseFee), tx.GetValue()) +} diff --git a/x/vm/types/oldtx/evm.pb.go b/x/vm/types/oldtx/evm.pb.go new file mode 100644 index 000000000..09735f9ef --- /dev/null +++ b/x/vm/types/oldtx/evm.pb.go @@ -0,0 +1,4784 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: cosmos/evm/vm/v1/evm.proto + +package oldtx + +import ( + cosmossdk_io_math "cosmossdk.io/math" + fmt "fmt" + _ "github.com/cosmos/cosmos-sdk/types/tx/amino" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +// AccessType defines the types of permissions for the operations +type AccessType int32 + +const ( + // ACCESS_TYPE_PERMISSIONLESS does not restrict the operation to anyone + AccessTypePermissionless AccessType = 0 + // ACCESS_TYPE_RESTRICTED restrict the operation to anyone + AccessTypeRestricted AccessType = 1 + // ACCESS_TYPE_PERMISSIONED only allows the operation for specific addresses + AccessTypePermissioned AccessType = 2 +) + +var AccessType_name = map[int32]string{ + 0: "ACCESS_TYPE_PERMISSIONLESS", + 1: "ACCESS_TYPE_RESTRICTED", + 2: "ACCESS_TYPE_PERMISSIONED", +} + +var AccessType_value = map[string]int32{ + "ACCESS_TYPE_PERMISSIONLESS": 0, + "ACCESS_TYPE_RESTRICTED": 1, + "ACCESS_TYPE_PERMISSIONED": 2, +} + +func (x AccessType) String() string { + return proto.EnumName(AccessType_name, int32(x)) +} + +func (AccessType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_d1129b8db63d55c7, []int{0} +} + +// Params defines the EVM module parameters +type Params struct { + // evm_denom represents the token denomination used to run the EVM state + // transitions. + EvmDenom string `protobuf:"bytes,1,opt,name=evm_denom,json=evmDenom,proto3" json:"evm_denom,omitempty" yaml:"evm_denom"` + // extra_eips defines the additional EIPs for the vm.Config + ExtraEIPs []int64 `protobuf:"varint,4,rep,packed,name=extra_eips,json=extraEips,proto3" json:"extra_eips,omitempty" yaml:"extra_eips"` + // chain_config defines the EVM chain configuration parameters + ChainConfig ChainConfig `protobuf:"bytes,5,opt,name=chain_config,json=chainConfig,proto3" json:"chain_config" yaml:"chain_config"` + // allow_unprotected_txs defines if replay-protected (i.e non EIP155 + // signed) transactions can be executed on the state machine. + AllowUnprotectedTxs bool `protobuf:"varint,6,opt,name=allow_unprotected_txs,json=allowUnprotectedTxs,proto3" json:"allow_unprotected_txs,omitempty"` + // evm_channels is the list of channel identifiers from EVM compatible chains + EVMChannels []string `protobuf:"bytes,8,rep,name=evm_channels,json=evmChannels,proto3" json:"evm_channels,omitempty"` + // access_control defines the permission policy of the EVM + AccessControl AccessControl `protobuf:"bytes,9,opt,name=access_control,json=accessControl,proto3" json:"access_control"` + // active_static_precompiles defines the slice of hex addresses of the + // precompiled contracts that are active + ActiveStaticPrecompiles []string `protobuf:"bytes,10,rep,name=active_static_precompiles,json=activeStaticPrecompiles,proto3" json:"active_static_precompiles,omitempty"` +} + +func (m *Params) Reset() { *m = Params{} } +func (m *Params) String() string { return proto.CompactTextString(m) } +func (*Params) ProtoMessage() {} +func (*Params) Descriptor() ([]byte, []int) { + return fileDescriptor_d1129b8db63d55c7, []int{0} +} +func (m *Params) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Params.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Params) XXX_Merge(src proto.Message) { + xxx_messageInfo_Params.Merge(m, src) +} +func (m *Params) XXX_Size() int { + return m.Size() +} +func (m *Params) XXX_DiscardUnknown() { + xxx_messageInfo_Params.DiscardUnknown(m) +} + +var xxx_messageInfo_Params proto.InternalMessageInfo + +func (m *Params) GetEvmDenom() string { + if m != nil { + return m.EvmDenom + } + return "" +} + +func (m *Params) GetExtraEIPs() []int64 { + if m != nil { + return m.ExtraEIPs + } + return nil +} + +func (m *Params) GetChainConfig() ChainConfig { + if m != nil { + return m.ChainConfig + } + return ChainConfig{} +} + +func (m *Params) GetAllowUnprotectedTxs() bool { + if m != nil { + return m.AllowUnprotectedTxs + } + return false +} + +func (m *Params) GetEVMChannels() []string { + if m != nil { + return m.EVMChannels + } + return nil +} + +func (m *Params) GetAccessControl() AccessControl { + if m != nil { + return m.AccessControl + } + return AccessControl{} +} + +func (m *Params) GetActiveStaticPrecompiles() []string { + if m != nil { + return m.ActiveStaticPrecompiles + } + return nil +} + +// AccessControl defines the permission policy of the EVM +// for creating and calling contracts +type AccessControl struct { + // create defines the permission policy for creating contracts + Create AccessControlType `protobuf:"bytes,1,opt,name=create,proto3" json:"create"` + // call defines the permission policy for calling contracts + Call AccessControlType `protobuf:"bytes,2,opt,name=call,proto3" json:"call"` +} + +func (m *AccessControl) Reset() { *m = AccessControl{} } +func (m *AccessControl) String() string { return proto.CompactTextString(m) } +func (*AccessControl) ProtoMessage() {} +func (*AccessControl) Descriptor() ([]byte, []int) { + return fileDescriptor_d1129b8db63d55c7, []int{1} +} +func (m *AccessControl) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *AccessControl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_AccessControl.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *AccessControl) XXX_Merge(src proto.Message) { + xxx_messageInfo_AccessControl.Merge(m, src) +} +func (m *AccessControl) XXX_Size() int { + return m.Size() +} +func (m *AccessControl) XXX_DiscardUnknown() { + xxx_messageInfo_AccessControl.DiscardUnknown(m) +} + +var xxx_messageInfo_AccessControl proto.InternalMessageInfo + +func (m *AccessControl) GetCreate() AccessControlType { + if m != nil { + return m.Create + } + return AccessControlType{} +} + +func (m *AccessControl) GetCall() AccessControlType { + if m != nil { + return m.Call + } + return AccessControlType{} +} + +// AccessControlType defines the permission type for policies +type AccessControlType struct { + // access_type defines which type of permission is required for the operation + AccessType AccessType `protobuf:"varint,1,opt,name=access_type,json=accessType,proto3,enum=cosmos.evm.vm.v1.AccessType" json:"access_type,omitempty" yaml:"access_type"` + // access_control_list defines defines different things depending on the + // AccessType: + // - ACCESS_TYPE_PERMISSIONLESS: list of addresses that are blocked from + // performing the operation + // - ACCESS_TYPE_RESTRICTED: ignored + // - ACCESS_TYPE_PERMISSIONED: list of addresses that are allowed to perform + // the operation + AccessControlList []string `protobuf:"bytes,2,rep,name=access_control_list,json=accessControlList,proto3" json:"access_control_list,omitempty" yaml:"access_control_list"` +} + +func (m *AccessControlType) Reset() { *m = AccessControlType{} } +func (m *AccessControlType) String() string { return proto.CompactTextString(m) } +func (*AccessControlType) ProtoMessage() {} +func (*AccessControlType) Descriptor() ([]byte, []int) { + return fileDescriptor_d1129b8db63d55c7, []int{2} +} +func (m *AccessControlType) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *AccessControlType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_AccessControlType.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *AccessControlType) XXX_Merge(src proto.Message) { + xxx_messageInfo_AccessControlType.Merge(m, src) +} +func (m *AccessControlType) XXX_Size() int { + return m.Size() +} +func (m *AccessControlType) XXX_DiscardUnknown() { + xxx_messageInfo_AccessControlType.DiscardUnknown(m) +} + +var xxx_messageInfo_AccessControlType proto.InternalMessageInfo + +func (m *AccessControlType) GetAccessType() AccessType { + if m != nil { + return m.AccessType + } + return AccessTypePermissionless +} + +func (m *AccessControlType) GetAccessControlList() []string { + if m != nil { + return m.AccessControlList + } + return nil +} + +// ChainConfig defines the Ethereum ChainConfig parameters using *sdk.Int values +// instead of *big.Int. +type ChainConfig struct { + // homestead_block switch (nil no fork, 0 = already homestead) + HomesteadBlock *cosmossdk_io_math.Int `protobuf:"bytes,1,opt,name=homestead_block,json=homesteadBlock,proto3,customtype=cosmossdk.io/math.Int" json:"homestead_block,omitempty" yaml:"homestead_block"` + // dao_fork_block corresponds to TheDAO hard-fork switch block (nil no fork) + DAOForkBlock *cosmossdk_io_math.Int `protobuf:"bytes,2,opt,name=dao_fork_block,json=daoForkBlock,proto3,customtype=cosmossdk.io/math.Int" json:"dao_fork_block,omitempty" yaml:"dao_fork_block"` + // dao_fork_support defines whether the nodes supports or opposes the DAO + // hard-fork + DAOForkSupport bool `protobuf:"varint,3,opt,name=dao_fork_support,json=daoForkSupport,proto3" json:"dao_fork_support,omitempty" yaml:"dao_fork_support"` + // eip150_block: EIP150 implements the Gas price changes + // (https://github.com/ethereum/EIPs/issues/150) EIP150 HF block (nil no fork) + EIP150Block *cosmossdk_io_math.Int `protobuf:"bytes,4,opt,name=eip150_block,json=eip150Block,proto3,customtype=cosmossdk.io/math.Int" json:"eip150_block,omitempty" yaml:"eip150_block"` + // eip150_hash: EIP150 HF hash (needed for header only clients as only gas + // pricing changed) + EIP150Hash string `protobuf:"bytes,5,opt,name=eip150_hash,json=eip150Hash,proto3" json:"eip150_hash,omitempty" yaml:"byzantium_block"` + // eip155_block: EIP155Block HF block + EIP155Block *cosmossdk_io_math.Int `protobuf:"bytes,6,opt,name=eip155_block,json=eip155Block,proto3,customtype=cosmossdk.io/math.Int" json:"eip155_block,omitempty" yaml:"eip155_block"` + // eip158_block: EIP158 HF block + EIP158Block *cosmossdk_io_math.Int `protobuf:"bytes,7,opt,name=eip158_block,json=eip158Block,proto3,customtype=cosmossdk.io/math.Int" json:"eip158_block,omitempty" yaml:"eip158_block"` + // byzantium_block: Byzantium switch block (nil no fork, 0 = already on + // byzantium) + ByzantiumBlock *cosmossdk_io_math.Int `protobuf:"bytes,8,opt,name=byzantium_block,json=byzantiumBlock,proto3,customtype=cosmossdk.io/math.Int" json:"byzantium_block,omitempty" yaml:"byzantium_block"` + // constantinople_block: Constantinople switch block (nil no fork, 0 = already + // activated) + ConstantinopleBlock *cosmossdk_io_math.Int `protobuf:"bytes,9,opt,name=constantinople_block,json=constantinopleBlock,proto3,customtype=cosmossdk.io/math.Int" json:"constantinople_block,omitempty" yaml:"constantinople_block"` + // petersburg_block: Petersburg switch block (nil same as Constantinople) + PetersburgBlock *cosmossdk_io_math.Int `protobuf:"bytes,10,opt,name=petersburg_block,json=petersburgBlock,proto3,customtype=cosmossdk.io/math.Int" json:"petersburg_block,omitempty" yaml:"petersburg_block"` + // istanbul_block: Istanbul switch block (nil no fork, 0 = already on + // istanbul) + IstanbulBlock *cosmossdk_io_math.Int `protobuf:"bytes,11,opt,name=istanbul_block,json=istanbulBlock,proto3,customtype=cosmossdk.io/math.Int" json:"istanbul_block,omitempty" yaml:"istanbul_block"` + // muir_glacier_block: Eip-2384 (bomb delay) switch block (nil no fork, 0 = + // already activated) + MuirGlacierBlock *cosmossdk_io_math.Int `protobuf:"bytes,12,opt,name=muir_glacier_block,json=muirGlacierBlock,proto3,customtype=cosmossdk.io/math.Int" json:"muir_glacier_block,omitempty" yaml:"muir_glacier_block"` + // berlin_block: Berlin switch block (nil = no fork, 0 = already on berlin) + BerlinBlock *cosmossdk_io_math.Int `protobuf:"bytes,13,opt,name=berlin_block,json=berlinBlock,proto3,customtype=cosmossdk.io/math.Int" json:"berlin_block,omitempty" yaml:"berlin_block"` + // london_block: London switch block (nil = no fork, 0 = already on london) + LondonBlock *cosmossdk_io_math.Int `protobuf:"bytes,17,opt,name=london_block,json=londonBlock,proto3,customtype=cosmossdk.io/math.Int" json:"london_block,omitempty" yaml:"london_block"` + // arrow_glacier_block: Eip-4345 (bomb delay) switch block (nil = no fork, 0 = + // already activated) + ArrowGlacierBlock *cosmossdk_io_math.Int `protobuf:"bytes,18,opt,name=arrow_glacier_block,json=arrowGlacierBlock,proto3,customtype=cosmossdk.io/math.Int" json:"arrow_glacier_block,omitempty" yaml:"arrow_glacier_block"` + // gray_glacier_block: EIP-5133 (bomb delay) switch block (nil = no fork, 0 = + // already activated) + GrayGlacierBlock *cosmossdk_io_math.Int `protobuf:"bytes,20,opt,name=gray_glacier_block,json=grayGlacierBlock,proto3,customtype=cosmossdk.io/math.Int" json:"gray_glacier_block,omitempty" yaml:"gray_glacier_block"` + // merge_netsplit_block: Virtual fork after The Merge to use as a network + // splitter + MergeNetsplitBlock *cosmossdk_io_math.Int `protobuf:"bytes,21,opt,name=merge_netsplit_block,json=mergeNetsplitBlock,proto3,customtype=cosmossdk.io/math.Int" json:"merge_netsplit_block,omitempty" yaml:"merge_netsplit_block"` + // shanghai_block switch block (nil = no fork, 0 = already on shanghai) + ShanghaiBlock *cosmossdk_io_math.Int `protobuf:"bytes,22,opt,name=shanghai_block,json=shanghaiBlock,proto3,customtype=cosmossdk.io/math.Int" json:"shanghai_block,omitempty" yaml:"shanghai_block"` + // cancun_block switch block (nil = no fork, 0 = already on cancun) + CancunBlock *cosmossdk_io_math.Int `protobuf:"bytes,23,opt,name=cancun_block,json=cancunBlock,proto3,customtype=cosmossdk.io/math.Int" json:"cancun_block,omitempty" yaml:"cancun_block"` + // chain_id is the id of the chain (EIP-155) + ChainId uint64 `protobuf:"varint,24,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` + // denom is the denomination used on the EVM + Denom string `protobuf:"bytes,25,opt,name=denom,proto3" json:"denom,omitempty"` + // decimals is the real decimal precision of the denomination used on the EVM + Decimals uint64 `protobuf:"varint,26,opt,name=decimals,proto3" json:"decimals,omitempty"` +} + +func (m *ChainConfig) Reset() { *m = ChainConfig{} } +func (m *ChainConfig) String() string { return proto.CompactTextString(m) } +func (*ChainConfig) ProtoMessage() {} +func (*ChainConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_d1129b8db63d55c7, []int{3} +} +func (m *ChainConfig) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ChainConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ChainConfig.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ChainConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_ChainConfig.Merge(m, src) +} +func (m *ChainConfig) XXX_Size() int { + return m.Size() +} +func (m *ChainConfig) XXX_DiscardUnknown() { + xxx_messageInfo_ChainConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_ChainConfig proto.InternalMessageInfo + +func (m *ChainConfig) GetDAOForkSupport() bool { + if m != nil { + return m.DAOForkSupport + } + return false +} + +func (m *ChainConfig) GetEIP150Hash() string { + if m != nil { + return m.EIP150Hash + } + return "" +} + +func (m *ChainConfig) GetChainId() uint64 { + if m != nil { + return m.ChainId + } + return 0 +} + +func (m *ChainConfig) GetDenom() string { + if m != nil { + return m.Denom + } + return "" +} + +func (m *ChainConfig) GetDecimals() uint64 { + if m != nil { + return m.Decimals + } + return 0 +} + +// State represents a single Storage key value pair item. +type State struct { + // key is the stored key + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + // value is the stored value for the given key + Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` +} + +func (m *State) Reset() { *m = State{} } +func (m *State) String() string { return proto.CompactTextString(m) } +func (*State) ProtoMessage() {} +func (*State) Descriptor() ([]byte, []int) { + return fileDescriptor_d1129b8db63d55c7, []int{4} +} +func (m *State) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *State) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_State.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *State) XXX_Merge(src proto.Message) { + xxx_messageInfo_State.Merge(m, src) +} +func (m *State) XXX_Size() int { + return m.Size() +} +func (m *State) XXX_DiscardUnknown() { + xxx_messageInfo_State.DiscardUnknown(m) +} + +var xxx_messageInfo_State proto.InternalMessageInfo + +func (m *State) GetKey() string { + if m != nil { + return m.Key + } + return "" +} + +func (m *State) GetValue() string { + if m != nil { + return m.Value + } + return "" +} + +// TransactionLogs define the logs generated from a transaction execution +// with a given hash. It it used for import/export data as transactions are not +// persisted on blockchain state after an upgrade. +type TransactionLogs struct { + // hash of the transaction + Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` + // logs is an array of Logs for the given transaction hash + Logs []*Log `protobuf:"bytes,2,rep,name=logs,proto3" json:"logs,omitempty"` +} + +func (m *TransactionLogs) Reset() { *m = TransactionLogs{} } +func (m *TransactionLogs) String() string { return proto.CompactTextString(m) } +func (*TransactionLogs) ProtoMessage() {} +func (*TransactionLogs) Descriptor() ([]byte, []int) { + return fileDescriptor_d1129b8db63d55c7, []int{5} +} +func (m *TransactionLogs) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *TransactionLogs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_TransactionLogs.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *TransactionLogs) XXX_Merge(src proto.Message) { + xxx_messageInfo_TransactionLogs.Merge(m, src) +} +func (m *TransactionLogs) XXX_Size() int { + return m.Size() +} +func (m *TransactionLogs) XXX_DiscardUnknown() { + xxx_messageInfo_TransactionLogs.DiscardUnknown(m) +} + +var xxx_messageInfo_TransactionLogs proto.InternalMessageInfo + +func (m *TransactionLogs) GetHash() string { + if m != nil { + return m.Hash + } + return "" +} + +func (m *TransactionLogs) GetLogs() []*Log { + if m != nil { + return m.Logs + } + return nil +} + +// Log represents an protobuf compatible Ethereum Log that defines a contract +// log event. These events are generated by the LOG opcode and stored/indexed by +// the node. +// +// NOTE: address, topics and data are consensus fields. The rest of the fields +// are derived, i.e. filled in by the nodes, but not secured by consensus. +type Log struct { + // address of the contract that generated the event + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + // topics is a list of topics provided by the contract. + Topics []string `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty"` + // data which is supplied by the contract, usually ABI-encoded + Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` + // block_number of the block in which the transaction was included + BlockNumber uint64 `protobuf:"varint,4,opt,name=block_number,json=blockNumber,proto3" json:"blockNumber"` + // tx_hash is the transaction hash + TxHash string `protobuf:"bytes,5,opt,name=tx_hash,json=txHash,proto3" json:"transactionHash"` + // tx_index of the transaction in the block + TxIndex uint64 `protobuf:"varint,6,opt,name=tx_index,json=txIndex,proto3" json:"transactionIndex"` + // block_hash of the block in which the transaction was included + BlockHash string `protobuf:"bytes,7,opt,name=block_hash,json=blockHash,proto3" json:"blockHash"` + // index of the log in the block + Index uint64 `protobuf:"varint,8,opt,name=index,proto3" json:"logIndex"` + // removed is true if this log was reverted due to a chain + // reorganisation. You must pay attention to this field if you receive logs + // through a filter query. + Removed bool `protobuf:"varint,9,opt,name=removed,proto3" json:"removed,omitempty"` +} + +func (m *Log) Reset() { *m = Log{} } +func (m *Log) String() string { return proto.CompactTextString(m) } +func (*Log) ProtoMessage() {} +func (*Log) Descriptor() ([]byte, []int) { + return fileDescriptor_d1129b8db63d55c7, []int{6} +} +func (m *Log) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Log) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Log.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Log) XXX_Merge(src proto.Message) { + xxx_messageInfo_Log.Merge(m, src) +} +func (m *Log) XXX_Size() int { + return m.Size() +} +func (m *Log) XXX_DiscardUnknown() { + xxx_messageInfo_Log.DiscardUnknown(m) +} + +var xxx_messageInfo_Log proto.InternalMessageInfo + +func (m *Log) GetAddress() string { + if m != nil { + return m.Address + } + return "" +} + +func (m *Log) GetTopics() []string { + if m != nil { + return m.Topics + } + return nil +} + +func (m *Log) GetData() []byte { + if m != nil { + return m.Data + } + return nil +} + +func (m *Log) GetBlockNumber() uint64 { + if m != nil { + return m.BlockNumber + } + return 0 +} + +func (m *Log) GetTxHash() string { + if m != nil { + return m.TxHash + } + return "" +} + +func (m *Log) GetTxIndex() uint64 { + if m != nil { + return m.TxIndex + } + return 0 +} + +func (m *Log) GetBlockHash() string { + if m != nil { + return m.BlockHash + } + return "" +} + +func (m *Log) GetIndex() uint64 { + if m != nil { + return m.Index + } + return 0 +} + +func (m *Log) GetRemoved() bool { + if m != nil { + return m.Removed + } + return false +} + +// TxResult stores results of Tx execution. +type TxResult struct { + // contract_address contains the ethereum address of the created contract (if + // any). If the state transition is an evm.Call, the contract address will be + // empty. + ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty" yaml:"contract_address"` + // bloom represents the bloom filter bytes + Bloom []byte `protobuf:"bytes,2,opt,name=bloom,proto3" json:"bloom,omitempty"` + // tx_logs contains the transaction hash and the proto-compatible ethereum + // logs. + TxLogs TransactionLogs `protobuf:"bytes,3,opt,name=tx_logs,json=txLogs,proto3" json:"tx_logs" yaml:"tx_logs"` + // ret defines the bytes from the execution. + Ret []byte `protobuf:"bytes,4,opt,name=ret,proto3" json:"ret,omitempty"` + // reverted flag is set to true when the call has been reverted + Reverted bool `protobuf:"varint,5,opt,name=reverted,proto3" json:"reverted,omitempty"` + // gas_used notes the amount of gas consumed while execution + GasUsed uint64 `protobuf:"varint,6,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` +} + +func (m *TxResult) Reset() { *m = TxResult{} } +func (m *TxResult) String() string { return proto.CompactTextString(m) } +func (*TxResult) ProtoMessage() {} +func (*TxResult) Descriptor() ([]byte, []int) { + return fileDescriptor_d1129b8db63d55c7, []int{7} +} +func (m *TxResult) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *TxResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_TxResult.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *TxResult) XXX_Merge(src proto.Message) { + xxx_messageInfo_TxResult.Merge(m, src) +} +func (m *TxResult) XXX_Size() int { + return m.Size() +} +func (m *TxResult) XXX_DiscardUnknown() { + xxx_messageInfo_TxResult.DiscardUnknown(m) +} + +var xxx_messageInfo_TxResult proto.InternalMessageInfo + +// AccessTuple is the element type of an access list. +type AccessTuple struct { + // address is a hex formatted ethereum address + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + // storage_keys are hex formatted hashes of the storage keys + StorageKeys []string `protobuf:"bytes,2,rep,name=storage_keys,json=storageKeys,proto3" json:"storageKeys"` +} + +func (m *AccessTuple) Reset() { *m = AccessTuple{} } +func (m *AccessTuple) String() string { return proto.CompactTextString(m) } +func (*AccessTuple) ProtoMessage() {} +func (*AccessTuple) Descriptor() ([]byte, []int) { + return fileDescriptor_d1129b8db63d55c7, []int{8} +} +func (m *AccessTuple) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *AccessTuple) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_AccessTuple.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *AccessTuple) XXX_Merge(src proto.Message) { + xxx_messageInfo_AccessTuple.Merge(m, src) +} +func (m *AccessTuple) XXX_Size() int { + return m.Size() +} +func (m *AccessTuple) XXX_DiscardUnknown() { + xxx_messageInfo_AccessTuple.DiscardUnknown(m) +} + +var xxx_messageInfo_AccessTuple proto.InternalMessageInfo + +// TraceConfig holds extra parameters to trace functions. +type TraceConfig struct { + // tracer is a custom javascript tracer + Tracer string `protobuf:"bytes,1,opt,name=tracer,proto3" json:"tracer,omitempty"` + // timeout overrides the default timeout of 5 seconds for JavaScript-based + // tracing calls + Timeout string `protobuf:"bytes,2,opt,name=timeout,proto3" json:"timeout,omitempty"` + // reexec defines the number of blocks the tracer is willing to go back + Reexec uint64 `protobuf:"varint,3,opt,name=reexec,proto3" json:"reexec,omitempty"` + // disable_stack switches stack capture + DisableStack bool `protobuf:"varint,5,opt,name=disable_stack,json=disableStack,proto3" json:"disableStack"` + // disable_storage switches storage capture + DisableStorage bool `protobuf:"varint,6,opt,name=disable_storage,json=disableStorage,proto3" json:"disableStorage"` + // debug can be used to print output during capture end + Debug bool `protobuf:"varint,8,opt,name=debug,proto3" json:"debug,omitempty"` + // limit defines the maximum length of output, but zero means unlimited + Limit int32 `protobuf:"varint,9,opt,name=limit,proto3" json:"limit,omitempty"` + // overrides can be used to execute a trace using future fork rules + Overrides *ChainConfig `protobuf:"bytes,10,opt,name=overrides,proto3" json:"overrides,omitempty"` + // enable_memory switches memory capture + EnableMemory bool `protobuf:"varint,11,opt,name=enable_memory,json=enableMemory,proto3" json:"enableMemory"` + // enable_return_data switches the capture of return data + EnableReturnData bool `protobuf:"varint,12,opt,name=enable_return_data,json=enableReturnData,proto3" json:"enableReturnData"` + // tracer_json_config configures the tracer using a JSON string + TracerJsonConfig string `protobuf:"bytes,13,opt,name=tracer_json_config,json=tracerJsonConfig,proto3" json:"tracerConfig"` +} + +func (m *TraceConfig) Reset() { *m = TraceConfig{} } +func (m *TraceConfig) String() string { return proto.CompactTextString(m) } +func (*TraceConfig) ProtoMessage() {} +func (*TraceConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_d1129b8db63d55c7, []int{9} +} +func (m *TraceConfig) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *TraceConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_TraceConfig.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *TraceConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_TraceConfig.Merge(m, src) +} +func (m *TraceConfig) XXX_Size() int { + return m.Size() +} +func (m *TraceConfig) XXX_DiscardUnknown() { + xxx_messageInfo_TraceConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_TraceConfig proto.InternalMessageInfo + +func (m *TraceConfig) GetTracer() string { + if m != nil { + return m.Tracer + } + return "" +} + +func (m *TraceConfig) GetTimeout() string { + if m != nil { + return m.Timeout + } + return "" +} + +func (m *TraceConfig) GetReexec() uint64 { + if m != nil { + return m.Reexec + } + return 0 +} + +func (m *TraceConfig) GetDisableStack() bool { + if m != nil { + return m.DisableStack + } + return false +} + +func (m *TraceConfig) GetDisableStorage() bool { + if m != nil { + return m.DisableStorage + } + return false +} + +func (m *TraceConfig) GetDebug() bool { + if m != nil { + return m.Debug + } + return false +} + +func (m *TraceConfig) GetLimit() int32 { + if m != nil { + return m.Limit + } + return 0 +} + +func (m *TraceConfig) GetOverrides() *ChainConfig { + if m != nil { + return m.Overrides + } + return nil +} + +func (m *TraceConfig) GetEnableMemory() bool { + if m != nil { + return m.EnableMemory + } + return false +} + +func (m *TraceConfig) GetEnableReturnData() bool { + if m != nil { + return m.EnableReturnData + } + return false +} + +func (m *TraceConfig) GetTracerJsonConfig() string { + if m != nil { + return m.TracerJsonConfig + } + return "" +} + +func init() { + proto.RegisterEnum("cosmos.evm.vm.v1.AccessType", AccessType_name, AccessType_value) + proto.RegisterType((*Params)(nil), "cosmos.evm.vm.v1.Params") + proto.RegisterType((*AccessControl)(nil), "cosmos.evm.vm.v1.AccessControl") + proto.RegisterType((*AccessControlType)(nil), "cosmos.evm.vm.v1.AccessControlType") + proto.RegisterType((*ChainConfig)(nil), "cosmos.evm.vm.v1.ChainConfig") + proto.RegisterType((*State)(nil), "cosmos.evm.vm.v1.State") + proto.RegisterType((*TransactionLogs)(nil), "cosmos.evm.vm.v1.TransactionLogs") + proto.RegisterType((*Log)(nil), "cosmos.evm.vm.v1.Log") + proto.RegisterType((*TxResult)(nil), "cosmos.evm.vm.v1.TxResult") + proto.RegisterType((*AccessTuple)(nil), "cosmos.evm.vm.v1.AccessTuple") + proto.RegisterType((*TraceConfig)(nil), "cosmos.evm.vm.v1.TraceConfig") +} + +func init() { proto.RegisterFile("cosmos/evm/vm/v1/evm.proto", fileDescriptor_d1129b8db63d55c7) } + +var fileDescriptor_d1129b8db63d55c7 = []byte{ + // 1956 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x58, 0x4d, 0x6f, 0x1b, 0xc7, + 0xf9, 0x17, 0xa5, 0x95, 0xb4, 0x1c, 0x52, 0xe4, 0x6a, 0x44, 0xc9, 0x34, 0x9d, 0xbf, 0x96, 0xff, + 0x6d, 0x0f, 0xaa, 0x91, 0x4a, 0xb6, 0x1c, 0xb5, 0x86, 0xd3, 0x17, 0x88, 0x32, 0xd3, 0x4a, 0x95, + 0x1d, 0x61, 0xa8, 0x34, 0x48, 0xd1, 0x62, 0x31, 0xdc, 0x9d, 0x90, 0x1b, 0xed, 0xee, 0x10, 0x3b, + 0x43, 0x9a, 0xec, 0x27, 0x08, 0x7c, 0x4a, 0x81, 0x5e, 0x0d, 0x04, 0xe8, 0xa5, 0xc7, 0x7c, 0x84, + 0x1e, 0x83, 0x9c, 0x72, 0x2c, 0x0a, 0x74, 0x51, 0xd0, 0x87, 0x00, 0x3a, 0xea, 0x13, 0x14, 0xf3, + 0xc2, 0x57, 0x29, 0x8a, 0x0a, 0x10, 0xc2, 0x3c, 0x6f, 0xbf, 0xdf, 0xf3, 0xcc, 0x3c, 0xb3, 0x33, + 0x23, 0x50, 0xf1, 0x28, 0x8b, 0x28, 0xdb, 0x23, 0xbd, 0x68, 0x4f, 0xfc, 0x1e, 0x8b, 0xd1, 0x6e, + 0x27, 0xa1, 0x9c, 0x42, 0x4b, 0xd9, 0x76, 0x85, 0x46, 0xfc, 0x1e, 0x57, 0xd6, 0x71, 0x14, 0xc4, + 0x74, 0x4f, 0xfe, 0x55, 0x4e, 0x95, 0x52, 0x8b, 0xb6, 0xa8, 0x1c, 0xee, 0x89, 0x91, 0xd2, 0x3a, + 0x7f, 0x35, 0xc0, 0xca, 0x19, 0x4e, 0x70, 0xc4, 0xe0, 0x63, 0x90, 0x25, 0xbd, 0xc8, 0xf5, 0x49, + 0x4c, 0xa3, 0x72, 0xa6, 0x9a, 0xd9, 0xc9, 0xd6, 0x4a, 0x57, 0xa9, 0x6d, 0x0d, 0x70, 0x14, 0x3e, + 0x73, 0xc6, 0x26, 0x07, 0x99, 0xa4, 0x17, 0x3d, 0x17, 0x43, 0x78, 0x08, 0x00, 0xe9, 0xf3, 0x04, + 0xbb, 0x24, 0xe8, 0xb0, 0xb2, 0x51, 0x5d, 0xda, 0x59, 0xaa, 0x39, 0xc3, 0xd4, 0xce, 0xd6, 0x85, + 0xb6, 0x7e, 0x7c, 0xc6, 0xae, 0x52, 0x7b, 0x5d, 0x03, 0x8c, 0x1d, 0x1d, 0x94, 0x95, 0x42, 0x3d, + 0xe8, 0x30, 0xd8, 0x04, 0x79, 0xaf, 0x8d, 0x83, 0xd8, 0xf5, 0x68, 0xfc, 0x69, 0xd0, 0x2a, 0x2f, + 0x57, 0x33, 0x3b, 0xb9, 0xfd, 0xff, 0xdb, 0x9d, 0x2f, 0x69, 0xf7, 0x48, 0x78, 0x1d, 0x49, 0xa7, + 0x5a, 0xf5, 0xeb, 0xd4, 0x5e, 0xb8, 0x4a, 0xed, 0x0d, 0x05, 0x3d, 0x0d, 0xe0, 0xfc, 0xfd, 0xbb, + 0xaf, 0x1e, 0x66, 0x50, 0xce, 0x9b, 0xb8, 0xc3, 0x7d, 0xb0, 0x89, 0xc3, 0x90, 0xbe, 0x72, 0xbb, + 0xb1, 0xa8, 0x9a, 0x78, 0x9c, 0xf8, 0x2e, 0xef, 0xb3, 0xf2, 0x4a, 0x35, 0xb3, 0x63, 0xa2, 0x0d, + 0x69, 0xfc, 0x68, 0x62, 0x3b, 0xef, 0x33, 0xb8, 0x0f, 0xf2, 0xa2, 0x64, 0xaf, 0x8d, 0xe3, 0x98, + 0x84, 0xac, 0x6c, 0x56, 0x97, 0x76, 0xb2, 0xb5, 0xe2, 0x30, 0xb5, 0x73, 0xf5, 0xdf, 0xbf, 0x38, + 0xd2, 0x6a, 0x94, 0x23, 0xbd, 0x68, 0x24, 0xc0, 0x3f, 0x81, 0x02, 0xf6, 0x3c, 0xc2, 0x98, 0xc8, + 0x85, 0x27, 0x34, 0x2c, 0x67, 0x65, 0x35, 0xf6, 0xf5, 0x6a, 0x0e, 0xa5, 0xdf, 0x91, 0x72, 0xab, + 0x6d, 0x8a, 0x7a, 0x86, 0xa9, 0xbd, 0x36, 0xa3, 0x46, 0x6b, 0x78, 0x5a, 0x84, 0xcf, 0xc0, 0x7d, + 0xec, 0xf1, 0xa0, 0x47, 0x5c, 0xc6, 0x31, 0x0f, 0x3c, 0xb7, 0x93, 0x10, 0x8f, 0x46, 0x9d, 0x20, + 0x24, 0xac, 0x0c, 0x44, 0x7e, 0xe8, 0x9e, 0x72, 0x68, 0x48, 0xfb, 0xd9, 0xc4, 0xfc, 0xec, 0xc1, + 0xeb, 0xef, 0xbe, 0x7a, 0xb8, 0x35, 0xd5, 0x43, 0x7d, 0xd1, 0x45, 0x6a, 0xe5, 0x4f, 0x0c, 0x73, + 0xd1, 0x5a, 0x3a, 0x31, 0xcc, 0x25, 0xcb, 0x38, 0x31, 0xcc, 0x55, 0xcb, 0x74, 0xfe, 0x92, 0x01, + 0xb3, 0xb9, 0xc0, 0x43, 0xb0, 0xe2, 0x25, 0x04, 0x73, 0x22, 0x5b, 0x23, 0xb7, 0xff, 0xa3, 0x1f, + 0xa8, 0xe9, 0x7c, 0xd0, 0x21, 0x35, 0x43, 0xd4, 0x85, 0x74, 0x20, 0xfc, 0x25, 0x30, 0x3c, 0x1c, + 0x86, 0xe5, 0xc5, 0xff, 0x15, 0x40, 0x86, 0x39, 0xff, 0xce, 0x80, 0xf5, 0x6b, 0x1e, 0xd0, 0x03, + 0x39, 0x3d, 0xe7, 0x7c, 0xd0, 0x51, 0xc9, 0x15, 0xf6, 0xdf, 0xf9, 0x3e, 0x6c, 0x09, 0xfa, 0xe3, + 0x61, 0x6a, 0x83, 0x89, 0x7c, 0x95, 0xda, 0x50, 0xf5, 0xd1, 0x14, 0x90, 0x83, 0x00, 0x1e, 0x7b, + 0x40, 0x0f, 0x6c, 0xcc, 0x2e, 0xac, 0x1b, 0x06, 0x8c, 0x97, 0x17, 0x65, 0x4f, 0x3c, 0x19, 0xa6, + 0xf6, 0x6c, 0x62, 0xa7, 0x01, 0xe3, 0x57, 0xa9, 0x5d, 0x99, 0x41, 0x9d, 0x8e, 0x74, 0xd0, 0x3a, + 0x9e, 0x0f, 0x70, 0xbe, 0x29, 0x82, 0xdc, 0x54, 0x93, 0xc3, 0x3f, 0x82, 0x62, 0x9b, 0x46, 0x84, + 0x71, 0x82, 0x7d, 0xb7, 0x19, 0x52, 0xef, 0x42, 0xef, 0xca, 0x27, 0xff, 0x4a, 0xed, 0x4d, 0x55, + 0x20, 0xf3, 0x2f, 0x76, 0x03, 0xba, 0x17, 0x61, 0xde, 0xde, 0x3d, 0x8e, 0x05, 0xe9, 0x96, 0x22, + 0x9d, 0x8b, 0x74, 0x50, 0x61, 0xac, 0xa9, 0x09, 0x05, 0x6c, 0x83, 0x82, 0x8f, 0xa9, 0xfb, 0x29, + 0x4d, 0x2e, 0x34, 0xf8, 0xa2, 0x04, 0xaf, 0x7d, 0x2f, 0xf8, 0x30, 0xb5, 0xf3, 0xcf, 0x0f, 0x3f, + 0xfc, 0x80, 0x26, 0x17, 0x12, 0xe2, 0x2a, 0xb5, 0x37, 0x15, 0xd9, 0x2c, 0x90, 0x83, 0xf2, 0x3e, + 0xa6, 0x63, 0x37, 0xf8, 0x31, 0xb0, 0xc6, 0x0e, 0xac, 0xdb, 0xe9, 0xd0, 0x84, 0x97, 0x97, 0xc4, + 0xc6, 0xab, 0xfd, 0x74, 0x98, 0xda, 0x05, 0x0d, 0xd9, 0x50, 0x96, 0xab, 0xd4, 0xbe, 0x37, 0x07, + 0xaa, 0x63, 0x1c, 0x54, 0xd0, 0xb0, 0xda, 0x55, 0x7c, 0x3a, 0x48, 0xd0, 0x79, 0x7c, 0xf0, 0x48, + 0x17, 0x60, 0xc8, 0x02, 0x7e, 0x7d, 0x5b, 0x01, 0xb9, 0xfa, 0xf1, 0xd9, 0xe3, 0x83, 0x47, 0xa3, + 0xfc, 0xf5, 0xf7, 0x63, 0x1a, 0xc5, 0x41, 0x39, 0x25, 0xaa, 0xe4, 0x8f, 0x81, 0x16, 0xdd, 0x36, + 0x66, 0x6d, 0xf9, 0x75, 0xca, 0xd6, 0x76, 0x44, 0x03, 0x29, 0xa4, 0xdf, 0x62, 0xd6, 0x9e, 0xcc, + 0x7a, 0x73, 0xf0, 0x67, 0x1c, 0xf3, 0xa0, 0x1b, 0x8d, 0xb0, 0x80, 0x0a, 0x16, 0x5e, 0xe3, 0x74, + 0x0f, 0x74, 0xba, 0x2b, 0x77, 0x4d, 0xf7, 0xe0, 0xa6, 0x74, 0x0f, 0x66, 0xd3, 0x55, 0x3e, 0x63, + 0x8e, 0xa7, 0x9a, 0x63, 0xf5, 0xae, 0x1c, 0x4f, 0x6f, 0xe2, 0x78, 0x3a, 0xcb, 0xa1, 0x7c, 0x44, + 0x5f, 0xce, 0xd5, 0x59, 0x36, 0xef, 0xdc, 0x97, 0xd7, 0x66, 0xa8, 0x30, 0xd6, 0x28, 0xf4, 0x0b, + 0x50, 0xf2, 0x68, 0xcc, 0xb8, 0xd0, 0xc5, 0xb4, 0x13, 0x12, 0x4d, 0x91, 0x95, 0x14, 0x4f, 0x6f, + 0xa3, 0x78, 0xa0, 0x4f, 0x83, 0x1b, 0xc2, 0x1d, 0xb4, 0x31, 0xab, 0x56, 0x64, 0x2e, 0xb0, 0x3a, + 0x84, 0x93, 0x84, 0x35, 0xbb, 0x49, 0x4b, 0x13, 0x01, 0x49, 0xf4, 0xde, 0x6d, 0x44, 0xba, 0x43, + 0xe7, 0x43, 0x1d, 0x54, 0x9c, 0xa8, 0x14, 0xc1, 0x27, 0xa0, 0x10, 0x08, 0xd6, 0x66, 0x37, 0xd4, + 0xf0, 0x39, 0x09, 0xbf, 0x7f, 0x1b, 0xbc, 0xde, 0x55, 0xb3, 0x81, 0x0e, 0x5a, 0x1b, 0x29, 0x14, + 0xb4, 0x0f, 0x60, 0xd4, 0x0d, 0x12, 0xb7, 0x15, 0x62, 0x2f, 0x20, 0x89, 0x86, 0xcf, 0x4b, 0xf8, + 0x9f, 0xdd, 0x06, 0x7f, 0x5f, 0xc1, 0x5f, 0x0f, 0x76, 0x90, 0x25, 0x94, 0xbf, 0x51, 0x3a, 0xc5, + 0xd2, 0x00, 0xf9, 0x26, 0x49, 0xc2, 0x20, 0xd6, 0xf8, 0x6b, 0x12, 0xff, 0xd1, 0x6d, 0xf8, 0xba, + 0x83, 0xa6, 0xc3, 0x1c, 0x94, 0x53, 0xe2, 0x18, 0x34, 0xa4, 0xb1, 0x4f, 0x47, 0xa0, 0xeb, 0x77, + 0x06, 0x9d, 0x0e, 0x73, 0x50, 0x4e, 0x89, 0x0a, 0xb4, 0x05, 0x36, 0x70, 0x92, 0xd0, 0x57, 0x73, + 0x13, 0x02, 0x25, 0xf6, 0xcf, 0x6f, 0xc3, 0x1e, 0x7d, 0xa7, 0xaf, 0x47, 0x8b, 0xef, 0xb4, 0xd0, + 0xce, 0x4c, 0x89, 0x0f, 0x60, 0x2b, 0xc1, 0x83, 0x39, 0x9e, 0xd2, 0x9d, 0x27, 0xfe, 0x7a, 0xb0, + 0x83, 0x2c, 0xa1, 0x9c, 0x61, 0xf9, 0x0c, 0x94, 0x22, 0x92, 0xb4, 0x88, 0x1b, 0x13, 0xce, 0x3a, + 0x61, 0xc0, 0x35, 0xcf, 0xe6, 0x9d, 0xf7, 0xc1, 0x4d, 0xe1, 0x0e, 0x82, 0x52, 0xfd, 0x52, 0x6b, + 0xc7, 0x5d, 0xca, 0xda, 0x38, 0x6e, 0xb5, 0x71, 0xa0, 0x59, 0xb6, 0xee, 0xdc, 0xa5, 0xb3, 0x81, + 0x0e, 0x5a, 0x1b, 0x29, 0xc6, 0x4b, 0xed, 0xe1, 0xd8, 0xeb, 0x8e, 0x96, 0xfa, 0xde, 0x9d, 0x97, + 0x7a, 0x3a, 0xcc, 0x41, 0x39, 0x25, 0x2a, 0xd0, 0xfb, 0xc0, 0x54, 0x57, 0xbe, 0xc0, 0x2f, 0x97, + 0xab, 0x99, 0x1d, 0x03, 0xad, 0x4a, 0xf9, 0xd8, 0x87, 0x25, 0xb0, 0xac, 0x2e, 0xb0, 0xf7, 0x05, + 0x11, 0x52, 0x02, 0xac, 0x00, 0xd3, 0x27, 0x5e, 0x10, 0xe1, 0x90, 0x95, 0x2b, 0x32, 0x60, 0x2c, + 0x9f, 0x18, 0x66, 0xc1, 0x2a, 0x9e, 0x18, 0x66, 0xd1, 0xb2, 0x4e, 0x0c, 0xd3, 0xb2, 0xd6, 0x4f, + 0x0c, 0x73, 0xc3, 0x2a, 0xa1, 0xb5, 0x01, 0x0d, 0xa9, 0xdb, 0x7b, 0xa2, 0x32, 0x40, 0x39, 0xf2, + 0x0a, 0x33, 0xfd, 0xd5, 0x42, 0x05, 0x0f, 0x73, 0x1c, 0x0e, 0x98, 0x9e, 0x55, 0x64, 0xa9, 0xb9, + 0x9e, 0x3a, 0x03, 0xf7, 0xc0, 0xb2, 0xb8, 0x84, 0x11, 0x68, 0x81, 0xa5, 0x0b, 0x32, 0x50, 0x27, + 0x37, 0x12, 0x43, 0x91, 0x62, 0x0f, 0x87, 0x5d, 0xa2, 0x0e, 0x5c, 0xa4, 0x04, 0xe7, 0x0c, 0x14, + 0xcf, 0x13, 0x1c, 0x33, 0x71, 0x81, 0xa3, 0xf1, 0x29, 0x6d, 0x31, 0x08, 0x81, 0x21, 0x0f, 0x1d, + 0x15, 0x2b, 0xc7, 0xf0, 0x27, 0xc0, 0x08, 0x69, 0x8b, 0xc9, 0xab, 0x47, 0x6e, 0x7f, 0xf3, 0xfa, + 0x3d, 0xe7, 0x94, 0xb6, 0x90, 0x74, 0x71, 0xbe, 0x59, 0x04, 0x4b, 0xa7, 0xb4, 0x05, 0xcb, 0x60, + 0x15, 0xfb, 0x7e, 0x42, 0x18, 0xd3, 0x48, 0x23, 0x11, 0x6e, 0x81, 0x15, 0x4e, 0x3b, 0x81, 0xa7, + 0xe0, 0xb2, 0x48, 0x4b, 0x82, 0xd8, 0xc7, 0x1c, 0xcb, 0x53, 0x3a, 0x8f, 0xe4, 0x58, 0xdc, 0x87, + 0x65, 0x65, 0x6e, 0xdc, 0x8d, 0x9a, 0x24, 0x91, 0x87, 0xad, 0x51, 0x2b, 0x5e, 0xa6, 0x76, 0x4e, + 0xea, 0x5f, 0x4a, 0x35, 0x9a, 0x16, 0xe0, 0xbb, 0x60, 0x95, 0xf7, 0xa7, 0x0f, 0xce, 0x8d, 0xcb, + 0xd4, 0x2e, 0xf2, 0x49, 0x99, 0xe2, 0x5c, 0x44, 0x2b, 0xbc, 0x2f, 0xcf, 0xc7, 0x3d, 0x60, 0xf2, + 0xbe, 0x1b, 0xc4, 0x3e, 0xe9, 0xcb, 0xb3, 0xd1, 0xa8, 0x95, 0x2e, 0x53, 0xdb, 0x9a, 0x72, 0x3f, + 0x16, 0x36, 0xb4, 0xca, 0xfb, 0x72, 0x00, 0xdf, 0x05, 0x40, 0xa5, 0x24, 0x19, 0xd4, 0x51, 0xb7, + 0x76, 0x99, 0xda, 0x59, 0xa9, 0x95, 0xd8, 0x93, 0x21, 0x74, 0xc0, 0xb2, 0xc2, 0x36, 0x25, 0x76, + 0xfe, 0x32, 0xb5, 0xcd, 0x90, 0xb6, 0x14, 0xa6, 0x32, 0x89, 0xa9, 0x4a, 0x48, 0x44, 0x7b, 0xc4, + 0x97, 0xe7, 0x8d, 0x89, 0x46, 0xa2, 0xf3, 0xc5, 0x22, 0x30, 0xcf, 0xfb, 0x88, 0xb0, 0x6e, 0xc8, + 0xe1, 0x07, 0xc0, 0x92, 0xb7, 0x39, 0xec, 0x71, 0x77, 0x66, 0x6a, 0x6b, 0x0f, 0x26, 0xa7, 0xc3, + 0xbc, 0x87, 0x83, 0x8a, 0x23, 0xd5, 0xa1, 0x9e, 0xff, 0x12, 0x58, 0x6e, 0x86, 0x94, 0x46, 0xb2, + 0x13, 0xf2, 0x48, 0x09, 0xf0, 0x63, 0x39, 0x6b, 0x72, 0x95, 0x97, 0xe4, 0x4d, 0xf9, 0xff, 0xaf, + 0xaf, 0xf2, 0x5c, 0xab, 0xd4, 0x1e, 0xe8, 0x07, 0x51, 0x41, 0x71, 0xeb, 0x78, 0xfd, 0x16, 0x5a, + 0xe1, 0x7d, 0xd9, 0x4f, 0x16, 0x58, 0x4a, 0x08, 0x97, 0x2b, 0x97, 0x47, 0x62, 0x28, 0xf6, 0x45, + 0x42, 0x7a, 0x24, 0xe1, 0xc4, 0x97, 0x2b, 0x64, 0xa2, 0xb1, 0x2c, 0x36, 0x59, 0x0b, 0x33, 0xb7, + 0xcb, 0x88, 0xaf, 0x96, 0x03, 0xad, 0xb6, 0x30, 0xfb, 0x88, 0x11, 0xff, 0x99, 0xf1, 0xf9, 0x97, + 0xf6, 0x82, 0x83, 0x41, 0x4e, 0x5f, 0xa2, 0xbb, 0x9d, 0x90, 0xdc, 0xd2, 0x66, 0xfb, 0x20, 0xcf, + 0x38, 0x4d, 0x70, 0x8b, 0xb8, 0x17, 0x64, 0xa0, 0x9b, 0x4d, 0xb5, 0x8e, 0xd6, 0xff, 0x8e, 0x0c, + 0x18, 0x9a, 0x16, 0x34, 0xc5, 0x97, 0x06, 0xc8, 0x9d, 0x27, 0xd8, 0x23, 0xfa, 0x4a, 0x2c, 0x1a, + 0x56, 0x88, 0x89, 0xa6, 0xd0, 0x92, 0xe0, 0xe6, 0x41, 0x44, 0x68, 0x97, 0xeb, 0x4d, 0x35, 0x12, + 0x45, 0x44, 0x42, 0x48, 0x9f, 0x78, 0x72, 0x2e, 0x0d, 0xa4, 0x25, 0x78, 0x00, 0xd6, 0xfc, 0x80, + 0xe1, 0x66, 0x28, 0x1f, 0x53, 0xde, 0x85, 0x2a, 0xbf, 0x66, 0x5d, 0xa6, 0x76, 0x5e, 0x1b, 0x1a, + 0x42, 0x8f, 0x66, 0x24, 0xf8, 0x3e, 0x28, 0x4e, 0xc2, 0x64, 0xb6, 0xea, 0x0d, 0x59, 0x83, 0x97, + 0xa9, 0x5d, 0x18, 0xbb, 0x4a, 0x0b, 0x9a, 0x93, 0xd5, 0xb7, 0xa9, 0xd9, 0x6d, 0xc9, 0x0e, 0x34, + 0x91, 0x12, 0x84, 0x36, 0x0c, 0xa2, 0x80, 0xcb, 0x8e, 0x5b, 0x46, 0x4a, 0x80, 0xef, 0x83, 0x2c, + 0xed, 0x91, 0x24, 0x09, 0x7c, 0xf9, 0xb6, 0xfb, 0xe1, 0x37, 0x31, 0x9a, 0xf8, 0x8b, 0xe2, 0x48, + 0x2c, 0x93, 0x8c, 0x48, 0x44, 0x93, 0x81, 0xbc, 0x74, 0xe8, 0xe2, 0x94, 0xe1, 0x85, 0xd4, 0xa3, + 0x19, 0x09, 0xd6, 0x00, 0xd4, 0x61, 0x09, 0xe1, 0xdd, 0x24, 0x76, 0xe5, 0x47, 0x20, 0x2f, 0x63, + 0xe5, 0x56, 0x54, 0x56, 0x24, 0x8d, 0xcf, 0x31, 0xc7, 0xe8, 0x9a, 0x06, 0xfe, 0x0a, 0x40, 0xb5, + 0x26, 0xee, 0x67, 0x8c, 0x8e, 0x1f, 0xf5, 0xea, 0xd6, 0x20, 0xf9, 0x95, 0x55, 0xe7, 0x6c, 0x29, + 0xe9, 0x84, 0x51, 0x5d, 0xc5, 0x89, 0x61, 0x1a, 0xd6, 0xb2, 0x7a, 0x84, 0x8e, 0xe7, 0x4f, 0x57, + 0x81, 0x36, 0x46, 0xf2, 0x54, 0x7a, 0x0f, 0xff, 0x91, 0x01, 0x53, 0x6f, 0x39, 0xf8, 0x0b, 0x50, + 0x39, 0x3c, 0x3a, 0xaa, 0x37, 0x1a, 0xee, 0xf9, 0x27, 0x67, 0x75, 0xf7, 0xac, 0x8e, 0x5e, 0x1c, + 0x37, 0x1a, 0xc7, 0x1f, 0xbe, 0x3c, 0xad, 0x37, 0x1a, 0xd6, 0x42, 0xe5, 0x9d, 0xd7, 0x6f, 0xaa, + 0xe5, 0x89, 0xff, 0x19, 0x49, 0xa2, 0x80, 0xb1, 0x80, 0xc6, 0xa1, 0xe8, 0xd4, 0xf7, 0xc0, 0xd6, + 0x74, 0x34, 0xaa, 0x37, 0xce, 0xd1, 0xf1, 0xd1, 0x79, 0xfd, 0xb9, 0x95, 0xa9, 0x94, 0x5f, 0xbf, + 0xa9, 0x96, 0x26, 0x91, 0x88, 0x30, 0x9e, 0x04, 0x9e, 0xd8, 0x29, 0x4f, 0x41, 0xf9, 0x66, 0xce, + 0xfa, 0x73, 0x6b, 0xb1, 0x52, 0x79, 0xfd, 0xa6, 0xba, 0x75, 0x13, 0x23, 0xf1, 0x2b, 0xc6, 0xe7, + 0x7f, 0xdb, 0x5e, 0xa8, 0x3d, 0xfb, 0x7a, 0xb8, 0x9d, 0xf9, 0x76, 0xb8, 0x9d, 0xf9, 0xcf, 0x70, + 0x3b, 0xf3, 0xc5, 0xdb, 0xed, 0x85, 0x6f, 0xdf, 0x6e, 0x2f, 0xfc, 0xf3, 0xed, 0xf6, 0xc2, 0x1f, + 0xaa, 0xad, 0x80, 0xb7, 0xbb, 0xcd, 0x5d, 0x8f, 0x46, 0x7b, 0xf3, 0x6f, 0x77, 0xf1, 0x4a, 0x65, + 0xcd, 0x15, 0xf9, 0x6f, 0x9c, 0x27, 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x3d, 0xc6, 0xdf, 0xbc, + 0x1f, 0x12, 0x00, 0x00, +} + +func (m *Params) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Params) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.ActiveStaticPrecompiles) > 0 { + for iNdEx := len(m.ActiveStaticPrecompiles) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.ActiveStaticPrecompiles[iNdEx]) + copy(dAtA[i:], m.ActiveStaticPrecompiles[iNdEx]) + i = encodeVarintEvm(dAtA, i, uint64(len(m.ActiveStaticPrecompiles[iNdEx]))) + i-- + dAtA[i] = 0x52 + } + } + { + size, err := m.AccessControl.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintEvm(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x4a + if len(m.EVMChannels) > 0 { + for iNdEx := len(m.EVMChannels) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.EVMChannels[iNdEx]) + copy(dAtA[i:], m.EVMChannels[iNdEx]) + i = encodeVarintEvm(dAtA, i, uint64(len(m.EVMChannels[iNdEx]))) + i-- + dAtA[i] = 0x42 + } + } + if m.AllowUnprotectedTxs { + i-- + if m.AllowUnprotectedTxs { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x30 + } + { + size, err := m.ChainConfig.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintEvm(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + if len(m.ExtraEIPs) > 0 { + dAtA4 := make([]byte, len(m.ExtraEIPs)*10) + var j3 int + for _, num1 := range m.ExtraEIPs { + num := uint64(num1) + for num >= 1<<7 { + dAtA4[j3] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j3++ + } + dAtA4[j3] = uint8(num) + j3++ + } + i -= j3 + copy(dAtA[i:], dAtA4[:j3]) + i = encodeVarintEvm(dAtA, i, uint64(j3)) + i-- + dAtA[i] = 0x22 + } + if len(m.EvmDenom) > 0 { + i -= len(m.EvmDenom) + copy(dAtA[i:], m.EvmDenom) + i = encodeVarintEvm(dAtA, i, uint64(len(m.EvmDenom))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *AccessControl) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *AccessControl) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *AccessControl) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.Call.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintEvm(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + { + size, err := m.Create.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintEvm(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil +} + +func (m *AccessControlType) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *AccessControlType) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *AccessControlType) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.AccessControlList) > 0 { + for iNdEx := len(m.AccessControlList) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.AccessControlList[iNdEx]) + copy(dAtA[i:], m.AccessControlList[iNdEx]) + i = encodeVarintEvm(dAtA, i, uint64(len(m.AccessControlList[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if m.AccessType != 0 { + i = encodeVarintEvm(dAtA, i, uint64(m.AccessType)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *ChainConfig) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ChainConfig) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ChainConfig) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Decimals != 0 { + i = encodeVarintEvm(dAtA, i, uint64(m.Decimals)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xd0 + } + if len(m.Denom) > 0 { + i -= len(m.Denom) + copy(dAtA[i:], m.Denom) + i = encodeVarintEvm(dAtA, i, uint64(len(m.Denom))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xca + } + if m.ChainId != 0 { + i = encodeVarintEvm(dAtA, i, uint64(m.ChainId)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xc0 + } + if m.CancunBlock != nil { + { + size := m.CancunBlock.Size() + i -= size + if _, err := m.CancunBlock.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintEvm(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xba + } + if m.ShanghaiBlock != nil { + { + size := m.ShanghaiBlock.Size() + i -= size + if _, err := m.ShanghaiBlock.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintEvm(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xb2 + } + if m.MergeNetsplitBlock != nil { + { + size := m.MergeNetsplitBlock.Size() + i -= size + if _, err := m.MergeNetsplitBlock.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintEvm(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xaa + } + if m.GrayGlacierBlock != nil { + { + size := m.GrayGlacierBlock.Size() + i -= size + if _, err := m.GrayGlacierBlock.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintEvm(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa2 + } + if m.ArrowGlacierBlock != nil { + { + size := m.ArrowGlacierBlock.Size() + i -= size + if _, err := m.ArrowGlacierBlock.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintEvm(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x92 + } + if m.LondonBlock != nil { + { + size := m.LondonBlock.Size() + i -= size + if _, err := m.LondonBlock.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintEvm(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x8a + } + if m.BerlinBlock != nil { + { + size := m.BerlinBlock.Size() + i -= size + if _, err := m.BerlinBlock.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintEvm(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x6a + } + if m.MuirGlacierBlock != nil { + { + size := m.MuirGlacierBlock.Size() + i -= size + if _, err := m.MuirGlacierBlock.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintEvm(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x62 + } + if m.IstanbulBlock != nil { + { + size := m.IstanbulBlock.Size() + i -= size + if _, err := m.IstanbulBlock.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintEvm(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x5a + } + if m.PetersburgBlock != nil { + { + size := m.PetersburgBlock.Size() + i -= size + if _, err := m.PetersburgBlock.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintEvm(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x52 + } + if m.ConstantinopleBlock != nil { + { + size := m.ConstantinopleBlock.Size() + i -= size + if _, err := m.ConstantinopleBlock.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintEvm(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x4a + } + if m.ByzantiumBlock != nil { + { + size := m.ByzantiumBlock.Size() + i -= size + if _, err := m.ByzantiumBlock.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintEvm(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x42 + } + if m.EIP158Block != nil { + { + size := m.EIP158Block.Size() + i -= size + if _, err := m.EIP158Block.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintEvm(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a + } + if m.EIP155Block != nil { + { + size := m.EIP155Block.Size() + i -= size + if _, err := m.EIP155Block.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintEvm(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + } + if len(m.EIP150Hash) > 0 { + i -= len(m.EIP150Hash) + copy(dAtA[i:], m.EIP150Hash) + i = encodeVarintEvm(dAtA, i, uint64(len(m.EIP150Hash))) + i-- + dAtA[i] = 0x2a + } + if m.EIP150Block != nil { + { + size := m.EIP150Block.Size() + i -= size + if _, err := m.EIP150Block.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintEvm(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if m.DAOForkSupport { + i-- + if m.DAOForkSupport { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if m.DAOForkBlock != nil { + { + size := m.DAOForkBlock.Size() + i -= size + if _, err := m.DAOForkBlock.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintEvm(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.HomesteadBlock != nil { + { + size := m.HomesteadBlock.Size() + i -= size + if _, err := m.HomesteadBlock.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintEvm(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *State) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *State) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *State) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Value) > 0 { + i -= len(m.Value) + copy(dAtA[i:], m.Value) + i = encodeVarintEvm(dAtA, i, uint64(len(m.Value))) + i-- + dAtA[i] = 0x12 + } + if len(m.Key) > 0 { + i -= len(m.Key) + copy(dAtA[i:], m.Key) + i = encodeVarintEvm(dAtA, i, uint64(len(m.Key))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *TransactionLogs) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *TransactionLogs) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *TransactionLogs) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Logs) > 0 { + for iNdEx := len(m.Logs) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Logs[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintEvm(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + } + if len(m.Hash) > 0 { + i -= len(m.Hash) + copy(dAtA[i:], m.Hash) + i = encodeVarintEvm(dAtA, i, uint64(len(m.Hash))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Log) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Log) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Log) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Removed { + i-- + if m.Removed { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x48 + } + if m.Index != 0 { + i = encodeVarintEvm(dAtA, i, uint64(m.Index)) + i-- + dAtA[i] = 0x40 + } + if len(m.BlockHash) > 0 { + i -= len(m.BlockHash) + copy(dAtA[i:], m.BlockHash) + i = encodeVarintEvm(dAtA, i, uint64(len(m.BlockHash))) + i-- + dAtA[i] = 0x3a + } + if m.TxIndex != 0 { + i = encodeVarintEvm(dAtA, i, uint64(m.TxIndex)) + i-- + dAtA[i] = 0x30 + } + if len(m.TxHash) > 0 { + i -= len(m.TxHash) + copy(dAtA[i:], m.TxHash) + i = encodeVarintEvm(dAtA, i, uint64(len(m.TxHash))) + i-- + dAtA[i] = 0x2a + } + if m.BlockNumber != 0 { + i = encodeVarintEvm(dAtA, i, uint64(m.BlockNumber)) + i-- + dAtA[i] = 0x20 + } + if len(m.Data) > 0 { + i -= len(m.Data) + copy(dAtA[i:], m.Data) + i = encodeVarintEvm(dAtA, i, uint64(len(m.Data))) + i-- + dAtA[i] = 0x1a + } + if len(m.Topics) > 0 { + for iNdEx := len(m.Topics) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Topics[iNdEx]) + copy(dAtA[i:], m.Topics[iNdEx]) + i = encodeVarintEvm(dAtA, i, uint64(len(m.Topics[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(m.Address) > 0 { + i -= len(m.Address) + copy(dAtA[i:], m.Address) + i = encodeVarintEvm(dAtA, i, uint64(len(m.Address))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *TxResult) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *TxResult) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *TxResult) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.GasUsed != 0 { + i = encodeVarintEvm(dAtA, i, uint64(m.GasUsed)) + i-- + dAtA[i] = 0x30 + } + if m.Reverted { + i-- + if m.Reverted { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x28 + } + if len(m.Ret) > 0 { + i -= len(m.Ret) + copy(dAtA[i:], m.Ret) + i = encodeVarintEvm(dAtA, i, uint64(len(m.Ret))) + i-- + dAtA[i] = 0x22 + } + { + size, err := m.TxLogs.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintEvm(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + if len(m.Bloom) > 0 { + i -= len(m.Bloom) + copy(dAtA[i:], m.Bloom) + i = encodeVarintEvm(dAtA, i, uint64(len(m.Bloom))) + i-- + dAtA[i] = 0x12 + } + if len(m.ContractAddress) > 0 { + i -= len(m.ContractAddress) + copy(dAtA[i:], m.ContractAddress) + i = encodeVarintEvm(dAtA, i, uint64(len(m.ContractAddress))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *AccessTuple) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *AccessTuple) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *AccessTuple) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.StorageKeys) > 0 { + for iNdEx := len(m.StorageKeys) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.StorageKeys[iNdEx]) + copy(dAtA[i:], m.StorageKeys[iNdEx]) + i = encodeVarintEvm(dAtA, i, uint64(len(m.StorageKeys[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(m.Address) > 0 { + i -= len(m.Address) + copy(dAtA[i:], m.Address) + i = encodeVarintEvm(dAtA, i, uint64(len(m.Address))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *TraceConfig) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *TraceConfig) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *TraceConfig) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.TracerJsonConfig) > 0 { + i -= len(m.TracerJsonConfig) + copy(dAtA[i:], m.TracerJsonConfig) + i = encodeVarintEvm(dAtA, i, uint64(len(m.TracerJsonConfig))) + i-- + dAtA[i] = 0x6a + } + if m.EnableReturnData { + i-- + if m.EnableReturnData { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x60 + } + if m.EnableMemory { + i-- + if m.EnableMemory { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x58 + } + if m.Overrides != nil { + { + size, err := m.Overrides.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintEvm(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x52 + } + if m.Limit != 0 { + i = encodeVarintEvm(dAtA, i, uint64(m.Limit)) + i-- + dAtA[i] = 0x48 + } + if m.Debug { + i-- + if m.Debug { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x40 + } + if m.DisableStorage { + i-- + if m.DisableStorage { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x30 + } + if m.DisableStack { + i-- + if m.DisableStack { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x28 + } + if m.Reexec != 0 { + i = encodeVarintEvm(dAtA, i, uint64(m.Reexec)) + i-- + dAtA[i] = 0x18 + } + if len(m.Timeout) > 0 { + i -= len(m.Timeout) + copy(dAtA[i:], m.Timeout) + i = encodeVarintEvm(dAtA, i, uint64(len(m.Timeout))) + i-- + dAtA[i] = 0x12 + } + if len(m.Tracer) > 0 { + i -= len(m.Tracer) + copy(dAtA[i:], m.Tracer) + i = encodeVarintEvm(dAtA, i, uint64(len(m.Tracer))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarintEvm(dAtA []byte, offset int, v uint64) int { + offset -= sovEvm(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *Params) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.EvmDenom) + if l > 0 { + n += 1 + l + sovEvm(uint64(l)) + } + if len(m.ExtraEIPs) > 0 { + l = 0 + for _, e := range m.ExtraEIPs { + l += sovEvm(uint64(e)) + } + n += 1 + sovEvm(uint64(l)) + l + } + l = m.ChainConfig.Size() + n += 1 + l + sovEvm(uint64(l)) + if m.AllowUnprotectedTxs { + n += 2 + } + if len(m.EVMChannels) > 0 { + for _, s := range m.EVMChannels { + l = len(s) + n += 1 + l + sovEvm(uint64(l)) + } + } + l = m.AccessControl.Size() + n += 1 + l + sovEvm(uint64(l)) + if len(m.ActiveStaticPrecompiles) > 0 { + for _, s := range m.ActiveStaticPrecompiles { + l = len(s) + n += 1 + l + sovEvm(uint64(l)) + } + } + return n +} + +func (m *AccessControl) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.Create.Size() + n += 1 + l + sovEvm(uint64(l)) + l = m.Call.Size() + n += 1 + l + sovEvm(uint64(l)) + return n +} + +func (m *AccessControlType) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.AccessType != 0 { + n += 1 + sovEvm(uint64(m.AccessType)) + } + if len(m.AccessControlList) > 0 { + for _, s := range m.AccessControlList { + l = len(s) + n += 1 + l + sovEvm(uint64(l)) + } + } + return n +} + +func (m *ChainConfig) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.HomesteadBlock != nil { + l = m.HomesteadBlock.Size() + n += 1 + l + sovEvm(uint64(l)) + } + if m.DAOForkBlock != nil { + l = m.DAOForkBlock.Size() + n += 1 + l + sovEvm(uint64(l)) + } + if m.DAOForkSupport { + n += 2 + } + if m.EIP150Block != nil { + l = m.EIP150Block.Size() + n += 1 + l + sovEvm(uint64(l)) + } + l = len(m.EIP150Hash) + if l > 0 { + n += 1 + l + sovEvm(uint64(l)) + } + if m.EIP155Block != nil { + l = m.EIP155Block.Size() + n += 1 + l + sovEvm(uint64(l)) + } + if m.EIP158Block != nil { + l = m.EIP158Block.Size() + n += 1 + l + sovEvm(uint64(l)) + } + if m.ByzantiumBlock != nil { + l = m.ByzantiumBlock.Size() + n += 1 + l + sovEvm(uint64(l)) + } + if m.ConstantinopleBlock != nil { + l = m.ConstantinopleBlock.Size() + n += 1 + l + sovEvm(uint64(l)) + } + if m.PetersburgBlock != nil { + l = m.PetersburgBlock.Size() + n += 1 + l + sovEvm(uint64(l)) + } + if m.IstanbulBlock != nil { + l = m.IstanbulBlock.Size() + n += 1 + l + sovEvm(uint64(l)) + } + if m.MuirGlacierBlock != nil { + l = m.MuirGlacierBlock.Size() + n += 1 + l + sovEvm(uint64(l)) + } + if m.BerlinBlock != nil { + l = m.BerlinBlock.Size() + n += 1 + l + sovEvm(uint64(l)) + } + if m.LondonBlock != nil { + l = m.LondonBlock.Size() + n += 2 + l + sovEvm(uint64(l)) + } + if m.ArrowGlacierBlock != nil { + l = m.ArrowGlacierBlock.Size() + n += 2 + l + sovEvm(uint64(l)) + } + if m.GrayGlacierBlock != nil { + l = m.GrayGlacierBlock.Size() + n += 2 + l + sovEvm(uint64(l)) + } + if m.MergeNetsplitBlock != nil { + l = m.MergeNetsplitBlock.Size() + n += 2 + l + sovEvm(uint64(l)) + } + if m.ShanghaiBlock != nil { + l = m.ShanghaiBlock.Size() + n += 2 + l + sovEvm(uint64(l)) + } + if m.CancunBlock != nil { + l = m.CancunBlock.Size() + n += 2 + l + sovEvm(uint64(l)) + } + if m.ChainId != 0 { + n += 2 + sovEvm(uint64(m.ChainId)) + } + l = len(m.Denom) + if l > 0 { + n += 2 + l + sovEvm(uint64(l)) + } + if m.Decimals != 0 { + n += 2 + sovEvm(uint64(m.Decimals)) + } + return n +} + +func (m *State) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Key) + if l > 0 { + n += 1 + l + sovEvm(uint64(l)) + } + l = len(m.Value) + if l > 0 { + n += 1 + l + sovEvm(uint64(l)) + } + return n +} + +func (m *TransactionLogs) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Hash) + if l > 0 { + n += 1 + l + sovEvm(uint64(l)) + } + if len(m.Logs) > 0 { + for _, e := range m.Logs { + l = e.Size() + n += 1 + l + sovEvm(uint64(l)) + } + } + return n +} + +func (m *Log) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Address) + if l > 0 { + n += 1 + l + sovEvm(uint64(l)) + } + if len(m.Topics) > 0 { + for _, s := range m.Topics { + l = len(s) + n += 1 + l + sovEvm(uint64(l)) + } + } + l = len(m.Data) + if l > 0 { + n += 1 + l + sovEvm(uint64(l)) + } + if m.BlockNumber != 0 { + n += 1 + sovEvm(uint64(m.BlockNumber)) + } + l = len(m.TxHash) + if l > 0 { + n += 1 + l + sovEvm(uint64(l)) + } + if m.TxIndex != 0 { + n += 1 + sovEvm(uint64(m.TxIndex)) + } + l = len(m.BlockHash) + if l > 0 { + n += 1 + l + sovEvm(uint64(l)) + } + if m.Index != 0 { + n += 1 + sovEvm(uint64(m.Index)) + } + if m.Removed { + n += 2 + } + return n +} + +func (m *TxResult) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ContractAddress) + if l > 0 { + n += 1 + l + sovEvm(uint64(l)) + } + l = len(m.Bloom) + if l > 0 { + n += 1 + l + sovEvm(uint64(l)) + } + l = m.TxLogs.Size() + n += 1 + l + sovEvm(uint64(l)) + l = len(m.Ret) + if l > 0 { + n += 1 + l + sovEvm(uint64(l)) + } + if m.Reverted { + n += 2 + } + if m.GasUsed != 0 { + n += 1 + sovEvm(uint64(m.GasUsed)) + } + return n +} + +func (m *AccessTuple) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Address) + if l > 0 { + n += 1 + l + sovEvm(uint64(l)) + } + if len(m.StorageKeys) > 0 { + for _, s := range m.StorageKeys { + l = len(s) + n += 1 + l + sovEvm(uint64(l)) + } + } + return n +} + +func (m *TraceConfig) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Tracer) + if l > 0 { + n += 1 + l + sovEvm(uint64(l)) + } + l = len(m.Timeout) + if l > 0 { + n += 1 + l + sovEvm(uint64(l)) + } + if m.Reexec != 0 { + n += 1 + sovEvm(uint64(m.Reexec)) + } + if m.DisableStack { + n += 2 + } + if m.DisableStorage { + n += 2 + } + if m.Debug { + n += 2 + } + if m.Limit != 0 { + n += 1 + sovEvm(uint64(m.Limit)) + } + if m.Overrides != nil { + l = m.Overrides.Size() + n += 1 + l + sovEvm(uint64(l)) + } + if m.EnableMemory { + n += 2 + } + if m.EnableReturnData { + n += 2 + } + l = len(m.TracerJsonConfig) + if l > 0 { + n += 1 + l + sovEvm(uint64(l)) + } + return n +} + +func sovEvm(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozEvm(x uint64) (n int) { + return sovEvm(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *Params) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Params: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Params: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EvmDenom", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.EvmDenom = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType == 0 { + var v int64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.ExtraEIPs = append(m.ExtraEIPs, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(m.ExtraEIPs) == 0 { + m.ExtraEIPs = make([]int64, 0, elementCount) + } + for iNdEx < postIndex { + var v int64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.ExtraEIPs = append(m.ExtraEIPs, v) + } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field ExtraEIPs", wireType) + } + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ChainConfig", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.ChainConfig.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AllowUnprotectedTxs", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.AllowUnprotectedTxs = bool(v != 0) + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EVMChannels", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.EVMChannels = append(m.EVMChannels, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AccessControl", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.AccessControl.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ActiveStaticPrecompiles", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ActiveStaticPrecompiles = append(m.ActiveStaticPrecompiles, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipEvm(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthEvm + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *AccessControl) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: AccessControl: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: AccessControl: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Create", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Create.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Call", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Call.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipEvm(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthEvm + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *AccessControlType) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: AccessControlType: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: AccessControlType: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AccessType", wireType) + } + m.AccessType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.AccessType |= AccessType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AccessControlList", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AccessControlList = append(m.AccessControlList, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipEvm(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthEvm + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ChainConfig) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ChainConfig: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ChainConfig: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field HomesteadBlock", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var v cosmossdk_io_math.Int + m.HomesteadBlock = &v + if err := m.HomesteadBlock.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DAOForkBlock", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var v cosmossdk_io_math.Int + m.DAOForkBlock = &v + if err := m.DAOForkBlock.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DAOForkSupport", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.DAOForkSupport = bool(v != 0) + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EIP150Block", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var v cosmossdk_io_math.Int + m.EIP150Block = &v + if err := m.EIP150Block.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EIP150Hash", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.EIP150Hash = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EIP155Block", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var v cosmossdk_io_math.Int + m.EIP155Block = &v + if err := m.EIP155Block.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field EIP158Block", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var v cosmossdk_io_math.Int + m.EIP158Block = &v + if err := m.EIP158Block.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ByzantiumBlock", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var v cosmossdk_io_math.Int + m.ByzantiumBlock = &v + if err := m.ByzantiumBlock.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ConstantinopleBlock", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var v cosmossdk_io_math.Int + m.ConstantinopleBlock = &v + if err := m.ConstantinopleBlock.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PetersburgBlock", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var v cosmossdk_io_math.Int + m.PetersburgBlock = &v + if err := m.PetersburgBlock.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field IstanbulBlock", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var v cosmossdk_io_math.Int + m.IstanbulBlock = &v + if err := m.IstanbulBlock.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 12: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MuirGlacierBlock", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var v cosmossdk_io_math.Int + m.MuirGlacierBlock = &v + if err := m.MuirGlacierBlock.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 13: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BerlinBlock", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var v cosmossdk_io_math.Int + m.BerlinBlock = &v + if err := m.BerlinBlock.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 17: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LondonBlock", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var v cosmossdk_io_math.Int + m.LondonBlock = &v + if err := m.LondonBlock.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 18: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ArrowGlacierBlock", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var v cosmossdk_io_math.Int + m.ArrowGlacierBlock = &v + if err := m.ArrowGlacierBlock.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 20: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GrayGlacierBlock", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var v cosmossdk_io_math.Int + m.GrayGlacierBlock = &v + if err := m.GrayGlacierBlock.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 21: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MergeNetsplitBlock", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var v cosmossdk_io_math.Int + m.MergeNetsplitBlock = &v + if err := m.MergeNetsplitBlock.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 22: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ShanghaiBlock", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var v cosmossdk_io_math.Int + m.ShanghaiBlock = &v + if err := m.ShanghaiBlock.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 23: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CancunBlock", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var v cosmossdk_io_math.Int + m.CancunBlock = &v + if err := m.CancunBlock.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 24: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType) + } + m.ChainId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ChainId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 25: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Denom", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Denom = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 26: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Decimals", wireType) + } + m.Decimals = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Decimals |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipEvm(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthEvm + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *State) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: State: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: State: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Key = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Value = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipEvm(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthEvm + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *TransactionLogs) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: TransactionLogs: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: TransactionLogs: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Hash", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Hash = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Logs", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Logs = append(m.Logs, &Log{}) + if err := m.Logs[len(m.Logs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipEvm(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthEvm + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Log) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Log: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Log: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Topics", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Topics = append(m.Topics, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Data = append(m.Data[:0], dAtA[iNdEx:postIndex]...) + if m.Data == nil { + m.Data = []byte{} + } + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field BlockNumber", wireType) + } + m.BlockNumber = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.BlockNumber |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TxHash", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TxHash = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TxIndex", wireType) + } + m.TxIndex = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TxIndex |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field BlockHash", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.BlockHash = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) + } + m.Index = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Index |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 9: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Removed", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Removed = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := skipEvm(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthEvm + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *TxResult) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: TxResult: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: TxResult: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ContractAddress", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ContractAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Bloom", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Bloom = append(m.Bloom[:0], dAtA[iNdEx:postIndex]...) + if m.Bloom == nil { + m.Bloom = []byte{} + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TxLogs", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.TxLogs.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Ret", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Ret = append(m.Ret[:0], dAtA[iNdEx:postIndex]...) + if m.Ret == nil { + m.Ret = []byte{} + } + iNdEx = postIndex + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Reverted", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Reverted = bool(v != 0) + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field GasUsed", wireType) + } + m.GasUsed = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.GasUsed |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipEvm(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthEvm + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *AccessTuple) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: AccessTuple: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: AccessTuple: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StorageKeys", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.StorageKeys = append(m.StorageKeys, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipEvm(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthEvm + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *TraceConfig) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: TraceConfig: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: TraceConfig: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tracer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Tracer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Timeout", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Timeout = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Reexec", wireType) + } + m.Reexec = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Reexec |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DisableStack", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.DisableStack = bool(v != 0) + case 6: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field DisableStorage", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.DisableStorage = bool(v != 0) + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Debug", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Debug = bool(v != 0) + case 9: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Limit", wireType) + } + m.Limit = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Limit |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Overrides", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Overrides == nil { + m.Overrides = &ChainConfig{} + } + if err := m.Overrides.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 11: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field EnableMemory", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.EnableMemory = bool(v != 0) + case 12: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field EnableReturnData", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.EnableReturnData = bool(v != 0) + case 13: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field TracerJsonConfig", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowEvm + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthEvm + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthEvm + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.TracerJsonConfig = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipEvm(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthEvm + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipEvm(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowEvm + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowEvm + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowEvm + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthEvm + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupEvm + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthEvm + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthEvm = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowEvm = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupEvm = fmt.Errorf("proto: unexpected end of group") +) diff --git a/x/vm/types/oldtx/legacy_tx.go b/x/vm/types/oldtx/legacy_tx.go new file mode 100644 index 000000000..b6509af3b --- /dev/null +++ b/x/vm/types/oldtx/legacy_tx.go @@ -0,0 +1,230 @@ +package oldtx + +import ( + "math/big" + + "github.com/ethereum/go-ethereum/common" + ethtypes "github.com/ethereum/go-ethereum/core/types" + + "github.com/cosmos/evm/utils" + ethutils "github.com/cosmos/evm/utils/eth" + + errorsmod "cosmossdk.io/errors" + + errortypes "github.com/cosmos/cosmos-sdk/types/errors" + "github.com/cosmos/evm/x/vm/types" +) + +func NewLegacyTx(tx *ethtypes.Transaction) (*LegacyTx, error) { + txData := &LegacyTx{ + Nonce: tx.Nonce(), + Data: tx.Data(), + GasLimit: tx.Gas(), + } + + v, r, s := tx.RawSignatureValues() + if to := tx.To(); to != nil { + txData.To = to.Hex() + } + + if tx.Value() != nil { + amountInt, err := utils.SafeNewIntFromBigInt(tx.Value()) + if err != nil { + return nil, err + } + txData.Amount = &amountInt + } + + if tx.GasPrice() != nil { + gasPriceInt, err := utils.SafeNewIntFromBigInt(tx.GasPrice()) + if err != nil { + return nil, err + } + txData.GasPrice = &gasPriceInt + } + + txData.SetSignatureValues(tx.ChainId(), v, r, s) + return txData, nil +} + +// TxType returns the tx type +func (tx *LegacyTx) TxType() uint8 { + return ethtypes.LegacyTxType +} + +// Copy returns an instance with the same field values +func (tx *LegacyTx) Copy() TxData { + return &LegacyTx{ + Nonce: tx.Nonce, + GasPrice: tx.GasPrice, + GasLimit: tx.GasLimit, + To: tx.To, + Amount: tx.Amount, + Data: common.CopyBytes(tx.Data), + V: common.CopyBytes(tx.V), + R: common.CopyBytes(tx.R), + S: common.CopyBytes(tx.S), + } +} + +// GetChainID returns the chain id field from the derived signature values +func (tx *LegacyTx) GetChainID() *big.Int { + v, _, _ := tx.GetRawSignatureValues() + return ethutils.DeriveChainID(v) +} + +// GetAccessList returns nil +func (tx *LegacyTx) GetAccessList() ethtypes.AccessList { + return nil +} + +// GetData returns the a copy of the input data bytes. +func (tx *LegacyTx) GetData() []byte { + return common.CopyBytes(tx.Data) +} + +// GetGas returns the gas limit. +func (tx *LegacyTx) GetGas() uint64 { + return tx.GasLimit +} + +// GetGasPrice returns the gas price field. +func (tx *LegacyTx) GetGasPrice() *big.Int { + if tx.GasPrice == nil { + return nil + } + return tx.GasPrice.BigInt() +} + +// GetGasTipCap returns the gas price field. +func (tx *LegacyTx) GetGasTipCap() *big.Int { + return tx.GetGasPrice() +} + +// GetGasFeeCap returns the gas price field. +func (tx *LegacyTx) GetGasFeeCap() *big.Int { + return tx.GetGasPrice() +} + +// GetValue returns the tx amount. +func (tx *LegacyTx) GetValue() *big.Int { + if tx.Amount == nil { + return nil + } + return tx.Amount.BigInt() +} + +// GetNonce returns the account sequence for the transaction. +func (tx *LegacyTx) GetNonce() uint64 { return tx.Nonce } + +// GetTo returns the pointer to the recipient address. +func (tx *LegacyTx) GetTo() *common.Address { + if tx.To == "" { + return nil + } + to := common.HexToAddress(tx.To) + return &to +} + +// AsEthereumData returns an LegacyTx transaction tx from the proto-formatted +// TxData defined on the Cosmos EVM. +func (tx *LegacyTx) AsEthereumData() ethtypes.TxData { + v, r, s := tx.GetRawSignatureValues() + return ðtypes.LegacyTx{ + Nonce: tx.GetNonce(), + GasPrice: tx.GetGasPrice(), + Gas: tx.GetGas(), + To: tx.GetTo(), + Value: tx.GetValue(), + Data: tx.GetData(), + V: v, + R: r, + S: s, + } +} + +// GetRawSignatureValues returns the V, R, S signature values of the transaction. +// The return values should not be modified by the caller. +func (tx *LegacyTx) GetRawSignatureValues() (v, r, s *big.Int) { + return ethutils.RawSignatureValues(tx.V, tx.R, tx.S) +} + +// SetSignatureValues sets the signature values to the transaction. +func (tx *LegacyTx) SetSignatureValues(_, v, r, s *big.Int) { + if v != nil { + tx.V = v.Bytes() + } + if r != nil { + tx.R = r.Bytes() + } + if s != nil { + tx.S = s.Bytes() + } +} + +// Validate performs a stateless validation of the tx fields. +func (tx LegacyTx) Validate() error { + gasPrice := tx.GetGasPrice() + if gasPrice == nil { + return errorsmod.Wrap(types.ErrInvalidGasPrice, "gas price cannot be nil") + } + + if gasPrice.Sign() == -1 { + return errorsmod.Wrapf(types.ErrInvalidGasPrice, "gas price cannot be negative %s", gasPrice) + } + if !utils.IsValidInt256(gasPrice) { + return errorsmod.Wrap(types.ErrInvalidGasPrice, "out of bound") + } + if !utils.IsValidInt256(tx.Fee()) { + return errorsmod.Wrap(types.ErrInvalidGasFee, "out of bound") + } + + amount := tx.GetValue() + // Amount can be 0 + if amount != nil && amount.Sign() == -1 { + return errorsmod.Wrapf(types.ErrInvalidAmount, "amount cannot be negative %s", amount) + } + if !utils.IsValidInt256(amount) { + return errorsmod.Wrap(types.ErrInvalidAmount, "out of bound") + } + + if tx.To != "" { + if err := utils.ValidateAddress(tx.To); err != nil { + return errorsmod.Wrap(err, "invalid to address") + } + } + + if tx.GetChainID() == nil { + return errorsmod.Wrap( + errortypes.ErrInvalidChainID, + "chain ID must be derived from LegacyTx txs", + ) + } + + return nil +} + +// Fee returns gasprice * gaslimit. +func (tx LegacyTx) Fee() *big.Int { + return fee(tx.GetGasPrice(), tx.GetGas()) +} + +// Cost returns amount + gasprice * gaslimit. +func (tx LegacyTx) Cost() *big.Int { + return cost(tx.Fee(), tx.GetValue()) +} + +// EffectiveGasPrice is the same as GasPrice for LegacyTx +func (tx LegacyTx) EffectiveGasPrice(_ *big.Int) *big.Int { + return tx.GetGasPrice() +} + +// EffectiveFee is the same as Fee for LegacyTx +func (tx LegacyTx) EffectiveFee(_ *big.Int) *big.Int { + return tx.Fee() +} + +// EffectiveCost is the same as Cost for LegacyTx +func (tx LegacyTx) EffectiveCost(_ *big.Int) *big.Int { + return tx.Cost() +} diff --git a/x/vm/types/oldtx/msg.go b/x/vm/types/oldtx/msg.go new file mode 100644 index 000000000..e4911105a --- /dev/null +++ b/x/vm/types/oldtx/msg.go @@ -0,0 +1,48 @@ +package oldtx + +import ( + "fmt" + + ethtypes "github.com/ethereum/go-ethereum/core/types" + + errorsmod "cosmossdk.io/errors" + + codectypes "github.com/cosmos/cosmos-sdk/codec/types" + errortypes "github.com/cosmos/cosmos-sdk/types/errors" +) + +var ( + _ codectypes.UnpackInterfacesMessage = MsgEthereumTx{} + +) + +// UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces +func (msg MsgEthereumTx) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error { + return unpacker.UnpackAny(msg.Data, new(TxData)) +} + +// AsTransaction creates an Ethereum Transaction type from the msg fields +func (msg MsgEthereumTx) AsTransaction() *ethtypes.Transaction { + txData, err := UnpackTxData(msg.Data) + fmt.Println("UnpackTxData", err) + if err != nil { + return nil + } + + return ethtypes.NewTx(txData.AsEthereumData()) +} + +// UnpackTxData unpacks an Any into a TxData. It returns an error if the +// client state can't be unpacked into a TxData. +func UnpackTxData(anyTxData *codectypes.Any) (TxData, error) { + if anyTxData == nil { + return nil, errorsmod.Wrap(errortypes.ErrUnpackAny, "protobuf Any message cannot be nil") + } + + txData, ok := anyTxData.GetCachedValue().(TxData) + if !ok { + return nil, errorsmod.Wrapf(errortypes.ErrUnpackAny, "cannot unpack Any into TxData %T", anyTxData) + } + + return txData, nil +} diff --git a/x/vm/types/oldtx/tx.pb.go b/x/vm/types/oldtx/tx.pb.go new file mode 100644 index 000000000..6d6a201a7 --- /dev/null +++ b/x/vm/types/oldtx/tx.pb.go @@ -0,0 +1,3271 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: cosmos/evm/vm/v1/tx.proto + +package oldtx + +import ( + context "context" + cosmossdk_io_math "cosmossdk.io/math" + encoding_binary "encoding/binary" + fmt "fmt" + _ "github.com/cosmos/cosmos-proto" + types "github.com/cosmos/cosmos-sdk/codec/types" + _ "github.com/cosmos/cosmos-sdk/types/msgservice" + _ "github.com/cosmos/cosmos-sdk/types/tx/amino" + _ "github.com/cosmos/gogoproto/gogoproto" + grpc1 "github.com/cosmos/gogoproto/grpc" + proto "github.com/cosmos/gogoproto/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +// MsgEthereumTx encapsulates an Ethereum transaction as an SDK message. +type MsgEthereumTx struct { + // data is inner transaction data of the Ethereum transaction + Data *types.Any `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` + // size is the encoded storage size of the transaction (DEPRECATED) + Size_ float64 `protobuf:"fixed64,2,opt,name=size,proto3" json:"-"` + // hash of the transaction in hex format + Hash string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty" rlp:"-"` + // from is the ethereum signer address in hex format. This address value is + // checked against the address derived from the signature (V, R, S) using the + // secp256k1 elliptic curve + From string `protobuf:"bytes,4,opt,name=from,proto3" json:"from,omitempty"` +} + +func (m *MsgEthereumTx) Reset() { *m = MsgEthereumTx{} } +func (m *MsgEthereumTx) String() string { return proto.CompactTextString(m) } +func (*MsgEthereumTx) ProtoMessage() {} +func (*MsgEthereumTx) Descriptor() ([]byte, []int) { + return fileDescriptor_77a8ac5e8c9c4850, []int{0} +} +func (m *MsgEthereumTx) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgEthereumTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgEthereumTx.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgEthereumTx) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgEthereumTx.Merge(m, src) +} +func (m *MsgEthereumTx) XXX_Size() int { + return m.Size() +} +func (m *MsgEthereumTx) XXX_DiscardUnknown() { + xxx_messageInfo_MsgEthereumTx.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgEthereumTx proto.InternalMessageInfo + +// LegacyTx is the transaction data of regular Ethereum transactions. +// NOTE: All non-protected transactions (i.e non EIP155 signed) will fail if the +// AllowUnprotectedTxs parameter is disabled. +type LegacyTx struct { + // nonce corresponds to the account nonce (transaction sequence). + Nonce uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"` + // gas_price defines the value for each gas unit + GasPrice *cosmossdk_io_math.Int `protobuf:"bytes,2,opt,name=gas_price,json=gasPrice,proto3,customtype=cosmossdk.io/math.Int" json:"gas_price,omitempty"` + // gas defines the gas limit defined for the transaction. + GasLimit uint64 `protobuf:"varint,3,opt,name=gas,proto3" json:"gas,omitempty"` + // to is the hex formatted address of the recipient + To string `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"` + // value defines the unsigned integer value of the transaction amount. + Amount *cosmossdk_io_math.Int `protobuf:"bytes,5,opt,name=value,proto3,customtype=cosmossdk.io/math.Int" json:"value,omitempty"` + // data is the data payload bytes of the transaction. + Data []byte `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"` + // v defines the signature value + V []byte `protobuf:"bytes,7,opt,name=v,proto3" json:"v,omitempty"` + // r defines the signature value + R []byte `protobuf:"bytes,8,opt,name=r,proto3" json:"r,omitempty"` + // s define the signature value + S []byte `protobuf:"bytes,9,opt,name=s,proto3" json:"s,omitempty"` +} + +func (m *LegacyTx) Reset() { *m = LegacyTx{} } +func (m *LegacyTx) String() string { return proto.CompactTextString(m) } +func (*LegacyTx) ProtoMessage() {} +func (*LegacyTx) Descriptor() ([]byte, []int) { + return fileDescriptor_77a8ac5e8c9c4850, []int{1} +} +func (m *LegacyTx) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *LegacyTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_LegacyTx.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *LegacyTx) XXX_Merge(src proto.Message) { + xxx_messageInfo_LegacyTx.Merge(m, src) +} +func (m *LegacyTx) XXX_Size() int { + return m.Size() +} +func (m *LegacyTx) XXX_DiscardUnknown() { + xxx_messageInfo_LegacyTx.DiscardUnknown(m) +} + +var xxx_messageInfo_LegacyTx proto.InternalMessageInfo + +// AccessListTx is the data of EIP-2930 access list transactions. +type AccessListTx struct { + // chain_id of the destination EVM chain + ChainID *cosmossdk_io_math.Int `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3,customtype=cosmossdk.io/math.Int" json:"chainID"` + // nonce corresponds to the account nonce (transaction sequence). + Nonce uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"` + // gas_price defines the value for each gas unit + GasPrice *cosmossdk_io_math.Int `protobuf:"bytes,3,opt,name=gas_price,json=gasPrice,proto3,customtype=cosmossdk.io/math.Int" json:"gas_price,omitempty"` + // gas defines the gas limit defined for the transaction. + GasLimit uint64 `protobuf:"varint,4,opt,name=gas,proto3" json:"gas,omitempty"` + // to is the recipient address in hex format + To string `protobuf:"bytes,5,opt,name=to,proto3" json:"to,omitempty"` + // value defines the unsigned integer value of the transaction amount. + Amount *cosmossdk_io_math.Int `protobuf:"bytes,6,opt,name=value,proto3,customtype=cosmossdk.io/math.Int" json:"value,omitempty"` + // data is the data payload bytes of the transaction. + Data []byte `protobuf:"bytes,7,opt,name=data,proto3" json:"data,omitempty"` + // accesses is an array of access tuples + Accesses AccessList `protobuf:"bytes,8,rep,name=accesses,proto3,castrepeated=AccessList" json:"accessList"` + // v defines the signature value + V []byte `protobuf:"bytes,9,opt,name=v,proto3" json:"v,omitempty"` + // r defines the signature value + R []byte `protobuf:"bytes,10,opt,name=r,proto3" json:"r,omitempty"` + // s define the signature value + S []byte `protobuf:"bytes,11,opt,name=s,proto3" json:"s,omitempty"` +} + +func (m *AccessListTx) Reset() { *m = AccessListTx{} } +func (m *AccessListTx) String() string { return proto.CompactTextString(m) } +func (*AccessListTx) ProtoMessage() {} +func (*AccessListTx) Descriptor() ([]byte, []int) { + return fileDescriptor_77a8ac5e8c9c4850, []int{2} +} +func (m *AccessListTx) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *AccessListTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_AccessListTx.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *AccessListTx) XXX_Merge(src proto.Message) { + xxx_messageInfo_AccessListTx.Merge(m, src) +} +func (m *AccessListTx) XXX_Size() int { + return m.Size() +} +func (m *AccessListTx) XXX_DiscardUnknown() { + xxx_messageInfo_AccessListTx.DiscardUnknown(m) +} + +var xxx_messageInfo_AccessListTx proto.InternalMessageInfo + +// DynamicFeeTx is the data of EIP-1559 dynamic fee transactions. +type DynamicFeeTx struct { + // chain_id of the destination EVM chain + ChainID *cosmossdk_io_math.Int `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3,customtype=cosmossdk.io/math.Int" json:"chainID"` + // nonce corresponds to the account nonce (transaction sequence). + Nonce uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"` + // gas_tip_cap defines the max value for the gas tip + GasTipCap *cosmossdk_io_math.Int `protobuf:"bytes,3,opt,name=gas_tip_cap,json=gasTipCap,proto3,customtype=cosmossdk.io/math.Int" json:"gas_tip_cap,omitempty"` + // gas_fee_cap defines the max value for the gas fee + GasFeeCap *cosmossdk_io_math.Int `protobuf:"bytes,4,opt,name=gas_fee_cap,json=gasFeeCap,proto3,customtype=cosmossdk.io/math.Int" json:"gas_fee_cap,omitempty"` + // gas defines the gas limit defined for the transaction. + GasLimit uint64 `protobuf:"varint,5,opt,name=gas,proto3" json:"gas,omitempty"` + // to is the hex formatted address of the recipient + To string `protobuf:"bytes,6,opt,name=to,proto3" json:"to,omitempty"` + // value defines the transaction amount. + Amount *cosmossdk_io_math.Int `protobuf:"bytes,7,opt,name=value,proto3,customtype=cosmossdk.io/math.Int" json:"value,omitempty"` + // data is the data payload bytes of the transaction. + Data []byte `protobuf:"bytes,8,opt,name=data,proto3" json:"data,omitempty"` + // accesses is an array of access tuples + Accesses AccessList `protobuf:"bytes,9,rep,name=accesses,proto3,castrepeated=AccessList" json:"accessList"` + // v defines the signature value + V []byte `protobuf:"bytes,10,opt,name=v,proto3" json:"v,omitempty"` + // r defines the signature value + R []byte `protobuf:"bytes,11,opt,name=r,proto3" json:"r,omitempty"` + // s define the signature value + S []byte `protobuf:"bytes,12,opt,name=s,proto3" json:"s,omitempty"` +} + +func (m *DynamicFeeTx) Reset() { *m = DynamicFeeTx{} } +func (m *DynamicFeeTx) String() string { return proto.CompactTextString(m) } +func (*DynamicFeeTx) ProtoMessage() {} +func (*DynamicFeeTx) Descriptor() ([]byte, []int) { + return fileDescriptor_77a8ac5e8c9c4850, []int{3} +} +func (m *DynamicFeeTx) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DynamicFeeTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DynamicFeeTx.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *DynamicFeeTx) XXX_Merge(src proto.Message) { + xxx_messageInfo_DynamicFeeTx.Merge(m, src) +} +func (m *DynamicFeeTx) XXX_Size() int { + return m.Size() +} +func (m *DynamicFeeTx) XXX_DiscardUnknown() { + xxx_messageInfo_DynamicFeeTx.DiscardUnknown(m) +} + +var xxx_messageInfo_DynamicFeeTx proto.InternalMessageInfo + +// ExtensionOptionsEthereumTx is an extension option for ethereum transactions +type ExtensionOptionsEthereumTx struct { +} + +func (m *ExtensionOptionsEthereumTx) Reset() { *m = ExtensionOptionsEthereumTx{} } +func (m *ExtensionOptionsEthereumTx) String() string { return proto.CompactTextString(m) } +func (*ExtensionOptionsEthereumTx) ProtoMessage() {} +func (*ExtensionOptionsEthereumTx) Descriptor() ([]byte, []int) { + return fileDescriptor_77a8ac5e8c9c4850, []int{4} +} +func (m *ExtensionOptionsEthereumTx) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ExtensionOptionsEthereumTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ExtensionOptionsEthereumTx.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ExtensionOptionsEthereumTx) XXX_Merge(src proto.Message) { + xxx_messageInfo_ExtensionOptionsEthereumTx.Merge(m, src) +} +func (m *ExtensionOptionsEthereumTx) XXX_Size() int { + return m.Size() +} +func (m *ExtensionOptionsEthereumTx) XXX_DiscardUnknown() { + xxx_messageInfo_ExtensionOptionsEthereumTx.DiscardUnknown(m) +} + +var xxx_messageInfo_ExtensionOptionsEthereumTx proto.InternalMessageInfo + +// MsgEthereumTxResponse defines the Msg/EthereumTx response type. +type MsgEthereumTxResponse struct { + // hash of the ethereum transaction in hex format. This hash differs from the + // Tendermint sha256 hash of the transaction bytes. See + // https://github.com/tendermint/tendermint/issues/6539 for reference + Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` + // logs contains the transaction hash and the proto-compatible ethereum + // logs. + Logs []*Log `protobuf:"bytes,2,rep,name=logs,proto3" json:"logs,omitempty"` + // ret is the returned data from evm function (result or data supplied with + // revert opcode) + Ret []byte `protobuf:"bytes,3,opt,name=ret,proto3" json:"ret,omitempty"` + // vm_error is the error returned by vm execution + VmError string `protobuf:"bytes,4,opt,name=vm_error,json=vmError,proto3" json:"vm_error,omitempty"` + // gas_used specifies how much gas was consumed by the transaction + GasUsed uint64 `protobuf:"varint,5,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` +} + +func (m *MsgEthereumTxResponse) Reset() { *m = MsgEthereumTxResponse{} } +func (m *MsgEthereumTxResponse) String() string { return proto.CompactTextString(m) } +func (*MsgEthereumTxResponse) ProtoMessage() {} +func (*MsgEthereumTxResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_77a8ac5e8c9c4850, []int{5} +} +func (m *MsgEthereumTxResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgEthereumTxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgEthereumTxResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgEthereumTxResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgEthereumTxResponse.Merge(m, src) +} +func (m *MsgEthereumTxResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgEthereumTxResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgEthereumTxResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgEthereumTxResponse proto.InternalMessageInfo + +// MsgUpdateParams defines a Msg for updating the x/vm module parameters. +type MsgUpdateParams struct { + // authority is the address of the governance account. + Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` + // params defines the x/vm parameters to update. + // NOTE: All parameters must be supplied. + Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` +} + +func (m *MsgUpdateParams) Reset() { *m = MsgUpdateParams{} } +func (m *MsgUpdateParams) String() string { return proto.CompactTextString(m) } +func (*MsgUpdateParams) ProtoMessage() {} +func (*MsgUpdateParams) Descriptor() ([]byte, []int) { + return fileDescriptor_77a8ac5e8c9c4850, []int{6} +} +func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgUpdateParams.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgUpdateParams) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgUpdateParams.Merge(m, src) +} +func (m *MsgUpdateParams) XXX_Size() int { + return m.Size() +} +func (m *MsgUpdateParams) XXX_DiscardUnknown() { + xxx_messageInfo_MsgUpdateParams.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgUpdateParams proto.InternalMessageInfo + +func (m *MsgUpdateParams) GetAuthority() string { + if m != nil { + return m.Authority + } + return "" +} + +func (m *MsgUpdateParams) GetParams() Params { + if m != nil { + return m.Params + } + return Params{} +} + +// MsgUpdateParamsResponse defines the response structure for executing a +// MsgUpdateParams message. +type MsgUpdateParamsResponse struct { +} + +func (m *MsgUpdateParamsResponse) Reset() { *m = MsgUpdateParamsResponse{} } +func (m *MsgUpdateParamsResponse) String() string { return proto.CompactTextString(m) } +func (*MsgUpdateParamsResponse) ProtoMessage() {} +func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_77a8ac5e8c9c4850, []int{7} +} +func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MsgUpdateParamsResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgUpdateParamsResponse.Merge(m, src) +} +func (m *MsgUpdateParamsResponse) XXX_Size() int { + return m.Size() +} +func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgUpdateParamsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_MsgUpdateParamsResponse proto.InternalMessageInfo + +func init() { + proto.RegisterType((*MsgEthereumTx)(nil), "cosmos.evm.vm.v1.MsgEthereumTx") + proto.RegisterType((*LegacyTx)(nil), "cosmos.evm.vm.v1.LegacyTx") + proto.RegisterType((*AccessListTx)(nil), "cosmos.evm.vm.v1.AccessListTx") + proto.RegisterType((*DynamicFeeTx)(nil), "cosmos.evm.vm.v1.DynamicFeeTx") + proto.RegisterType((*ExtensionOptionsEthereumTx)(nil), "cosmos.evm.vm.v1.ExtensionOptionsEthereumTx") + proto.RegisterType((*MsgEthereumTxResponse)(nil), "cosmos.evm.vm.v1.MsgEthereumTxResponse") + proto.RegisterType((*MsgUpdateParams)(nil), "cosmos.evm.vm.v1.MsgUpdateParams") + proto.RegisterType((*MsgUpdateParamsResponse)(nil), "cosmos.evm.vm.v1.MsgUpdateParamsResponse") +} + +func init() { proto.RegisterFile("cosmos/evm/vm/v1/tx.proto", fileDescriptor_77a8ac5e8c9c4850) } + +var fileDescriptor_77a8ac5e8c9c4850 = []byte{ + // 1026 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x96, 0x4d, 0x8b, 0x23, 0x45, + 0x18, 0xc7, 0xa7, 0x93, 0xce, 0x5b, 0x25, 0xea, 0xd8, 0xce, 0x30, 0x9d, 0xe0, 0xa6, 0xb3, 0xad, + 0xab, 0xd9, 0x81, 0xe9, 0x66, 0x23, 0x08, 0x1b, 0x4f, 0x93, 0x9d, 0x59, 0x59, 0x99, 0xc1, 0xa5, + 0xcd, 0x5e, 0x44, 0x88, 0x35, 0x9d, 0x9a, 0x4e, 0x63, 0xba, 0xab, 0xe9, 0xaa, 0x84, 0x44, 0x10, + 0x64, 0x4f, 0xe2, 0x49, 0xf0, 0x2c, 0x78, 0xf0, 0xa0, 0x9e, 0xe6, 0xb0, 0x78, 0xf0, 0x13, 0x2c, + 0x9e, 0x16, 0xbd, 0x88, 0x87, 0xac, 0x64, 0x84, 0xc1, 0x39, 0xfa, 0x09, 0xa4, 0x5e, 0xb2, 0xe9, + 0x4c, 0x9c, 0x99, 0x75, 0x41, 0xa1, 0x09, 0xf5, 0xd4, 0xf3, 0xd2, 0x4f, 0xff, 0x9e, 0x7f, 0xaa, + 0x1b, 0x94, 0x5d, 0x4c, 0x02, 0x4c, 0x6c, 0x34, 0x0c, 0x6c, 0x76, 0xdd, 0xb0, 0xe9, 0xc8, 0x8a, + 0x62, 0x4c, 0xb1, 0xb6, 0x2a, 0x5c, 0x16, 0x1a, 0x06, 0x16, 0xbb, 0x6e, 0x54, 0x5e, 0x84, 0x81, + 0x1f, 0x62, 0x9b, 0xff, 0x8a, 0xa0, 0xca, 0x86, 0xcc, 0x0f, 0x88, 0xc7, 0x92, 0x03, 0xe2, 0x49, + 0x87, 0x2c, 0xdc, 0xe1, 0x96, 0x2d, 0x4b, 0x09, 0xd7, 0x9a, 0x87, 0x3d, 0x2c, 0xf6, 0xd9, 0x4a, + 0xee, 0xbe, 0xec, 0x61, 0xec, 0xf5, 0x91, 0x0d, 0x23, 0xdf, 0x86, 0x61, 0x88, 0x29, 0xa4, 0x3e, + 0x0e, 0x67, 0x39, 0x65, 0xe9, 0xe5, 0xd6, 0xc1, 0xe0, 0xd0, 0x86, 0xe1, 0x58, 0xba, 0x2a, 0x4b, + 0x8f, 0xc0, 0x3a, 0xe6, 0x3e, 0xf3, 0x07, 0x05, 0x3c, 0xb7, 0x4f, 0xbc, 0x5d, 0xda, 0x43, 0x31, + 0x1a, 0x04, 0xed, 0x91, 0x56, 0x07, 0x6a, 0x17, 0x52, 0xa8, 0x2b, 0x35, 0xa5, 0x5e, 0x6c, 0xac, + 0x59, 0xa2, 0xae, 0x35, 0xab, 0x6b, 0x6d, 0x87, 0x63, 0x87, 0x47, 0x68, 0x55, 0xa0, 0x12, 0xff, + 0x63, 0xa4, 0xa7, 0x6a, 0x4a, 0x5d, 0x69, 0x81, 0xd3, 0x89, 0xa1, 0x6c, 0x7d, 0x7b, 0x72, 0xb4, + 0xa9, 0x38, 0x7c, 0x5f, 0x7b, 0x15, 0xa8, 0x3d, 0x48, 0x7a, 0x7a, 0xba, 0xa6, 0xd4, 0x0b, 0xad, + 0xd5, 0xbf, 0x26, 0x46, 0x2e, 0xee, 0x47, 0x4d, 0x73, 0xcb, 0x94, 0x51, 0xcc, 0xab, 0x69, 0x40, + 0x3d, 0x8c, 0x71, 0xa0, 0xab, 0x2c, 0xca, 0xe1, 0xeb, 0xe6, 0xd5, 0xcf, 0xbe, 0x36, 0x56, 0x3e, + 0x3f, 0x39, 0xda, 0xd4, 0x13, 0xad, 0x2f, 0xb4, 0x69, 0x7e, 0x97, 0x02, 0xf9, 0x3d, 0xe4, 0x41, + 0x77, 0xdc, 0x1e, 0x69, 0x6b, 0x20, 0x13, 0xe2, 0xd0, 0x45, 0xbc, 0x69, 0xd5, 0x11, 0x86, 0xf6, + 0x26, 0x28, 0x78, 0x90, 0x01, 0xf6, 0x5d, 0xd1, 0x64, 0xa1, 0x55, 0xfe, 0x6d, 0x62, 0xac, 0x8b, + 0x9a, 0xa4, 0xfb, 0x91, 0xe5, 0x63, 0x3b, 0x80, 0xb4, 0x67, 0xdd, 0x09, 0xa9, 0x93, 0xf7, 0x20, + 0xb9, 0xcb, 0x42, 0xb5, 0x2a, 0x48, 0x7b, 0x90, 0xf0, 0xb6, 0xd5, 0x56, 0x69, 0x3a, 0x31, 0xf2, + 0x6f, 0x43, 0xb2, 0xe7, 0x07, 0x3e, 0x75, 0x98, 0x43, 0x7b, 0x1e, 0xa4, 0x28, 0x96, 0xfd, 0xa6, + 0x28, 0xd6, 0x6e, 0x82, 0xcc, 0x10, 0xf6, 0x07, 0x48, 0xcf, 0xf0, 0x7b, 0xbc, 0x72, 0xee, 0x3d, + 0xa6, 0x13, 0x23, 0xbb, 0x1d, 0xe0, 0x41, 0x48, 0x1d, 0x91, 0xc1, 0x1e, 0x9e, 0xc3, 0xce, 0xd6, + 0x94, 0x7a, 0x49, 0x62, 0x2d, 0x01, 0x65, 0xa8, 0xe7, 0xf8, 0x86, 0x32, 0x64, 0x56, 0xac, 0xe7, + 0x85, 0x15, 0x33, 0x8b, 0xe8, 0x05, 0x61, 0x91, 0xe6, 0x6b, 0x0c, 0xd3, 0x4f, 0x0f, 0xb6, 0xb2, + 0xed, 0xd1, 0x0e, 0xa4, 0x90, 0x01, 0x7b, 0x29, 0x01, 0x6c, 0x86, 0xc7, 0x7c, 0x9c, 0x06, 0xa5, + 0x6d, 0xd7, 0x45, 0x84, 0xec, 0xf9, 0x84, 0xb6, 0x47, 0xda, 0x3b, 0x20, 0xef, 0xf6, 0xa0, 0x1f, + 0x76, 0xfc, 0x2e, 0x47, 0x56, 0x68, 0xd9, 0x17, 0x35, 0x9d, 0xbb, 0xc5, 0x82, 0xef, 0xec, 0x9c, + 0x4e, 0x8c, 0x9c, 0x2b, 0x96, 0x8e, 0x5c, 0x74, 0xe7, 0xec, 0x53, 0xe7, 0xb2, 0x4f, 0xff, 0x6b, + 0xf6, 0xea, 0xc5, 0xec, 0x33, 0xcb, 0xec, 0xb3, 0xcf, 0xcc, 0x3e, 0x97, 0x60, 0xff, 0x21, 0xc8, + 0x43, 0x0e, 0x0a, 0x11, 0x3d, 0x5f, 0x4b, 0xd7, 0x8b, 0x8d, 0x2b, 0xd6, 0xd9, 0x7f, 0xb9, 0x25, + 0x50, 0xb6, 0x07, 0x51, 0x1f, 0xb5, 0xae, 0x3d, 0x9c, 0x18, 0x2b, 0xa7, 0x13, 0x03, 0xc0, 0x27, + 0x7c, 0xbf, 0x7f, 0x6c, 0x80, 0x39, 0x6d, 0x21, 0xf5, 0x27, 0x55, 0xc5, 0x74, 0x0b, 0x0b, 0xd3, + 0x05, 0x0b, 0xd3, 0x2d, 0xce, 0xa6, 0xbb, 0xb9, 0x3c, 0xdd, 0x8d, 0xc4, 0x74, 0x93, 0x03, 0x35, + 0xbf, 0x52, 0x41, 0x69, 0x67, 0x1c, 0xc2, 0xc0, 0x77, 0x6f, 0x23, 0xf4, 0xbf, 0x4c, 0xf8, 0x26, + 0x28, 0xb2, 0x09, 0x53, 0x3f, 0xea, 0xb8, 0x30, 0xba, 0x7c, 0xc6, 0x4c, 0x0f, 0x6d, 0x3f, 0xba, + 0x05, 0xa3, 0x59, 0xea, 0x21, 0x42, 0x3c, 0x55, 0x7d, 0x9a, 0xd4, 0xdb, 0x08, 0xb1, 0x54, 0xa9, + 0x8f, 0xcc, 0xc5, 0xfa, 0xc8, 0x2e, 0xeb, 0x23, 0xf7, 0xcc, 0xfa, 0xc8, 0x9f, 0xa3, 0x8f, 0xc2, + 0x7f, 0xa7, 0x0f, 0xb0, 0xa0, 0x8f, 0xe2, 0x82, 0x3e, 0x4a, 0x4f, 0xa9, 0x8f, 0xa4, 0x1c, 0x4c, + 0x13, 0x54, 0x76, 0x47, 0x14, 0x85, 0xc4, 0xc7, 0xe1, 0xbb, 0x11, 0x7f, 0x6f, 0xcc, 0xcf, 0xd2, + 0xa6, 0xca, 0x2a, 0x99, 0xdf, 0x28, 0x60, 0x7d, 0xe1, 0x8c, 0x75, 0x10, 0x89, 0x70, 0x48, 0x38, + 0x09, 0x7e, 0x90, 0x2b, 0xe2, 0x88, 0xe6, 0xc7, 0xf6, 0x75, 0xa0, 0xf6, 0xb1, 0x47, 0xf4, 0x14, + 0xa7, 0xb0, 0xbe, 0x4c, 0x61, 0x0f, 0x7b, 0x0e, 0x0f, 0xd1, 0x56, 0x41, 0x3a, 0x46, 0x94, 0x2b, + 0xa4, 0xe4, 0xb0, 0xa5, 0x56, 0x06, 0xf9, 0x61, 0xd0, 0x41, 0x71, 0x8c, 0x63, 0x79, 0x8e, 0xe6, + 0x86, 0xc1, 0x2e, 0x33, 0x99, 0x8b, 0x69, 0x63, 0x40, 0x50, 0x57, 0x4c, 0xd9, 0xc9, 0x79, 0x90, + 0xdc, 0x23, 0xa8, 0x2b, 0xdb, 0xfc, 0x51, 0x01, 0x2f, 0xec, 0x13, 0xef, 0x5e, 0xd4, 0x85, 0x14, + 0xdd, 0x85, 0x31, 0x0c, 0x08, 0x3b, 0x6d, 0xe0, 0x80, 0xf6, 0x70, 0xec, 0xd3, 0xb1, 0x94, 0xbb, + 0xfe, 0xf3, 0x83, 0xad, 0x35, 0xd9, 0xd4, 0x76, 0xb7, 0x1b, 0x23, 0x42, 0xde, 0xa3, 0xb1, 0x1f, + 0x7a, 0xce, 0x3c, 0x54, 0x7b, 0x0b, 0x64, 0x23, 0x5e, 0x81, 0x4b, 0xbb, 0xd8, 0xd0, 0x97, 0x1f, + 0x43, 0xdc, 0xa1, 0x55, 0x60, 0x73, 0x14, 0xb3, 0x92, 0x29, 0xcd, 0xc6, 0xfd, 0x93, 0xa3, 0xcd, + 0x79, 0x31, 0xc6, 0xdf, 0x48, 0xf0, 0x1f, 0xd9, 0xe2, 0x9d, 0x95, 0x6c, 0xd4, 0x2c, 0x83, 0x8d, + 0x33, 0x5b, 0x33, 0xc8, 0x8d, 0x3f, 0x15, 0x90, 0xde, 0x27, 0x9e, 0xf6, 0x09, 0x00, 0x89, 0xb7, + 0xb1, 0xb1, 0xdc, 0xd1, 0xc2, 0x8c, 0x2a, 0xaf, 0x5f, 0x12, 0x30, 0xab, 0x6f, 0x5e, 0xbb, 0xff, + 0xcb, 0x1f, 0x5f, 0xa6, 0x0c, 0xf3, 0x8a, 0xbd, 0xfc, 0x39, 0x20, 0xa3, 0x3b, 0x74, 0xa4, 0x7d, + 0x00, 0x4a, 0x0b, 0x68, 0xaf, 0xfe, 0x63, 0xfd, 0x64, 0x48, 0xe5, 0xfa, 0xa5, 0x21, 0xb3, 0x26, + 0x2a, 0x99, 0x4f, 0x19, 0xc2, 0x56, 0xf3, 0xe1, 0xb4, 0xaa, 0x3c, 0x9a, 0x56, 0x95, 0xdf, 0xa7, + 0x55, 0xe5, 0x8b, 0xe3, 0xea, 0xca, 0xa3, 0xe3, 0xea, 0xca, 0xaf, 0xc7, 0xd5, 0x95, 0xf7, 0x6b, + 0x9e, 0x4f, 0x7b, 0x83, 0x03, 0xcb, 0xc5, 0x81, 0x7d, 0x16, 0x26, 0x1d, 0x47, 0x88, 0x1c, 0x64, + 0xf9, 0x97, 0xc8, 0x1b, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0x5e, 0xf0, 0xb6, 0xa5, 0x99, 0x09, + 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// MsgClient is the client API for Msg service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type MsgClient interface { + // EthereumTx defines a method submitting Ethereum transactions. + EthereumTx(ctx context.Context, in *MsgEthereumTx, opts ...grpc.CallOption) (*MsgEthereumTxResponse, error) + // UpdateParams defined a governance operation for updating the x/vm module + // parameters. The authority is hard-coded to the Cosmos SDK x/gov module + // account + UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) +} + +type msgClient struct { + cc grpc1.ClientConn +} + +func NewMsgClient(cc grpc1.ClientConn) MsgClient { + return &msgClient{cc} +} + +func (c *msgClient) EthereumTx(ctx context.Context, in *MsgEthereumTx, opts ...grpc.CallOption) (*MsgEthereumTxResponse, error) { + out := new(MsgEthereumTxResponse) + err := c.cc.Invoke(ctx, "/cosmos.evm.vm.v1.Msg/EthereumTx", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) { + out := new(MsgUpdateParamsResponse) + err := c.cc.Invoke(ctx, "/cosmos.evm.vm.v1.Msg/UpdateParams", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// MsgServer is the server API for Msg service. +type MsgServer interface { + // EthereumTx defines a method submitting Ethereum transactions. + EthereumTx(context.Context, *MsgEthereumTx) (*MsgEthereumTxResponse, error) + // UpdateParams defined a governance operation for updating the x/vm module + // parameters. The authority is hard-coded to the Cosmos SDK x/gov module + // account + UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) +} + +// UnimplementedMsgServer can be embedded to have forward compatible implementations. +type UnimplementedMsgServer struct { +} + +func (*UnimplementedMsgServer) EthereumTx(ctx context.Context, req *MsgEthereumTx) (*MsgEthereumTxResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method EthereumTx not implemented") +} +func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateParams not implemented") +} + +func RegisterMsgServer(s grpc1.Server, srv MsgServer) { + s.RegisterService(&_Msg_serviceDesc, srv) +} + +func _Msg_EthereumTx_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgEthereumTx) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).EthereumTx(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cosmos.evm.vm.v1.Msg/EthereumTx", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).EthereumTx(ctx, req.(*MsgEthereumTx)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgUpdateParams) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).UpdateParams(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/cosmos.evm.vm.v1.Msg/UpdateParams", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).UpdateParams(ctx, req.(*MsgUpdateParams)) + } + return interceptor(ctx, in, info, handler) +} + +var _Msg_serviceDesc = grpc.ServiceDesc{ + ServiceName: "cosmos.evm.vm.v1.Msg", + HandlerType: (*MsgServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "EthereumTx", + Handler: _Msg_EthereumTx_Handler, + }, + { + MethodName: "UpdateParams", + Handler: _Msg_UpdateParams_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "cosmos/evm/vm/v1/tx.proto", +} + +func (m *MsgEthereumTx) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgEthereumTx) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgEthereumTx) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.From) > 0 { + i -= len(m.From) + copy(dAtA[i:], m.From) + i = encodeVarintTx(dAtA, i, uint64(len(m.From))) + i-- + dAtA[i] = 0x22 + } + if len(m.Hash) > 0 { + i -= len(m.Hash) + copy(dAtA[i:], m.Hash) + i = encodeVarintTx(dAtA, i, uint64(len(m.Hash))) + i-- + dAtA[i] = 0x1a + } + if m.Size_ != 0 { + i -= 8 + encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Size_)))) + i-- + dAtA[i] = 0x11 + } + if m.Data != nil { + { + size, err := m.Data.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *LegacyTx) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *LegacyTx) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *LegacyTx) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.S) > 0 { + i -= len(m.S) + copy(dAtA[i:], m.S) + i = encodeVarintTx(dAtA, i, uint64(len(m.S))) + i-- + dAtA[i] = 0x4a + } + if len(m.R) > 0 { + i -= len(m.R) + copy(dAtA[i:], m.R) + i = encodeVarintTx(dAtA, i, uint64(len(m.R))) + i-- + dAtA[i] = 0x42 + } + if len(m.V) > 0 { + i -= len(m.V) + copy(dAtA[i:], m.V) + i = encodeVarintTx(dAtA, i, uint64(len(m.V))) + i-- + dAtA[i] = 0x3a + } + if len(m.Data) > 0 { + i -= len(m.Data) + copy(dAtA[i:], m.Data) + i = encodeVarintTx(dAtA, i, uint64(len(m.Data))) + i-- + dAtA[i] = 0x32 + } + if m.Amount != nil { + { + size := m.Amount.Size() + i -= size + if _, err := m.Amount.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } + if len(m.To) > 0 { + i -= len(m.To) + copy(dAtA[i:], m.To) + i = encodeVarintTx(dAtA, i, uint64(len(m.To))) + i-- + dAtA[i] = 0x22 + } + if m.GasLimit != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.GasLimit)) + i-- + dAtA[i] = 0x18 + } + if m.GasPrice != nil { + { + size := m.GasPrice.Size() + i -= size + if _, err := m.GasPrice.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.Nonce != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.Nonce)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *AccessListTx) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *AccessListTx) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *AccessListTx) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.S) > 0 { + i -= len(m.S) + copy(dAtA[i:], m.S) + i = encodeVarintTx(dAtA, i, uint64(len(m.S))) + i-- + dAtA[i] = 0x5a + } + if len(m.R) > 0 { + i -= len(m.R) + copy(dAtA[i:], m.R) + i = encodeVarintTx(dAtA, i, uint64(len(m.R))) + i-- + dAtA[i] = 0x52 + } + if len(m.V) > 0 { + i -= len(m.V) + copy(dAtA[i:], m.V) + i = encodeVarintTx(dAtA, i, uint64(len(m.V))) + i-- + dAtA[i] = 0x4a + } + if len(m.Accesses) > 0 { + for iNdEx := len(m.Accesses) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Accesses[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x42 + } + } + if len(m.Data) > 0 { + i -= len(m.Data) + copy(dAtA[i:], m.Data) + i = encodeVarintTx(dAtA, i, uint64(len(m.Data))) + i-- + dAtA[i] = 0x3a + } + if m.Amount != nil { + { + size := m.Amount.Size() + i -= size + if _, err := m.Amount.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + } + if len(m.To) > 0 { + i -= len(m.To) + copy(dAtA[i:], m.To) + i = encodeVarintTx(dAtA, i, uint64(len(m.To))) + i-- + dAtA[i] = 0x2a + } + if m.GasLimit != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.GasLimit)) + i-- + dAtA[i] = 0x20 + } + if m.GasPrice != nil { + { + size := m.GasPrice.Size() + i -= size + if _, err := m.GasPrice.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.Nonce != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.Nonce)) + i-- + dAtA[i] = 0x10 + } + if m.ChainID != nil { + { + size := m.ChainID.Size() + i -= size + if _, err := m.ChainID.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *DynamicFeeTx) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DynamicFeeTx) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *DynamicFeeTx) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.S) > 0 { + i -= len(m.S) + copy(dAtA[i:], m.S) + i = encodeVarintTx(dAtA, i, uint64(len(m.S))) + i-- + dAtA[i] = 0x62 + } + if len(m.R) > 0 { + i -= len(m.R) + copy(dAtA[i:], m.R) + i = encodeVarintTx(dAtA, i, uint64(len(m.R))) + i-- + dAtA[i] = 0x5a + } + if len(m.V) > 0 { + i -= len(m.V) + copy(dAtA[i:], m.V) + i = encodeVarintTx(dAtA, i, uint64(len(m.V))) + i-- + dAtA[i] = 0x52 + } + if len(m.Accesses) > 0 { + for iNdEx := len(m.Accesses) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Accesses[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x4a + } + } + if len(m.Data) > 0 { + i -= len(m.Data) + copy(dAtA[i:], m.Data) + i = encodeVarintTx(dAtA, i, uint64(len(m.Data))) + i-- + dAtA[i] = 0x42 + } + if m.Amount != nil { + { + size := m.Amount.Size() + i -= size + if _, err := m.Amount.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a + } + if len(m.To) > 0 { + i -= len(m.To) + copy(dAtA[i:], m.To) + i = encodeVarintTx(dAtA, i, uint64(len(m.To))) + i-- + dAtA[i] = 0x32 + } + if m.GasLimit != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.GasLimit)) + i-- + dAtA[i] = 0x28 + } + if m.GasFeeCap != nil { + { + size := m.GasFeeCap.Size() + i -= size + if _, err := m.GasFeeCap.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if m.GasTipCap != nil { + { + size := m.GasTipCap.Size() + i -= size + if _, err := m.GasTipCap.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.Nonce != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.Nonce)) + i-- + dAtA[i] = 0x10 + } + if m.ChainID != nil { + { + size := m.ChainID.Size() + i -= size + if _, err := m.ChainID.MarshalTo(dAtA[i:]); err != nil { + return 0, err + } + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *ExtensionOptionsEthereumTx) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ExtensionOptionsEthereumTx) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ExtensionOptionsEthereumTx) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *MsgEthereumTxResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgEthereumTxResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgEthereumTxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.GasUsed != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.GasUsed)) + i-- + dAtA[i] = 0x28 + } + if len(m.VmError) > 0 { + i -= len(m.VmError) + copy(dAtA[i:], m.VmError) + i = encodeVarintTx(dAtA, i, uint64(len(m.VmError))) + i-- + dAtA[i] = 0x22 + } + if len(m.Ret) > 0 { + i -= len(m.Ret) + copy(dAtA[i:], m.Ret) + i = encodeVarintTx(dAtA, i, uint64(len(m.Ret))) + i-- + dAtA[i] = 0x1a + } + if len(m.Logs) > 0 { + for iNdEx := len(m.Logs) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Logs[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + } + if len(m.Hash) > 0 { + i -= len(m.Hash) + copy(dAtA[i:], m.Hash) + i = encodeVarintTx(dAtA, i, uint64(len(m.Hash))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + if len(m.Authority) > 0 { + i -= len(m.Authority) + copy(dAtA[i:], m.Authority) + i = encodeVarintTx(dAtA, i, uint64(len(m.Authority))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func encodeVarintTx(dAtA []byte, offset int, v uint64) int { + offset -= sovTx(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *MsgEthereumTx) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Data != nil { + l = m.Data.Size() + n += 1 + l + sovTx(uint64(l)) + } + if m.Size_ != 0 { + n += 9 + } + l = len(m.Hash) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.From) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *LegacyTx) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Nonce != 0 { + n += 1 + sovTx(uint64(m.Nonce)) + } + if m.GasPrice != nil { + l = m.GasPrice.Size() + n += 1 + l + sovTx(uint64(l)) + } + if m.GasLimit != 0 { + n += 1 + sovTx(uint64(m.GasLimit)) + } + l = len(m.To) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.Amount != nil { + l = m.Amount.Size() + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Data) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.V) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.R) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.S) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *AccessListTx) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ChainID != nil { + l = m.ChainID.Size() + n += 1 + l + sovTx(uint64(l)) + } + if m.Nonce != 0 { + n += 1 + sovTx(uint64(m.Nonce)) + } + if m.GasPrice != nil { + l = m.GasPrice.Size() + n += 1 + l + sovTx(uint64(l)) + } + if m.GasLimit != 0 { + n += 1 + sovTx(uint64(m.GasLimit)) + } + l = len(m.To) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.Amount != nil { + l = m.Amount.Size() + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Data) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if len(m.Accesses) > 0 { + for _, e := range m.Accesses { + l = e.Size() + n += 1 + l + sovTx(uint64(l)) + } + } + l = len(m.V) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.R) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.S) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *DynamicFeeTx) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ChainID != nil { + l = m.ChainID.Size() + n += 1 + l + sovTx(uint64(l)) + } + if m.Nonce != 0 { + n += 1 + sovTx(uint64(m.Nonce)) + } + if m.GasTipCap != nil { + l = m.GasTipCap.Size() + n += 1 + l + sovTx(uint64(l)) + } + if m.GasFeeCap != nil { + l = m.GasFeeCap.Size() + n += 1 + l + sovTx(uint64(l)) + } + if m.GasLimit != 0 { + n += 1 + sovTx(uint64(m.GasLimit)) + } + l = len(m.To) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.Amount != nil { + l = m.Amount.Size() + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.Data) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if len(m.Accesses) > 0 { + for _, e := range m.Accesses { + l = e.Size() + n += 1 + l + sovTx(uint64(l)) + } + } + l = len(m.V) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.R) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.S) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + return n +} + +func (m *ExtensionOptionsEthereumTx) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *MsgEthereumTxResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Hash) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if len(m.Logs) > 0 { + for _, e := range m.Logs { + l = e.Size() + n += 1 + l + sovTx(uint64(l)) + } + } + l = len(m.Ret) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.VmError) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + if m.GasUsed != 0 { + n += 1 + sovTx(uint64(m.GasUsed)) + } + return n +} + +func (m *MsgUpdateParams) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Authority) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = m.Params.Size() + n += 1 + l + sovTx(uint64(l)) + return n +} + +func (m *MsgUpdateParamsResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func sovTx(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozTx(x uint64) (n int) { + return sovTx(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *MsgEthereumTx) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgEthereumTx: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgEthereumTx: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Data == nil { + m.Data = &types.Any{} + } + if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field Size_", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.Size_ = float64(math.Float64frombits(v)) + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Hash", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Hash = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field From", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.From = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *LegacyTx) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: LegacyTx: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: LegacyTx: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Nonce", wireType) + } + m.Nonce = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Nonce |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GasPrice", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var v cosmossdk_io_math.Int + m.GasPrice = &v + if err := m.GasPrice.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field GasLimit", wireType) + } + m.GasLimit = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.GasLimit |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field To", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.To = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var v cosmossdk_io_math.Int + m.Amount = &v + if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Data = append(m.Data[:0], dAtA[iNdEx:postIndex]...) + if m.Data == nil { + m.Data = []byte{} + } + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field V", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.V = append(m.V[:0], dAtA[iNdEx:postIndex]...) + if m.V == nil { + m.V = []byte{} + } + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field R", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.R = append(m.R[:0], dAtA[iNdEx:postIndex]...) + if m.R == nil { + m.R = []byte{} + } + iNdEx = postIndex + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field S", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.S = append(m.S[:0], dAtA[iNdEx:postIndex]...) + if m.S == nil { + m.S = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *AccessListTx) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: AccessListTx: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: AccessListTx: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ChainID", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var v cosmossdk_io_math.Int + m.ChainID = &v + if err := m.ChainID.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Nonce", wireType) + } + m.Nonce = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Nonce |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GasPrice", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var v cosmossdk_io_math.Int + m.GasPrice = &v + if err := m.GasPrice.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field GasLimit", wireType) + } + m.GasLimit = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.GasLimit |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field To", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.To = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var v cosmossdk_io_math.Int + m.Amount = &v + if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Data = append(m.Data[:0], dAtA[iNdEx:postIndex]...) + if m.Data == nil { + m.Data = []byte{} + } + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Accesses", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Accesses = append(m.Accesses, AccessTuple{}) + if err := m.Accesses[len(m.Accesses)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field V", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.V = append(m.V[:0], dAtA[iNdEx:postIndex]...) + if m.V == nil { + m.V = []byte{} + } + iNdEx = postIndex + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field R", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.R = append(m.R[:0], dAtA[iNdEx:postIndex]...) + if m.R == nil { + m.R = []byte{} + } + iNdEx = postIndex + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field S", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.S = append(m.S[:0], dAtA[iNdEx:postIndex]...) + if m.S == nil { + m.S = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DynamicFeeTx) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DynamicFeeTx: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DynamicFeeTx: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ChainID", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var v cosmossdk_io_math.Int + m.ChainID = &v + if err := m.ChainID.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Nonce", wireType) + } + m.Nonce = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Nonce |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GasTipCap", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var v cosmossdk_io_math.Int + m.GasTipCap = &v + if err := m.GasTipCap.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GasFeeCap", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var v cosmossdk_io_math.Int + m.GasFeeCap = &v + if err := m.GasFeeCap.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field GasLimit", wireType) + } + m.GasLimit = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.GasLimit |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field To", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.To = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var v cosmossdk_io_math.Int + m.Amount = &v + if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Data = append(m.Data[:0], dAtA[iNdEx:postIndex]...) + if m.Data == nil { + m.Data = []byte{} + } + iNdEx = postIndex + case 9: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Accesses", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Accesses = append(m.Accesses, AccessTuple{}) + if err := m.Accesses[len(m.Accesses)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field V", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.V = append(m.V[:0], dAtA[iNdEx:postIndex]...) + if m.V == nil { + m.V = []byte{} + } + iNdEx = postIndex + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field R", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.R = append(m.R[:0], dAtA[iNdEx:postIndex]...) + if m.R == nil { + m.R = []byte{} + } + iNdEx = postIndex + case 12: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field S", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.S = append(m.S[:0], dAtA[iNdEx:postIndex]...) + if m.S == nil { + m.S = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExtensionOptionsEthereumTx) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExtensionOptionsEthereumTx: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExtensionOptionsEthereumTx: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgEthereumTxResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgEthereumTxResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgEthereumTxResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Hash", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Hash = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Logs", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Logs = append(m.Logs, &Log{}) + if err := m.Logs[len(m.Logs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Ret", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Ret = append(m.Ret[:0], dAtA[iNdEx:postIndex]...) + if m.Ret == nil { + m.Ret = []byte{} + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field VmError", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.VmError = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field GasUsed", wireType) + } + m.GasUsed = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.GasUsed |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgUpdateParams: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgUpdateParams: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Authority", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Authority = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MsgUpdateParamsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MsgUpdateParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipTx(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTx + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipTx(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowTx + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowTx + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowTx + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthTx + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupTx + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthTx + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") +) diff --git a/x/vm/types/oldtx/tx_data.go b/x/vm/types/oldtx/tx_data.go new file mode 100644 index 000000000..ea1c5bc3a --- /dev/null +++ b/x/vm/types/oldtx/tx_data.go @@ -0,0 +1,90 @@ +package oldtx + +import ( + "math/big" + + "github.com/ethereum/go-ethereum/common" + ethtypes "github.com/ethereum/go-ethereum/core/types" +) + +var ( + _ TxData = &LegacyTx{} + _ TxData = &AccessListTx{} + _ TxData = &DynamicFeeTx{} +) + +// TxData implements the Ethereum transaction tx structure. It is used +// solely as intended in Ethereum abiding by the protocol. +type TxData interface { + // TODO: embed ethtypes.TxData. See https://github.com/ethereum/go-ethereum/issues/23154 + + TxType() byte + Copy() TxData + GetChainID() *big.Int + GetAccessList() ethtypes.AccessList + GetData() []byte + GetNonce() uint64 + GetGas() uint64 + GetGasPrice() *big.Int + GetGasTipCap() *big.Int + GetGasFeeCap() *big.Int + GetValue() *big.Int + GetTo() *common.Address + + GetRawSignatureValues() (v, r, s *big.Int) + SetSignatureValues(chainID, v, r, s *big.Int) + + AsEthereumData() ethtypes.TxData + Validate() error + + // Fee returns the maximum fee a sender of a message is willing to pay. + Fee() *big.Int + // Cost returns the total cost of a transaction before executing any smart + // contract call. This means it should return the fee the user has to pay + // plus the amount of tokens they want to transfer. + Cost() *big.Int + + // EffectiveGasPrice returns the price for the gas used in a transaction + // based on the transaction type. + EffectiveGasPrice(baseFee *big.Int) *big.Int + // EffectiveFee returns the fees a user is willing to pay for a transaction. + EffectiveFee(baseFee *big.Int) *big.Int + EffectiveCost(baseFee *big.Int) *big.Int +} + +// NOTE: All non-protected transactions (i.e non EIP155 signed) will fail if the +// AllowUnprotectedTxs parameter is disabled. +func NewTxDataFromTx(tx *ethtypes.Transaction) (TxData, error) { + var txData TxData + var err error + switch tx.Type() { + case ethtypes.DynamicFeeTxType: + txData, err = NewDynamicFeeTx(tx) + case ethtypes.AccessListTxType: + txData, err = newAccessListTx(tx) + default: + txData, err = NewLegacyTx(tx) + } + if err != nil { + return nil, err + } + + return txData, nil +} + +// fee returns the fee for a transaction given by the gas price time the gas. +func fee(gasPrice *big.Int, gas uint64) *big.Int { + gasLimit := new(big.Int).SetUint64(gas) + return new(big.Int).Mul(gasPrice, gasLimit) +} + +// cost returns the sum of the fee and value. If value is nil it returns only +// the fee. This function is made to be used in the ante handler to compute the +// total cost of a transaction given by the fee the user has to pay and the +// amount they want to transfer. +func cost(fee, value *big.Int) *big.Int { + if value != nil { + return new(big.Int).Add(fee, value) + } + return fee +} From 2957e2fad099c67e66aa899dbffe3c3b3b164f17 Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Thu, 11 Dec 2025 10:12:39 +0700 Subject: [PATCH 4/7] /cosmos.evm.vm.v2 --- ante/ante.go | 2 +- indexer/kv_indexer.go | 2 +- mempool/signer.go | 2 +- mempool/signer_test.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ante/ante.go b/ante/ante.go index 156095162..f3aa9c3be 100644 --- a/ante/ante.go +++ b/ante/ante.go @@ -82,7 +82,7 @@ func NewAnteHandler(options HandlerOptions) sdk.AnteHandler { opts := txWithExtensions.GetExtensionOptions() if len(opts) > 0 { switch typeURL := opts[0].GetTypeUrl(); typeURL { - case "/cosmos.evm.vm.v1.ExtensionOptionsEthereumTx": + case "/cosmos.evm.vm.v2.ExtensionOptionsEthereumTx": // handle as *evmtypes.MsgEthereumTx anteHandler = newMonoEVMAnteHandler(ctx, options) case "/cosmos.evm.ante.v1.ExtensionOptionDynamicFeeTx": diff --git a/indexer/kv_indexer.go b/indexer/kv_indexer.go index 9bf85ccdc..11415c974 100644 --- a/indexer/kv_indexer.go +++ b/indexer/kv_indexer.go @@ -206,7 +206,7 @@ func isEthTx(tx sdk.Tx) bool { return false } opts := extTx.GetExtensionOptions() - if len(opts) != 1 || opts[0].GetTypeUrl() != "/cosmos.evm.vm.v1.ExtensionOptionsEthereumTx" { + if len(opts) != 1 || opts[0].GetTypeUrl() != "/cosmos.evm.vm.v2.ExtensionOptionsEthereumTx" { return false } return true diff --git a/mempool/signer.go b/mempool/signer.go index 9422ad3aa..ff0b94795 100644 --- a/mempool/signer.go +++ b/mempool/signer.go @@ -26,7 +26,7 @@ func NewEthSignerExtractionAdapter(fallback mempool.SignerExtractionAdapter) Eth func (s EthSignerExtractionAdapter) GetSigners(tx sdk.Tx) ([]mempool.SignerData, error) { if txWithExtensions, ok := tx.(authante.HasExtensionOptionsTx); ok { opts := txWithExtensions.GetExtensionOptions() - if len(opts) > 0 && opts[0].GetTypeUrl() == "/cosmos.evm.vm.v1.ExtensionOptionsEthereumTx" { + if len(opts) > 0 && opts[0].GetTypeUrl() == "/cosmos.evm.vm.v2.ExtensionOptionsEthereumTx" { for _, msg := range tx.GetMsgs() { if ethMsg, ok := msg.(*evmtypes.MsgEthereumTx); ok { return []mempool.SignerData{ diff --git a/mempool/signer_test.go b/mempool/signer_test.go index 7bfbf36f3..a24ade96a 100644 --- a/mempool/signer_test.go +++ b/mempool/signer_test.go @@ -36,7 +36,7 @@ func (m *mockHasExtOptions) GetMsgsV2() ([]protov2.Message, error) { func (m *mockHasExtOptions) GetExtensionOptions() []*codectypes.Any { return []*codectypes.Any{ { - TypeUrl: "/cosmos.evm.vm.v1.ExtensionOptionsEthereumTx", + TypeUrl: "/cosmos.evm.vm.v2.ExtensionOptionsEthereumTx", Value: []byte{}, }, } From 918c4702424098cf3e8b1a27375a3a52d44b2885 Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Thu, 11 Dec 2025 10:15:29 +0700 Subject: [PATCH 5/7] support json rpc query with old tx --- rpc/backend/tx_info.go | 17 +++++++++++++---- rpc/types/utils.go | 4 ++-- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/rpc/backend/tx_info.go b/rpc/backend/tx_info.go index 9c84198ff..d14e1f59d 100644 --- a/rpc/backend/tx_info.go +++ b/rpc/backend/tx_info.go @@ -23,6 +23,7 @@ import ( servertypes "github.com/cosmos/evm/server/types" "github.com/cosmos/evm/utils" evmtypes "github.com/cosmos/evm/x/vm/types" + oldtxtypes "github.com/cosmos/evm/x/vm/types/oldtx" errorsmod "cosmossdk.io/errors" @@ -47,9 +48,17 @@ func (b *Backend) GetTransactionByHash(txHash common.Hash) (*rpctypes.RPCTransac } // the `res.MsgIndex` is inferred from tx index, should be within the bound. + var eTx *ethtypes.Transaction msg, ok := tx.GetMsgs()[res.MsgIndex].(*evmtypes.MsgEthereumTx) if !ok { - return nil, errors.New("invalid ethereum tx") + oldMsg, ok := tx.GetMsgs()[res.MsgIndex].(*oldtxtypes.MsgEthereumTx) + if !ok { + return nil, errors.New("invalid ethereum tx") + } else { + eTx = oldMsg.AsTransaction() + } + } else { + eTx = msg.AsTransaction() } blockRes, err := b.RPCClient.BlockResults(b.Ctx, &block.Block.Height) @@ -86,7 +95,7 @@ func (b *Backend) GetTransactionByHash(txHash common.Hash) (*rpctypes.RPCTransac blockTime := uint64(block.Block.Time.UTC().Unix()) //#nosec G115 -- checked for int overflow already index := uint64(res.EthTxIndex) //#nosec G115 -- checked for int overflow already return rpctypes.NewTransactionFromMsg( - msg, + eTx, common.BytesToHash(block.BlockID.Hash.Bytes()), height, blockTime, @@ -116,7 +125,7 @@ func (b *Backend) GetTransactionByHashPending(txHash common.Hash) (*rpctypes.RPC if msg.Hash() == txHash { // use zero block values since it's not included in a block yet return rpctypes.NewTransactionFromMsg( - msg, + msg.AsTransaction(), common.Hash{}, uint64(0), uint64(0), @@ -402,7 +411,7 @@ func (b *Backend) GetTransactionByBlockAndIndex(block *cmtrpctypes.ResultBlock, blockTime := uint64(block.Block.Time.UTC().Unix()) // #nosec G115 -- checked for int overflow already index := uint64(idx) // #nosec G115 -- checked for int overflow already return rpctypes.NewTransactionFromMsg( - msg, + msg.AsTransaction(), common.BytesToHash(block.BlockID.Hash), height, blockTime, diff --git a/rpc/types/utils.go b/rpc/types/utils.go index d2554f7be..a556922f6 100644 --- a/rpc/types/utils.go +++ b/rpc/types/utils.go @@ -155,13 +155,13 @@ func MakeHeader( // NewTransactionFromMsg returns a transaction that will serialize to the RPC // representation, with the given location metadata set (if available). func NewTransactionFromMsg( - msg *evmtypes.MsgEthereumTx, + msg *ethtypes.Transaction, blockHash common.Hash, blockNumber, blockTime, index uint64, baseFee *big.Int, config *ethparams.ChainConfig, ) *RPCTransaction { - return NewRPCTransaction(msg.AsTransaction(), blockHash, blockNumber, blockTime, index, baseFee, config) + return NewRPCTransaction(msg, blockHash, blockNumber, blockTime, index, baseFee, config) } // NewTransactionFromData returns a transaction that will serialize to the RPC From 596d4f71d1125eb96e9fc3ee4b7410408c89a9ac Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Thu, 11 Dec 2025 11:07:08 +0700 Subject: [PATCH 6/7] rename v1 --- rpc/backend/tx_info.go | 2 +- tests/integration/rpc/backend/test_tx_info.go | 4 ++-- x/vm/types/{oldtx => v1}/access_list.go | 2 +- x/vm/types/{oldtx => v1}/access_list_tx.go | 2 +- x/vm/types/{oldtx => v1}/dynamic_fee_tx.go | 2 +- x/vm/types/{oldtx => v1}/evm.pb.go | 2 +- x/vm/types/{oldtx => v1}/legacy_tx.go | 2 +- x/vm/types/{oldtx => v1}/msg.go | 3 +-- x/vm/types/{oldtx => v1}/tx.pb.go | 2 +- x/vm/types/{oldtx => v1}/tx_data.go | 2 +- 10 files changed, 11 insertions(+), 12 deletions(-) rename x/vm/types/{oldtx => v1}/access_list.go (99%) rename x/vm/types/{oldtx => v1}/access_list_tx.go (99%) rename x/vm/types/{oldtx => v1}/dynamic_fee_tx.go (99%) rename x/vm/types/{oldtx => v1}/evm.pb.go (99%) rename x/vm/types/{oldtx => v1}/legacy_tx.go (99%) rename x/vm/types/{oldtx => v1}/msg.go (98%) rename x/vm/types/{oldtx => v1}/tx.pb.go (99%) rename x/vm/types/{oldtx => v1}/tx_data.go (99%) diff --git a/rpc/backend/tx_info.go b/rpc/backend/tx_info.go index d14e1f59d..a32c58fb1 100644 --- a/rpc/backend/tx_info.go +++ b/rpc/backend/tx_info.go @@ -23,7 +23,7 @@ import ( servertypes "github.com/cosmos/evm/server/types" "github.com/cosmos/evm/utils" evmtypes "github.com/cosmos/evm/x/vm/types" - oldtxtypes "github.com/cosmos/evm/x/vm/types/oldtx" + oldtxtypes "github.com/cosmos/evm/x/vm/types/v1" errorsmod "cosmossdk.io/errors" diff --git a/tests/integration/rpc/backend/test_tx_info.go b/tests/integration/rpc/backend/test_tx_info.go index 0d6efea5f..2d7a0b88c 100644 --- a/tests/integration/rpc/backend/test_tx_info.go +++ b/tests/integration/rpc/backend/test_tx_info.go @@ -301,7 +301,7 @@ func (s *TestSuite) TestGetTransactionByBlockAndIndex() { blockTime := uint64(defaultBlock.Time.UTC().Unix()) //nolint:gosec // G115 txFromMsg := rpctypes.NewTransactionFromMsg( - msgEthTx, + msgEthTx.AsTransaction(), common.BytesToHash(defaultBlock.Hash().Bytes()), 1, blockTime, @@ -397,7 +397,7 @@ func (s *TestSuite) TestGetTransactionByBlockNumberAndIndex() { defaultBlock := types.MakeBlock(1, []types.Tx{bz}, nil, nil) blockTime := uint64(defaultBlock.Time.UTC().Unix()) //nolint:gosec // G115 txFromMsg := rpctypes.NewTransactionFromMsg( - msgEthTx, + msgEthTx.AsTransaction(), common.BytesToHash(defaultBlock.Hash().Bytes()), 1, blockTime, diff --git a/x/vm/types/oldtx/access_list.go b/x/vm/types/v1/access_list.go similarity index 99% rename from x/vm/types/oldtx/access_list.go rename to x/vm/types/v1/access_list.go index 2fc7f142f..4787714f0 100644 --- a/x/vm/types/oldtx/access_list.go +++ b/x/vm/types/v1/access_list.go @@ -1,4 +1,4 @@ -package oldtx +package v1 import ( "github.com/ethereum/go-ethereum/common" diff --git a/x/vm/types/oldtx/access_list_tx.go b/x/vm/types/v1/access_list_tx.go similarity index 99% rename from x/vm/types/oldtx/access_list_tx.go rename to x/vm/types/v1/access_list_tx.go index b94e3a882..5363f2973 100644 --- a/x/vm/types/oldtx/access_list_tx.go +++ b/x/vm/types/v1/access_list_tx.go @@ -1,4 +1,4 @@ -package oldtx +package v1 import ( "math/big" diff --git a/x/vm/types/oldtx/dynamic_fee_tx.go b/x/vm/types/v1/dynamic_fee_tx.go similarity index 99% rename from x/vm/types/oldtx/dynamic_fee_tx.go rename to x/vm/types/v1/dynamic_fee_tx.go index 0f6b2f2cf..a42599a69 100644 --- a/x/vm/types/oldtx/dynamic_fee_tx.go +++ b/x/vm/types/v1/dynamic_fee_tx.go @@ -1,4 +1,4 @@ -package oldtx +package v1 import ( "math/big" diff --git a/x/vm/types/oldtx/evm.pb.go b/x/vm/types/v1/evm.pb.go similarity index 99% rename from x/vm/types/oldtx/evm.pb.go rename to x/vm/types/v1/evm.pb.go index 09735f9ef..7886020d4 100644 --- a/x/vm/types/oldtx/evm.pb.go +++ b/x/vm/types/v1/evm.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. // source: cosmos/evm/vm/v1/evm.proto -package oldtx +package v1 import ( cosmossdk_io_math "cosmossdk.io/math" diff --git a/x/vm/types/oldtx/legacy_tx.go b/x/vm/types/v1/legacy_tx.go similarity index 99% rename from x/vm/types/oldtx/legacy_tx.go rename to x/vm/types/v1/legacy_tx.go index b6509af3b..5c737a33b 100644 --- a/x/vm/types/oldtx/legacy_tx.go +++ b/x/vm/types/v1/legacy_tx.go @@ -1,4 +1,4 @@ -package oldtx +package v1 import ( "math/big" diff --git a/x/vm/types/oldtx/msg.go b/x/vm/types/v1/msg.go similarity index 98% rename from x/vm/types/oldtx/msg.go rename to x/vm/types/v1/msg.go index e4911105a..86debf62c 100644 --- a/x/vm/types/oldtx/msg.go +++ b/x/vm/types/v1/msg.go @@ -1,4 +1,4 @@ -package oldtx +package v1 import ( "fmt" @@ -13,7 +13,6 @@ import ( var ( _ codectypes.UnpackInterfacesMessage = MsgEthereumTx{} - ) // UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces diff --git a/x/vm/types/oldtx/tx.pb.go b/x/vm/types/v1/tx.pb.go similarity index 99% rename from x/vm/types/oldtx/tx.pb.go rename to x/vm/types/v1/tx.pb.go index 6d6a201a7..5d4c3045d 100644 --- a/x/vm/types/oldtx/tx.pb.go +++ b/x/vm/types/v1/tx.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. // source: cosmos/evm/vm/v1/tx.proto -package oldtx +package v1 import ( context "context" diff --git a/x/vm/types/oldtx/tx_data.go b/x/vm/types/v1/tx_data.go similarity index 99% rename from x/vm/types/oldtx/tx_data.go rename to x/vm/types/v1/tx_data.go index ea1c5bc3a..e17b9715f 100644 --- a/x/vm/types/oldtx/tx_data.go +++ b/x/vm/types/v1/tx_data.go @@ -1,4 +1,4 @@ -package oldtx +package v1 import ( "math/big" From ed4a012a3408a90f8bfd7634dc1a589fc53b3a7b Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Thu, 11 Dec 2025 13:05:29 +0700 Subject: [PATCH 7/7] gen from proto --- api/cosmos/evm/vm/v1/evm.pulsar.go | 9565 ++++++++++++++++++++++++++++ api/cosmos/evm/vm/v1/tx.pulsar.go | 6730 +++++++++++++++++++ api/cosmos/evm/vm/v1/tx_grpc.pb.go | 154 + proto/cosmos/evm/vm/v1/evm.proto | 333 + proto/cosmos/evm/vm/v1/tx.proto | 210 + x/vm/types/v1/evm.pb.go | 248 +- x/vm/types/v1/tx.pb.go | 132 +- x/vm/types/v1/tx.pb.gw.go | 171 + 8 files changed, 17353 insertions(+), 190 deletions(-) create mode 100644 api/cosmos/evm/vm/v1/evm.pulsar.go create mode 100644 api/cosmos/evm/vm/v1/tx.pulsar.go create mode 100644 api/cosmos/evm/vm/v1/tx_grpc.pb.go create mode 100644 proto/cosmos/evm/vm/v1/evm.proto create mode 100644 proto/cosmos/evm/vm/v1/tx.proto create mode 100644 x/vm/types/v1/tx.pb.gw.go diff --git a/api/cosmos/evm/vm/v1/evm.pulsar.go b/api/cosmos/evm/vm/v1/evm.pulsar.go new file mode 100644 index 000000000..d43078100 --- /dev/null +++ b/api/cosmos/evm/vm/v1/evm.pulsar.go @@ -0,0 +1,9565 @@ +// Code generated by protoc-gen-go-pulsar. DO NOT EDIT. +package vmv1 + +import ( + _ "cosmossdk.io/api/amino" + fmt "fmt" + runtime "github.com/cosmos/cosmos-proto/runtime" + _ "github.com/cosmos/gogoproto/gogoproto" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoiface "google.golang.org/protobuf/runtime/protoiface" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + io "io" + reflect "reflect" + sync "sync" +) + +var _ protoreflect.List = (*_Params_4_list)(nil) + +type _Params_4_list struct { + list *[]int64 +} + +func (x *_Params_4_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_Params_4_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfInt64((*x.list)[i]) +} + +func (x *_Params_4_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Int() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_Params_4_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Int() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_Params_4_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message Params at list field ExtraEips as it is not of Message kind")) +} + +func (x *_Params_4_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_Params_4_list) NewElement() protoreflect.Value { + v := int64(0) + return protoreflect.ValueOfInt64(v) +} + +func (x *_Params_4_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_Params_8_list)(nil) + +type _Params_8_list struct { + list *[]string +} + +func (x *_Params_8_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_Params_8_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_Params_8_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_Params_8_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_Params_8_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message Params at list field EvmChannels as it is not of Message kind")) +} + +func (x *_Params_8_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_Params_8_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_Params_8_list) IsValid() bool { + return x.list != nil +} + +var _ protoreflect.List = (*_Params_10_list)(nil) + +type _Params_10_list struct { + list *[]string +} + +func (x *_Params_10_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_Params_10_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_Params_10_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_Params_10_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_Params_10_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message Params at list field ActiveStaticPrecompiles as it is not of Message kind")) +} + +func (x *_Params_10_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_Params_10_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_Params_10_list) IsValid() bool { + return x.list != nil +} + +var ( + md_Params protoreflect.MessageDescriptor + fd_Params_evm_denom protoreflect.FieldDescriptor + fd_Params_extra_eips protoreflect.FieldDescriptor + fd_Params_chain_config protoreflect.FieldDescriptor + fd_Params_allow_unprotected_txs protoreflect.FieldDescriptor + fd_Params_evm_channels protoreflect.FieldDescriptor + fd_Params_access_control protoreflect.FieldDescriptor + fd_Params_active_static_precompiles protoreflect.FieldDescriptor +) + +func init() { + file_cosmos_evm_vm_v1_evm_proto_init() + md_Params = File_cosmos_evm_vm_v1_evm_proto.Messages().ByName("Params") + fd_Params_evm_denom = md_Params.Fields().ByName("evm_denom") + fd_Params_extra_eips = md_Params.Fields().ByName("extra_eips") + fd_Params_chain_config = md_Params.Fields().ByName("chain_config") + fd_Params_allow_unprotected_txs = md_Params.Fields().ByName("allow_unprotected_txs") + fd_Params_evm_channels = md_Params.Fields().ByName("evm_channels") + fd_Params_access_control = md_Params.Fields().ByName("access_control") + fd_Params_active_static_precompiles = md_Params.Fields().ByName("active_static_precompiles") +} + +var _ protoreflect.Message = (*fastReflection_Params)(nil) + +type fastReflection_Params Params + +func (x *Params) ProtoReflect() protoreflect.Message { + return (*fastReflection_Params)(x) +} + +func (x *Params) slowProtoReflect() protoreflect.Message { + mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_Params_messageType fastReflection_Params_messageType +var _ protoreflect.MessageType = fastReflection_Params_messageType{} + +type fastReflection_Params_messageType struct{} + +func (x fastReflection_Params_messageType) Zero() protoreflect.Message { + return (*fastReflection_Params)(nil) +} +func (x fastReflection_Params_messageType) New() protoreflect.Message { + return new(fastReflection_Params) +} +func (x fastReflection_Params_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_Params +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_Params) Descriptor() protoreflect.MessageDescriptor { + return md_Params +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_Params) Type() protoreflect.MessageType { + return _fastReflection_Params_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_Params) New() protoreflect.Message { + return new(fastReflection_Params) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_Params) Interface() protoreflect.ProtoMessage { + return (*Params)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_Params) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.EvmDenom != "" { + value := protoreflect.ValueOfString(x.EvmDenom) + if !f(fd_Params_evm_denom, value) { + return + } + } + if len(x.ExtraEips) != 0 { + value := protoreflect.ValueOfList(&_Params_4_list{list: &x.ExtraEips}) + if !f(fd_Params_extra_eips, value) { + return + } + } + if x.ChainConfig != nil { + value := protoreflect.ValueOfMessage(x.ChainConfig.ProtoReflect()) + if !f(fd_Params_chain_config, value) { + return + } + } + if x.AllowUnprotectedTxs != false { + value := protoreflect.ValueOfBool(x.AllowUnprotectedTxs) + if !f(fd_Params_allow_unprotected_txs, value) { + return + } + } + if len(x.EvmChannels) != 0 { + value := protoreflect.ValueOfList(&_Params_8_list{list: &x.EvmChannels}) + if !f(fd_Params_evm_channels, value) { + return + } + } + if x.AccessControl != nil { + value := protoreflect.ValueOfMessage(x.AccessControl.ProtoReflect()) + if !f(fd_Params_access_control, value) { + return + } + } + if len(x.ActiveStaticPrecompiles) != 0 { + value := protoreflect.ValueOfList(&_Params_10_list{list: &x.ActiveStaticPrecompiles}) + if !f(fd_Params_active_static_precompiles, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_Params) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "cosmos.evm.vm.v1.Params.evm_denom": + return x.EvmDenom != "" + case "cosmos.evm.vm.v1.Params.extra_eips": + return len(x.ExtraEips) != 0 + case "cosmos.evm.vm.v1.Params.chain_config": + return x.ChainConfig != nil + case "cosmos.evm.vm.v1.Params.allow_unprotected_txs": + return x.AllowUnprotectedTxs != false + case "cosmos.evm.vm.v1.Params.evm_channels": + return len(x.EvmChannels) != 0 + case "cosmos.evm.vm.v1.Params.access_control": + return x.AccessControl != nil + case "cosmos.evm.vm.v1.Params.active_static_precompiles": + return len(x.ActiveStaticPrecompiles) != 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.Params")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.Params does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_Params) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "cosmos.evm.vm.v1.Params.evm_denom": + x.EvmDenom = "" + case "cosmos.evm.vm.v1.Params.extra_eips": + x.ExtraEips = nil + case "cosmos.evm.vm.v1.Params.chain_config": + x.ChainConfig = nil + case "cosmos.evm.vm.v1.Params.allow_unprotected_txs": + x.AllowUnprotectedTxs = false + case "cosmos.evm.vm.v1.Params.evm_channels": + x.EvmChannels = nil + case "cosmos.evm.vm.v1.Params.access_control": + x.AccessControl = nil + case "cosmos.evm.vm.v1.Params.active_static_precompiles": + x.ActiveStaticPrecompiles = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.Params")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.Params does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_Params) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "cosmos.evm.vm.v1.Params.evm_denom": + value := x.EvmDenom + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.Params.extra_eips": + if len(x.ExtraEips) == 0 { + return protoreflect.ValueOfList(&_Params_4_list{}) + } + listValue := &_Params_4_list{list: &x.ExtraEips} + return protoreflect.ValueOfList(listValue) + case "cosmos.evm.vm.v1.Params.chain_config": + value := x.ChainConfig + return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "cosmos.evm.vm.v1.Params.allow_unprotected_txs": + value := x.AllowUnprotectedTxs + return protoreflect.ValueOfBool(value) + case "cosmos.evm.vm.v1.Params.evm_channels": + if len(x.EvmChannels) == 0 { + return protoreflect.ValueOfList(&_Params_8_list{}) + } + listValue := &_Params_8_list{list: &x.EvmChannels} + return protoreflect.ValueOfList(listValue) + case "cosmos.evm.vm.v1.Params.access_control": + value := x.AccessControl + return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "cosmos.evm.vm.v1.Params.active_static_precompiles": + if len(x.ActiveStaticPrecompiles) == 0 { + return protoreflect.ValueOfList(&_Params_10_list{}) + } + listValue := &_Params_10_list{list: &x.ActiveStaticPrecompiles} + return protoreflect.ValueOfList(listValue) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.Params")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.Params does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_Params) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "cosmos.evm.vm.v1.Params.evm_denom": + x.EvmDenom = value.Interface().(string) + case "cosmos.evm.vm.v1.Params.extra_eips": + lv := value.List() + clv := lv.(*_Params_4_list) + x.ExtraEips = *clv.list + case "cosmos.evm.vm.v1.Params.chain_config": + x.ChainConfig = value.Message().Interface().(*ChainConfig) + case "cosmos.evm.vm.v1.Params.allow_unprotected_txs": + x.AllowUnprotectedTxs = value.Bool() + case "cosmos.evm.vm.v1.Params.evm_channels": + lv := value.List() + clv := lv.(*_Params_8_list) + x.EvmChannels = *clv.list + case "cosmos.evm.vm.v1.Params.access_control": + x.AccessControl = value.Message().Interface().(*AccessControl) + case "cosmos.evm.vm.v1.Params.active_static_precompiles": + lv := value.List() + clv := lv.(*_Params_10_list) + x.ActiveStaticPrecompiles = *clv.list + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.Params")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.Params does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_Params) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cosmos.evm.vm.v1.Params.extra_eips": + if x.ExtraEips == nil { + x.ExtraEips = []int64{} + } + value := &_Params_4_list{list: &x.ExtraEips} + return protoreflect.ValueOfList(value) + case "cosmos.evm.vm.v1.Params.chain_config": + if x.ChainConfig == nil { + x.ChainConfig = new(ChainConfig) + } + return protoreflect.ValueOfMessage(x.ChainConfig.ProtoReflect()) + case "cosmos.evm.vm.v1.Params.evm_channels": + if x.EvmChannels == nil { + x.EvmChannels = []string{} + } + value := &_Params_8_list{list: &x.EvmChannels} + return protoreflect.ValueOfList(value) + case "cosmos.evm.vm.v1.Params.access_control": + if x.AccessControl == nil { + x.AccessControl = new(AccessControl) + } + return protoreflect.ValueOfMessage(x.AccessControl.ProtoReflect()) + case "cosmos.evm.vm.v1.Params.active_static_precompiles": + if x.ActiveStaticPrecompiles == nil { + x.ActiveStaticPrecompiles = []string{} + } + value := &_Params_10_list{list: &x.ActiveStaticPrecompiles} + return protoreflect.ValueOfList(value) + case "cosmos.evm.vm.v1.Params.evm_denom": + panic(fmt.Errorf("field evm_denom of message cosmos.evm.vm.v1.Params is not mutable")) + case "cosmos.evm.vm.v1.Params.allow_unprotected_txs": + panic(fmt.Errorf("field allow_unprotected_txs of message cosmos.evm.vm.v1.Params is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.Params")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.Params does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_Params) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cosmos.evm.vm.v1.Params.evm_denom": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.Params.extra_eips": + list := []int64{} + return protoreflect.ValueOfList(&_Params_4_list{list: &list}) + case "cosmos.evm.vm.v1.Params.chain_config": + m := new(ChainConfig) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "cosmos.evm.vm.v1.Params.allow_unprotected_txs": + return protoreflect.ValueOfBool(false) + case "cosmos.evm.vm.v1.Params.evm_channels": + list := []string{} + return protoreflect.ValueOfList(&_Params_8_list{list: &list}) + case "cosmos.evm.vm.v1.Params.access_control": + m := new(AccessControl) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "cosmos.evm.vm.v1.Params.active_static_precompiles": + list := []string{} + return protoreflect.ValueOfList(&_Params_10_list{list: &list}) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.Params")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.Params does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_Params) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.Params", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_Params) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_Params) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_Params) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_Params) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*Params) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.EvmDenom) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if len(x.ExtraEips) > 0 { + l = 0 + for _, e := range x.ExtraEips { + l += runtime.Sov(uint64(e)) + } + n += 1 + runtime.Sov(uint64(l)) + l + } + if x.ChainConfig != nil { + l = options.Size(x.ChainConfig) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.AllowUnprotectedTxs { + n += 2 + } + if len(x.EvmChannels) > 0 { + for _, s := range x.EvmChannels { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.AccessControl != nil { + l = options.Size(x.AccessControl) + n += 1 + l + runtime.Sov(uint64(l)) + } + if len(x.ActiveStaticPrecompiles) > 0 { + for _, s := range x.ActiveStaticPrecompiles { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*Params) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.ActiveStaticPrecompiles) > 0 { + for iNdEx := len(x.ActiveStaticPrecompiles) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.ActiveStaticPrecompiles[iNdEx]) + copy(dAtA[i:], x.ActiveStaticPrecompiles[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ActiveStaticPrecompiles[iNdEx]))) + i-- + dAtA[i] = 0x52 + } + } + if x.AccessControl != nil { + encoded, err := options.Marshal(x.AccessControl) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x4a + } + if len(x.EvmChannels) > 0 { + for iNdEx := len(x.EvmChannels) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.EvmChannels[iNdEx]) + copy(dAtA[i:], x.EvmChannels[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.EvmChannels[iNdEx]))) + i-- + dAtA[i] = 0x42 + } + } + if x.AllowUnprotectedTxs { + i-- + if x.AllowUnprotectedTxs { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x30 + } + if x.ChainConfig != nil { + encoded, err := options.Marshal(x.ChainConfig) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x2a + } + if len(x.ExtraEips) > 0 { + var pksize2 int + for _, num := range x.ExtraEips { + pksize2 += runtime.Sov(uint64(num)) + } + i -= pksize2 + j1 := i + for _, num1 := range x.ExtraEips { + num := uint64(num1) + for num >= 1<<7 { + dAtA[j1] = uint8(uint64(num)&0x7f | 0x80) + num >>= 7 + j1++ + } + dAtA[j1] = uint8(num) + j1++ + } + i = runtime.EncodeVarint(dAtA, i, uint64(pksize2)) + i-- + dAtA[i] = 0x22 + } + if len(x.EvmDenom) > 0 { + i -= len(x.EvmDenom) + copy(dAtA[i:], x.EvmDenom) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.EvmDenom))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*Params) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Params: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Params: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field EvmDenom", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.EvmDenom = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType == 0 { + var v int64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.ExtraEips = append(x.ExtraEips, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(x.ExtraEips) == 0 { + x.ExtraEips = make([]int64, 0, elementCount) + } + for iNdEx < postIndex { + var v int64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.ExtraEips = append(x.ExtraEips, v) + } + } else { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ExtraEips", wireType) + } + case 5: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ChainConfig", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.ChainConfig == nil { + x.ChainConfig = &ChainConfig{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.ChainConfig); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 6: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AllowUnprotectedTxs", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.AllowUnprotectedTxs = bool(v != 0) + case 8: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field EvmChannels", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.EvmChannels = append(x.EvmChannels, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 9: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AccessControl", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.AccessControl == nil { + x.AccessControl = &AccessControl{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.AccessControl); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 10: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ActiveStaticPrecompiles", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ActiveStaticPrecompiles = append(x.ActiveStaticPrecompiles, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_AccessControl protoreflect.MessageDescriptor + fd_AccessControl_create protoreflect.FieldDescriptor + fd_AccessControl_call protoreflect.FieldDescriptor +) + +func init() { + file_cosmos_evm_vm_v1_evm_proto_init() + md_AccessControl = File_cosmos_evm_vm_v1_evm_proto.Messages().ByName("AccessControl") + fd_AccessControl_create = md_AccessControl.Fields().ByName("create") + fd_AccessControl_call = md_AccessControl.Fields().ByName("call") +} + +var _ protoreflect.Message = (*fastReflection_AccessControl)(nil) + +type fastReflection_AccessControl AccessControl + +func (x *AccessControl) ProtoReflect() protoreflect.Message { + return (*fastReflection_AccessControl)(x) +} + +func (x *AccessControl) slowProtoReflect() protoreflect.Message { + mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_AccessControl_messageType fastReflection_AccessControl_messageType +var _ protoreflect.MessageType = fastReflection_AccessControl_messageType{} + +type fastReflection_AccessControl_messageType struct{} + +func (x fastReflection_AccessControl_messageType) Zero() protoreflect.Message { + return (*fastReflection_AccessControl)(nil) +} +func (x fastReflection_AccessControl_messageType) New() protoreflect.Message { + return new(fastReflection_AccessControl) +} +func (x fastReflection_AccessControl_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_AccessControl +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_AccessControl) Descriptor() protoreflect.MessageDescriptor { + return md_AccessControl +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_AccessControl) Type() protoreflect.MessageType { + return _fastReflection_AccessControl_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_AccessControl) New() protoreflect.Message { + return new(fastReflection_AccessControl) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_AccessControl) Interface() protoreflect.ProtoMessage { + return (*AccessControl)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_AccessControl) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Create != nil { + value := protoreflect.ValueOfMessage(x.Create.ProtoReflect()) + if !f(fd_AccessControl_create, value) { + return + } + } + if x.Call != nil { + value := protoreflect.ValueOfMessage(x.Call.ProtoReflect()) + if !f(fd_AccessControl_call, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_AccessControl) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "cosmos.evm.vm.v1.AccessControl.create": + return x.Create != nil + case "cosmos.evm.vm.v1.AccessControl.call": + return x.Call != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.AccessControl")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.AccessControl does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AccessControl) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "cosmos.evm.vm.v1.AccessControl.create": + x.Create = nil + case "cosmos.evm.vm.v1.AccessControl.call": + x.Call = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.AccessControl")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.AccessControl does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_AccessControl) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "cosmos.evm.vm.v1.AccessControl.create": + value := x.Create + return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "cosmos.evm.vm.v1.AccessControl.call": + value := x.Call + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.AccessControl")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.AccessControl does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AccessControl) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "cosmos.evm.vm.v1.AccessControl.create": + x.Create = value.Message().Interface().(*AccessControlType) + case "cosmos.evm.vm.v1.AccessControl.call": + x.Call = value.Message().Interface().(*AccessControlType) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.AccessControl")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.AccessControl does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AccessControl) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cosmos.evm.vm.v1.AccessControl.create": + if x.Create == nil { + x.Create = new(AccessControlType) + } + return protoreflect.ValueOfMessage(x.Create.ProtoReflect()) + case "cosmos.evm.vm.v1.AccessControl.call": + if x.Call == nil { + x.Call = new(AccessControlType) + } + return protoreflect.ValueOfMessage(x.Call.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.AccessControl")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.AccessControl does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_AccessControl) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cosmos.evm.vm.v1.AccessControl.create": + m := new(AccessControlType) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "cosmos.evm.vm.v1.AccessControl.call": + m := new(AccessControlType) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.AccessControl")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.AccessControl does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_AccessControl) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.AccessControl", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_AccessControl) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AccessControl) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_AccessControl) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_AccessControl) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*AccessControl) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.Create != nil { + l = options.Size(x.Create) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.Call != nil { + l = options.Size(x.Call) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*AccessControl) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Call != nil { + encoded, err := options.Marshal(x.Call) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x12 + } + if x.Create != nil { + encoded, err := options.Marshal(x.Create) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*AccessControl) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AccessControl: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AccessControl: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Create", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Create == nil { + x.Create = &AccessControlType{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Create); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Call", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Call == nil { + x.Call = &AccessControlType{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Call); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var _ protoreflect.List = (*_AccessControlType_2_list)(nil) + +type _AccessControlType_2_list struct { + list *[]string +} + +func (x *_AccessControlType_2_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_AccessControlType_2_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_AccessControlType_2_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_AccessControlType_2_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_AccessControlType_2_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message AccessControlType at list field AccessControlList as it is not of Message kind")) +} + +func (x *_AccessControlType_2_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_AccessControlType_2_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_AccessControlType_2_list) IsValid() bool { + return x.list != nil +} + +var ( + md_AccessControlType protoreflect.MessageDescriptor + fd_AccessControlType_access_type protoreflect.FieldDescriptor + fd_AccessControlType_access_control_list protoreflect.FieldDescriptor +) + +func init() { + file_cosmos_evm_vm_v1_evm_proto_init() + md_AccessControlType = File_cosmos_evm_vm_v1_evm_proto.Messages().ByName("AccessControlType") + fd_AccessControlType_access_type = md_AccessControlType.Fields().ByName("access_type") + fd_AccessControlType_access_control_list = md_AccessControlType.Fields().ByName("access_control_list") +} + +var _ protoreflect.Message = (*fastReflection_AccessControlType)(nil) + +type fastReflection_AccessControlType AccessControlType + +func (x *AccessControlType) ProtoReflect() protoreflect.Message { + return (*fastReflection_AccessControlType)(x) +} + +func (x *AccessControlType) slowProtoReflect() protoreflect.Message { + mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_AccessControlType_messageType fastReflection_AccessControlType_messageType +var _ protoreflect.MessageType = fastReflection_AccessControlType_messageType{} + +type fastReflection_AccessControlType_messageType struct{} + +func (x fastReflection_AccessControlType_messageType) Zero() protoreflect.Message { + return (*fastReflection_AccessControlType)(nil) +} +func (x fastReflection_AccessControlType_messageType) New() protoreflect.Message { + return new(fastReflection_AccessControlType) +} +func (x fastReflection_AccessControlType_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_AccessControlType +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_AccessControlType) Descriptor() protoreflect.MessageDescriptor { + return md_AccessControlType +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_AccessControlType) Type() protoreflect.MessageType { + return _fastReflection_AccessControlType_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_AccessControlType) New() protoreflect.Message { + return new(fastReflection_AccessControlType) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_AccessControlType) Interface() protoreflect.ProtoMessage { + return (*AccessControlType)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_AccessControlType) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.AccessType != 0 { + value := protoreflect.ValueOfEnum((protoreflect.EnumNumber)(x.AccessType)) + if !f(fd_AccessControlType_access_type, value) { + return + } + } + if len(x.AccessControlList) != 0 { + value := protoreflect.ValueOfList(&_AccessControlType_2_list{list: &x.AccessControlList}) + if !f(fd_AccessControlType_access_control_list, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_AccessControlType) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "cosmos.evm.vm.v1.AccessControlType.access_type": + return x.AccessType != 0 + case "cosmos.evm.vm.v1.AccessControlType.access_control_list": + return len(x.AccessControlList) != 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.AccessControlType")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.AccessControlType does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AccessControlType) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "cosmos.evm.vm.v1.AccessControlType.access_type": + x.AccessType = 0 + case "cosmos.evm.vm.v1.AccessControlType.access_control_list": + x.AccessControlList = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.AccessControlType")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.AccessControlType does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_AccessControlType) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "cosmos.evm.vm.v1.AccessControlType.access_type": + value := x.AccessType + return protoreflect.ValueOfEnum((protoreflect.EnumNumber)(value)) + case "cosmos.evm.vm.v1.AccessControlType.access_control_list": + if len(x.AccessControlList) == 0 { + return protoreflect.ValueOfList(&_AccessControlType_2_list{}) + } + listValue := &_AccessControlType_2_list{list: &x.AccessControlList} + return protoreflect.ValueOfList(listValue) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.AccessControlType")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.AccessControlType does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AccessControlType) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "cosmos.evm.vm.v1.AccessControlType.access_type": + x.AccessType = (AccessType)(value.Enum()) + case "cosmos.evm.vm.v1.AccessControlType.access_control_list": + lv := value.List() + clv := lv.(*_AccessControlType_2_list) + x.AccessControlList = *clv.list + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.AccessControlType")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.AccessControlType does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AccessControlType) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cosmos.evm.vm.v1.AccessControlType.access_control_list": + if x.AccessControlList == nil { + x.AccessControlList = []string{} + } + value := &_AccessControlType_2_list{list: &x.AccessControlList} + return protoreflect.ValueOfList(value) + case "cosmos.evm.vm.v1.AccessControlType.access_type": + panic(fmt.Errorf("field access_type of message cosmos.evm.vm.v1.AccessControlType is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.AccessControlType")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.AccessControlType does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_AccessControlType) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cosmos.evm.vm.v1.AccessControlType.access_type": + return protoreflect.ValueOfEnum(0) + case "cosmos.evm.vm.v1.AccessControlType.access_control_list": + list := []string{} + return protoreflect.ValueOfList(&_AccessControlType_2_list{list: &list}) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.AccessControlType")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.AccessControlType does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_AccessControlType) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.AccessControlType", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_AccessControlType) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AccessControlType) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_AccessControlType) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_AccessControlType) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*AccessControlType) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.AccessType != 0 { + n += 1 + runtime.Sov(uint64(x.AccessType)) + } + if len(x.AccessControlList) > 0 { + for _, s := range x.AccessControlList { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*AccessControlType) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.AccessControlList) > 0 { + for iNdEx := len(x.AccessControlList) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.AccessControlList[iNdEx]) + copy(dAtA[i:], x.AccessControlList[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.AccessControlList[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if x.AccessType != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.AccessType)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*AccessControlType) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AccessControlType: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AccessControlType: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AccessType", wireType) + } + x.AccessType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.AccessType |= AccessType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field AccessControlList", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.AccessControlList = append(x.AccessControlList, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_ChainConfig protoreflect.MessageDescriptor + fd_ChainConfig_homestead_block protoreflect.FieldDescriptor + fd_ChainConfig_dao_fork_block protoreflect.FieldDescriptor + fd_ChainConfig_dao_fork_support protoreflect.FieldDescriptor + fd_ChainConfig_eip150_block protoreflect.FieldDescriptor + fd_ChainConfig_eip150_hash protoreflect.FieldDescriptor + fd_ChainConfig_eip155_block protoreflect.FieldDescriptor + fd_ChainConfig_eip158_block protoreflect.FieldDescriptor + fd_ChainConfig_byzantium_block protoreflect.FieldDescriptor + fd_ChainConfig_constantinople_block protoreflect.FieldDescriptor + fd_ChainConfig_petersburg_block protoreflect.FieldDescriptor + fd_ChainConfig_istanbul_block protoreflect.FieldDescriptor + fd_ChainConfig_muir_glacier_block protoreflect.FieldDescriptor + fd_ChainConfig_berlin_block protoreflect.FieldDescriptor + fd_ChainConfig_london_block protoreflect.FieldDescriptor + fd_ChainConfig_arrow_glacier_block protoreflect.FieldDescriptor + fd_ChainConfig_gray_glacier_block protoreflect.FieldDescriptor + fd_ChainConfig_merge_netsplit_block protoreflect.FieldDescriptor + fd_ChainConfig_shanghai_block protoreflect.FieldDescriptor + fd_ChainConfig_cancun_block protoreflect.FieldDescriptor + fd_ChainConfig_chain_id protoreflect.FieldDescriptor + fd_ChainConfig_denom protoreflect.FieldDescriptor + fd_ChainConfig_decimals protoreflect.FieldDescriptor +) + +func init() { + file_cosmos_evm_vm_v1_evm_proto_init() + md_ChainConfig = File_cosmos_evm_vm_v1_evm_proto.Messages().ByName("ChainConfig") + fd_ChainConfig_homestead_block = md_ChainConfig.Fields().ByName("homestead_block") + fd_ChainConfig_dao_fork_block = md_ChainConfig.Fields().ByName("dao_fork_block") + fd_ChainConfig_dao_fork_support = md_ChainConfig.Fields().ByName("dao_fork_support") + fd_ChainConfig_eip150_block = md_ChainConfig.Fields().ByName("eip150_block") + fd_ChainConfig_eip150_hash = md_ChainConfig.Fields().ByName("eip150_hash") + fd_ChainConfig_eip155_block = md_ChainConfig.Fields().ByName("eip155_block") + fd_ChainConfig_eip158_block = md_ChainConfig.Fields().ByName("eip158_block") + fd_ChainConfig_byzantium_block = md_ChainConfig.Fields().ByName("byzantium_block") + fd_ChainConfig_constantinople_block = md_ChainConfig.Fields().ByName("constantinople_block") + fd_ChainConfig_petersburg_block = md_ChainConfig.Fields().ByName("petersburg_block") + fd_ChainConfig_istanbul_block = md_ChainConfig.Fields().ByName("istanbul_block") + fd_ChainConfig_muir_glacier_block = md_ChainConfig.Fields().ByName("muir_glacier_block") + fd_ChainConfig_berlin_block = md_ChainConfig.Fields().ByName("berlin_block") + fd_ChainConfig_london_block = md_ChainConfig.Fields().ByName("london_block") + fd_ChainConfig_arrow_glacier_block = md_ChainConfig.Fields().ByName("arrow_glacier_block") + fd_ChainConfig_gray_glacier_block = md_ChainConfig.Fields().ByName("gray_glacier_block") + fd_ChainConfig_merge_netsplit_block = md_ChainConfig.Fields().ByName("merge_netsplit_block") + fd_ChainConfig_shanghai_block = md_ChainConfig.Fields().ByName("shanghai_block") + fd_ChainConfig_cancun_block = md_ChainConfig.Fields().ByName("cancun_block") + fd_ChainConfig_chain_id = md_ChainConfig.Fields().ByName("chain_id") + fd_ChainConfig_denom = md_ChainConfig.Fields().ByName("denom") + fd_ChainConfig_decimals = md_ChainConfig.Fields().ByName("decimals") +} + +var _ protoreflect.Message = (*fastReflection_ChainConfig)(nil) + +type fastReflection_ChainConfig ChainConfig + +func (x *ChainConfig) ProtoReflect() protoreflect.Message { + return (*fastReflection_ChainConfig)(x) +} + +func (x *ChainConfig) slowProtoReflect() protoreflect.Message { + mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_ChainConfig_messageType fastReflection_ChainConfig_messageType +var _ protoreflect.MessageType = fastReflection_ChainConfig_messageType{} + +type fastReflection_ChainConfig_messageType struct{} + +func (x fastReflection_ChainConfig_messageType) Zero() protoreflect.Message { + return (*fastReflection_ChainConfig)(nil) +} +func (x fastReflection_ChainConfig_messageType) New() protoreflect.Message { + return new(fastReflection_ChainConfig) +} +func (x fastReflection_ChainConfig_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_ChainConfig +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_ChainConfig) Descriptor() protoreflect.MessageDescriptor { + return md_ChainConfig +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_ChainConfig) Type() protoreflect.MessageType { + return _fastReflection_ChainConfig_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_ChainConfig) New() protoreflect.Message { + return new(fastReflection_ChainConfig) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_ChainConfig) Interface() protoreflect.ProtoMessage { + return (*ChainConfig)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_ChainConfig) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.HomesteadBlock != "" { + value := protoreflect.ValueOfString(x.HomesteadBlock) + if !f(fd_ChainConfig_homestead_block, value) { + return + } + } + if x.DaoForkBlock != "" { + value := protoreflect.ValueOfString(x.DaoForkBlock) + if !f(fd_ChainConfig_dao_fork_block, value) { + return + } + } + if x.DaoForkSupport != false { + value := protoreflect.ValueOfBool(x.DaoForkSupport) + if !f(fd_ChainConfig_dao_fork_support, value) { + return + } + } + if x.Eip150Block != "" { + value := protoreflect.ValueOfString(x.Eip150Block) + if !f(fd_ChainConfig_eip150_block, value) { + return + } + } + if x.Eip150Hash != "" { + value := protoreflect.ValueOfString(x.Eip150Hash) + if !f(fd_ChainConfig_eip150_hash, value) { + return + } + } + if x.Eip155Block != "" { + value := protoreflect.ValueOfString(x.Eip155Block) + if !f(fd_ChainConfig_eip155_block, value) { + return + } + } + if x.Eip158Block != "" { + value := protoreflect.ValueOfString(x.Eip158Block) + if !f(fd_ChainConfig_eip158_block, value) { + return + } + } + if x.ByzantiumBlock != "" { + value := protoreflect.ValueOfString(x.ByzantiumBlock) + if !f(fd_ChainConfig_byzantium_block, value) { + return + } + } + if x.ConstantinopleBlock != "" { + value := protoreflect.ValueOfString(x.ConstantinopleBlock) + if !f(fd_ChainConfig_constantinople_block, value) { + return + } + } + if x.PetersburgBlock != "" { + value := protoreflect.ValueOfString(x.PetersburgBlock) + if !f(fd_ChainConfig_petersburg_block, value) { + return + } + } + if x.IstanbulBlock != "" { + value := protoreflect.ValueOfString(x.IstanbulBlock) + if !f(fd_ChainConfig_istanbul_block, value) { + return + } + } + if x.MuirGlacierBlock != "" { + value := protoreflect.ValueOfString(x.MuirGlacierBlock) + if !f(fd_ChainConfig_muir_glacier_block, value) { + return + } + } + if x.BerlinBlock != "" { + value := protoreflect.ValueOfString(x.BerlinBlock) + if !f(fd_ChainConfig_berlin_block, value) { + return + } + } + if x.LondonBlock != "" { + value := protoreflect.ValueOfString(x.LondonBlock) + if !f(fd_ChainConfig_london_block, value) { + return + } + } + if x.ArrowGlacierBlock != "" { + value := protoreflect.ValueOfString(x.ArrowGlacierBlock) + if !f(fd_ChainConfig_arrow_glacier_block, value) { + return + } + } + if x.GrayGlacierBlock != "" { + value := protoreflect.ValueOfString(x.GrayGlacierBlock) + if !f(fd_ChainConfig_gray_glacier_block, value) { + return + } + } + if x.MergeNetsplitBlock != "" { + value := protoreflect.ValueOfString(x.MergeNetsplitBlock) + if !f(fd_ChainConfig_merge_netsplit_block, value) { + return + } + } + if x.ShanghaiBlock != "" { + value := protoreflect.ValueOfString(x.ShanghaiBlock) + if !f(fd_ChainConfig_shanghai_block, value) { + return + } + } + if x.CancunBlock != "" { + value := protoreflect.ValueOfString(x.CancunBlock) + if !f(fd_ChainConfig_cancun_block, value) { + return + } + } + if x.ChainId != uint64(0) { + value := protoreflect.ValueOfUint64(x.ChainId) + if !f(fd_ChainConfig_chain_id, value) { + return + } + } + if x.Denom != "" { + value := protoreflect.ValueOfString(x.Denom) + if !f(fd_ChainConfig_denom, value) { + return + } + } + if x.Decimals != uint64(0) { + value := protoreflect.ValueOfUint64(x.Decimals) + if !f(fd_ChainConfig_decimals, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_ChainConfig) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "cosmos.evm.vm.v1.ChainConfig.homestead_block": + return x.HomesteadBlock != "" + case "cosmos.evm.vm.v1.ChainConfig.dao_fork_block": + return x.DaoForkBlock != "" + case "cosmos.evm.vm.v1.ChainConfig.dao_fork_support": + return x.DaoForkSupport != false + case "cosmos.evm.vm.v1.ChainConfig.eip150_block": + return x.Eip150Block != "" + case "cosmos.evm.vm.v1.ChainConfig.eip150_hash": + return x.Eip150Hash != "" + case "cosmos.evm.vm.v1.ChainConfig.eip155_block": + return x.Eip155Block != "" + case "cosmos.evm.vm.v1.ChainConfig.eip158_block": + return x.Eip158Block != "" + case "cosmos.evm.vm.v1.ChainConfig.byzantium_block": + return x.ByzantiumBlock != "" + case "cosmos.evm.vm.v1.ChainConfig.constantinople_block": + return x.ConstantinopleBlock != "" + case "cosmos.evm.vm.v1.ChainConfig.petersburg_block": + return x.PetersburgBlock != "" + case "cosmos.evm.vm.v1.ChainConfig.istanbul_block": + return x.IstanbulBlock != "" + case "cosmos.evm.vm.v1.ChainConfig.muir_glacier_block": + return x.MuirGlacierBlock != "" + case "cosmos.evm.vm.v1.ChainConfig.berlin_block": + return x.BerlinBlock != "" + case "cosmos.evm.vm.v1.ChainConfig.london_block": + return x.LondonBlock != "" + case "cosmos.evm.vm.v1.ChainConfig.arrow_glacier_block": + return x.ArrowGlacierBlock != "" + case "cosmos.evm.vm.v1.ChainConfig.gray_glacier_block": + return x.GrayGlacierBlock != "" + case "cosmos.evm.vm.v1.ChainConfig.merge_netsplit_block": + return x.MergeNetsplitBlock != "" + case "cosmos.evm.vm.v1.ChainConfig.shanghai_block": + return x.ShanghaiBlock != "" + case "cosmos.evm.vm.v1.ChainConfig.cancun_block": + return x.CancunBlock != "" + case "cosmos.evm.vm.v1.ChainConfig.chain_id": + return x.ChainId != uint64(0) + case "cosmos.evm.vm.v1.ChainConfig.denom": + return x.Denom != "" + case "cosmos.evm.vm.v1.ChainConfig.decimals": + return x.Decimals != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.ChainConfig")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.ChainConfig does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_ChainConfig) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "cosmos.evm.vm.v1.ChainConfig.homestead_block": + x.HomesteadBlock = "" + case "cosmos.evm.vm.v1.ChainConfig.dao_fork_block": + x.DaoForkBlock = "" + case "cosmos.evm.vm.v1.ChainConfig.dao_fork_support": + x.DaoForkSupport = false + case "cosmos.evm.vm.v1.ChainConfig.eip150_block": + x.Eip150Block = "" + case "cosmos.evm.vm.v1.ChainConfig.eip150_hash": + x.Eip150Hash = "" + case "cosmos.evm.vm.v1.ChainConfig.eip155_block": + x.Eip155Block = "" + case "cosmos.evm.vm.v1.ChainConfig.eip158_block": + x.Eip158Block = "" + case "cosmos.evm.vm.v1.ChainConfig.byzantium_block": + x.ByzantiumBlock = "" + case "cosmos.evm.vm.v1.ChainConfig.constantinople_block": + x.ConstantinopleBlock = "" + case "cosmos.evm.vm.v1.ChainConfig.petersburg_block": + x.PetersburgBlock = "" + case "cosmos.evm.vm.v1.ChainConfig.istanbul_block": + x.IstanbulBlock = "" + case "cosmos.evm.vm.v1.ChainConfig.muir_glacier_block": + x.MuirGlacierBlock = "" + case "cosmos.evm.vm.v1.ChainConfig.berlin_block": + x.BerlinBlock = "" + case "cosmos.evm.vm.v1.ChainConfig.london_block": + x.LondonBlock = "" + case "cosmos.evm.vm.v1.ChainConfig.arrow_glacier_block": + x.ArrowGlacierBlock = "" + case "cosmos.evm.vm.v1.ChainConfig.gray_glacier_block": + x.GrayGlacierBlock = "" + case "cosmos.evm.vm.v1.ChainConfig.merge_netsplit_block": + x.MergeNetsplitBlock = "" + case "cosmos.evm.vm.v1.ChainConfig.shanghai_block": + x.ShanghaiBlock = "" + case "cosmos.evm.vm.v1.ChainConfig.cancun_block": + x.CancunBlock = "" + case "cosmos.evm.vm.v1.ChainConfig.chain_id": + x.ChainId = uint64(0) + case "cosmos.evm.vm.v1.ChainConfig.denom": + x.Denom = "" + case "cosmos.evm.vm.v1.ChainConfig.decimals": + x.Decimals = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.ChainConfig")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.ChainConfig does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_ChainConfig) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "cosmos.evm.vm.v1.ChainConfig.homestead_block": + value := x.HomesteadBlock + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.ChainConfig.dao_fork_block": + value := x.DaoForkBlock + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.ChainConfig.dao_fork_support": + value := x.DaoForkSupport + return protoreflect.ValueOfBool(value) + case "cosmos.evm.vm.v1.ChainConfig.eip150_block": + value := x.Eip150Block + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.ChainConfig.eip150_hash": + value := x.Eip150Hash + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.ChainConfig.eip155_block": + value := x.Eip155Block + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.ChainConfig.eip158_block": + value := x.Eip158Block + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.ChainConfig.byzantium_block": + value := x.ByzantiumBlock + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.ChainConfig.constantinople_block": + value := x.ConstantinopleBlock + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.ChainConfig.petersburg_block": + value := x.PetersburgBlock + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.ChainConfig.istanbul_block": + value := x.IstanbulBlock + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.ChainConfig.muir_glacier_block": + value := x.MuirGlacierBlock + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.ChainConfig.berlin_block": + value := x.BerlinBlock + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.ChainConfig.london_block": + value := x.LondonBlock + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.ChainConfig.arrow_glacier_block": + value := x.ArrowGlacierBlock + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.ChainConfig.gray_glacier_block": + value := x.GrayGlacierBlock + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.ChainConfig.merge_netsplit_block": + value := x.MergeNetsplitBlock + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.ChainConfig.shanghai_block": + value := x.ShanghaiBlock + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.ChainConfig.cancun_block": + value := x.CancunBlock + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.ChainConfig.chain_id": + value := x.ChainId + return protoreflect.ValueOfUint64(value) + case "cosmos.evm.vm.v1.ChainConfig.denom": + value := x.Denom + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.ChainConfig.decimals": + value := x.Decimals + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.ChainConfig")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.ChainConfig does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_ChainConfig) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "cosmos.evm.vm.v1.ChainConfig.homestead_block": + x.HomesteadBlock = value.Interface().(string) + case "cosmos.evm.vm.v1.ChainConfig.dao_fork_block": + x.DaoForkBlock = value.Interface().(string) + case "cosmos.evm.vm.v1.ChainConfig.dao_fork_support": + x.DaoForkSupport = value.Bool() + case "cosmos.evm.vm.v1.ChainConfig.eip150_block": + x.Eip150Block = value.Interface().(string) + case "cosmos.evm.vm.v1.ChainConfig.eip150_hash": + x.Eip150Hash = value.Interface().(string) + case "cosmos.evm.vm.v1.ChainConfig.eip155_block": + x.Eip155Block = value.Interface().(string) + case "cosmos.evm.vm.v1.ChainConfig.eip158_block": + x.Eip158Block = value.Interface().(string) + case "cosmos.evm.vm.v1.ChainConfig.byzantium_block": + x.ByzantiumBlock = value.Interface().(string) + case "cosmos.evm.vm.v1.ChainConfig.constantinople_block": + x.ConstantinopleBlock = value.Interface().(string) + case "cosmos.evm.vm.v1.ChainConfig.petersburg_block": + x.PetersburgBlock = value.Interface().(string) + case "cosmos.evm.vm.v1.ChainConfig.istanbul_block": + x.IstanbulBlock = value.Interface().(string) + case "cosmos.evm.vm.v1.ChainConfig.muir_glacier_block": + x.MuirGlacierBlock = value.Interface().(string) + case "cosmos.evm.vm.v1.ChainConfig.berlin_block": + x.BerlinBlock = value.Interface().(string) + case "cosmos.evm.vm.v1.ChainConfig.london_block": + x.LondonBlock = value.Interface().(string) + case "cosmos.evm.vm.v1.ChainConfig.arrow_glacier_block": + x.ArrowGlacierBlock = value.Interface().(string) + case "cosmos.evm.vm.v1.ChainConfig.gray_glacier_block": + x.GrayGlacierBlock = value.Interface().(string) + case "cosmos.evm.vm.v1.ChainConfig.merge_netsplit_block": + x.MergeNetsplitBlock = value.Interface().(string) + case "cosmos.evm.vm.v1.ChainConfig.shanghai_block": + x.ShanghaiBlock = value.Interface().(string) + case "cosmos.evm.vm.v1.ChainConfig.cancun_block": + x.CancunBlock = value.Interface().(string) + case "cosmos.evm.vm.v1.ChainConfig.chain_id": + x.ChainId = value.Uint() + case "cosmos.evm.vm.v1.ChainConfig.denom": + x.Denom = value.Interface().(string) + case "cosmos.evm.vm.v1.ChainConfig.decimals": + x.Decimals = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.ChainConfig")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.ChainConfig does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_ChainConfig) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cosmos.evm.vm.v1.ChainConfig.homestead_block": + panic(fmt.Errorf("field homestead_block of message cosmos.evm.vm.v1.ChainConfig is not mutable")) + case "cosmos.evm.vm.v1.ChainConfig.dao_fork_block": + panic(fmt.Errorf("field dao_fork_block of message cosmos.evm.vm.v1.ChainConfig is not mutable")) + case "cosmos.evm.vm.v1.ChainConfig.dao_fork_support": + panic(fmt.Errorf("field dao_fork_support of message cosmos.evm.vm.v1.ChainConfig is not mutable")) + case "cosmos.evm.vm.v1.ChainConfig.eip150_block": + panic(fmt.Errorf("field eip150_block of message cosmos.evm.vm.v1.ChainConfig is not mutable")) + case "cosmos.evm.vm.v1.ChainConfig.eip150_hash": + panic(fmt.Errorf("field eip150_hash of message cosmos.evm.vm.v1.ChainConfig is not mutable")) + case "cosmos.evm.vm.v1.ChainConfig.eip155_block": + panic(fmt.Errorf("field eip155_block of message cosmos.evm.vm.v1.ChainConfig is not mutable")) + case "cosmos.evm.vm.v1.ChainConfig.eip158_block": + panic(fmt.Errorf("field eip158_block of message cosmos.evm.vm.v1.ChainConfig is not mutable")) + case "cosmos.evm.vm.v1.ChainConfig.byzantium_block": + panic(fmt.Errorf("field byzantium_block of message cosmos.evm.vm.v1.ChainConfig is not mutable")) + case "cosmos.evm.vm.v1.ChainConfig.constantinople_block": + panic(fmt.Errorf("field constantinople_block of message cosmos.evm.vm.v1.ChainConfig is not mutable")) + case "cosmos.evm.vm.v1.ChainConfig.petersburg_block": + panic(fmt.Errorf("field petersburg_block of message cosmos.evm.vm.v1.ChainConfig is not mutable")) + case "cosmos.evm.vm.v1.ChainConfig.istanbul_block": + panic(fmt.Errorf("field istanbul_block of message cosmos.evm.vm.v1.ChainConfig is not mutable")) + case "cosmos.evm.vm.v1.ChainConfig.muir_glacier_block": + panic(fmt.Errorf("field muir_glacier_block of message cosmos.evm.vm.v1.ChainConfig is not mutable")) + case "cosmos.evm.vm.v1.ChainConfig.berlin_block": + panic(fmt.Errorf("field berlin_block of message cosmos.evm.vm.v1.ChainConfig is not mutable")) + case "cosmos.evm.vm.v1.ChainConfig.london_block": + panic(fmt.Errorf("field london_block of message cosmos.evm.vm.v1.ChainConfig is not mutable")) + case "cosmos.evm.vm.v1.ChainConfig.arrow_glacier_block": + panic(fmt.Errorf("field arrow_glacier_block of message cosmos.evm.vm.v1.ChainConfig is not mutable")) + case "cosmos.evm.vm.v1.ChainConfig.gray_glacier_block": + panic(fmt.Errorf("field gray_glacier_block of message cosmos.evm.vm.v1.ChainConfig is not mutable")) + case "cosmos.evm.vm.v1.ChainConfig.merge_netsplit_block": + panic(fmt.Errorf("field merge_netsplit_block of message cosmos.evm.vm.v1.ChainConfig is not mutable")) + case "cosmos.evm.vm.v1.ChainConfig.shanghai_block": + panic(fmt.Errorf("field shanghai_block of message cosmos.evm.vm.v1.ChainConfig is not mutable")) + case "cosmos.evm.vm.v1.ChainConfig.cancun_block": + panic(fmt.Errorf("field cancun_block of message cosmos.evm.vm.v1.ChainConfig is not mutable")) + case "cosmos.evm.vm.v1.ChainConfig.chain_id": + panic(fmt.Errorf("field chain_id of message cosmos.evm.vm.v1.ChainConfig is not mutable")) + case "cosmos.evm.vm.v1.ChainConfig.denom": + panic(fmt.Errorf("field denom of message cosmos.evm.vm.v1.ChainConfig is not mutable")) + case "cosmos.evm.vm.v1.ChainConfig.decimals": + panic(fmt.Errorf("field decimals of message cosmos.evm.vm.v1.ChainConfig is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.ChainConfig")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.ChainConfig does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_ChainConfig) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cosmos.evm.vm.v1.ChainConfig.homestead_block": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.ChainConfig.dao_fork_block": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.ChainConfig.dao_fork_support": + return protoreflect.ValueOfBool(false) + case "cosmos.evm.vm.v1.ChainConfig.eip150_block": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.ChainConfig.eip150_hash": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.ChainConfig.eip155_block": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.ChainConfig.eip158_block": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.ChainConfig.byzantium_block": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.ChainConfig.constantinople_block": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.ChainConfig.petersburg_block": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.ChainConfig.istanbul_block": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.ChainConfig.muir_glacier_block": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.ChainConfig.berlin_block": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.ChainConfig.london_block": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.ChainConfig.arrow_glacier_block": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.ChainConfig.gray_glacier_block": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.ChainConfig.merge_netsplit_block": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.ChainConfig.shanghai_block": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.ChainConfig.cancun_block": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.ChainConfig.chain_id": + return protoreflect.ValueOfUint64(uint64(0)) + case "cosmos.evm.vm.v1.ChainConfig.denom": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.ChainConfig.decimals": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.ChainConfig")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.ChainConfig does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_ChainConfig) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.ChainConfig", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_ChainConfig) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_ChainConfig) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_ChainConfig) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_ChainConfig) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*ChainConfig) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.HomesteadBlock) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.DaoForkBlock) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.DaoForkSupport { + n += 2 + } + l = len(x.Eip150Block) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Eip150Hash) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Eip155Block) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Eip158Block) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.ByzantiumBlock) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.ConstantinopleBlock) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.PetersburgBlock) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.IstanbulBlock) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.MuirGlacierBlock) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.BerlinBlock) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.LondonBlock) + if l > 0 { + n += 2 + l + runtime.Sov(uint64(l)) + } + l = len(x.ArrowGlacierBlock) + if l > 0 { + n += 2 + l + runtime.Sov(uint64(l)) + } + l = len(x.GrayGlacierBlock) + if l > 0 { + n += 2 + l + runtime.Sov(uint64(l)) + } + l = len(x.MergeNetsplitBlock) + if l > 0 { + n += 2 + l + runtime.Sov(uint64(l)) + } + l = len(x.ShanghaiBlock) + if l > 0 { + n += 2 + l + runtime.Sov(uint64(l)) + } + l = len(x.CancunBlock) + if l > 0 { + n += 2 + l + runtime.Sov(uint64(l)) + } + if x.ChainId != 0 { + n += 2 + runtime.Sov(uint64(x.ChainId)) + } + l = len(x.Denom) + if l > 0 { + n += 2 + l + runtime.Sov(uint64(l)) + } + if x.Decimals != 0 { + n += 2 + runtime.Sov(uint64(x.Decimals)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*ChainConfig) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Decimals != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Decimals)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xd0 + } + if len(x.Denom) > 0 { + i -= len(x.Denom) + copy(dAtA[i:], x.Denom) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Denom))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xca + } + if x.ChainId != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.ChainId)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xc0 + } + if len(x.CancunBlock) > 0 { + i -= len(x.CancunBlock) + copy(dAtA[i:], x.CancunBlock) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.CancunBlock))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xba + } + if len(x.ShanghaiBlock) > 0 { + i -= len(x.ShanghaiBlock) + copy(dAtA[i:], x.ShanghaiBlock) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ShanghaiBlock))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xb2 + } + if len(x.MergeNetsplitBlock) > 0 { + i -= len(x.MergeNetsplitBlock) + copy(dAtA[i:], x.MergeNetsplitBlock) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.MergeNetsplitBlock))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xaa + } + if len(x.GrayGlacierBlock) > 0 { + i -= len(x.GrayGlacierBlock) + copy(dAtA[i:], x.GrayGlacierBlock) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.GrayGlacierBlock))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa2 + } + if len(x.ArrowGlacierBlock) > 0 { + i -= len(x.ArrowGlacierBlock) + copy(dAtA[i:], x.ArrowGlacierBlock) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ArrowGlacierBlock))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x92 + } + if len(x.LondonBlock) > 0 { + i -= len(x.LondonBlock) + copy(dAtA[i:], x.LondonBlock) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.LondonBlock))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x8a + } + if len(x.BerlinBlock) > 0 { + i -= len(x.BerlinBlock) + copy(dAtA[i:], x.BerlinBlock) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.BerlinBlock))) + i-- + dAtA[i] = 0x6a + } + if len(x.MuirGlacierBlock) > 0 { + i -= len(x.MuirGlacierBlock) + copy(dAtA[i:], x.MuirGlacierBlock) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.MuirGlacierBlock))) + i-- + dAtA[i] = 0x62 + } + if len(x.IstanbulBlock) > 0 { + i -= len(x.IstanbulBlock) + copy(dAtA[i:], x.IstanbulBlock) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.IstanbulBlock))) + i-- + dAtA[i] = 0x5a + } + if len(x.PetersburgBlock) > 0 { + i -= len(x.PetersburgBlock) + copy(dAtA[i:], x.PetersburgBlock) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.PetersburgBlock))) + i-- + dAtA[i] = 0x52 + } + if len(x.ConstantinopleBlock) > 0 { + i -= len(x.ConstantinopleBlock) + copy(dAtA[i:], x.ConstantinopleBlock) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ConstantinopleBlock))) + i-- + dAtA[i] = 0x4a + } + if len(x.ByzantiumBlock) > 0 { + i -= len(x.ByzantiumBlock) + copy(dAtA[i:], x.ByzantiumBlock) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ByzantiumBlock))) + i-- + dAtA[i] = 0x42 + } + if len(x.Eip158Block) > 0 { + i -= len(x.Eip158Block) + copy(dAtA[i:], x.Eip158Block) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Eip158Block))) + i-- + dAtA[i] = 0x3a + } + if len(x.Eip155Block) > 0 { + i -= len(x.Eip155Block) + copy(dAtA[i:], x.Eip155Block) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Eip155Block))) + i-- + dAtA[i] = 0x32 + } + if len(x.Eip150Hash) > 0 { + i -= len(x.Eip150Hash) + copy(dAtA[i:], x.Eip150Hash) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Eip150Hash))) + i-- + dAtA[i] = 0x2a + } + if len(x.Eip150Block) > 0 { + i -= len(x.Eip150Block) + copy(dAtA[i:], x.Eip150Block) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Eip150Block))) + i-- + dAtA[i] = 0x22 + } + if x.DaoForkSupport { + i-- + if x.DaoForkSupport { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if len(x.DaoForkBlock) > 0 { + i -= len(x.DaoForkBlock) + copy(dAtA[i:], x.DaoForkBlock) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.DaoForkBlock))) + i-- + dAtA[i] = 0x12 + } + if len(x.HomesteadBlock) > 0 { + i -= len(x.HomesteadBlock) + copy(dAtA[i:], x.HomesteadBlock) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.HomesteadBlock))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*ChainConfig) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ChainConfig: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ChainConfig: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field HomesteadBlock", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.HomesteadBlock = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field DaoForkBlock", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.DaoForkBlock = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field DaoForkSupport", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.DaoForkSupport = bool(v != 0) + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Eip150Block", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Eip150Block = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Eip150Hash", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Eip150Hash = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Eip155Block", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Eip155Block = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 7: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Eip158Block", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Eip158Block = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 8: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ByzantiumBlock", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ByzantiumBlock = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 9: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ConstantinopleBlock", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ConstantinopleBlock = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 10: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field PetersburgBlock", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.PetersburgBlock = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 11: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field IstanbulBlock", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.IstanbulBlock = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 12: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MuirGlacierBlock", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.MuirGlacierBlock = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 13: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BerlinBlock", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.BerlinBlock = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 17: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field LondonBlock", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.LondonBlock = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 18: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ArrowGlacierBlock", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ArrowGlacierBlock = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 20: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GrayGlacierBlock", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.GrayGlacierBlock = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 21: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MergeNetsplitBlock", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.MergeNetsplitBlock = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 22: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ShanghaiBlock", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ShanghaiBlock = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 23: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field CancunBlock", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.CancunBlock = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 24: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType) + } + x.ChainId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.ChainId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 25: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Denom", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Denom = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 26: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Decimals", wireType) + } + x.Decimals = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.Decimals |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_State protoreflect.MessageDescriptor + fd_State_key protoreflect.FieldDescriptor + fd_State_value protoreflect.FieldDescriptor +) + +func init() { + file_cosmos_evm_vm_v1_evm_proto_init() + md_State = File_cosmos_evm_vm_v1_evm_proto.Messages().ByName("State") + fd_State_key = md_State.Fields().ByName("key") + fd_State_value = md_State.Fields().ByName("value") +} + +var _ protoreflect.Message = (*fastReflection_State)(nil) + +type fastReflection_State State + +func (x *State) ProtoReflect() protoreflect.Message { + return (*fastReflection_State)(x) +} + +func (x *State) slowProtoReflect() protoreflect.Message { + mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_State_messageType fastReflection_State_messageType +var _ protoreflect.MessageType = fastReflection_State_messageType{} + +type fastReflection_State_messageType struct{} + +func (x fastReflection_State_messageType) Zero() protoreflect.Message { + return (*fastReflection_State)(nil) +} +func (x fastReflection_State_messageType) New() protoreflect.Message { + return new(fastReflection_State) +} +func (x fastReflection_State_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_State +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_State) Descriptor() protoreflect.MessageDescriptor { + return md_State +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_State) Type() protoreflect.MessageType { + return _fastReflection_State_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_State) New() protoreflect.Message { + return new(fastReflection_State) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_State) Interface() protoreflect.ProtoMessage { + return (*State)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_State) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Key != "" { + value := protoreflect.ValueOfString(x.Key) + if !f(fd_State_key, value) { + return + } + } + if x.Value != "" { + value := protoreflect.ValueOfString(x.Value) + if !f(fd_State_value, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_State) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "cosmos.evm.vm.v1.State.key": + return x.Key != "" + case "cosmos.evm.vm.v1.State.value": + return x.Value != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.State")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.State does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_State) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "cosmos.evm.vm.v1.State.key": + x.Key = "" + case "cosmos.evm.vm.v1.State.value": + x.Value = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.State")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.State does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_State) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "cosmos.evm.vm.v1.State.key": + value := x.Key + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.State.value": + value := x.Value + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.State")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.State does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_State) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "cosmos.evm.vm.v1.State.key": + x.Key = value.Interface().(string) + case "cosmos.evm.vm.v1.State.value": + x.Value = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.State")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.State does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_State) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cosmos.evm.vm.v1.State.key": + panic(fmt.Errorf("field key of message cosmos.evm.vm.v1.State is not mutable")) + case "cosmos.evm.vm.v1.State.value": + panic(fmt.Errorf("field value of message cosmos.evm.vm.v1.State is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.State")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.State does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_State) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cosmos.evm.vm.v1.State.key": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.State.value": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.State")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.State does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_State) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.State", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_State) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_State) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_State) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_State) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*State) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Key) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Value) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*State) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Value) > 0 { + i -= len(x.Value) + copy(dAtA[i:], x.Value) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Value))) + i-- + dAtA[i] = 0x12 + } + if len(x.Key) > 0 { + i -= len(x.Key) + copy(dAtA[i:], x.Key) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Key))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*State) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: State: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: State: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Key = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Value = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var _ protoreflect.List = (*_TransactionLogs_2_list)(nil) + +type _TransactionLogs_2_list struct { + list *[]*Log +} + +func (x *_TransactionLogs_2_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_TransactionLogs_2_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_TransactionLogs_2_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*Log) + (*x.list)[i] = concreteValue +} + +func (x *_TransactionLogs_2_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*Log) + *x.list = append(*x.list, concreteValue) +} + +func (x *_TransactionLogs_2_list) AppendMutable() protoreflect.Value { + v := new(Log) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_TransactionLogs_2_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_TransactionLogs_2_list) NewElement() protoreflect.Value { + v := new(Log) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_TransactionLogs_2_list) IsValid() bool { + return x.list != nil +} + +var ( + md_TransactionLogs protoreflect.MessageDescriptor + fd_TransactionLogs_hash protoreflect.FieldDescriptor + fd_TransactionLogs_logs protoreflect.FieldDescriptor +) + +func init() { + file_cosmos_evm_vm_v1_evm_proto_init() + md_TransactionLogs = File_cosmos_evm_vm_v1_evm_proto.Messages().ByName("TransactionLogs") + fd_TransactionLogs_hash = md_TransactionLogs.Fields().ByName("hash") + fd_TransactionLogs_logs = md_TransactionLogs.Fields().ByName("logs") +} + +var _ protoreflect.Message = (*fastReflection_TransactionLogs)(nil) + +type fastReflection_TransactionLogs TransactionLogs + +func (x *TransactionLogs) ProtoReflect() protoreflect.Message { + return (*fastReflection_TransactionLogs)(x) +} + +func (x *TransactionLogs) slowProtoReflect() protoreflect.Message { + mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_TransactionLogs_messageType fastReflection_TransactionLogs_messageType +var _ protoreflect.MessageType = fastReflection_TransactionLogs_messageType{} + +type fastReflection_TransactionLogs_messageType struct{} + +func (x fastReflection_TransactionLogs_messageType) Zero() protoreflect.Message { + return (*fastReflection_TransactionLogs)(nil) +} +func (x fastReflection_TransactionLogs_messageType) New() protoreflect.Message { + return new(fastReflection_TransactionLogs) +} +func (x fastReflection_TransactionLogs_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_TransactionLogs +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_TransactionLogs) Descriptor() protoreflect.MessageDescriptor { + return md_TransactionLogs +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_TransactionLogs) Type() protoreflect.MessageType { + return _fastReflection_TransactionLogs_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_TransactionLogs) New() protoreflect.Message { + return new(fastReflection_TransactionLogs) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_TransactionLogs) Interface() protoreflect.ProtoMessage { + return (*TransactionLogs)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_TransactionLogs) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Hash != "" { + value := protoreflect.ValueOfString(x.Hash) + if !f(fd_TransactionLogs_hash, value) { + return + } + } + if len(x.Logs) != 0 { + value := protoreflect.ValueOfList(&_TransactionLogs_2_list{list: &x.Logs}) + if !f(fd_TransactionLogs_logs, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_TransactionLogs) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "cosmos.evm.vm.v1.TransactionLogs.hash": + return x.Hash != "" + case "cosmos.evm.vm.v1.TransactionLogs.logs": + return len(x.Logs) != 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.TransactionLogs")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.TransactionLogs does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TransactionLogs) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "cosmos.evm.vm.v1.TransactionLogs.hash": + x.Hash = "" + case "cosmos.evm.vm.v1.TransactionLogs.logs": + x.Logs = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.TransactionLogs")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.TransactionLogs does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_TransactionLogs) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "cosmos.evm.vm.v1.TransactionLogs.hash": + value := x.Hash + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.TransactionLogs.logs": + if len(x.Logs) == 0 { + return protoreflect.ValueOfList(&_TransactionLogs_2_list{}) + } + listValue := &_TransactionLogs_2_list{list: &x.Logs} + return protoreflect.ValueOfList(listValue) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.TransactionLogs")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.TransactionLogs does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TransactionLogs) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "cosmos.evm.vm.v1.TransactionLogs.hash": + x.Hash = value.Interface().(string) + case "cosmos.evm.vm.v1.TransactionLogs.logs": + lv := value.List() + clv := lv.(*_TransactionLogs_2_list) + x.Logs = *clv.list + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.TransactionLogs")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.TransactionLogs does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TransactionLogs) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cosmos.evm.vm.v1.TransactionLogs.logs": + if x.Logs == nil { + x.Logs = []*Log{} + } + value := &_TransactionLogs_2_list{list: &x.Logs} + return protoreflect.ValueOfList(value) + case "cosmos.evm.vm.v1.TransactionLogs.hash": + panic(fmt.Errorf("field hash of message cosmos.evm.vm.v1.TransactionLogs is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.TransactionLogs")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.TransactionLogs does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_TransactionLogs) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cosmos.evm.vm.v1.TransactionLogs.hash": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.TransactionLogs.logs": + list := []*Log{} + return protoreflect.ValueOfList(&_TransactionLogs_2_list{list: &list}) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.TransactionLogs")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.TransactionLogs does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_TransactionLogs) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.TransactionLogs", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_TransactionLogs) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TransactionLogs) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_TransactionLogs) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_TransactionLogs) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*TransactionLogs) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Hash) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if len(x.Logs) > 0 { + for _, e := range x.Logs { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*TransactionLogs) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.Logs) > 0 { + for iNdEx := len(x.Logs) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.Logs[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x12 + } + } + if len(x.Hash) > 0 { + i -= len(x.Hash) + copy(dAtA[i:], x.Hash) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Hash))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*TransactionLogs) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TransactionLogs: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TransactionLogs: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Hash", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Hash = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Logs", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Logs = append(x.Logs, &Log{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Logs[len(x.Logs)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var _ protoreflect.List = (*_Log_2_list)(nil) + +type _Log_2_list struct { + list *[]string +} + +func (x *_Log_2_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_Log_2_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_Log_2_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_Log_2_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_Log_2_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message Log at list field Topics as it is not of Message kind")) +} + +func (x *_Log_2_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_Log_2_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_Log_2_list) IsValid() bool { + return x.list != nil +} + +var ( + md_Log protoreflect.MessageDescriptor + fd_Log_address protoreflect.FieldDescriptor + fd_Log_topics protoreflect.FieldDescriptor + fd_Log_data protoreflect.FieldDescriptor + fd_Log_block_number protoreflect.FieldDescriptor + fd_Log_tx_hash protoreflect.FieldDescriptor + fd_Log_tx_index protoreflect.FieldDescriptor + fd_Log_block_hash protoreflect.FieldDescriptor + fd_Log_index protoreflect.FieldDescriptor + fd_Log_removed protoreflect.FieldDescriptor +) + +func init() { + file_cosmos_evm_vm_v1_evm_proto_init() + md_Log = File_cosmos_evm_vm_v1_evm_proto.Messages().ByName("Log") + fd_Log_address = md_Log.Fields().ByName("address") + fd_Log_topics = md_Log.Fields().ByName("topics") + fd_Log_data = md_Log.Fields().ByName("data") + fd_Log_block_number = md_Log.Fields().ByName("block_number") + fd_Log_tx_hash = md_Log.Fields().ByName("tx_hash") + fd_Log_tx_index = md_Log.Fields().ByName("tx_index") + fd_Log_block_hash = md_Log.Fields().ByName("block_hash") + fd_Log_index = md_Log.Fields().ByName("index") + fd_Log_removed = md_Log.Fields().ByName("removed") +} + +var _ protoreflect.Message = (*fastReflection_Log)(nil) + +type fastReflection_Log Log + +func (x *Log) ProtoReflect() protoreflect.Message { + return (*fastReflection_Log)(x) +} + +func (x *Log) slowProtoReflect() protoreflect.Message { + mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_Log_messageType fastReflection_Log_messageType +var _ protoreflect.MessageType = fastReflection_Log_messageType{} + +type fastReflection_Log_messageType struct{} + +func (x fastReflection_Log_messageType) Zero() protoreflect.Message { + return (*fastReflection_Log)(nil) +} +func (x fastReflection_Log_messageType) New() protoreflect.Message { + return new(fastReflection_Log) +} +func (x fastReflection_Log_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_Log +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_Log) Descriptor() protoreflect.MessageDescriptor { + return md_Log +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_Log) Type() protoreflect.MessageType { + return _fastReflection_Log_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_Log) New() protoreflect.Message { + return new(fastReflection_Log) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_Log) Interface() protoreflect.ProtoMessage { + return (*Log)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_Log) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_Log_address, value) { + return + } + } + if len(x.Topics) != 0 { + value := protoreflect.ValueOfList(&_Log_2_list{list: &x.Topics}) + if !f(fd_Log_topics, value) { + return + } + } + if len(x.Data) != 0 { + value := protoreflect.ValueOfBytes(x.Data) + if !f(fd_Log_data, value) { + return + } + } + if x.BlockNumber != uint64(0) { + value := protoreflect.ValueOfUint64(x.BlockNumber) + if !f(fd_Log_block_number, value) { + return + } + } + if x.TxHash != "" { + value := protoreflect.ValueOfString(x.TxHash) + if !f(fd_Log_tx_hash, value) { + return + } + } + if x.TxIndex != uint64(0) { + value := protoreflect.ValueOfUint64(x.TxIndex) + if !f(fd_Log_tx_index, value) { + return + } + } + if x.BlockHash != "" { + value := protoreflect.ValueOfString(x.BlockHash) + if !f(fd_Log_block_hash, value) { + return + } + } + if x.Index != uint64(0) { + value := protoreflect.ValueOfUint64(x.Index) + if !f(fd_Log_index, value) { + return + } + } + if x.Removed != false { + value := protoreflect.ValueOfBool(x.Removed) + if !f(fd_Log_removed, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_Log) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "cosmos.evm.vm.v1.Log.address": + return x.Address != "" + case "cosmos.evm.vm.v1.Log.topics": + return len(x.Topics) != 0 + case "cosmos.evm.vm.v1.Log.data": + return len(x.Data) != 0 + case "cosmos.evm.vm.v1.Log.block_number": + return x.BlockNumber != uint64(0) + case "cosmos.evm.vm.v1.Log.tx_hash": + return x.TxHash != "" + case "cosmos.evm.vm.v1.Log.tx_index": + return x.TxIndex != uint64(0) + case "cosmos.evm.vm.v1.Log.block_hash": + return x.BlockHash != "" + case "cosmos.evm.vm.v1.Log.index": + return x.Index != uint64(0) + case "cosmos.evm.vm.v1.Log.removed": + return x.Removed != false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.Log")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.Log does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_Log) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "cosmos.evm.vm.v1.Log.address": + x.Address = "" + case "cosmos.evm.vm.v1.Log.topics": + x.Topics = nil + case "cosmos.evm.vm.v1.Log.data": + x.Data = nil + case "cosmos.evm.vm.v1.Log.block_number": + x.BlockNumber = uint64(0) + case "cosmos.evm.vm.v1.Log.tx_hash": + x.TxHash = "" + case "cosmos.evm.vm.v1.Log.tx_index": + x.TxIndex = uint64(0) + case "cosmos.evm.vm.v1.Log.block_hash": + x.BlockHash = "" + case "cosmos.evm.vm.v1.Log.index": + x.Index = uint64(0) + case "cosmos.evm.vm.v1.Log.removed": + x.Removed = false + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.Log")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.Log does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_Log) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "cosmos.evm.vm.v1.Log.address": + value := x.Address + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.Log.topics": + if len(x.Topics) == 0 { + return protoreflect.ValueOfList(&_Log_2_list{}) + } + listValue := &_Log_2_list{list: &x.Topics} + return protoreflect.ValueOfList(listValue) + case "cosmos.evm.vm.v1.Log.data": + value := x.Data + return protoreflect.ValueOfBytes(value) + case "cosmos.evm.vm.v1.Log.block_number": + value := x.BlockNumber + return protoreflect.ValueOfUint64(value) + case "cosmos.evm.vm.v1.Log.tx_hash": + value := x.TxHash + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.Log.tx_index": + value := x.TxIndex + return protoreflect.ValueOfUint64(value) + case "cosmos.evm.vm.v1.Log.block_hash": + value := x.BlockHash + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.Log.index": + value := x.Index + return protoreflect.ValueOfUint64(value) + case "cosmos.evm.vm.v1.Log.removed": + value := x.Removed + return protoreflect.ValueOfBool(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.Log")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.Log does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_Log) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "cosmos.evm.vm.v1.Log.address": + x.Address = value.Interface().(string) + case "cosmos.evm.vm.v1.Log.topics": + lv := value.List() + clv := lv.(*_Log_2_list) + x.Topics = *clv.list + case "cosmos.evm.vm.v1.Log.data": + x.Data = value.Bytes() + case "cosmos.evm.vm.v1.Log.block_number": + x.BlockNumber = value.Uint() + case "cosmos.evm.vm.v1.Log.tx_hash": + x.TxHash = value.Interface().(string) + case "cosmos.evm.vm.v1.Log.tx_index": + x.TxIndex = value.Uint() + case "cosmos.evm.vm.v1.Log.block_hash": + x.BlockHash = value.Interface().(string) + case "cosmos.evm.vm.v1.Log.index": + x.Index = value.Uint() + case "cosmos.evm.vm.v1.Log.removed": + x.Removed = value.Bool() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.Log")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.Log does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_Log) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cosmos.evm.vm.v1.Log.topics": + if x.Topics == nil { + x.Topics = []string{} + } + value := &_Log_2_list{list: &x.Topics} + return protoreflect.ValueOfList(value) + case "cosmos.evm.vm.v1.Log.address": + panic(fmt.Errorf("field address of message cosmos.evm.vm.v1.Log is not mutable")) + case "cosmos.evm.vm.v1.Log.data": + panic(fmt.Errorf("field data of message cosmos.evm.vm.v1.Log is not mutable")) + case "cosmos.evm.vm.v1.Log.block_number": + panic(fmt.Errorf("field block_number of message cosmos.evm.vm.v1.Log is not mutable")) + case "cosmos.evm.vm.v1.Log.tx_hash": + panic(fmt.Errorf("field tx_hash of message cosmos.evm.vm.v1.Log is not mutable")) + case "cosmos.evm.vm.v1.Log.tx_index": + panic(fmt.Errorf("field tx_index of message cosmos.evm.vm.v1.Log is not mutable")) + case "cosmos.evm.vm.v1.Log.block_hash": + panic(fmt.Errorf("field block_hash of message cosmos.evm.vm.v1.Log is not mutable")) + case "cosmos.evm.vm.v1.Log.index": + panic(fmt.Errorf("field index of message cosmos.evm.vm.v1.Log is not mutable")) + case "cosmos.evm.vm.v1.Log.removed": + panic(fmt.Errorf("field removed of message cosmos.evm.vm.v1.Log is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.Log")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.Log does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_Log) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cosmos.evm.vm.v1.Log.address": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.Log.topics": + list := []string{} + return protoreflect.ValueOfList(&_Log_2_list{list: &list}) + case "cosmos.evm.vm.v1.Log.data": + return protoreflect.ValueOfBytes(nil) + case "cosmos.evm.vm.v1.Log.block_number": + return protoreflect.ValueOfUint64(uint64(0)) + case "cosmos.evm.vm.v1.Log.tx_hash": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.Log.tx_index": + return protoreflect.ValueOfUint64(uint64(0)) + case "cosmos.evm.vm.v1.Log.block_hash": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.Log.index": + return protoreflect.ValueOfUint64(uint64(0)) + case "cosmos.evm.vm.v1.Log.removed": + return protoreflect.ValueOfBool(false) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.Log")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.Log does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_Log) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.Log", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_Log) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_Log) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_Log) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_Log) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*Log) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if len(x.Topics) > 0 { + for _, s := range x.Topics { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + l = len(x.Data) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.BlockNumber != 0 { + n += 1 + runtime.Sov(uint64(x.BlockNumber)) + } + l = len(x.TxHash) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.TxIndex != 0 { + n += 1 + runtime.Sov(uint64(x.TxIndex)) + } + l = len(x.BlockHash) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.Index != 0 { + n += 1 + runtime.Sov(uint64(x.Index)) + } + if x.Removed { + n += 2 + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*Log) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Removed { + i-- + if x.Removed { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x48 + } + if x.Index != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Index)) + i-- + dAtA[i] = 0x40 + } + if len(x.BlockHash) > 0 { + i -= len(x.BlockHash) + copy(dAtA[i:], x.BlockHash) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.BlockHash))) + i-- + dAtA[i] = 0x3a + } + if x.TxIndex != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.TxIndex)) + i-- + dAtA[i] = 0x30 + } + if len(x.TxHash) > 0 { + i -= len(x.TxHash) + copy(dAtA[i:], x.TxHash) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.TxHash))) + i-- + dAtA[i] = 0x2a + } + if x.BlockNumber != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.BlockNumber)) + i-- + dAtA[i] = 0x20 + } + if len(x.Data) > 0 { + i -= len(x.Data) + copy(dAtA[i:], x.Data) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Data))) + i-- + dAtA[i] = 0x1a + } + if len(x.Topics) > 0 { + for iNdEx := len(x.Topics) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.Topics[iNdEx]) + copy(dAtA[i:], x.Topics[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Topics[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*Log) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Log: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Log: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Topics", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Topics = append(x.Topics, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Data = append(x.Data[:0], dAtA[iNdEx:postIndex]...) + if x.Data == nil { + x.Data = []byte{} + } + iNdEx = postIndex + case 4: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockNumber", wireType) + } + x.BlockNumber = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.BlockNumber |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TxHash", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.TxHash = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TxIndex", wireType) + } + x.TxIndex = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.TxIndex |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 7: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BlockHash", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.BlockHash = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 8: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Index", wireType) + } + x.Index = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.Index |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 9: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Removed", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.Removed = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_TxResult protoreflect.MessageDescriptor + fd_TxResult_contract_address protoreflect.FieldDescriptor + fd_TxResult_bloom protoreflect.FieldDescriptor + fd_TxResult_tx_logs protoreflect.FieldDescriptor + fd_TxResult_ret protoreflect.FieldDescriptor + fd_TxResult_reverted protoreflect.FieldDescriptor + fd_TxResult_gas_used protoreflect.FieldDescriptor +) + +func init() { + file_cosmos_evm_vm_v1_evm_proto_init() + md_TxResult = File_cosmos_evm_vm_v1_evm_proto.Messages().ByName("TxResult") + fd_TxResult_contract_address = md_TxResult.Fields().ByName("contract_address") + fd_TxResult_bloom = md_TxResult.Fields().ByName("bloom") + fd_TxResult_tx_logs = md_TxResult.Fields().ByName("tx_logs") + fd_TxResult_ret = md_TxResult.Fields().ByName("ret") + fd_TxResult_reverted = md_TxResult.Fields().ByName("reverted") + fd_TxResult_gas_used = md_TxResult.Fields().ByName("gas_used") +} + +var _ protoreflect.Message = (*fastReflection_TxResult)(nil) + +type fastReflection_TxResult TxResult + +func (x *TxResult) ProtoReflect() protoreflect.Message { + return (*fastReflection_TxResult)(x) +} + +func (x *TxResult) slowProtoReflect() protoreflect.Message { + mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_TxResult_messageType fastReflection_TxResult_messageType +var _ protoreflect.MessageType = fastReflection_TxResult_messageType{} + +type fastReflection_TxResult_messageType struct{} + +func (x fastReflection_TxResult_messageType) Zero() protoreflect.Message { + return (*fastReflection_TxResult)(nil) +} +func (x fastReflection_TxResult_messageType) New() protoreflect.Message { + return new(fastReflection_TxResult) +} +func (x fastReflection_TxResult_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_TxResult +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_TxResult) Descriptor() protoreflect.MessageDescriptor { + return md_TxResult +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_TxResult) Type() protoreflect.MessageType { + return _fastReflection_TxResult_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_TxResult) New() protoreflect.Message { + return new(fastReflection_TxResult) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_TxResult) Interface() protoreflect.ProtoMessage { + return (*TxResult)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_TxResult) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.ContractAddress != "" { + value := protoreflect.ValueOfString(x.ContractAddress) + if !f(fd_TxResult_contract_address, value) { + return + } + } + if len(x.Bloom) != 0 { + value := protoreflect.ValueOfBytes(x.Bloom) + if !f(fd_TxResult_bloom, value) { + return + } + } + if x.TxLogs != nil { + value := protoreflect.ValueOfMessage(x.TxLogs.ProtoReflect()) + if !f(fd_TxResult_tx_logs, value) { + return + } + } + if len(x.Ret) != 0 { + value := protoreflect.ValueOfBytes(x.Ret) + if !f(fd_TxResult_ret, value) { + return + } + } + if x.Reverted != false { + value := protoreflect.ValueOfBool(x.Reverted) + if !f(fd_TxResult_reverted, value) { + return + } + } + if x.GasUsed != uint64(0) { + value := protoreflect.ValueOfUint64(x.GasUsed) + if !f(fd_TxResult_gas_used, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_TxResult) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "cosmos.evm.vm.v1.TxResult.contract_address": + return x.ContractAddress != "" + case "cosmos.evm.vm.v1.TxResult.bloom": + return len(x.Bloom) != 0 + case "cosmos.evm.vm.v1.TxResult.tx_logs": + return x.TxLogs != nil + case "cosmos.evm.vm.v1.TxResult.ret": + return len(x.Ret) != 0 + case "cosmos.evm.vm.v1.TxResult.reverted": + return x.Reverted != false + case "cosmos.evm.vm.v1.TxResult.gas_used": + return x.GasUsed != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.TxResult")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.TxResult does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TxResult) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "cosmos.evm.vm.v1.TxResult.contract_address": + x.ContractAddress = "" + case "cosmos.evm.vm.v1.TxResult.bloom": + x.Bloom = nil + case "cosmos.evm.vm.v1.TxResult.tx_logs": + x.TxLogs = nil + case "cosmos.evm.vm.v1.TxResult.ret": + x.Ret = nil + case "cosmos.evm.vm.v1.TxResult.reverted": + x.Reverted = false + case "cosmos.evm.vm.v1.TxResult.gas_used": + x.GasUsed = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.TxResult")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.TxResult does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_TxResult) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "cosmos.evm.vm.v1.TxResult.contract_address": + value := x.ContractAddress + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.TxResult.bloom": + value := x.Bloom + return protoreflect.ValueOfBytes(value) + case "cosmos.evm.vm.v1.TxResult.tx_logs": + value := x.TxLogs + return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "cosmos.evm.vm.v1.TxResult.ret": + value := x.Ret + return protoreflect.ValueOfBytes(value) + case "cosmos.evm.vm.v1.TxResult.reverted": + value := x.Reverted + return protoreflect.ValueOfBool(value) + case "cosmos.evm.vm.v1.TxResult.gas_used": + value := x.GasUsed + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.TxResult")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.TxResult does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TxResult) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "cosmos.evm.vm.v1.TxResult.contract_address": + x.ContractAddress = value.Interface().(string) + case "cosmos.evm.vm.v1.TxResult.bloom": + x.Bloom = value.Bytes() + case "cosmos.evm.vm.v1.TxResult.tx_logs": + x.TxLogs = value.Message().Interface().(*TransactionLogs) + case "cosmos.evm.vm.v1.TxResult.ret": + x.Ret = value.Bytes() + case "cosmos.evm.vm.v1.TxResult.reverted": + x.Reverted = value.Bool() + case "cosmos.evm.vm.v1.TxResult.gas_used": + x.GasUsed = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.TxResult")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.TxResult does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TxResult) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cosmos.evm.vm.v1.TxResult.tx_logs": + if x.TxLogs == nil { + x.TxLogs = new(TransactionLogs) + } + return protoreflect.ValueOfMessage(x.TxLogs.ProtoReflect()) + case "cosmos.evm.vm.v1.TxResult.contract_address": + panic(fmt.Errorf("field contract_address of message cosmos.evm.vm.v1.TxResult is not mutable")) + case "cosmos.evm.vm.v1.TxResult.bloom": + panic(fmt.Errorf("field bloom of message cosmos.evm.vm.v1.TxResult is not mutable")) + case "cosmos.evm.vm.v1.TxResult.ret": + panic(fmt.Errorf("field ret of message cosmos.evm.vm.v1.TxResult is not mutable")) + case "cosmos.evm.vm.v1.TxResult.reverted": + panic(fmt.Errorf("field reverted of message cosmos.evm.vm.v1.TxResult is not mutable")) + case "cosmos.evm.vm.v1.TxResult.gas_used": + panic(fmt.Errorf("field gas_used of message cosmos.evm.vm.v1.TxResult is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.TxResult")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.TxResult does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_TxResult) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cosmos.evm.vm.v1.TxResult.contract_address": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.TxResult.bloom": + return protoreflect.ValueOfBytes(nil) + case "cosmos.evm.vm.v1.TxResult.tx_logs": + m := new(TransactionLogs) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "cosmos.evm.vm.v1.TxResult.ret": + return protoreflect.ValueOfBytes(nil) + case "cosmos.evm.vm.v1.TxResult.reverted": + return protoreflect.ValueOfBool(false) + case "cosmos.evm.vm.v1.TxResult.gas_used": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.TxResult")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.TxResult does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_TxResult) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.TxResult", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_TxResult) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TxResult) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_TxResult) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_TxResult) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*TxResult) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.ContractAddress) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Bloom) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.TxLogs != nil { + l = options.Size(x.TxLogs) + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Ret) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.Reverted { + n += 2 + } + if x.GasUsed != 0 { + n += 1 + runtime.Sov(uint64(x.GasUsed)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*TxResult) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.GasUsed != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.GasUsed)) + i-- + dAtA[i] = 0x30 + } + if x.Reverted { + i-- + if x.Reverted { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x28 + } + if len(x.Ret) > 0 { + i -= len(x.Ret) + copy(dAtA[i:], x.Ret) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Ret))) + i-- + dAtA[i] = 0x22 + } + if x.TxLogs != nil { + encoded, err := options.Marshal(x.TxLogs) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x1a + } + if len(x.Bloom) > 0 { + i -= len(x.Bloom) + copy(dAtA[i:], x.Bloom) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Bloom))) + i-- + dAtA[i] = 0x12 + } + if len(x.ContractAddress) > 0 { + i -= len(x.ContractAddress) + copy(dAtA[i:], x.ContractAddress) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ContractAddress))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*TxResult) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TxResult: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TxResult: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ContractAddress", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ContractAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Bloom", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Bloom = append(x.Bloom[:0], dAtA[iNdEx:postIndex]...) + if x.Bloom == nil { + x.Bloom = []byte{} + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TxLogs", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.TxLogs == nil { + x.TxLogs = &TransactionLogs{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.TxLogs); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Ret", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Ret = append(x.Ret[:0], dAtA[iNdEx:postIndex]...) + if x.Ret == nil { + x.Ret = []byte{} + } + iNdEx = postIndex + case 5: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Reverted", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.Reverted = bool(v != 0) + case 6: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GasUsed", wireType) + } + x.GasUsed = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.GasUsed |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var _ protoreflect.List = (*_AccessTuple_2_list)(nil) + +type _AccessTuple_2_list struct { + list *[]string +} + +func (x *_AccessTuple_2_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_AccessTuple_2_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfString((*x.list)[i]) +} + +func (x *_AccessTuple_2_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + (*x.list)[i] = concreteValue +} + +func (x *_AccessTuple_2_list) Append(value protoreflect.Value) { + valueUnwrapped := value.String() + concreteValue := valueUnwrapped + *x.list = append(*x.list, concreteValue) +} + +func (x *_AccessTuple_2_list) AppendMutable() protoreflect.Value { + panic(fmt.Errorf("AppendMutable can not be called on message AccessTuple at list field StorageKeys as it is not of Message kind")) +} + +func (x *_AccessTuple_2_list) Truncate(n int) { + *x.list = (*x.list)[:n] +} + +func (x *_AccessTuple_2_list) NewElement() protoreflect.Value { + v := "" + return protoreflect.ValueOfString(v) +} + +func (x *_AccessTuple_2_list) IsValid() bool { + return x.list != nil +} + +var ( + md_AccessTuple protoreflect.MessageDescriptor + fd_AccessTuple_address protoreflect.FieldDescriptor + fd_AccessTuple_storage_keys protoreflect.FieldDescriptor +) + +func init() { + file_cosmos_evm_vm_v1_evm_proto_init() + md_AccessTuple = File_cosmos_evm_vm_v1_evm_proto.Messages().ByName("AccessTuple") + fd_AccessTuple_address = md_AccessTuple.Fields().ByName("address") + fd_AccessTuple_storage_keys = md_AccessTuple.Fields().ByName("storage_keys") +} + +var _ protoreflect.Message = (*fastReflection_AccessTuple)(nil) + +type fastReflection_AccessTuple AccessTuple + +func (x *AccessTuple) ProtoReflect() protoreflect.Message { + return (*fastReflection_AccessTuple)(x) +} + +func (x *AccessTuple) slowProtoReflect() protoreflect.Message { + mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_AccessTuple_messageType fastReflection_AccessTuple_messageType +var _ protoreflect.MessageType = fastReflection_AccessTuple_messageType{} + +type fastReflection_AccessTuple_messageType struct{} + +func (x fastReflection_AccessTuple_messageType) Zero() protoreflect.Message { + return (*fastReflection_AccessTuple)(nil) +} +func (x fastReflection_AccessTuple_messageType) New() protoreflect.Message { + return new(fastReflection_AccessTuple) +} +func (x fastReflection_AccessTuple_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_AccessTuple +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_AccessTuple) Descriptor() protoreflect.MessageDescriptor { + return md_AccessTuple +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_AccessTuple) Type() protoreflect.MessageType { + return _fastReflection_AccessTuple_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_AccessTuple) New() protoreflect.Message { + return new(fastReflection_AccessTuple) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_AccessTuple) Interface() protoreflect.ProtoMessage { + return (*AccessTuple)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_AccessTuple) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Address != "" { + value := protoreflect.ValueOfString(x.Address) + if !f(fd_AccessTuple_address, value) { + return + } + } + if len(x.StorageKeys) != 0 { + value := protoreflect.ValueOfList(&_AccessTuple_2_list{list: &x.StorageKeys}) + if !f(fd_AccessTuple_storage_keys, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_AccessTuple) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "cosmos.evm.vm.v1.AccessTuple.address": + return x.Address != "" + case "cosmos.evm.vm.v1.AccessTuple.storage_keys": + return len(x.StorageKeys) != 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.AccessTuple")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.AccessTuple does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AccessTuple) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "cosmos.evm.vm.v1.AccessTuple.address": + x.Address = "" + case "cosmos.evm.vm.v1.AccessTuple.storage_keys": + x.StorageKeys = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.AccessTuple")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.AccessTuple does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_AccessTuple) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "cosmos.evm.vm.v1.AccessTuple.address": + value := x.Address + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.AccessTuple.storage_keys": + if len(x.StorageKeys) == 0 { + return protoreflect.ValueOfList(&_AccessTuple_2_list{}) + } + listValue := &_AccessTuple_2_list{list: &x.StorageKeys} + return protoreflect.ValueOfList(listValue) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.AccessTuple")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.AccessTuple does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AccessTuple) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "cosmos.evm.vm.v1.AccessTuple.address": + x.Address = value.Interface().(string) + case "cosmos.evm.vm.v1.AccessTuple.storage_keys": + lv := value.List() + clv := lv.(*_AccessTuple_2_list) + x.StorageKeys = *clv.list + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.AccessTuple")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.AccessTuple does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AccessTuple) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cosmos.evm.vm.v1.AccessTuple.storage_keys": + if x.StorageKeys == nil { + x.StorageKeys = []string{} + } + value := &_AccessTuple_2_list{list: &x.StorageKeys} + return protoreflect.ValueOfList(value) + case "cosmos.evm.vm.v1.AccessTuple.address": + panic(fmt.Errorf("field address of message cosmos.evm.vm.v1.AccessTuple is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.AccessTuple")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.AccessTuple does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_AccessTuple) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cosmos.evm.vm.v1.AccessTuple.address": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.AccessTuple.storage_keys": + list := []string{} + return protoreflect.ValueOfList(&_AccessTuple_2_list{list: &list}) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.AccessTuple")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.AccessTuple does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_AccessTuple) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.AccessTuple", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_AccessTuple) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AccessTuple) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_AccessTuple) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_AccessTuple) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*AccessTuple) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Address) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if len(x.StorageKeys) > 0 { + for _, s := range x.StorageKeys { + l = len(s) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*AccessTuple) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.StorageKeys) > 0 { + for iNdEx := len(x.StorageKeys) - 1; iNdEx >= 0; iNdEx-- { + i -= len(x.StorageKeys[iNdEx]) + copy(dAtA[i:], x.StorageKeys[iNdEx]) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.StorageKeys[iNdEx]))) + i-- + dAtA[i] = 0x12 + } + } + if len(x.Address) > 0 { + i -= len(x.Address) + copy(dAtA[i:], x.Address) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Address))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*AccessTuple) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AccessTuple: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AccessTuple: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Address", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Address = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field StorageKeys", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.StorageKeys = append(x.StorageKeys, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_TraceConfig protoreflect.MessageDescriptor + fd_TraceConfig_tracer protoreflect.FieldDescriptor + fd_TraceConfig_timeout protoreflect.FieldDescriptor + fd_TraceConfig_reexec protoreflect.FieldDescriptor + fd_TraceConfig_disable_stack protoreflect.FieldDescriptor + fd_TraceConfig_disable_storage protoreflect.FieldDescriptor + fd_TraceConfig_debug protoreflect.FieldDescriptor + fd_TraceConfig_limit protoreflect.FieldDescriptor + fd_TraceConfig_overrides protoreflect.FieldDescriptor + fd_TraceConfig_enable_memory protoreflect.FieldDescriptor + fd_TraceConfig_enable_return_data protoreflect.FieldDescriptor + fd_TraceConfig_tracer_json_config protoreflect.FieldDescriptor +) + +func init() { + file_cosmos_evm_vm_v1_evm_proto_init() + md_TraceConfig = File_cosmos_evm_vm_v1_evm_proto.Messages().ByName("TraceConfig") + fd_TraceConfig_tracer = md_TraceConfig.Fields().ByName("tracer") + fd_TraceConfig_timeout = md_TraceConfig.Fields().ByName("timeout") + fd_TraceConfig_reexec = md_TraceConfig.Fields().ByName("reexec") + fd_TraceConfig_disable_stack = md_TraceConfig.Fields().ByName("disable_stack") + fd_TraceConfig_disable_storage = md_TraceConfig.Fields().ByName("disable_storage") + fd_TraceConfig_debug = md_TraceConfig.Fields().ByName("debug") + fd_TraceConfig_limit = md_TraceConfig.Fields().ByName("limit") + fd_TraceConfig_overrides = md_TraceConfig.Fields().ByName("overrides") + fd_TraceConfig_enable_memory = md_TraceConfig.Fields().ByName("enable_memory") + fd_TraceConfig_enable_return_data = md_TraceConfig.Fields().ByName("enable_return_data") + fd_TraceConfig_tracer_json_config = md_TraceConfig.Fields().ByName("tracer_json_config") +} + +var _ protoreflect.Message = (*fastReflection_TraceConfig)(nil) + +type fastReflection_TraceConfig TraceConfig + +func (x *TraceConfig) ProtoReflect() protoreflect.Message { + return (*fastReflection_TraceConfig)(x) +} + +func (x *TraceConfig) slowProtoReflect() protoreflect.Message { + mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_TraceConfig_messageType fastReflection_TraceConfig_messageType +var _ protoreflect.MessageType = fastReflection_TraceConfig_messageType{} + +type fastReflection_TraceConfig_messageType struct{} + +func (x fastReflection_TraceConfig_messageType) Zero() protoreflect.Message { + return (*fastReflection_TraceConfig)(nil) +} +func (x fastReflection_TraceConfig_messageType) New() protoreflect.Message { + return new(fastReflection_TraceConfig) +} +func (x fastReflection_TraceConfig_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_TraceConfig +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_TraceConfig) Descriptor() protoreflect.MessageDescriptor { + return md_TraceConfig +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_TraceConfig) Type() protoreflect.MessageType { + return _fastReflection_TraceConfig_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_TraceConfig) New() protoreflect.Message { + return new(fastReflection_TraceConfig) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_TraceConfig) Interface() protoreflect.ProtoMessage { + return (*TraceConfig)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_TraceConfig) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Tracer != "" { + value := protoreflect.ValueOfString(x.Tracer) + if !f(fd_TraceConfig_tracer, value) { + return + } + } + if x.Timeout != "" { + value := protoreflect.ValueOfString(x.Timeout) + if !f(fd_TraceConfig_timeout, value) { + return + } + } + if x.Reexec != uint64(0) { + value := protoreflect.ValueOfUint64(x.Reexec) + if !f(fd_TraceConfig_reexec, value) { + return + } + } + if x.DisableStack != false { + value := protoreflect.ValueOfBool(x.DisableStack) + if !f(fd_TraceConfig_disable_stack, value) { + return + } + } + if x.DisableStorage != false { + value := protoreflect.ValueOfBool(x.DisableStorage) + if !f(fd_TraceConfig_disable_storage, value) { + return + } + } + if x.Debug != false { + value := protoreflect.ValueOfBool(x.Debug) + if !f(fd_TraceConfig_debug, value) { + return + } + } + if x.Limit != int32(0) { + value := protoreflect.ValueOfInt32(x.Limit) + if !f(fd_TraceConfig_limit, value) { + return + } + } + if x.Overrides != nil { + value := protoreflect.ValueOfMessage(x.Overrides.ProtoReflect()) + if !f(fd_TraceConfig_overrides, value) { + return + } + } + if x.EnableMemory != false { + value := protoreflect.ValueOfBool(x.EnableMemory) + if !f(fd_TraceConfig_enable_memory, value) { + return + } + } + if x.EnableReturnData != false { + value := protoreflect.ValueOfBool(x.EnableReturnData) + if !f(fd_TraceConfig_enable_return_data, value) { + return + } + } + if x.TracerJsonConfig != "" { + value := protoreflect.ValueOfString(x.TracerJsonConfig) + if !f(fd_TraceConfig_tracer_json_config, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_TraceConfig) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "cosmos.evm.vm.v1.TraceConfig.tracer": + return x.Tracer != "" + case "cosmos.evm.vm.v1.TraceConfig.timeout": + return x.Timeout != "" + case "cosmos.evm.vm.v1.TraceConfig.reexec": + return x.Reexec != uint64(0) + case "cosmos.evm.vm.v1.TraceConfig.disable_stack": + return x.DisableStack != false + case "cosmos.evm.vm.v1.TraceConfig.disable_storage": + return x.DisableStorage != false + case "cosmos.evm.vm.v1.TraceConfig.debug": + return x.Debug != false + case "cosmos.evm.vm.v1.TraceConfig.limit": + return x.Limit != int32(0) + case "cosmos.evm.vm.v1.TraceConfig.overrides": + return x.Overrides != nil + case "cosmos.evm.vm.v1.TraceConfig.enable_memory": + return x.EnableMemory != false + case "cosmos.evm.vm.v1.TraceConfig.enable_return_data": + return x.EnableReturnData != false + case "cosmos.evm.vm.v1.TraceConfig.tracer_json_config": + return x.TracerJsonConfig != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.TraceConfig")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.TraceConfig does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TraceConfig) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "cosmos.evm.vm.v1.TraceConfig.tracer": + x.Tracer = "" + case "cosmos.evm.vm.v1.TraceConfig.timeout": + x.Timeout = "" + case "cosmos.evm.vm.v1.TraceConfig.reexec": + x.Reexec = uint64(0) + case "cosmos.evm.vm.v1.TraceConfig.disable_stack": + x.DisableStack = false + case "cosmos.evm.vm.v1.TraceConfig.disable_storage": + x.DisableStorage = false + case "cosmos.evm.vm.v1.TraceConfig.debug": + x.Debug = false + case "cosmos.evm.vm.v1.TraceConfig.limit": + x.Limit = int32(0) + case "cosmos.evm.vm.v1.TraceConfig.overrides": + x.Overrides = nil + case "cosmos.evm.vm.v1.TraceConfig.enable_memory": + x.EnableMemory = false + case "cosmos.evm.vm.v1.TraceConfig.enable_return_data": + x.EnableReturnData = false + case "cosmos.evm.vm.v1.TraceConfig.tracer_json_config": + x.TracerJsonConfig = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.TraceConfig")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.TraceConfig does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_TraceConfig) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "cosmos.evm.vm.v1.TraceConfig.tracer": + value := x.Tracer + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.TraceConfig.timeout": + value := x.Timeout + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.TraceConfig.reexec": + value := x.Reexec + return protoreflect.ValueOfUint64(value) + case "cosmos.evm.vm.v1.TraceConfig.disable_stack": + value := x.DisableStack + return protoreflect.ValueOfBool(value) + case "cosmos.evm.vm.v1.TraceConfig.disable_storage": + value := x.DisableStorage + return protoreflect.ValueOfBool(value) + case "cosmos.evm.vm.v1.TraceConfig.debug": + value := x.Debug + return protoreflect.ValueOfBool(value) + case "cosmos.evm.vm.v1.TraceConfig.limit": + value := x.Limit + return protoreflect.ValueOfInt32(value) + case "cosmos.evm.vm.v1.TraceConfig.overrides": + value := x.Overrides + return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "cosmos.evm.vm.v1.TraceConfig.enable_memory": + value := x.EnableMemory + return protoreflect.ValueOfBool(value) + case "cosmos.evm.vm.v1.TraceConfig.enable_return_data": + value := x.EnableReturnData + return protoreflect.ValueOfBool(value) + case "cosmos.evm.vm.v1.TraceConfig.tracer_json_config": + value := x.TracerJsonConfig + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.TraceConfig")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.TraceConfig does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TraceConfig) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "cosmos.evm.vm.v1.TraceConfig.tracer": + x.Tracer = value.Interface().(string) + case "cosmos.evm.vm.v1.TraceConfig.timeout": + x.Timeout = value.Interface().(string) + case "cosmos.evm.vm.v1.TraceConfig.reexec": + x.Reexec = value.Uint() + case "cosmos.evm.vm.v1.TraceConfig.disable_stack": + x.DisableStack = value.Bool() + case "cosmos.evm.vm.v1.TraceConfig.disable_storage": + x.DisableStorage = value.Bool() + case "cosmos.evm.vm.v1.TraceConfig.debug": + x.Debug = value.Bool() + case "cosmos.evm.vm.v1.TraceConfig.limit": + x.Limit = int32(value.Int()) + case "cosmos.evm.vm.v1.TraceConfig.overrides": + x.Overrides = value.Message().Interface().(*ChainConfig) + case "cosmos.evm.vm.v1.TraceConfig.enable_memory": + x.EnableMemory = value.Bool() + case "cosmos.evm.vm.v1.TraceConfig.enable_return_data": + x.EnableReturnData = value.Bool() + case "cosmos.evm.vm.v1.TraceConfig.tracer_json_config": + x.TracerJsonConfig = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.TraceConfig")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.TraceConfig does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TraceConfig) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cosmos.evm.vm.v1.TraceConfig.overrides": + if x.Overrides == nil { + x.Overrides = new(ChainConfig) + } + return protoreflect.ValueOfMessage(x.Overrides.ProtoReflect()) + case "cosmos.evm.vm.v1.TraceConfig.tracer": + panic(fmt.Errorf("field tracer of message cosmos.evm.vm.v1.TraceConfig is not mutable")) + case "cosmos.evm.vm.v1.TraceConfig.timeout": + panic(fmt.Errorf("field timeout of message cosmos.evm.vm.v1.TraceConfig is not mutable")) + case "cosmos.evm.vm.v1.TraceConfig.reexec": + panic(fmt.Errorf("field reexec of message cosmos.evm.vm.v1.TraceConfig is not mutable")) + case "cosmos.evm.vm.v1.TraceConfig.disable_stack": + panic(fmt.Errorf("field disable_stack of message cosmos.evm.vm.v1.TraceConfig is not mutable")) + case "cosmos.evm.vm.v1.TraceConfig.disable_storage": + panic(fmt.Errorf("field disable_storage of message cosmos.evm.vm.v1.TraceConfig is not mutable")) + case "cosmos.evm.vm.v1.TraceConfig.debug": + panic(fmt.Errorf("field debug of message cosmos.evm.vm.v1.TraceConfig is not mutable")) + case "cosmos.evm.vm.v1.TraceConfig.limit": + panic(fmt.Errorf("field limit of message cosmos.evm.vm.v1.TraceConfig is not mutable")) + case "cosmos.evm.vm.v1.TraceConfig.enable_memory": + panic(fmt.Errorf("field enable_memory of message cosmos.evm.vm.v1.TraceConfig is not mutable")) + case "cosmos.evm.vm.v1.TraceConfig.enable_return_data": + panic(fmt.Errorf("field enable_return_data of message cosmos.evm.vm.v1.TraceConfig is not mutable")) + case "cosmos.evm.vm.v1.TraceConfig.tracer_json_config": + panic(fmt.Errorf("field tracer_json_config of message cosmos.evm.vm.v1.TraceConfig is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.TraceConfig")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.TraceConfig does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_TraceConfig) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cosmos.evm.vm.v1.TraceConfig.tracer": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.TraceConfig.timeout": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.TraceConfig.reexec": + return protoreflect.ValueOfUint64(uint64(0)) + case "cosmos.evm.vm.v1.TraceConfig.disable_stack": + return protoreflect.ValueOfBool(false) + case "cosmos.evm.vm.v1.TraceConfig.disable_storage": + return protoreflect.ValueOfBool(false) + case "cosmos.evm.vm.v1.TraceConfig.debug": + return protoreflect.ValueOfBool(false) + case "cosmos.evm.vm.v1.TraceConfig.limit": + return protoreflect.ValueOfInt32(int32(0)) + case "cosmos.evm.vm.v1.TraceConfig.overrides": + m := new(ChainConfig) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "cosmos.evm.vm.v1.TraceConfig.enable_memory": + return protoreflect.ValueOfBool(false) + case "cosmos.evm.vm.v1.TraceConfig.enable_return_data": + return protoreflect.ValueOfBool(false) + case "cosmos.evm.vm.v1.TraceConfig.tracer_json_config": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.TraceConfig")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.TraceConfig does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_TraceConfig) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.TraceConfig", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_TraceConfig) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_TraceConfig) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_TraceConfig) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_TraceConfig) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*TraceConfig) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Tracer) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Timeout) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.Reexec != 0 { + n += 1 + runtime.Sov(uint64(x.Reexec)) + } + if x.DisableStack { + n += 2 + } + if x.DisableStorage { + n += 2 + } + if x.Debug { + n += 2 + } + if x.Limit != 0 { + n += 1 + runtime.Sov(uint64(x.Limit)) + } + if x.Overrides != nil { + l = options.Size(x.Overrides) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.EnableMemory { + n += 2 + } + if x.EnableReturnData { + n += 2 + } + l = len(x.TracerJsonConfig) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*TraceConfig) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.TracerJsonConfig) > 0 { + i -= len(x.TracerJsonConfig) + copy(dAtA[i:], x.TracerJsonConfig) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.TracerJsonConfig))) + i-- + dAtA[i] = 0x6a + } + if x.EnableReturnData { + i-- + if x.EnableReturnData { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x60 + } + if x.EnableMemory { + i-- + if x.EnableMemory { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x58 + } + if x.Overrides != nil { + encoded, err := options.Marshal(x.Overrides) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x52 + } + if x.Limit != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Limit)) + i-- + dAtA[i] = 0x48 + } + if x.Debug { + i-- + if x.Debug { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x40 + } + if x.DisableStorage { + i-- + if x.DisableStorage { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x30 + } + if x.DisableStack { + i-- + if x.DisableStack { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x28 + } + if x.Reexec != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Reexec)) + i-- + dAtA[i] = 0x18 + } + if len(x.Timeout) > 0 { + i -= len(x.Timeout) + copy(dAtA[i:], x.Timeout) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Timeout))) + i-- + dAtA[i] = 0x12 + } + if len(x.Tracer) > 0 { + i -= len(x.Tracer) + copy(dAtA[i:], x.Tracer) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Tracer))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*TraceConfig) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TraceConfig: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: TraceConfig: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Tracer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Tracer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Timeout", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Timeout = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Reexec", wireType) + } + x.Reexec = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.Reexec |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field DisableStack", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.DisableStack = bool(v != 0) + case 6: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field DisableStorage", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.DisableStorage = bool(v != 0) + case 8: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Debug", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.Debug = bool(v != 0) + case 9: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Limit", wireType) + } + x.Limit = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.Limit |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 10: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Overrides", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Overrides == nil { + x.Overrides = &ChainConfig{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Overrides); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 11: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field EnableMemory", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.EnableMemory = bool(v != 0) + case 12: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field EnableReturnData", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + x.EnableReturnData = bool(v != 0) + case 13: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field TracerJsonConfig", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.TracerJsonConfig = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.27.0 +// protoc (unknown) +// source: cosmos/evm/vm/v1/evm.proto + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// AccessType defines the types of permissions for the operations +type AccessType int32 + +const ( + // ACCESS_TYPE_PERMISSIONLESS does not restrict the operation to anyone + AccessType_ACCESS_TYPE_PERMISSIONLESS AccessType = 0 + // ACCESS_TYPE_RESTRICTED restrict the operation to anyone + AccessType_ACCESS_TYPE_RESTRICTED AccessType = 1 + // ACCESS_TYPE_PERMISSIONED only allows the operation for specific addresses + AccessType_ACCESS_TYPE_PERMISSIONED AccessType = 2 +) + +// Enum value maps for AccessType. +var ( + AccessType_name = map[int32]string{ + 0: "ACCESS_TYPE_PERMISSIONLESS", + 1: "ACCESS_TYPE_RESTRICTED", + 2: "ACCESS_TYPE_PERMISSIONED", + } + AccessType_value = map[string]int32{ + "ACCESS_TYPE_PERMISSIONLESS": 0, + "ACCESS_TYPE_RESTRICTED": 1, + "ACCESS_TYPE_PERMISSIONED": 2, + } +) + +func (x AccessType) Enum() *AccessType { + p := new(AccessType) + *p = x + return p +} + +func (x AccessType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (AccessType) Descriptor() protoreflect.EnumDescriptor { + return file_cosmos_evm_vm_v1_evm_proto_enumTypes[0].Descriptor() +} + +func (AccessType) Type() protoreflect.EnumType { + return &file_cosmos_evm_vm_v1_evm_proto_enumTypes[0] +} + +func (x AccessType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use AccessType.Descriptor instead. +func (AccessType) EnumDescriptor() ([]byte, []int) { + return file_cosmos_evm_vm_v1_evm_proto_rawDescGZIP(), []int{0} +} + +// Params defines the EVM module parameters +type Params struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // evm_denom represents the token denomination used to run the EVM state + // transitions. + EvmDenom string `protobuf:"bytes,1,opt,name=evm_denom,json=evmDenom,proto3" json:"evm_denom,omitempty"` + // extra_eips defines the additional EIPs for the vm.Config + ExtraEips []int64 `protobuf:"varint,4,rep,packed,name=extra_eips,json=extraEips,proto3" json:"extra_eips,omitempty"` + // chain_config defines the EVM chain configuration parameters + ChainConfig *ChainConfig `protobuf:"bytes,5,opt,name=chain_config,json=chainConfig,proto3" json:"chain_config,omitempty"` + // allow_unprotected_txs defines if replay-protected (i.e non EIP155 + // signed) transactions can be executed on the state machine. + AllowUnprotectedTxs bool `protobuf:"varint,6,opt,name=allow_unprotected_txs,json=allowUnprotectedTxs,proto3" json:"allow_unprotected_txs,omitempty"` + // evm_channels is the list of channel identifiers from EVM compatible chains + EvmChannels []string `protobuf:"bytes,8,rep,name=evm_channels,json=evmChannels,proto3" json:"evm_channels,omitempty"` + // access_control defines the permission policy of the EVM + AccessControl *AccessControl `protobuf:"bytes,9,opt,name=access_control,json=accessControl,proto3" json:"access_control,omitempty"` + // active_static_precompiles defines the slice of hex addresses of the + // precompiled contracts that are active + ActiveStaticPrecompiles []string `protobuf:"bytes,10,rep,name=active_static_precompiles,json=activeStaticPrecompiles,proto3" json:"active_static_precompiles,omitempty"` +} + +func (x *Params) Reset() { + *x = Params{} + if protoimpl.UnsafeEnabled { + mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Params) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Params) ProtoMessage() {} + +// Deprecated: Use Params.ProtoReflect.Descriptor instead. +func (*Params) Descriptor() ([]byte, []int) { + return file_cosmos_evm_vm_v1_evm_proto_rawDescGZIP(), []int{0} +} + +func (x *Params) GetEvmDenom() string { + if x != nil { + return x.EvmDenom + } + return "" +} + +func (x *Params) GetExtraEips() []int64 { + if x != nil { + return x.ExtraEips + } + return nil +} + +func (x *Params) GetChainConfig() *ChainConfig { + if x != nil { + return x.ChainConfig + } + return nil +} + +func (x *Params) GetAllowUnprotectedTxs() bool { + if x != nil { + return x.AllowUnprotectedTxs + } + return false +} + +func (x *Params) GetEvmChannels() []string { + if x != nil { + return x.EvmChannels + } + return nil +} + +func (x *Params) GetAccessControl() *AccessControl { + if x != nil { + return x.AccessControl + } + return nil +} + +func (x *Params) GetActiveStaticPrecompiles() []string { + if x != nil { + return x.ActiveStaticPrecompiles + } + return nil +} + +// AccessControl defines the permission policy of the EVM +// for creating and calling contracts +type AccessControl struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // create defines the permission policy for creating contracts + Create *AccessControlType `protobuf:"bytes,1,opt,name=create,proto3" json:"create,omitempty"` + // call defines the permission policy for calling contracts + Call *AccessControlType `protobuf:"bytes,2,opt,name=call,proto3" json:"call,omitempty"` +} + +func (x *AccessControl) Reset() { + *x = AccessControl{} + if protoimpl.UnsafeEnabled { + mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AccessControl) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AccessControl) ProtoMessage() {} + +// Deprecated: Use AccessControl.ProtoReflect.Descriptor instead. +func (*AccessControl) Descriptor() ([]byte, []int) { + return file_cosmos_evm_vm_v1_evm_proto_rawDescGZIP(), []int{1} +} + +func (x *AccessControl) GetCreate() *AccessControlType { + if x != nil { + return x.Create + } + return nil +} + +func (x *AccessControl) GetCall() *AccessControlType { + if x != nil { + return x.Call + } + return nil +} + +// AccessControlType defines the permission type for policies +type AccessControlType struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // access_type defines which type of permission is required for the operation + AccessType AccessType `protobuf:"varint,1,opt,name=access_type,json=accessType,proto3,enum=cosmos.evm.vm.v1.AccessType" json:"access_type,omitempty"` + // access_control_list defines defines different things depending on the + // AccessType: + // - ACCESS_TYPE_PERMISSIONLESS: list of addresses that are blocked from + // performing the operation + // - ACCESS_TYPE_RESTRICTED: ignored + // - ACCESS_TYPE_PERMISSIONED: list of addresses that are allowed to perform + // the operation + AccessControlList []string `protobuf:"bytes,2,rep,name=access_control_list,json=accessControlList,proto3" json:"access_control_list,omitempty"` +} + +func (x *AccessControlType) Reset() { + *x = AccessControlType{} + if protoimpl.UnsafeEnabled { + mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AccessControlType) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AccessControlType) ProtoMessage() {} + +// Deprecated: Use AccessControlType.ProtoReflect.Descriptor instead. +func (*AccessControlType) Descriptor() ([]byte, []int) { + return file_cosmos_evm_vm_v1_evm_proto_rawDescGZIP(), []int{2} +} + +func (x *AccessControlType) GetAccessType() AccessType { + if x != nil { + return x.AccessType + } + return AccessType_ACCESS_TYPE_PERMISSIONLESS +} + +func (x *AccessControlType) GetAccessControlList() []string { + if x != nil { + return x.AccessControlList + } + return nil +} + +// ChainConfig defines the Ethereum ChainConfig parameters using *sdk.Int values +// instead of *big.Int. +type ChainConfig struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // homestead_block switch (nil no fork, 0 = already homestead) + HomesteadBlock string `protobuf:"bytes,1,opt,name=homestead_block,json=homesteadBlock,proto3" json:"homestead_block,omitempty"` + // dao_fork_block corresponds to TheDAO hard-fork switch block (nil no fork) + DaoForkBlock string `protobuf:"bytes,2,opt,name=dao_fork_block,json=daoForkBlock,proto3" json:"dao_fork_block,omitempty"` + // dao_fork_support defines whether the nodes supports or opposes the DAO + // hard-fork + DaoForkSupport bool `protobuf:"varint,3,opt,name=dao_fork_support,json=daoForkSupport,proto3" json:"dao_fork_support,omitempty"` + // eip150_block: EIP150 implements the Gas price changes + // (https://github.com/ethereum/EIPs/issues/150) EIP150 HF block (nil no fork) + Eip150Block string `protobuf:"bytes,4,opt,name=eip150_block,json=eip150Block,proto3" json:"eip150_block,omitempty"` + // eip150_hash: EIP150 HF hash (needed for header only clients as only gas + // pricing changed) + Eip150Hash string `protobuf:"bytes,5,opt,name=eip150_hash,json=eip150Hash,proto3" json:"eip150_hash,omitempty"` + // eip155_block: EIP155Block HF block + Eip155Block string `protobuf:"bytes,6,opt,name=eip155_block,json=eip155Block,proto3" json:"eip155_block,omitempty"` + // eip158_block: EIP158 HF block + Eip158Block string `protobuf:"bytes,7,opt,name=eip158_block,json=eip158Block,proto3" json:"eip158_block,omitempty"` + // byzantium_block: Byzantium switch block (nil no fork, 0 = already on + // byzantium) + ByzantiumBlock string `protobuf:"bytes,8,opt,name=byzantium_block,json=byzantiumBlock,proto3" json:"byzantium_block,omitempty"` + // constantinople_block: Constantinople switch block (nil no fork, 0 = already + // activated) + ConstantinopleBlock string `protobuf:"bytes,9,opt,name=constantinople_block,json=constantinopleBlock,proto3" json:"constantinople_block,omitempty"` + // petersburg_block: Petersburg switch block (nil same as Constantinople) + PetersburgBlock string `protobuf:"bytes,10,opt,name=petersburg_block,json=petersburgBlock,proto3" json:"petersburg_block,omitempty"` + // istanbul_block: Istanbul switch block (nil no fork, 0 = already on + // istanbul) + IstanbulBlock string `protobuf:"bytes,11,opt,name=istanbul_block,json=istanbulBlock,proto3" json:"istanbul_block,omitempty"` + // muir_glacier_block: Eip-2384 (bomb delay) switch block (nil no fork, 0 = + // already activated) + MuirGlacierBlock string `protobuf:"bytes,12,opt,name=muir_glacier_block,json=muirGlacierBlock,proto3" json:"muir_glacier_block,omitempty"` + // berlin_block: Berlin switch block (nil = no fork, 0 = already on berlin) + BerlinBlock string `protobuf:"bytes,13,opt,name=berlin_block,json=berlinBlock,proto3" json:"berlin_block,omitempty"` + // london_block: London switch block (nil = no fork, 0 = already on london) + LondonBlock string `protobuf:"bytes,17,opt,name=london_block,json=londonBlock,proto3" json:"london_block,omitempty"` + // arrow_glacier_block: Eip-4345 (bomb delay) switch block (nil = no fork, 0 = + // already activated) + ArrowGlacierBlock string `protobuf:"bytes,18,opt,name=arrow_glacier_block,json=arrowGlacierBlock,proto3" json:"arrow_glacier_block,omitempty"` + // gray_glacier_block: EIP-5133 (bomb delay) switch block (nil = no fork, 0 = + // already activated) + GrayGlacierBlock string `protobuf:"bytes,20,opt,name=gray_glacier_block,json=grayGlacierBlock,proto3" json:"gray_glacier_block,omitempty"` + // merge_netsplit_block: Virtual fork after The Merge to use as a network + // splitter + MergeNetsplitBlock string `protobuf:"bytes,21,opt,name=merge_netsplit_block,json=mergeNetsplitBlock,proto3" json:"merge_netsplit_block,omitempty"` + // shanghai_block switch block (nil = no fork, 0 = already on shanghai) + ShanghaiBlock string `protobuf:"bytes,22,opt,name=shanghai_block,json=shanghaiBlock,proto3" json:"shanghai_block,omitempty"` + // cancun_block switch block (nil = no fork, 0 = already on cancun) + CancunBlock string `protobuf:"bytes,23,opt,name=cancun_block,json=cancunBlock,proto3" json:"cancun_block,omitempty"` + // chain_id is the id of the chain (EIP-155) + ChainId uint64 `protobuf:"varint,24,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` + // denom is the denomination used on the EVM + Denom string `protobuf:"bytes,25,opt,name=denom,proto3" json:"denom,omitempty"` + // decimals is the real decimal precision of the denomination used on the EVM + Decimals uint64 `protobuf:"varint,26,opt,name=decimals,proto3" json:"decimals,omitempty"` +} + +func (x *ChainConfig) Reset() { + *x = ChainConfig{} + if protoimpl.UnsafeEnabled { + mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChainConfig) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChainConfig) ProtoMessage() {} + +// Deprecated: Use ChainConfig.ProtoReflect.Descriptor instead. +func (*ChainConfig) Descriptor() ([]byte, []int) { + return file_cosmos_evm_vm_v1_evm_proto_rawDescGZIP(), []int{3} +} + +func (x *ChainConfig) GetHomesteadBlock() string { + if x != nil { + return x.HomesteadBlock + } + return "" +} + +func (x *ChainConfig) GetDaoForkBlock() string { + if x != nil { + return x.DaoForkBlock + } + return "" +} + +func (x *ChainConfig) GetDaoForkSupport() bool { + if x != nil { + return x.DaoForkSupport + } + return false +} + +func (x *ChainConfig) GetEip150Block() string { + if x != nil { + return x.Eip150Block + } + return "" +} + +func (x *ChainConfig) GetEip150Hash() string { + if x != nil { + return x.Eip150Hash + } + return "" +} + +func (x *ChainConfig) GetEip155Block() string { + if x != nil { + return x.Eip155Block + } + return "" +} + +func (x *ChainConfig) GetEip158Block() string { + if x != nil { + return x.Eip158Block + } + return "" +} + +func (x *ChainConfig) GetByzantiumBlock() string { + if x != nil { + return x.ByzantiumBlock + } + return "" +} + +func (x *ChainConfig) GetConstantinopleBlock() string { + if x != nil { + return x.ConstantinopleBlock + } + return "" +} + +func (x *ChainConfig) GetPetersburgBlock() string { + if x != nil { + return x.PetersburgBlock + } + return "" +} + +func (x *ChainConfig) GetIstanbulBlock() string { + if x != nil { + return x.IstanbulBlock + } + return "" +} + +func (x *ChainConfig) GetMuirGlacierBlock() string { + if x != nil { + return x.MuirGlacierBlock + } + return "" +} + +func (x *ChainConfig) GetBerlinBlock() string { + if x != nil { + return x.BerlinBlock + } + return "" +} + +func (x *ChainConfig) GetLondonBlock() string { + if x != nil { + return x.LondonBlock + } + return "" +} + +func (x *ChainConfig) GetArrowGlacierBlock() string { + if x != nil { + return x.ArrowGlacierBlock + } + return "" +} + +func (x *ChainConfig) GetGrayGlacierBlock() string { + if x != nil { + return x.GrayGlacierBlock + } + return "" +} + +func (x *ChainConfig) GetMergeNetsplitBlock() string { + if x != nil { + return x.MergeNetsplitBlock + } + return "" +} + +func (x *ChainConfig) GetShanghaiBlock() string { + if x != nil { + return x.ShanghaiBlock + } + return "" +} + +func (x *ChainConfig) GetCancunBlock() string { + if x != nil { + return x.CancunBlock + } + return "" +} + +func (x *ChainConfig) GetChainId() uint64 { + if x != nil { + return x.ChainId + } + return 0 +} + +func (x *ChainConfig) GetDenom() string { + if x != nil { + return x.Denom + } + return "" +} + +func (x *ChainConfig) GetDecimals() uint64 { + if x != nil { + return x.Decimals + } + return 0 +} + +// State represents a single Storage key value pair item. +type State struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // key is the stored key + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + // value is the stored value for the given key + Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` +} + +func (x *State) Reset() { + *x = State{} + if protoimpl.UnsafeEnabled { + mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *State) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*State) ProtoMessage() {} + +// Deprecated: Use State.ProtoReflect.Descriptor instead. +func (*State) Descriptor() ([]byte, []int) { + return file_cosmos_evm_vm_v1_evm_proto_rawDescGZIP(), []int{4} +} + +func (x *State) GetKey() string { + if x != nil { + return x.Key + } + return "" +} + +func (x *State) GetValue() string { + if x != nil { + return x.Value + } + return "" +} + +// TransactionLogs define the logs generated from a transaction execution +// with a given hash. It it used for import/export data as transactions are not +// persisted on blockchain state after an upgrade. +type TransactionLogs struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // hash of the transaction + Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` + // logs is an array of Logs for the given transaction hash + Logs []*Log `protobuf:"bytes,2,rep,name=logs,proto3" json:"logs,omitempty"` +} + +func (x *TransactionLogs) Reset() { + *x = TransactionLogs{} + if protoimpl.UnsafeEnabled { + mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TransactionLogs) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TransactionLogs) ProtoMessage() {} + +// Deprecated: Use TransactionLogs.ProtoReflect.Descriptor instead. +func (*TransactionLogs) Descriptor() ([]byte, []int) { + return file_cosmos_evm_vm_v1_evm_proto_rawDescGZIP(), []int{5} +} + +func (x *TransactionLogs) GetHash() string { + if x != nil { + return x.Hash + } + return "" +} + +func (x *TransactionLogs) GetLogs() []*Log { + if x != nil { + return x.Logs + } + return nil +} + +// Log represents an protobuf compatible Ethereum Log that defines a contract +// log event. These events are generated by the LOG opcode and stored/indexed by +// the node. +// +// NOTE: address, topics and data are consensus fields. The rest of the fields +// are derived, i.e. filled in by the nodes, but not secured by consensus. +type Log struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // address of the contract that generated the event + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + // topics is a list of topics provided by the contract. + Topics []string `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty"` + // data which is supplied by the contract, usually ABI-encoded + Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` + // block_number of the block in which the transaction was included + BlockNumber uint64 `protobuf:"varint,4,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` + // tx_hash is the transaction hash + TxHash string `protobuf:"bytes,5,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` + // tx_index of the transaction in the block + TxIndex uint64 `protobuf:"varint,6,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"` + // block_hash of the block in which the transaction was included + BlockHash string `protobuf:"bytes,7,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` + // index of the log in the block + Index uint64 `protobuf:"varint,8,opt,name=index,proto3" json:"index,omitempty"` + // removed is true if this log was reverted due to a chain + // reorganisation. You must pay attention to this field if you receive logs + // through a filter query. + Removed bool `protobuf:"varint,9,opt,name=removed,proto3" json:"removed,omitempty"` +} + +func (x *Log) Reset() { + *x = Log{} + if protoimpl.UnsafeEnabled { + mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Log) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Log) ProtoMessage() {} + +// Deprecated: Use Log.ProtoReflect.Descriptor instead. +func (*Log) Descriptor() ([]byte, []int) { + return file_cosmos_evm_vm_v1_evm_proto_rawDescGZIP(), []int{6} +} + +func (x *Log) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +func (x *Log) GetTopics() []string { + if x != nil { + return x.Topics + } + return nil +} + +func (x *Log) GetData() []byte { + if x != nil { + return x.Data + } + return nil +} + +func (x *Log) GetBlockNumber() uint64 { + if x != nil { + return x.BlockNumber + } + return 0 +} + +func (x *Log) GetTxHash() string { + if x != nil { + return x.TxHash + } + return "" +} + +func (x *Log) GetTxIndex() uint64 { + if x != nil { + return x.TxIndex + } + return 0 +} + +func (x *Log) GetBlockHash() string { + if x != nil { + return x.BlockHash + } + return "" +} + +func (x *Log) GetIndex() uint64 { + if x != nil { + return x.Index + } + return 0 +} + +func (x *Log) GetRemoved() bool { + if x != nil { + return x.Removed + } + return false +} + +// TxResult stores results of Tx execution. +type TxResult struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // contract_address contains the ethereum address of the created contract (if + // any). If the state transition is an evm.Call, the contract address will be + // empty. + ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` + // bloom represents the bloom filter bytes + Bloom []byte `protobuf:"bytes,2,opt,name=bloom,proto3" json:"bloom,omitempty"` + // tx_logs contains the transaction hash and the proto-compatible ethereum + // logs. + TxLogs *TransactionLogs `protobuf:"bytes,3,opt,name=tx_logs,json=txLogs,proto3" json:"tx_logs,omitempty"` + // ret defines the bytes from the execution. + Ret []byte `protobuf:"bytes,4,opt,name=ret,proto3" json:"ret,omitempty"` + // reverted flag is set to true when the call has been reverted + Reverted bool `protobuf:"varint,5,opt,name=reverted,proto3" json:"reverted,omitempty"` + // gas_used notes the amount of gas consumed while execution + GasUsed uint64 `protobuf:"varint,6,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` +} + +func (x *TxResult) Reset() { + *x = TxResult{} + if protoimpl.UnsafeEnabled { + mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TxResult) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TxResult) ProtoMessage() {} + +// Deprecated: Use TxResult.ProtoReflect.Descriptor instead. +func (*TxResult) Descriptor() ([]byte, []int) { + return file_cosmos_evm_vm_v1_evm_proto_rawDescGZIP(), []int{7} +} + +func (x *TxResult) GetContractAddress() string { + if x != nil { + return x.ContractAddress + } + return "" +} + +func (x *TxResult) GetBloom() []byte { + if x != nil { + return x.Bloom + } + return nil +} + +func (x *TxResult) GetTxLogs() *TransactionLogs { + if x != nil { + return x.TxLogs + } + return nil +} + +func (x *TxResult) GetRet() []byte { + if x != nil { + return x.Ret + } + return nil +} + +func (x *TxResult) GetReverted() bool { + if x != nil { + return x.Reverted + } + return false +} + +func (x *TxResult) GetGasUsed() uint64 { + if x != nil { + return x.GasUsed + } + return 0 +} + +// AccessTuple is the element type of an access list. +type AccessTuple struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // address is a hex formatted ethereum address + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + // storage_keys are hex formatted hashes of the storage keys + StorageKeys []string `protobuf:"bytes,2,rep,name=storage_keys,json=storageKeys,proto3" json:"storage_keys,omitempty"` +} + +func (x *AccessTuple) Reset() { + *x = AccessTuple{} + if protoimpl.UnsafeEnabled { + mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AccessTuple) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AccessTuple) ProtoMessage() {} + +// Deprecated: Use AccessTuple.ProtoReflect.Descriptor instead. +func (*AccessTuple) Descriptor() ([]byte, []int) { + return file_cosmos_evm_vm_v1_evm_proto_rawDescGZIP(), []int{8} +} + +func (x *AccessTuple) GetAddress() string { + if x != nil { + return x.Address + } + return "" +} + +func (x *AccessTuple) GetStorageKeys() []string { + if x != nil { + return x.StorageKeys + } + return nil +} + +// TraceConfig holds extra parameters to trace functions. +type TraceConfig struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // tracer is a custom javascript tracer + Tracer string `protobuf:"bytes,1,opt,name=tracer,proto3" json:"tracer,omitempty"` + // timeout overrides the default timeout of 5 seconds for JavaScript-based + // tracing calls + Timeout string `protobuf:"bytes,2,opt,name=timeout,proto3" json:"timeout,omitempty"` + // reexec defines the number of blocks the tracer is willing to go back + Reexec uint64 `protobuf:"varint,3,opt,name=reexec,proto3" json:"reexec,omitempty"` + // disable_stack switches stack capture + DisableStack bool `protobuf:"varint,5,opt,name=disable_stack,json=disableStack,proto3" json:"disable_stack,omitempty"` + // disable_storage switches storage capture + DisableStorage bool `protobuf:"varint,6,opt,name=disable_storage,json=disableStorage,proto3" json:"disable_storage,omitempty"` + // debug can be used to print output during capture end + Debug bool `protobuf:"varint,8,opt,name=debug,proto3" json:"debug,omitempty"` + // limit defines the maximum length of output, but zero means unlimited + Limit int32 `protobuf:"varint,9,opt,name=limit,proto3" json:"limit,omitempty"` + // overrides can be used to execute a trace using future fork rules + Overrides *ChainConfig `protobuf:"bytes,10,opt,name=overrides,proto3" json:"overrides,omitempty"` + // enable_memory switches memory capture + EnableMemory bool `protobuf:"varint,11,opt,name=enable_memory,json=enableMemory,proto3" json:"enable_memory,omitempty"` + // enable_return_data switches the capture of return data + EnableReturnData bool `protobuf:"varint,12,opt,name=enable_return_data,json=enableReturnData,proto3" json:"enable_return_data,omitempty"` + // tracer_json_config configures the tracer using a JSON string + TracerJsonConfig string `protobuf:"bytes,13,opt,name=tracer_json_config,json=tracerJsonConfig,proto3" json:"tracer_json_config,omitempty"` +} + +func (x *TraceConfig) Reset() { + *x = TraceConfig{} + if protoimpl.UnsafeEnabled { + mi := &file_cosmos_evm_vm_v1_evm_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TraceConfig) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TraceConfig) ProtoMessage() {} + +// Deprecated: Use TraceConfig.ProtoReflect.Descriptor instead. +func (*TraceConfig) Descriptor() ([]byte, []int) { + return file_cosmos_evm_vm_v1_evm_proto_rawDescGZIP(), []int{9} +} + +func (x *TraceConfig) GetTracer() string { + if x != nil { + return x.Tracer + } + return "" +} + +func (x *TraceConfig) GetTimeout() string { + if x != nil { + return x.Timeout + } + return "" +} + +func (x *TraceConfig) GetReexec() uint64 { + if x != nil { + return x.Reexec + } + return 0 +} + +func (x *TraceConfig) GetDisableStack() bool { + if x != nil { + return x.DisableStack + } + return false +} + +func (x *TraceConfig) GetDisableStorage() bool { + if x != nil { + return x.DisableStorage + } + return false +} + +func (x *TraceConfig) GetDebug() bool { + if x != nil { + return x.Debug + } + return false +} + +func (x *TraceConfig) GetLimit() int32 { + if x != nil { + return x.Limit + } + return 0 +} + +func (x *TraceConfig) GetOverrides() *ChainConfig { + if x != nil { + return x.Overrides + } + return nil +} + +func (x *TraceConfig) GetEnableMemory() bool { + if x != nil { + return x.EnableMemory + } + return false +} + +func (x *TraceConfig) GetEnableReturnData() bool { + if x != nil { + return x.EnableReturnData + } + return false +} + +func (x *TraceConfig) GetTracerJsonConfig() string { + if x != nil { + return x.TracerJsonConfig + } + return "" +} + +var File_cosmos_evm_vm_v1_evm_proto protoreflect.FileDescriptor + +var file_cosmos_evm_vm_v1_evm_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x6d, 0x2f, + 0x76, 0x31, 0x2f, 0x65, 0x76, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x63, 0x6f, + 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x1a, 0x11, + 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2f, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, + 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x94, 0x04, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x73, 0x12, 0x31, 0x0a, 0x09, 0x65, 0x76, 0x6d, 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x14, 0xf2, 0xde, 0x1f, 0x10, 0x79, 0x61, 0x6d, 0x6c, 0x3a, + 0x22, 0x65, 0x76, 0x6d, 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x22, 0x52, 0x08, 0x65, 0x76, 0x6d, + 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x41, 0x0a, 0x0a, 0x65, 0x78, 0x74, 0x72, 0x61, 0x5f, 0x65, + 0x69, 0x70, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x03, 0x42, 0x22, 0xe2, 0xde, 0x1f, 0x09, 0x45, + 0x78, 0x74, 0x72, 0x61, 0x45, 0x49, 0x50, 0x73, 0xf2, 0xde, 0x1f, 0x11, 0x79, 0x61, 0x6d, 0x6c, + 0x3a, 0x22, 0x65, 0x78, 0x74, 0x72, 0x61, 0x5f, 0x65, 0x69, 0x70, 0x73, 0x22, 0x52, 0x09, 0x65, + 0x78, 0x74, 0x72, 0x61, 0x45, 0x69, 0x70, 0x73, 0x12, 0x62, 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x69, + 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, + 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, + 0x31, 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x20, 0xc8, + 0xde, 0x1f, 0x00, 0xf2, 0xde, 0x1f, 0x13, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x63, 0x68, 0x61, + 0x69, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, + 0x0b, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x32, 0x0a, 0x15, + 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x75, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x65, + 0x64, 0x5f, 0x74, 0x78, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x61, 0x6c, 0x6c, + 0x6f, 0x77, 0x55, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x54, 0x78, 0x73, + 0x12, 0x32, 0x0a, 0x0c, 0x65, 0x76, 0x6d, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, + 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x42, 0x0f, 0xe2, 0xde, 0x1f, 0x0b, 0x45, 0x56, 0x4d, 0x43, + 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x52, 0x0b, 0x65, 0x76, 0x6d, 0x43, 0x68, 0x61, 0x6e, + 0x6e, 0x65, 0x6c, 0x73, 0x12, 0x5d, 0x0a, 0x0e, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x63, + 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, + 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x42, 0x15, 0xc8, + 0xde, 0x1f, 0x00, 0xe2, 0xde, 0x1f, 0x0d, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x0d, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x12, 0x3a, 0x0a, 0x19, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x74, + 0x61, 0x74, 0x69, 0x63, 0x5f, 0x70, 0x72, 0x65, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x73, + 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x17, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x53, 0x74, + 0x61, 0x74, 0x69, 0x63, 0x50, 0x72, 0x65, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x73, 0x3a, + 0x1b, 0x8a, 0xe7, 0xb0, 0x2a, 0x16, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x65, 0x76, 0x6d, + 0x2f, 0x78, 0x2f, 0x76, 0x6d, 0x2f, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x4a, 0x04, 0x08, 0x02, + 0x10, 0x03, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x4a, 0x04, 0x08, 0x07, 0x10, 0x08, 0x22, 0x91, + 0x01, 0x0a, 0x0d, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, + 0x12, 0x41, 0x0a, 0x06, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x23, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, + 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x54, 0x79, 0x70, 0x65, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x12, 0x3d, 0x0a, 0x04, 0x63, 0x61, 0x6c, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, + 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x04, 0x63, 0x61, + 0x6c, 0x6c, 0x22, 0xdd, 0x01, 0x0a, 0x11, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x63, 0x0a, 0x0b, 0x61, 0x63, 0x63, 0x65, + 0x73, 0x73, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, + 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, + 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x79, 0x70, 0x65, 0x42, 0x24, 0xe2, 0xde, 0x1f, + 0x0a, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x79, 0x70, 0x65, 0xf2, 0xde, 0x1f, 0x12, 0x79, + 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x22, 0x52, 0x0a, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x63, 0x0a, + 0x13, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x5f, + 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x42, 0x33, 0xe2, 0xde, 0x1f, 0x11, + 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x4c, 0x69, 0x73, + 0x74, 0xf2, 0xde, 0x1f, 0x1a, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x61, 0x63, 0x63, 0x65, 0x73, + 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x52, + 0x11, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x4c, 0x69, + 0x73, 0x74, 0x22, 0xca, 0x0f, 0x0a, 0x0b, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x12, 0x5c, 0x0a, 0x0f, 0x68, 0x6f, 0x6d, 0x65, 0x73, 0x74, 0x65, 0x61, 0x64, 0x5f, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x33, 0xda, 0xde, 0x1f, + 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, + 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xf2, 0xde, 0x1f, 0x16, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, + 0x68, 0x6f, 0x6d, 0x65, 0x73, 0x74, 0x65, 0x61, 0x64, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x22, + 0x52, 0x0e, 0x68, 0x6f, 0x6d, 0x65, 0x73, 0x74, 0x65, 0x61, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x12, 0x68, 0x0a, 0x0e, 0x64, 0x61, 0x6f, 0x5f, 0x66, 0x6f, 0x72, 0x6b, 0x5f, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x42, 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, + 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, + 0x49, 0x6e, 0x74, 0xe2, 0xde, 0x1f, 0x0c, 0x44, 0x41, 0x4f, 0x46, 0x6f, 0x72, 0x6b, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0xf2, 0xde, 0x1f, 0x15, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x64, 0x61, 0x6f, + 0x5f, 0x66, 0x6f, 0x72, 0x6b, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x52, 0x0c, 0x64, 0x61, + 0x6f, 0x46, 0x6f, 0x72, 0x6b, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x57, 0x0a, 0x10, 0x64, 0x61, + 0x6f, 0x5f, 0x66, 0x6f, 0x72, 0x6b, 0x5f, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x08, 0x42, 0x2d, 0xe2, 0xde, 0x1f, 0x0e, 0x44, 0x41, 0x4f, 0x46, 0x6f, 0x72, + 0x6b, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0xf2, 0xde, 0x1f, 0x17, 0x79, 0x61, 0x6d, 0x6c, + 0x3a, 0x22, 0x64, 0x61, 0x6f, 0x5f, 0x66, 0x6f, 0x72, 0x6b, 0x5f, 0x73, 0x75, 0x70, 0x70, 0x6f, + 0x72, 0x74, 0x22, 0x52, 0x0e, 0x64, 0x61, 0x6f, 0x46, 0x6f, 0x72, 0x6b, 0x53, 0x75, 0x70, 0x70, + 0x6f, 0x72, 0x74, 0x12, 0x62, 0x0a, 0x0c, 0x65, 0x69, 0x70, 0x31, 0x35, 0x30, 0x5f, 0x62, 0x6c, + 0x6f, 0x63, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x3f, 0xda, 0xde, 0x1f, 0x15, 0x63, + 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, + 0x2e, 0x49, 0x6e, 0x74, 0xe2, 0xde, 0x1f, 0x0b, 0x45, 0x49, 0x50, 0x31, 0x35, 0x30, 0x42, 0x6c, + 0x6f, 0x63, 0x6b, 0xf2, 0xde, 0x1f, 0x13, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x65, 0x69, 0x70, + 0x31, 0x35, 0x30, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x52, 0x0b, 0x65, 0x69, 0x70, 0x31, + 0x35, 0x30, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x49, 0x0a, 0x0b, 0x65, 0x69, 0x70, 0x31, 0x35, + 0x30, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0xe2, 0xde, + 0x1f, 0x0a, 0x45, 0x49, 0x50, 0x31, 0x35, 0x30, 0x48, 0x61, 0x73, 0x68, 0xf2, 0xde, 0x1f, 0x16, + 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x62, 0x79, 0x7a, 0x61, 0x6e, 0x74, 0x69, 0x75, 0x6d, 0x5f, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x52, 0x0a, 0x65, 0x69, 0x70, 0x31, 0x35, 0x30, 0x48, 0x61, + 0x73, 0x68, 0x12, 0x62, 0x0a, 0x0c, 0x65, 0x69, 0x70, 0x31, 0x35, 0x35, 0x5f, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x3f, 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, + 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, + 0x49, 0x6e, 0x74, 0xe2, 0xde, 0x1f, 0x0b, 0x45, 0x49, 0x50, 0x31, 0x35, 0x35, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0xf2, 0xde, 0x1f, 0x13, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x65, 0x69, 0x70, 0x31, + 0x35, 0x35, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x52, 0x0b, 0x65, 0x69, 0x70, 0x31, 0x35, + 0x35, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x62, 0x0a, 0x0c, 0x65, 0x69, 0x70, 0x31, 0x35, 0x38, + 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x42, 0x3f, 0xda, 0xde, + 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, + 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xe2, 0xde, 0x1f, 0x0b, 0x45, 0x49, 0x50, 0x31, 0x35, + 0x38, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0xf2, 0xde, 0x1f, 0x13, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, + 0x65, 0x69, 0x70, 0x31, 0x35, 0x38, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x52, 0x0b, 0x65, + 0x69, 0x70, 0x31, 0x35, 0x38, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x5c, 0x0a, 0x0f, 0x62, 0x79, + 0x7a, 0x61, 0x6e, 0x74, 0x69, 0x75, 0x6d, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x09, 0x42, 0x33, 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, + 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xf2, 0xde, + 0x1f, 0x16, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x62, 0x79, 0x7a, 0x61, 0x6e, 0x74, 0x69, 0x75, + 0x6d, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x52, 0x0e, 0x62, 0x79, 0x7a, 0x61, 0x6e, 0x74, + 0x69, 0x75, 0x6d, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x6b, 0x0a, 0x14, 0x63, 0x6f, 0x6e, 0x73, + 0x74, 0x61, 0x6e, 0x74, 0x69, 0x6e, 0x6f, 0x70, 0x6c, 0x65, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x42, 0x38, 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, + 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, + 0x74, 0xf2, 0xde, 0x1f, 0x1b, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x63, 0x6f, 0x6e, 0x73, 0x74, + 0x61, 0x6e, 0x74, 0x69, 0x6e, 0x6f, 0x70, 0x6c, 0x65, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x22, + 0x52, 0x13, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x69, 0x6e, 0x6f, 0x70, 0x6c, 0x65, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x5f, 0x0a, 0x10, 0x70, 0x65, 0x74, 0x65, 0x72, 0x73, 0x62, + 0x75, 0x72, 0x67, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x42, + 0x34, 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, + 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xf2, 0xde, 0x1f, 0x17, 0x79, 0x61, + 0x6d, 0x6c, 0x3a, 0x22, 0x70, 0x65, 0x74, 0x65, 0x72, 0x73, 0x62, 0x75, 0x72, 0x67, 0x5f, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x52, 0x0f, 0x70, 0x65, 0x74, 0x65, 0x72, 0x73, 0x62, 0x75, 0x72, + 0x67, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x59, 0x0a, 0x0e, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x62, + 0x75, 0x6c, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x42, 0x32, + 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, + 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xf2, 0xde, 0x1f, 0x15, 0x79, 0x61, 0x6d, + 0x6c, 0x3a, 0x22, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x62, 0x75, 0x6c, 0x5f, 0x62, 0x6c, 0x6f, 0x63, + 0x6b, 0x22, 0x52, 0x0d, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x62, 0x75, 0x6c, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x12, 0x64, 0x0a, 0x12, 0x6d, 0x75, 0x69, 0x72, 0x5f, 0x67, 0x6c, 0x61, 0x63, 0x69, 0x65, + 0x72, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x42, 0x36, 0xda, + 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, + 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xf2, 0xde, 0x1f, 0x19, 0x79, 0x61, 0x6d, 0x6c, + 0x3a, 0x22, 0x6d, 0x75, 0x69, 0x72, 0x5f, 0x67, 0x6c, 0x61, 0x63, 0x69, 0x65, 0x72, 0x5f, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x52, 0x10, 0x6d, 0x75, 0x69, 0x72, 0x47, 0x6c, 0x61, 0x63, 0x69, + 0x65, 0x72, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x53, 0x0a, 0x0c, 0x62, 0x65, 0x72, 0x6c, 0x69, + 0x6e, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x42, 0x30, 0xda, + 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, + 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xf2, 0xde, 0x1f, 0x13, 0x79, 0x61, 0x6d, 0x6c, + 0x3a, 0x22, 0x62, 0x65, 0x72, 0x6c, 0x69, 0x6e, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x52, + 0x0b, 0x62, 0x65, 0x72, 0x6c, 0x69, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x53, 0x0a, 0x0c, + 0x6c, 0x6f, 0x6e, 0x64, 0x6f, 0x6e, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x11, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x30, 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, + 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xf2, 0xde, 0x1f, + 0x13, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x6c, 0x6f, 0x6e, 0x64, 0x6f, 0x6e, 0x5f, 0x62, 0x6c, + 0x6f, 0x63, 0x6b, 0x22, 0x52, 0x0b, 0x6c, 0x6f, 0x6e, 0x64, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x12, 0x67, 0x0a, 0x13, 0x61, 0x72, 0x72, 0x6f, 0x77, 0x5f, 0x67, 0x6c, 0x61, 0x63, 0x69, + 0x65, 0x72, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x42, 0x37, + 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, + 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xf2, 0xde, 0x1f, 0x1a, 0x79, 0x61, 0x6d, + 0x6c, 0x3a, 0x22, 0x61, 0x72, 0x72, 0x6f, 0x77, 0x5f, 0x67, 0x6c, 0x61, 0x63, 0x69, 0x65, 0x72, + 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x52, 0x11, 0x61, 0x72, 0x72, 0x6f, 0x77, 0x47, 0x6c, + 0x61, 0x63, 0x69, 0x65, 0x72, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x64, 0x0a, 0x12, 0x67, 0x72, + 0x61, 0x79, 0x5f, 0x67, 0x6c, 0x61, 0x63, 0x69, 0x65, 0x72, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, + 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x42, 0x36, 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, + 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, + 0x74, 0xf2, 0xde, 0x1f, 0x19, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x67, 0x72, 0x61, 0x79, 0x5f, + 0x67, 0x6c, 0x61, 0x63, 0x69, 0x65, 0x72, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x52, 0x10, + 0x67, 0x72, 0x61, 0x79, 0x47, 0x6c, 0x61, 0x63, 0x69, 0x65, 0x72, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x12, 0x6a, 0x0a, 0x14, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x5f, 0x6e, 0x65, 0x74, 0x73, 0x70, 0x6c, + 0x69, 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x15, 0x20, 0x01, 0x28, 0x09, 0x42, 0x38, + 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, + 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xf2, 0xde, 0x1f, 0x1b, 0x79, 0x61, 0x6d, + 0x6c, 0x3a, 0x22, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x5f, 0x6e, 0x65, 0x74, 0x73, 0x70, 0x6c, 0x69, + 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x52, 0x12, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x4e, + 0x65, 0x74, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x59, 0x0a, 0x0e, + 0x73, 0x68, 0x61, 0x6e, 0x67, 0x68, 0x61, 0x69, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x16, + 0x20, 0x01, 0x28, 0x09, 0x42, 0x32, 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, + 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xf2, + 0xde, 0x1f, 0x15, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x73, 0x68, 0x61, 0x6e, 0x67, 0x68, 0x61, + 0x69, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x52, 0x0d, 0x73, 0x68, 0x61, 0x6e, 0x67, 0x68, + 0x61, 0x69, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x53, 0x0a, 0x0c, 0x63, 0x61, 0x6e, 0x63, 0x75, + 0x6e, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x17, 0x20, 0x01, 0x28, 0x09, 0x42, 0x30, 0xda, + 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, + 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xf2, 0xde, 0x1f, 0x13, 0x79, 0x61, 0x6d, 0x6c, + 0x3a, 0x22, 0x63, 0x61, 0x6e, 0x63, 0x75, 0x6e, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x52, + 0x0b, 0x63, 0x61, 0x6e, 0x63, 0x75, 0x6e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x19, 0x0a, 0x08, + 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x18, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, + 0x63, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, + 0x18, 0x19, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x1a, 0x0a, + 0x08, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x73, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x08, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x73, 0x4a, 0x04, 0x08, 0x0e, 0x10, 0x0f, 0x4a, + 0x04, 0x08, 0x0f, 0x10, 0x10, 0x4a, 0x04, 0x08, 0x10, 0x10, 0x11, 0x4a, 0x04, 0x08, 0x13, 0x10, + 0x14, 0x52, 0x0d, 0x79, 0x6f, 0x6c, 0x6f, 0x5f, 0x76, 0x33, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, + 0x52, 0x0b, 0x65, 0x77, 0x61, 0x73, 0x6d, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x0e, 0x63, + 0x61, 0x74, 0x61, 0x6c, 0x79, 0x73, 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x10, 0x6d, + 0x65, 0x72, 0x67, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x6b, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x22, + 0x2f, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x22, 0x50, 0x0a, 0x0f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, + 0x6f, 0x67, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x29, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, + 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x52, 0x04, 0x6c, 0x6f, + 0x67, 0x73, 0x22, 0xca, 0x02, 0x0a, 0x03, 0x4c, 0x6f, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x73, 0x12, 0x12, 0x0a, 0x04, + 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, + 0x12, 0x32, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x42, 0x0f, 0xea, 0xde, 0x1f, 0x0b, 0x62, 0x6c, 0x6f, 0x63, + 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, + 0x6d, 0x62, 0x65, 0x72, 0x12, 0x2c, 0x0a, 0x07, 0x74, 0x78, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x13, 0xea, 0xde, 0x1f, 0x0f, 0x74, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x52, 0x06, 0x74, 0x78, 0x48, 0x61, + 0x73, 0x68, 0x12, 0x2f, 0x0a, 0x08, 0x74, 0x78, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x04, 0x42, 0x14, 0xea, 0xde, 0x1f, 0x10, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x07, 0x74, 0x78, 0x49, 0x6e, + 0x64, 0x65, 0x78, 0x12, 0x2c, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x61, 0x73, + 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0d, 0xea, 0xde, 0x1f, 0x09, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, + 0x68, 0x12, 0x22, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, + 0x42, 0x0c, 0xea, 0xde, 0x1f, 0x08, 0x6c, 0x6f, 0x67, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x05, + 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x22, + 0x90, 0x02, 0x0a, 0x08, 0x54, 0x78, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x46, 0x0a, 0x10, + 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1b, 0xf2, 0xde, 0x1f, 0x17, 0x79, 0x61, 0x6d, 0x6c, + 0x3a, 0x22, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, + 0x73, 0x73, 0x22, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x6f, 0x6d, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x6f, 0x6d, 0x12, 0x57, 0x0a, 0x07, 0x74, 0x78, + 0x5f, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x6f, + 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x6f, 0x67, 0x73, 0x42, 0x1b, + 0xc8, 0xde, 0x1f, 0x00, 0xf2, 0xde, 0x1f, 0x0e, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x22, 0x74, 0x78, + 0x5f, 0x6c, 0x6f, 0x67, 0x73, 0x22, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x06, 0x74, 0x78, 0x4c, + 0x6f, 0x67, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x03, 0x72, 0x65, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x65, 0x72, 0x74, 0x65, + 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x76, 0x65, 0x72, 0x74, 0x65, + 0x64, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x61, 0x73, 0x5f, 0x75, 0x73, 0x65, 0x64, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x07, 0x67, 0x61, 0x73, 0x55, 0x73, 0x65, 0x64, 0x3a, 0x04, 0x88, 0xa0, + 0x1f, 0x00, 0x22, 0x61, 0x0a, 0x0b, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x75, 0x70, 0x6c, + 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x32, 0x0a, 0x0c, 0x73, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x09, 0x42, 0x0f, 0xea, 0xde, 0x1f, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4b, 0x65, + 0x79, 0x73, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4b, 0x65, 0x79, 0x73, 0x3a, + 0x04, 0x88, 0xa0, 0x1f, 0x00, 0x22, 0xa0, 0x04, 0x0a, 0x0b, 0x54, 0x72, 0x61, 0x63, 0x65, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x72, 0x61, 0x63, 0x65, 0x72, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x72, 0x61, 0x63, 0x65, 0x72, 0x12, 0x18, 0x0a, + 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x65, 0x78, 0x65, + 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x72, 0x65, 0x65, 0x78, 0x65, 0x63, 0x12, + 0x35, 0x0a, 0x0d, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x63, 0x6b, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x42, 0x10, 0xea, 0xde, 0x1f, 0x0c, 0x64, 0x69, 0x73, 0x61, + 0x62, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x63, 0x6b, 0x52, 0x0c, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, + 0x65, 0x53, 0x74, 0x61, 0x63, 0x6b, 0x12, 0x3b, 0x0a, 0x0f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, + 0x65, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x42, + 0x12, 0xea, 0xde, 0x1f, 0x0e, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x52, 0x0e, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x62, 0x75, 0x67, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x05, 0x64, 0x65, 0x62, 0x75, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, + 0x69, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, + 0x3b, 0x0a, 0x09, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, + 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x52, 0x09, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x0d, + 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, 0x0b, 0x20, + 0x01, 0x28, 0x08, 0x42, 0x10, 0xea, 0xde, 0x1f, 0x0c, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x4d, + 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x52, 0x0c, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x65, 0x6d, + 0x6f, 0x72, 0x79, 0x12, 0x42, 0x0a, 0x12, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x72, 0x65, + 0x74, 0x75, 0x72, 0x6e, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x42, + 0x14, 0xea, 0xde, 0x1f, 0x10, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x74, 0x75, 0x72, + 0x6e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x10, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x74, + 0x75, 0x72, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x12, 0x3e, 0x0a, 0x12, 0x74, 0x72, 0x61, 0x63, 0x65, + 0x72, 0x5f, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x0d, 0x20, + 0x01, 0x28, 0x09, 0x42, 0x10, 0xea, 0xde, 0x1f, 0x0c, 0x74, 0x72, 0x61, 0x63, 0x65, 0x72, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x10, 0x74, 0x72, 0x61, 0x63, 0x65, 0x72, 0x4a, 0x73, 0x6f, + 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, + 0x07, 0x10, 0x08, 0x52, 0x0e, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6d, 0x65, 0x6d, + 0x6f, 0x72, 0x79, 0x52, 0x13, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x74, + 0x75, 0x72, 0x6e, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x2a, 0xc0, 0x01, 0x0a, 0x0a, 0x41, 0x63, 0x63, + 0x65, 0x73, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3c, 0x0a, 0x1a, 0x41, 0x43, 0x43, 0x45, 0x53, + 0x53, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x45, 0x52, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4f, + 0x4e, 0x4c, 0x45, 0x53, 0x53, 0x10, 0x00, 0x1a, 0x1c, 0x8a, 0x9d, 0x20, 0x18, 0x41, 0x63, 0x63, + 0x65, 0x73, 0x73, 0x54, 0x79, 0x70, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x6c, 0x65, 0x73, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53, 0x5f, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x53, 0x54, 0x52, 0x49, 0x43, 0x54, 0x45, 0x44, 0x10, + 0x01, 0x1a, 0x18, 0x8a, 0x9d, 0x20, 0x14, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x79, 0x70, + 0x65, 0x52, 0x65, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x65, 0x64, 0x12, 0x38, 0x0a, 0x18, 0x41, + 0x43, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x45, 0x52, 0x4d, 0x49, + 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x45, 0x44, 0x10, 0x02, 0x1a, 0x1a, 0x8a, 0x9d, 0x20, 0x16, 0x41, + 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x79, 0x70, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x1a, 0x04, 0x88, 0xa3, 0x1e, 0x00, 0x42, 0xab, 0x01, 0x0a, 0x14, + 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, + 0x6d, 0x2e, 0x76, 0x31, 0x42, 0x08, 0x45, 0x76, 0x6d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, + 0x5a, 0x26, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, + 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x6d, + 0x2f, 0x76, 0x31, 0x3b, 0x76, 0x6d, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x45, 0x56, 0xaa, 0x02, + 0x10, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x45, 0x76, 0x6d, 0x2e, 0x56, 0x6d, 0x2e, 0x56, + 0x31, 0xca, 0x02, 0x10, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x45, 0x76, 0x6d, 0x5c, 0x56, + 0x6d, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1c, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x45, 0x76, + 0x6d, 0x5c, 0x56, 0x6d, 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, 0x45, 0x76, + 0x6d, 0x3a, 0x3a, 0x56, 0x6d, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_cosmos_evm_vm_v1_evm_proto_rawDescOnce sync.Once + file_cosmos_evm_vm_v1_evm_proto_rawDescData = file_cosmos_evm_vm_v1_evm_proto_rawDesc +) + +func file_cosmos_evm_vm_v1_evm_proto_rawDescGZIP() []byte { + file_cosmos_evm_vm_v1_evm_proto_rawDescOnce.Do(func() { + file_cosmos_evm_vm_v1_evm_proto_rawDescData = protoimpl.X.CompressGZIP(file_cosmos_evm_vm_v1_evm_proto_rawDescData) + }) + return file_cosmos_evm_vm_v1_evm_proto_rawDescData +} + +var file_cosmos_evm_vm_v1_evm_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_cosmos_evm_vm_v1_evm_proto_msgTypes = make([]protoimpl.MessageInfo, 10) +var file_cosmos_evm_vm_v1_evm_proto_goTypes = []interface{}{ + (AccessType)(0), // 0: cosmos.evm.vm.v1.AccessType + (*Params)(nil), // 1: cosmos.evm.vm.v1.Params + (*AccessControl)(nil), // 2: cosmos.evm.vm.v1.AccessControl + (*AccessControlType)(nil), // 3: cosmos.evm.vm.v1.AccessControlType + (*ChainConfig)(nil), // 4: cosmos.evm.vm.v1.ChainConfig + (*State)(nil), // 5: cosmos.evm.vm.v1.State + (*TransactionLogs)(nil), // 6: cosmos.evm.vm.v1.TransactionLogs + (*Log)(nil), // 7: cosmos.evm.vm.v1.Log + (*TxResult)(nil), // 8: cosmos.evm.vm.v1.TxResult + (*AccessTuple)(nil), // 9: cosmos.evm.vm.v1.AccessTuple + (*TraceConfig)(nil), // 10: cosmos.evm.vm.v1.TraceConfig +} +var file_cosmos_evm_vm_v1_evm_proto_depIdxs = []int32{ + 4, // 0: cosmos.evm.vm.v1.Params.chain_config:type_name -> cosmos.evm.vm.v1.ChainConfig + 2, // 1: cosmos.evm.vm.v1.Params.access_control:type_name -> cosmos.evm.vm.v1.AccessControl + 3, // 2: cosmos.evm.vm.v1.AccessControl.create:type_name -> cosmos.evm.vm.v1.AccessControlType + 3, // 3: cosmos.evm.vm.v1.AccessControl.call:type_name -> cosmos.evm.vm.v1.AccessControlType + 0, // 4: cosmos.evm.vm.v1.AccessControlType.access_type:type_name -> cosmos.evm.vm.v1.AccessType + 7, // 5: cosmos.evm.vm.v1.TransactionLogs.logs:type_name -> cosmos.evm.vm.v1.Log + 6, // 6: cosmos.evm.vm.v1.TxResult.tx_logs:type_name -> cosmos.evm.vm.v1.TransactionLogs + 4, // 7: cosmos.evm.vm.v1.TraceConfig.overrides:type_name -> cosmos.evm.vm.v1.ChainConfig + 8, // [8:8] is the sub-list for method output_type + 8, // [8:8] is the sub-list for method input_type + 8, // [8:8] is the sub-list for extension type_name + 8, // [8:8] is the sub-list for extension extendee + 0, // [0:8] is the sub-list for field type_name +} + +func init() { file_cosmos_evm_vm_v1_evm_proto_init() } +func file_cosmos_evm_vm_v1_evm_proto_init() { + if File_cosmos_evm_vm_v1_evm_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_cosmos_evm_vm_v1_evm_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Params); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cosmos_evm_vm_v1_evm_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AccessControl); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cosmos_evm_vm_v1_evm_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AccessControlType); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cosmos_evm_vm_v1_evm_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChainConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cosmos_evm_vm_v1_evm_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*State); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cosmos_evm_vm_v1_evm_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TransactionLogs); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cosmos_evm_vm_v1_evm_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Log); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cosmos_evm_vm_v1_evm_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TxResult); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cosmos_evm_vm_v1_evm_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AccessTuple); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cosmos_evm_vm_v1_evm_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TraceConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cosmos_evm_vm_v1_evm_proto_rawDesc, + NumEnums: 1, + NumMessages: 10, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_cosmos_evm_vm_v1_evm_proto_goTypes, + DependencyIndexes: file_cosmos_evm_vm_v1_evm_proto_depIdxs, + EnumInfos: file_cosmos_evm_vm_v1_evm_proto_enumTypes, + MessageInfos: file_cosmos_evm_vm_v1_evm_proto_msgTypes, + }.Build() + File_cosmos_evm_vm_v1_evm_proto = out.File + file_cosmos_evm_vm_v1_evm_proto_rawDesc = nil + file_cosmos_evm_vm_v1_evm_proto_goTypes = nil + file_cosmos_evm_vm_v1_evm_proto_depIdxs = nil +} diff --git a/api/cosmos/evm/vm/v1/tx.pulsar.go b/api/cosmos/evm/vm/v1/tx.pulsar.go new file mode 100644 index 000000000..5c27e0b4e --- /dev/null +++ b/api/cosmos/evm/vm/v1/tx.pulsar.go @@ -0,0 +1,6730 @@ +// Code generated by protoc-gen-go-pulsar. DO NOT EDIT. +package vmv1 + +import ( + _ "cosmossdk.io/api/amino" + _ "cosmossdk.io/api/cosmos/msg/v1" + binary "encoding/binary" + fmt "fmt" + _ "github.com/cosmos/cosmos-proto" + runtime "github.com/cosmos/cosmos-proto/runtime" + _ "github.com/cosmos/gogoproto/gogoproto" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoiface "google.golang.org/protobuf/runtime/protoiface" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + anypb "google.golang.org/protobuf/types/known/anypb" + io "io" + math "math" + reflect "reflect" + sync "sync" +) + +var ( + md_MsgEthereumTx protoreflect.MessageDescriptor + fd_MsgEthereumTx_data protoreflect.FieldDescriptor + fd_MsgEthereumTx_size protoreflect.FieldDescriptor + fd_MsgEthereumTx_hash protoreflect.FieldDescriptor + fd_MsgEthereumTx_from protoreflect.FieldDescriptor +) + +func init() { + file_cosmos_evm_vm_v1_tx_proto_init() + md_MsgEthereumTx = File_cosmos_evm_vm_v1_tx_proto.Messages().ByName("MsgEthereumTx") + fd_MsgEthereumTx_data = md_MsgEthereumTx.Fields().ByName("data") + fd_MsgEthereumTx_size = md_MsgEthereumTx.Fields().ByName("size") + fd_MsgEthereumTx_hash = md_MsgEthereumTx.Fields().ByName("hash") + fd_MsgEthereumTx_from = md_MsgEthereumTx.Fields().ByName("from") +} + +var _ protoreflect.Message = (*fastReflection_MsgEthereumTx)(nil) + +type fastReflection_MsgEthereumTx MsgEthereumTx + +func (x *MsgEthereumTx) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgEthereumTx)(x) +} + +func (x *MsgEthereumTx) slowProtoReflect() protoreflect.Message { + mi := &file_cosmos_evm_vm_v1_tx_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_MsgEthereumTx_messageType fastReflection_MsgEthereumTx_messageType +var _ protoreflect.MessageType = fastReflection_MsgEthereumTx_messageType{} + +type fastReflection_MsgEthereumTx_messageType struct{} + +func (x fastReflection_MsgEthereumTx_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgEthereumTx)(nil) +} +func (x fastReflection_MsgEthereumTx_messageType) New() protoreflect.Message { + return new(fastReflection_MsgEthereumTx) +} +func (x fastReflection_MsgEthereumTx_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgEthereumTx +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgEthereumTx) Descriptor() protoreflect.MessageDescriptor { + return md_MsgEthereumTx +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_MsgEthereumTx) Type() protoreflect.MessageType { + return _fastReflection_MsgEthereumTx_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgEthereumTx) New() protoreflect.Message { + return new(fastReflection_MsgEthereumTx) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgEthereumTx) Interface() protoreflect.ProtoMessage { + return (*MsgEthereumTx)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_MsgEthereumTx) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Data != nil { + value := protoreflect.ValueOfMessage(x.Data.ProtoReflect()) + if !f(fd_MsgEthereumTx_data, value) { + return + } + } + if x.Size != float64(0) || math.Signbit(x.Size) { + value := protoreflect.ValueOfFloat64(x.Size) + if !f(fd_MsgEthereumTx_size, value) { + return + } + } + if x.Hash != "" { + value := protoreflect.ValueOfString(x.Hash) + if !f(fd_MsgEthereumTx_hash, value) { + return + } + } + if x.From != "" { + value := protoreflect.ValueOfString(x.From) + if !f(fd_MsgEthereumTx_from, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_MsgEthereumTx) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "cosmos.evm.vm.v1.MsgEthereumTx.data": + return x.Data != nil + case "cosmos.evm.vm.v1.MsgEthereumTx.size": + return x.Size != float64(0) || math.Signbit(x.Size) + case "cosmos.evm.vm.v1.MsgEthereumTx.hash": + return x.Hash != "" + case "cosmos.evm.vm.v1.MsgEthereumTx.from": + return x.From != "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgEthereumTx")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgEthereumTx does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgEthereumTx) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "cosmos.evm.vm.v1.MsgEthereumTx.data": + x.Data = nil + case "cosmos.evm.vm.v1.MsgEthereumTx.size": + x.Size = float64(0) + case "cosmos.evm.vm.v1.MsgEthereumTx.hash": + x.Hash = "" + case "cosmos.evm.vm.v1.MsgEthereumTx.from": + x.From = "" + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgEthereumTx")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgEthereumTx does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_MsgEthereumTx) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "cosmos.evm.vm.v1.MsgEthereumTx.data": + value := x.Data + return protoreflect.ValueOfMessage(value.ProtoReflect()) + case "cosmos.evm.vm.v1.MsgEthereumTx.size": + value := x.Size + return protoreflect.ValueOfFloat64(value) + case "cosmos.evm.vm.v1.MsgEthereumTx.hash": + value := x.Hash + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.MsgEthereumTx.from": + value := x.From + return protoreflect.ValueOfString(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgEthereumTx")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgEthereumTx does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgEthereumTx) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "cosmos.evm.vm.v1.MsgEthereumTx.data": + x.Data = value.Message().Interface().(*anypb.Any) + case "cosmos.evm.vm.v1.MsgEthereumTx.size": + x.Size = value.Float() + case "cosmos.evm.vm.v1.MsgEthereumTx.hash": + x.Hash = value.Interface().(string) + case "cosmos.evm.vm.v1.MsgEthereumTx.from": + x.From = value.Interface().(string) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgEthereumTx")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgEthereumTx does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgEthereumTx) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cosmos.evm.vm.v1.MsgEthereumTx.data": + if x.Data == nil { + x.Data = new(anypb.Any) + } + return protoreflect.ValueOfMessage(x.Data.ProtoReflect()) + case "cosmos.evm.vm.v1.MsgEthereumTx.size": + panic(fmt.Errorf("field size of message cosmos.evm.vm.v1.MsgEthereumTx is not mutable")) + case "cosmos.evm.vm.v1.MsgEthereumTx.hash": + panic(fmt.Errorf("field hash of message cosmos.evm.vm.v1.MsgEthereumTx is not mutable")) + case "cosmos.evm.vm.v1.MsgEthereumTx.from": + panic(fmt.Errorf("field from of message cosmos.evm.vm.v1.MsgEthereumTx is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgEthereumTx")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgEthereumTx does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_MsgEthereumTx) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cosmos.evm.vm.v1.MsgEthereumTx.data": + m := new(anypb.Any) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + case "cosmos.evm.vm.v1.MsgEthereumTx.size": + return protoreflect.ValueOfFloat64(float64(0)) + case "cosmos.evm.vm.v1.MsgEthereumTx.hash": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.MsgEthereumTx.from": + return protoreflect.ValueOfString("") + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgEthereumTx")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgEthereumTx does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_MsgEthereumTx) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.MsgEthereumTx", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_MsgEthereumTx) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgEthereumTx) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_MsgEthereumTx) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_MsgEthereumTx) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgEthereumTx) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.Data != nil { + l = options.Size(x.Data) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.Size != 0 || math.Signbit(x.Size) { + n += 9 + } + l = len(x.Hash) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.From) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*MsgEthereumTx) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.From) > 0 { + i -= len(x.From) + copy(dAtA[i:], x.From) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.From))) + i-- + dAtA[i] = 0x22 + } + if len(x.Hash) > 0 { + i -= len(x.Hash) + copy(dAtA[i:], x.Hash) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Hash))) + i-- + dAtA[i] = 0x1a + } + if x.Size != 0 || math.Signbit(x.Size) { + i -= 8 + binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(x.Size)))) + i-- + dAtA[i] = 0x11 + } + if x.Data != nil { + encoded, err := options.Marshal(x.Data) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*MsgEthereumTx) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgEthereumTx: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgEthereumTx: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Data == nil { + x.Data = &anypb.Any{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Data); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 2: + if wireType != 1 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Size", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + v = uint64(binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + x.Size = float64(math.Float64frombits(v)) + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Hash", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Hash = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field From", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.From = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_LegacyTx protoreflect.MessageDescriptor + fd_LegacyTx_nonce protoreflect.FieldDescriptor + fd_LegacyTx_gas_price protoreflect.FieldDescriptor + fd_LegacyTx_gas protoreflect.FieldDescriptor + fd_LegacyTx_to protoreflect.FieldDescriptor + fd_LegacyTx_value protoreflect.FieldDescriptor + fd_LegacyTx_data protoreflect.FieldDescriptor + fd_LegacyTx_v protoreflect.FieldDescriptor + fd_LegacyTx_r protoreflect.FieldDescriptor + fd_LegacyTx_s protoreflect.FieldDescriptor +) + +func init() { + file_cosmos_evm_vm_v1_tx_proto_init() + md_LegacyTx = File_cosmos_evm_vm_v1_tx_proto.Messages().ByName("LegacyTx") + fd_LegacyTx_nonce = md_LegacyTx.Fields().ByName("nonce") + fd_LegacyTx_gas_price = md_LegacyTx.Fields().ByName("gas_price") + fd_LegacyTx_gas = md_LegacyTx.Fields().ByName("gas") + fd_LegacyTx_to = md_LegacyTx.Fields().ByName("to") + fd_LegacyTx_value = md_LegacyTx.Fields().ByName("value") + fd_LegacyTx_data = md_LegacyTx.Fields().ByName("data") + fd_LegacyTx_v = md_LegacyTx.Fields().ByName("v") + fd_LegacyTx_r = md_LegacyTx.Fields().ByName("r") + fd_LegacyTx_s = md_LegacyTx.Fields().ByName("s") +} + +var _ protoreflect.Message = (*fastReflection_LegacyTx)(nil) + +type fastReflection_LegacyTx LegacyTx + +func (x *LegacyTx) ProtoReflect() protoreflect.Message { + return (*fastReflection_LegacyTx)(x) +} + +func (x *LegacyTx) slowProtoReflect() protoreflect.Message { + mi := &file_cosmos_evm_vm_v1_tx_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_LegacyTx_messageType fastReflection_LegacyTx_messageType +var _ protoreflect.MessageType = fastReflection_LegacyTx_messageType{} + +type fastReflection_LegacyTx_messageType struct{} + +func (x fastReflection_LegacyTx_messageType) Zero() protoreflect.Message { + return (*fastReflection_LegacyTx)(nil) +} +func (x fastReflection_LegacyTx_messageType) New() protoreflect.Message { + return new(fastReflection_LegacyTx) +} +func (x fastReflection_LegacyTx_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_LegacyTx +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_LegacyTx) Descriptor() protoreflect.MessageDescriptor { + return md_LegacyTx +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_LegacyTx) Type() protoreflect.MessageType { + return _fastReflection_LegacyTx_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_LegacyTx) New() protoreflect.Message { + return new(fastReflection_LegacyTx) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_LegacyTx) Interface() protoreflect.ProtoMessage { + return (*LegacyTx)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_LegacyTx) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Nonce != uint64(0) { + value := protoreflect.ValueOfUint64(x.Nonce) + if !f(fd_LegacyTx_nonce, value) { + return + } + } + if x.GasPrice != "" { + value := protoreflect.ValueOfString(x.GasPrice) + if !f(fd_LegacyTx_gas_price, value) { + return + } + } + if x.Gas != uint64(0) { + value := protoreflect.ValueOfUint64(x.Gas) + if !f(fd_LegacyTx_gas, value) { + return + } + } + if x.To != "" { + value := protoreflect.ValueOfString(x.To) + if !f(fd_LegacyTx_to, value) { + return + } + } + if x.Value != "" { + value := protoreflect.ValueOfString(x.Value) + if !f(fd_LegacyTx_value, value) { + return + } + } + if len(x.Data) != 0 { + value := protoreflect.ValueOfBytes(x.Data) + if !f(fd_LegacyTx_data, value) { + return + } + } + if len(x.V) != 0 { + value := protoreflect.ValueOfBytes(x.V) + if !f(fd_LegacyTx_v, value) { + return + } + } + if len(x.R) != 0 { + value := protoreflect.ValueOfBytes(x.R) + if !f(fd_LegacyTx_r, value) { + return + } + } + if len(x.S) != 0 { + value := protoreflect.ValueOfBytes(x.S) + if !f(fd_LegacyTx_s, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_LegacyTx) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "cosmos.evm.vm.v1.LegacyTx.nonce": + return x.Nonce != uint64(0) + case "cosmos.evm.vm.v1.LegacyTx.gas_price": + return x.GasPrice != "" + case "cosmos.evm.vm.v1.LegacyTx.gas": + return x.Gas != uint64(0) + case "cosmos.evm.vm.v1.LegacyTx.to": + return x.To != "" + case "cosmos.evm.vm.v1.LegacyTx.value": + return x.Value != "" + case "cosmos.evm.vm.v1.LegacyTx.data": + return len(x.Data) != 0 + case "cosmos.evm.vm.v1.LegacyTx.v": + return len(x.V) != 0 + case "cosmos.evm.vm.v1.LegacyTx.r": + return len(x.R) != 0 + case "cosmos.evm.vm.v1.LegacyTx.s": + return len(x.S) != 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.LegacyTx")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.LegacyTx does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_LegacyTx) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "cosmos.evm.vm.v1.LegacyTx.nonce": + x.Nonce = uint64(0) + case "cosmos.evm.vm.v1.LegacyTx.gas_price": + x.GasPrice = "" + case "cosmos.evm.vm.v1.LegacyTx.gas": + x.Gas = uint64(0) + case "cosmos.evm.vm.v1.LegacyTx.to": + x.To = "" + case "cosmos.evm.vm.v1.LegacyTx.value": + x.Value = "" + case "cosmos.evm.vm.v1.LegacyTx.data": + x.Data = nil + case "cosmos.evm.vm.v1.LegacyTx.v": + x.V = nil + case "cosmos.evm.vm.v1.LegacyTx.r": + x.R = nil + case "cosmos.evm.vm.v1.LegacyTx.s": + x.S = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.LegacyTx")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.LegacyTx does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_LegacyTx) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "cosmos.evm.vm.v1.LegacyTx.nonce": + value := x.Nonce + return protoreflect.ValueOfUint64(value) + case "cosmos.evm.vm.v1.LegacyTx.gas_price": + value := x.GasPrice + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.LegacyTx.gas": + value := x.Gas + return protoreflect.ValueOfUint64(value) + case "cosmos.evm.vm.v1.LegacyTx.to": + value := x.To + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.LegacyTx.value": + value := x.Value + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.LegacyTx.data": + value := x.Data + return protoreflect.ValueOfBytes(value) + case "cosmos.evm.vm.v1.LegacyTx.v": + value := x.V + return protoreflect.ValueOfBytes(value) + case "cosmos.evm.vm.v1.LegacyTx.r": + value := x.R + return protoreflect.ValueOfBytes(value) + case "cosmos.evm.vm.v1.LegacyTx.s": + value := x.S + return protoreflect.ValueOfBytes(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.LegacyTx")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.LegacyTx does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_LegacyTx) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "cosmos.evm.vm.v1.LegacyTx.nonce": + x.Nonce = value.Uint() + case "cosmos.evm.vm.v1.LegacyTx.gas_price": + x.GasPrice = value.Interface().(string) + case "cosmos.evm.vm.v1.LegacyTx.gas": + x.Gas = value.Uint() + case "cosmos.evm.vm.v1.LegacyTx.to": + x.To = value.Interface().(string) + case "cosmos.evm.vm.v1.LegacyTx.value": + x.Value = value.Interface().(string) + case "cosmos.evm.vm.v1.LegacyTx.data": + x.Data = value.Bytes() + case "cosmos.evm.vm.v1.LegacyTx.v": + x.V = value.Bytes() + case "cosmos.evm.vm.v1.LegacyTx.r": + x.R = value.Bytes() + case "cosmos.evm.vm.v1.LegacyTx.s": + x.S = value.Bytes() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.LegacyTx")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.LegacyTx does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_LegacyTx) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cosmos.evm.vm.v1.LegacyTx.nonce": + panic(fmt.Errorf("field nonce of message cosmos.evm.vm.v1.LegacyTx is not mutable")) + case "cosmos.evm.vm.v1.LegacyTx.gas_price": + panic(fmt.Errorf("field gas_price of message cosmos.evm.vm.v1.LegacyTx is not mutable")) + case "cosmos.evm.vm.v1.LegacyTx.gas": + panic(fmt.Errorf("field gas of message cosmos.evm.vm.v1.LegacyTx is not mutable")) + case "cosmos.evm.vm.v1.LegacyTx.to": + panic(fmt.Errorf("field to of message cosmos.evm.vm.v1.LegacyTx is not mutable")) + case "cosmos.evm.vm.v1.LegacyTx.value": + panic(fmt.Errorf("field value of message cosmos.evm.vm.v1.LegacyTx is not mutable")) + case "cosmos.evm.vm.v1.LegacyTx.data": + panic(fmt.Errorf("field data of message cosmos.evm.vm.v1.LegacyTx is not mutable")) + case "cosmos.evm.vm.v1.LegacyTx.v": + panic(fmt.Errorf("field v of message cosmos.evm.vm.v1.LegacyTx is not mutable")) + case "cosmos.evm.vm.v1.LegacyTx.r": + panic(fmt.Errorf("field r of message cosmos.evm.vm.v1.LegacyTx is not mutable")) + case "cosmos.evm.vm.v1.LegacyTx.s": + panic(fmt.Errorf("field s of message cosmos.evm.vm.v1.LegacyTx is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.LegacyTx")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.LegacyTx does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_LegacyTx) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cosmos.evm.vm.v1.LegacyTx.nonce": + return protoreflect.ValueOfUint64(uint64(0)) + case "cosmos.evm.vm.v1.LegacyTx.gas_price": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.LegacyTx.gas": + return protoreflect.ValueOfUint64(uint64(0)) + case "cosmos.evm.vm.v1.LegacyTx.to": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.LegacyTx.value": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.LegacyTx.data": + return protoreflect.ValueOfBytes(nil) + case "cosmos.evm.vm.v1.LegacyTx.v": + return protoreflect.ValueOfBytes(nil) + case "cosmos.evm.vm.v1.LegacyTx.r": + return protoreflect.ValueOfBytes(nil) + case "cosmos.evm.vm.v1.LegacyTx.s": + return protoreflect.ValueOfBytes(nil) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.LegacyTx")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.LegacyTx does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_LegacyTx) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.LegacyTx", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_LegacyTx) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_LegacyTx) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_LegacyTx) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_LegacyTx) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*LegacyTx) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.Nonce != 0 { + n += 1 + runtime.Sov(uint64(x.Nonce)) + } + l = len(x.GasPrice) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.Gas != 0 { + n += 1 + runtime.Sov(uint64(x.Gas)) + } + l = len(x.To) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Value) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Data) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.V) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.R) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.S) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*LegacyTx) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.S) > 0 { + i -= len(x.S) + copy(dAtA[i:], x.S) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.S))) + i-- + dAtA[i] = 0x4a + } + if len(x.R) > 0 { + i -= len(x.R) + copy(dAtA[i:], x.R) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.R))) + i-- + dAtA[i] = 0x42 + } + if len(x.V) > 0 { + i -= len(x.V) + copy(dAtA[i:], x.V) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.V))) + i-- + dAtA[i] = 0x3a + } + if len(x.Data) > 0 { + i -= len(x.Data) + copy(dAtA[i:], x.Data) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Data))) + i-- + dAtA[i] = 0x32 + } + if len(x.Value) > 0 { + i -= len(x.Value) + copy(dAtA[i:], x.Value) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Value))) + i-- + dAtA[i] = 0x2a + } + if len(x.To) > 0 { + i -= len(x.To) + copy(dAtA[i:], x.To) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.To))) + i-- + dAtA[i] = 0x22 + } + if x.Gas != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Gas)) + i-- + dAtA[i] = 0x18 + } + if len(x.GasPrice) > 0 { + i -= len(x.GasPrice) + copy(dAtA[i:], x.GasPrice) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.GasPrice))) + i-- + dAtA[i] = 0x12 + } + if x.Nonce != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Nonce)) + i-- + dAtA[i] = 0x8 + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*LegacyTx) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: LegacyTx: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: LegacyTx: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Nonce", wireType) + } + x.Nonce = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.Nonce |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GasPrice", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.GasPrice = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Gas", wireType) + } + x.Gas = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.Gas |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field To", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.To = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Value = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Data = append(x.Data[:0], dAtA[iNdEx:postIndex]...) + if x.Data == nil { + x.Data = []byte{} + } + iNdEx = postIndex + case 7: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field V", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.V = append(x.V[:0], dAtA[iNdEx:postIndex]...) + if x.V == nil { + x.V = []byte{} + } + iNdEx = postIndex + case 8: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field R", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.R = append(x.R[:0], dAtA[iNdEx:postIndex]...) + if x.R == nil { + x.R = []byte{} + } + iNdEx = postIndex + case 9: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field S", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.S = append(x.S[:0], dAtA[iNdEx:postIndex]...) + if x.S == nil { + x.S = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var _ protoreflect.List = (*_AccessListTx_8_list)(nil) + +type _AccessListTx_8_list struct { + list *[]*AccessTuple +} + +func (x *_AccessListTx_8_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_AccessListTx_8_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_AccessListTx_8_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*AccessTuple) + (*x.list)[i] = concreteValue +} + +func (x *_AccessListTx_8_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*AccessTuple) + *x.list = append(*x.list, concreteValue) +} + +func (x *_AccessListTx_8_list) AppendMutable() protoreflect.Value { + v := new(AccessTuple) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_AccessListTx_8_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_AccessListTx_8_list) NewElement() protoreflect.Value { + v := new(AccessTuple) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_AccessListTx_8_list) IsValid() bool { + return x.list != nil +} + +var ( + md_AccessListTx protoreflect.MessageDescriptor + fd_AccessListTx_chain_id protoreflect.FieldDescriptor + fd_AccessListTx_nonce protoreflect.FieldDescriptor + fd_AccessListTx_gas_price protoreflect.FieldDescriptor + fd_AccessListTx_gas protoreflect.FieldDescriptor + fd_AccessListTx_to protoreflect.FieldDescriptor + fd_AccessListTx_value protoreflect.FieldDescriptor + fd_AccessListTx_data protoreflect.FieldDescriptor + fd_AccessListTx_accesses protoreflect.FieldDescriptor + fd_AccessListTx_v protoreflect.FieldDescriptor + fd_AccessListTx_r protoreflect.FieldDescriptor + fd_AccessListTx_s protoreflect.FieldDescriptor +) + +func init() { + file_cosmos_evm_vm_v1_tx_proto_init() + md_AccessListTx = File_cosmos_evm_vm_v1_tx_proto.Messages().ByName("AccessListTx") + fd_AccessListTx_chain_id = md_AccessListTx.Fields().ByName("chain_id") + fd_AccessListTx_nonce = md_AccessListTx.Fields().ByName("nonce") + fd_AccessListTx_gas_price = md_AccessListTx.Fields().ByName("gas_price") + fd_AccessListTx_gas = md_AccessListTx.Fields().ByName("gas") + fd_AccessListTx_to = md_AccessListTx.Fields().ByName("to") + fd_AccessListTx_value = md_AccessListTx.Fields().ByName("value") + fd_AccessListTx_data = md_AccessListTx.Fields().ByName("data") + fd_AccessListTx_accesses = md_AccessListTx.Fields().ByName("accesses") + fd_AccessListTx_v = md_AccessListTx.Fields().ByName("v") + fd_AccessListTx_r = md_AccessListTx.Fields().ByName("r") + fd_AccessListTx_s = md_AccessListTx.Fields().ByName("s") +} + +var _ protoreflect.Message = (*fastReflection_AccessListTx)(nil) + +type fastReflection_AccessListTx AccessListTx + +func (x *AccessListTx) ProtoReflect() protoreflect.Message { + return (*fastReflection_AccessListTx)(x) +} + +func (x *AccessListTx) slowProtoReflect() protoreflect.Message { + mi := &file_cosmos_evm_vm_v1_tx_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_AccessListTx_messageType fastReflection_AccessListTx_messageType +var _ protoreflect.MessageType = fastReflection_AccessListTx_messageType{} + +type fastReflection_AccessListTx_messageType struct{} + +func (x fastReflection_AccessListTx_messageType) Zero() protoreflect.Message { + return (*fastReflection_AccessListTx)(nil) +} +func (x fastReflection_AccessListTx_messageType) New() protoreflect.Message { + return new(fastReflection_AccessListTx) +} +func (x fastReflection_AccessListTx_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_AccessListTx +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_AccessListTx) Descriptor() protoreflect.MessageDescriptor { + return md_AccessListTx +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_AccessListTx) Type() protoreflect.MessageType { + return _fastReflection_AccessListTx_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_AccessListTx) New() protoreflect.Message { + return new(fastReflection_AccessListTx) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_AccessListTx) Interface() protoreflect.ProtoMessage { + return (*AccessListTx)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_AccessListTx) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.ChainId != "" { + value := protoreflect.ValueOfString(x.ChainId) + if !f(fd_AccessListTx_chain_id, value) { + return + } + } + if x.Nonce != uint64(0) { + value := protoreflect.ValueOfUint64(x.Nonce) + if !f(fd_AccessListTx_nonce, value) { + return + } + } + if x.GasPrice != "" { + value := protoreflect.ValueOfString(x.GasPrice) + if !f(fd_AccessListTx_gas_price, value) { + return + } + } + if x.Gas != uint64(0) { + value := protoreflect.ValueOfUint64(x.Gas) + if !f(fd_AccessListTx_gas, value) { + return + } + } + if x.To != "" { + value := protoreflect.ValueOfString(x.To) + if !f(fd_AccessListTx_to, value) { + return + } + } + if x.Value != "" { + value := protoreflect.ValueOfString(x.Value) + if !f(fd_AccessListTx_value, value) { + return + } + } + if len(x.Data) != 0 { + value := protoreflect.ValueOfBytes(x.Data) + if !f(fd_AccessListTx_data, value) { + return + } + } + if len(x.Accesses) != 0 { + value := protoreflect.ValueOfList(&_AccessListTx_8_list{list: &x.Accesses}) + if !f(fd_AccessListTx_accesses, value) { + return + } + } + if len(x.V) != 0 { + value := protoreflect.ValueOfBytes(x.V) + if !f(fd_AccessListTx_v, value) { + return + } + } + if len(x.R) != 0 { + value := protoreflect.ValueOfBytes(x.R) + if !f(fd_AccessListTx_r, value) { + return + } + } + if len(x.S) != 0 { + value := protoreflect.ValueOfBytes(x.S) + if !f(fd_AccessListTx_s, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_AccessListTx) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "cosmos.evm.vm.v1.AccessListTx.chain_id": + return x.ChainId != "" + case "cosmos.evm.vm.v1.AccessListTx.nonce": + return x.Nonce != uint64(0) + case "cosmos.evm.vm.v1.AccessListTx.gas_price": + return x.GasPrice != "" + case "cosmos.evm.vm.v1.AccessListTx.gas": + return x.Gas != uint64(0) + case "cosmos.evm.vm.v1.AccessListTx.to": + return x.To != "" + case "cosmos.evm.vm.v1.AccessListTx.value": + return x.Value != "" + case "cosmos.evm.vm.v1.AccessListTx.data": + return len(x.Data) != 0 + case "cosmos.evm.vm.v1.AccessListTx.accesses": + return len(x.Accesses) != 0 + case "cosmos.evm.vm.v1.AccessListTx.v": + return len(x.V) != 0 + case "cosmos.evm.vm.v1.AccessListTx.r": + return len(x.R) != 0 + case "cosmos.evm.vm.v1.AccessListTx.s": + return len(x.S) != 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.AccessListTx")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.AccessListTx does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AccessListTx) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "cosmos.evm.vm.v1.AccessListTx.chain_id": + x.ChainId = "" + case "cosmos.evm.vm.v1.AccessListTx.nonce": + x.Nonce = uint64(0) + case "cosmos.evm.vm.v1.AccessListTx.gas_price": + x.GasPrice = "" + case "cosmos.evm.vm.v1.AccessListTx.gas": + x.Gas = uint64(0) + case "cosmos.evm.vm.v1.AccessListTx.to": + x.To = "" + case "cosmos.evm.vm.v1.AccessListTx.value": + x.Value = "" + case "cosmos.evm.vm.v1.AccessListTx.data": + x.Data = nil + case "cosmos.evm.vm.v1.AccessListTx.accesses": + x.Accesses = nil + case "cosmos.evm.vm.v1.AccessListTx.v": + x.V = nil + case "cosmos.evm.vm.v1.AccessListTx.r": + x.R = nil + case "cosmos.evm.vm.v1.AccessListTx.s": + x.S = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.AccessListTx")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.AccessListTx does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_AccessListTx) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "cosmos.evm.vm.v1.AccessListTx.chain_id": + value := x.ChainId + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.AccessListTx.nonce": + value := x.Nonce + return protoreflect.ValueOfUint64(value) + case "cosmos.evm.vm.v1.AccessListTx.gas_price": + value := x.GasPrice + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.AccessListTx.gas": + value := x.Gas + return protoreflect.ValueOfUint64(value) + case "cosmos.evm.vm.v1.AccessListTx.to": + value := x.To + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.AccessListTx.value": + value := x.Value + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.AccessListTx.data": + value := x.Data + return protoreflect.ValueOfBytes(value) + case "cosmos.evm.vm.v1.AccessListTx.accesses": + if len(x.Accesses) == 0 { + return protoreflect.ValueOfList(&_AccessListTx_8_list{}) + } + listValue := &_AccessListTx_8_list{list: &x.Accesses} + return protoreflect.ValueOfList(listValue) + case "cosmos.evm.vm.v1.AccessListTx.v": + value := x.V + return protoreflect.ValueOfBytes(value) + case "cosmos.evm.vm.v1.AccessListTx.r": + value := x.R + return protoreflect.ValueOfBytes(value) + case "cosmos.evm.vm.v1.AccessListTx.s": + value := x.S + return protoreflect.ValueOfBytes(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.AccessListTx")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.AccessListTx does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AccessListTx) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "cosmos.evm.vm.v1.AccessListTx.chain_id": + x.ChainId = value.Interface().(string) + case "cosmos.evm.vm.v1.AccessListTx.nonce": + x.Nonce = value.Uint() + case "cosmos.evm.vm.v1.AccessListTx.gas_price": + x.GasPrice = value.Interface().(string) + case "cosmos.evm.vm.v1.AccessListTx.gas": + x.Gas = value.Uint() + case "cosmos.evm.vm.v1.AccessListTx.to": + x.To = value.Interface().(string) + case "cosmos.evm.vm.v1.AccessListTx.value": + x.Value = value.Interface().(string) + case "cosmos.evm.vm.v1.AccessListTx.data": + x.Data = value.Bytes() + case "cosmos.evm.vm.v1.AccessListTx.accesses": + lv := value.List() + clv := lv.(*_AccessListTx_8_list) + x.Accesses = *clv.list + case "cosmos.evm.vm.v1.AccessListTx.v": + x.V = value.Bytes() + case "cosmos.evm.vm.v1.AccessListTx.r": + x.R = value.Bytes() + case "cosmos.evm.vm.v1.AccessListTx.s": + x.S = value.Bytes() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.AccessListTx")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.AccessListTx does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AccessListTx) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cosmos.evm.vm.v1.AccessListTx.accesses": + if x.Accesses == nil { + x.Accesses = []*AccessTuple{} + } + value := &_AccessListTx_8_list{list: &x.Accesses} + return protoreflect.ValueOfList(value) + case "cosmos.evm.vm.v1.AccessListTx.chain_id": + panic(fmt.Errorf("field chain_id of message cosmos.evm.vm.v1.AccessListTx is not mutable")) + case "cosmos.evm.vm.v1.AccessListTx.nonce": + panic(fmt.Errorf("field nonce of message cosmos.evm.vm.v1.AccessListTx is not mutable")) + case "cosmos.evm.vm.v1.AccessListTx.gas_price": + panic(fmt.Errorf("field gas_price of message cosmos.evm.vm.v1.AccessListTx is not mutable")) + case "cosmos.evm.vm.v1.AccessListTx.gas": + panic(fmt.Errorf("field gas of message cosmos.evm.vm.v1.AccessListTx is not mutable")) + case "cosmos.evm.vm.v1.AccessListTx.to": + panic(fmt.Errorf("field to of message cosmos.evm.vm.v1.AccessListTx is not mutable")) + case "cosmos.evm.vm.v1.AccessListTx.value": + panic(fmt.Errorf("field value of message cosmos.evm.vm.v1.AccessListTx is not mutable")) + case "cosmos.evm.vm.v1.AccessListTx.data": + panic(fmt.Errorf("field data of message cosmos.evm.vm.v1.AccessListTx is not mutable")) + case "cosmos.evm.vm.v1.AccessListTx.v": + panic(fmt.Errorf("field v of message cosmos.evm.vm.v1.AccessListTx is not mutable")) + case "cosmos.evm.vm.v1.AccessListTx.r": + panic(fmt.Errorf("field r of message cosmos.evm.vm.v1.AccessListTx is not mutable")) + case "cosmos.evm.vm.v1.AccessListTx.s": + panic(fmt.Errorf("field s of message cosmos.evm.vm.v1.AccessListTx is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.AccessListTx")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.AccessListTx does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_AccessListTx) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cosmos.evm.vm.v1.AccessListTx.chain_id": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.AccessListTx.nonce": + return protoreflect.ValueOfUint64(uint64(0)) + case "cosmos.evm.vm.v1.AccessListTx.gas_price": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.AccessListTx.gas": + return protoreflect.ValueOfUint64(uint64(0)) + case "cosmos.evm.vm.v1.AccessListTx.to": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.AccessListTx.value": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.AccessListTx.data": + return protoreflect.ValueOfBytes(nil) + case "cosmos.evm.vm.v1.AccessListTx.accesses": + list := []*AccessTuple{} + return protoreflect.ValueOfList(&_AccessListTx_8_list{list: &list}) + case "cosmos.evm.vm.v1.AccessListTx.v": + return protoreflect.ValueOfBytes(nil) + case "cosmos.evm.vm.v1.AccessListTx.r": + return protoreflect.ValueOfBytes(nil) + case "cosmos.evm.vm.v1.AccessListTx.s": + return protoreflect.ValueOfBytes(nil) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.AccessListTx")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.AccessListTx does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_AccessListTx) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.AccessListTx", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_AccessListTx) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_AccessListTx) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_AccessListTx) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_AccessListTx) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*AccessListTx) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.ChainId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.Nonce != 0 { + n += 1 + runtime.Sov(uint64(x.Nonce)) + } + l = len(x.GasPrice) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.Gas != 0 { + n += 1 + runtime.Sov(uint64(x.Gas)) + } + l = len(x.To) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Value) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Data) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if len(x.Accesses) > 0 { + for _, e := range x.Accesses { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + l = len(x.V) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.R) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.S) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*AccessListTx) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.S) > 0 { + i -= len(x.S) + copy(dAtA[i:], x.S) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.S))) + i-- + dAtA[i] = 0x5a + } + if len(x.R) > 0 { + i -= len(x.R) + copy(dAtA[i:], x.R) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.R))) + i-- + dAtA[i] = 0x52 + } + if len(x.V) > 0 { + i -= len(x.V) + copy(dAtA[i:], x.V) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.V))) + i-- + dAtA[i] = 0x4a + } + if len(x.Accesses) > 0 { + for iNdEx := len(x.Accesses) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.Accesses[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x42 + } + } + if len(x.Data) > 0 { + i -= len(x.Data) + copy(dAtA[i:], x.Data) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Data))) + i-- + dAtA[i] = 0x3a + } + if len(x.Value) > 0 { + i -= len(x.Value) + copy(dAtA[i:], x.Value) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Value))) + i-- + dAtA[i] = 0x32 + } + if len(x.To) > 0 { + i -= len(x.To) + copy(dAtA[i:], x.To) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.To))) + i-- + dAtA[i] = 0x2a + } + if x.Gas != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Gas)) + i-- + dAtA[i] = 0x20 + } + if len(x.GasPrice) > 0 { + i -= len(x.GasPrice) + copy(dAtA[i:], x.GasPrice) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.GasPrice))) + i-- + dAtA[i] = 0x1a + } + if x.Nonce != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Nonce)) + i-- + dAtA[i] = 0x10 + } + if len(x.ChainId) > 0 { + i -= len(x.ChainId) + copy(dAtA[i:], x.ChainId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ChainId))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*AccessListTx) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AccessListTx: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AccessListTx: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ChainId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Nonce", wireType) + } + x.Nonce = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.Nonce |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GasPrice", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.GasPrice = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Gas", wireType) + } + x.Gas = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.Gas |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field To", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.To = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 6: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Value = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 7: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Data = append(x.Data[:0], dAtA[iNdEx:postIndex]...) + if x.Data == nil { + x.Data = []byte{} + } + iNdEx = postIndex + case 8: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Accesses", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Accesses = append(x.Accesses, &AccessTuple{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Accesses[len(x.Accesses)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 9: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field V", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.V = append(x.V[:0], dAtA[iNdEx:postIndex]...) + if x.V == nil { + x.V = []byte{} + } + iNdEx = postIndex + case 10: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field R", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.R = append(x.R[:0], dAtA[iNdEx:postIndex]...) + if x.R == nil { + x.R = []byte{} + } + iNdEx = postIndex + case 11: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field S", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.S = append(x.S[:0], dAtA[iNdEx:postIndex]...) + if x.S == nil { + x.S = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var _ protoreflect.List = (*_DynamicFeeTx_9_list)(nil) + +type _DynamicFeeTx_9_list struct { + list *[]*AccessTuple +} + +func (x *_DynamicFeeTx_9_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_DynamicFeeTx_9_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_DynamicFeeTx_9_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*AccessTuple) + (*x.list)[i] = concreteValue +} + +func (x *_DynamicFeeTx_9_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*AccessTuple) + *x.list = append(*x.list, concreteValue) +} + +func (x *_DynamicFeeTx_9_list) AppendMutable() protoreflect.Value { + v := new(AccessTuple) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_DynamicFeeTx_9_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_DynamicFeeTx_9_list) NewElement() protoreflect.Value { + v := new(AccessTuple) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_DynamicFeeTx_9_list) IsValid() bool { + return x.list != nil +} + +var ( + md_DynamicFeeTx protoreflect.MessageDescriptor + fd_DynamicFeeTx_chain_id protoreflect.FieldDescriptor + fd_DynamicFeeTx_nonce protoreflect.FieldDescriptor + fd_DynamicFeeTx_gas_tip_cap protoreflect.FieldDescriptor + fd_DynamicFeeTx_gas_fee_cap protoreflect.FieldDescriptor + fd_DynamicFeeTx_gas protoreflect.FieldDescriptor + fd_DynamicFeeTx_to protoreflect.FieldDescriptor + fd_DynamicFeeTx_value protoreflect.FieldDescriptor + fd_DynamicFeeTx_data protoreflect.FieldDescriptor + fd_DynamicFeeTx_accesses protoreflect.FieldDescriptor + fd_DynamicFeeTx_v protoreflect.FieldDescriptor + fd_DynamicFeeTx_r protoreflect.FieldDescriptor + fd_DynamicFeeTx_s protoreflect.FieldDescriptor +) + +func init() { + file_cosmos_evm_vm_v1_tx_proto_init() + md_DynamicFeeTx = File_cosmos_evm_vm_v1_tx_proto.Messages().ByName("DynamicFeeTx") + fd_DynamicFeeTx_chain_id = md_DynamicFeeTx.Fields().ByName("chain_id") + fd_DynamicFeeTx_nonce = md_DynamicFeeTx.Fields().ByName("nonce") + fd_DynamicFeeTx_gas_tip_cap = md_DynamicFeeTx.Fields().ByName("gas_tip_cap") + fd_DynamicFeeTx_gas_fee_cap = md_DynamicFeeTx.Fields().ByName("gas_fee_cap") + fd_DynamicFeeTx_gas = md_DynamicFeeTx.Fields().ByName("gas") + fd_DynamicFeeTx_to = md_DynamicFeeTx.Fields().ByName("to") + fd_DynamicFeeTx_value = md_DynamicFeeTx.Fields().ByName("value") + fd_DynamicFeeTx_data = md_DynamicFeeTx.Fields().ByName("data") + fd_DynamicFeeTx_accesses = md_DynamicFeeTx.Fields().ByName("accesses") + fd_DynamicFeeTx_v = md_DynamicFeeTx.Fields().ByName("v") + fd_DynamicFeeTx_r = md_DynamicFeeTx.Fields().ByName("r") + fd_DynamicFeeTx_s = md_DynamicFeeTx.Fields().ByName("s") +} + +var _ protoreflect.Message = (*fastReflection_DynamicFeeTx)(nil) + +type fastReflection_DynamicFeeTx DynamicFeeTx + +func (x *DynamicFeeTx) ProtoReflect() protoreflect.Message { + return (*fastReflection_DynamicFeeTx)(x) +} + +func (x *DynamicFeeTx) slowProtoReflect() protoreflect.Message { + mi := &file_cosmos_evm_vm_v1_tx_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_DynamicFeeTx_messageType fastReflection_DynamicFeeTx_messageType +var _ protoreflect.MessageType = fastReflection_DynamicFeeTx_messageType{} + +type fastReflection_DynamicFeeTx_messageType struct{} + +func (x fastReflection_DynamicFeeTx_messageType) Zero() protoreflect.Message { + return (*fastReflection_DynamicFeeTx)(nil) +} +func (x fastReflection_DynamicFeeTx_messageType) New() protoreflect.Message { + return new(fastReflection_DynamicFeeTx) +} +func (x fastReflection_DynamicFeeTx_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_DynamicFeeTx +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_DynamicFeeTx) Descriptor() protoreflect.MessageDescriptor { + return md_DynamicFeeTx +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_DynamicFeeTx) Type() protoreflect.MessageType { + return _fastReflection_DynamicFeeTx_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_DynamicFeeTx) New() protoreflect.Message { + return new(fastReflection_DynamicFeeTx) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_DynamicFeeTx) Interface() protoreflect.ProtoMessage { + return (*DynamicFeeTx)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_DynamicFeeTx) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.ChainId != "" { + value := protoreflect.ValueOfString(x.ChainId) + if !f(fd_DynamicFeeTx_chain_id, value) { + return + } + } + if x.Nonce != uint64(0) { + value := protoreflect.ValueOfUint64(x.Nonce) + if !f(fd_DynamicFeeTx_nonce, value) { + return + } + } + if x.GasTipCap != "" { + value := protoreflect.ValueOfString(x.GasTipCap) + if !f(fd_DynamicFeeTx_gas_tip_cap, value) { + return + } + } + if x.GasFeeCap != "" { + value := protoreflect.ValueOfString(x.GasFeeCap) + if !f(fd_DynamicFeeTx_gas_fee_cap, value) { + return + } + } + if x.Gas != uint64(0) { + value := protoreflect.ValueOfUint64(x.Gas) + if !f(fd_DynamicFeeTx_gas, value) { + return + } + } + if x.To != "" { + value := protoreflect.ValueOfString(x.To) + if !f(fd_DynamicFeeTx_to, value) { + return + } + } + if x.Value != "" { + value := protoreflect.ValueOfString(x.Value) + if !f(fd_DynamicFeeTx_value, value) { + return + } + } + if len(x.Data) != 0 { + value := protoreflect.ValueOfBytes(x.Data) + if !f(fd_DynamicFeeTx_data, value) { + return + } + } + if len(x.Accesses) != 0 { + value := protoreflect.ValueOfList(&_DynamicFeeTx_9_list{list: &x.Accesses}) + if !f(fd_DynamicFeeTx_accesses, value) { + return + } + } + if len(x.V) != 0 { + value := protoreflect.ValueOfBytes(x.V) + if !f(fd_DynamicFeeTx_v, value) { + return + } + } + if len(x.R) != 0 { + value := protoreflect.ValueOfBytes(x.R) + if !f(fd_DynamicFeeTx_r, value) { + return + } + } + if len(x.S) != 0 { + value := protoreflect.ValueOfBytes(x.S) + if !f(fd_DynamicFeeTx_s, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_DynamicFeeTx) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "cosmos.evm.vm.v1.DynamicFeeTx.chain_id": + return x.ChainId != "" + case "cosmos.evm.vm.v1.DynamicFeeTx.nonce": + return x.Nonce != uint64(0) + case "cosmos.evm.vm.v1.DynamicFeeTx.gas_tip_cap": + return x.GasTipCap != "" + case "cosmos.evm.vm.v1.DynamicFeeTx.gas_fee_cap": + return x.GasFeeCap != "" + case "cosmos.evm.vm.v1.DynamicFeeTx.gas": + return x.Gas != uint64(0) + case "cosmos.evm.vm.v1.DynamicFeeTx.to": + return x.To != "" + case "cosmos.evm.vm.v1.DynamicFeeTx.value": + return x.Value != "" + case "cosmos.evm.vm.v1.DynamicFeeTx.data": + return len(x.Data) != 0 + case "cosmos.evm.vm.v1.DynamicFeeTx.accesses": + return len(x.Accesses) != 0 + case "cosmos.evm.vm.v1.DynamicFeeTx.v": + return len(x.V) != 0 + case "cosmos.evm.vm.v1.DynamicFeeTx.r": + return len(x.R) != 0 + case "cosmos.evm.vm.v1.DynamicFeeTx.s": + return len(x.S) != 0 + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.DynamicFeeTx")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.DynamicFeeTx does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_DynamicFeeTx) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "cosmos.evm.vm.v1.DynamicFeeTx.chain_id": + x.ChainId = "" + case "cosmos.evm.vm.v1.DynamicFeeTx.nonce": + x.Nonce = uint64(0) + case "cosmos.evm.vm.v1.DynamicFeeTx.gas_tip_cap": + x.GasTipCap = "" + case "cosmos.evm.vm.v1.DynamicFeeTx.gas_fee_cap": + x.GasFeeCap = "" + case "cosmos.evm.vm.v1.DynamicFeeTx.gas": + x.Gas = uint64(0) + case "cosmos.evm.vm.v1.DynamicFeeTx.to": + x.To = "" + case "cosmos.evm.vm.v1.DynamicFeeTx.value": + x.Value = "" + case "cosmos.evm.vm.v1.DynamicFeeTx.data": + x.Data = nil + case "cosmos.evm.vm.v1.DynamicFeeTx.accesses": + x.Accesses = nil + case "cosmos.evm.vm.v1.DynamicFeeTx.v": + x.V = nil + case "cosmos.evm.vm.v1.DynamicFeeTx.r": + x.R = nil + case "cosmos.evm.vm.v1.DynamicFeeTx.s": + x.S = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.DynamicFeeTx")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.DynamicFeeTx does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_DynamicFeeTx) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "cosmos.evm.vm.v1.DynamicFeeTx.chain_id": + value := x.ChainId + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.DynamicFeeTx.nonce": + value := x.Nonce + return protoreflect.ValueOfUint64(value) + case "cosmos.evm.vm.v1.DynamicFeeTx.gas_tip_cap": + value := x.GasTipCap + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.DynamicFeeTx.gas_fee_cap": + value := x.GasFeeCap + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.DynamicFeeTx.gas": + value := x.Gas + return protoreflect.ValueOfUint64(value) + case "cosmos.evm.vm.v1.DynamicFeeTx.to": + value := x.To + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.DynamicFeeTx.value": + value := x.Value + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.DynamicFeeTx.data": + value := x.Data + return protoreflect.ValueOfBytes(value) + case "cosmos.evm.vm.v1.DynamicFeeTx.accesses": + if len(x.Accesses) == 0 { + return protoreflect.ValueOfList(&_DynamicFeeTx_9_list{}) + } + listValue := &_DynamicFeeTx_9_list{list: &x.Accesses} + return protoreflect.ValueOfList(listValue) + case "cosmos.evm.vm.v1.DynamicFeeTx.v": + value := x.V + return protoreflect.ValueOfBytes(value) + case "cosmos.evm.vm.v1.DynamicFeeTx.r": + value := x.R + return protoreflect.ValueOfBytes(value) + case "cosmos.evm.vm.v1.DynamicFeeTx.s": + value := x.S + return protoreflect.ValueOfBytes(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.DynamicFeeTx")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.DynamicFeeTx does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_DynamicFeeTx) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "cosmos.evm.vm.v1.DynamicFeeTx.chain_id": + x.ChainId = value.Interface().(string) + case "cosmos.evm.vm.v1.DynamicFeeTx.nonce": + x.Nonce = value.Uint() + case "cosmos.evm.vm.v1.DynamicFeeTx.gas_tip_cap": + x.GasTipCap = value.Interface().(string) + case "cosmos.evm.vm.v1.DynamicFeeTx.gas_fee_cap": + x.GasFeeCap = value.Interface().(string) + case "cosmos.evm.vm.v1.DynamicFeeTx.gas": + x.Gas = value.Uint() + case "cosmos.evm.vm.v1.DynamicFeeTx.to": + x.To = value.Interface().(string) + case "cosmos.evm.vm.v1.DynamicFeeTx.value": + x.Value = value.Interface().(string) + case "cosmos.evm.vm.v1.DynamicFeeTx.data": + x.Data = value.Bytes() + case "cosmos.evm.vm.v1.DynamicFeeTx.accesses": + lv := value.List() + clv := lv.(*_DynamicFeeTx_9_list) + x.Accesses = *clv.list + case "cosmos.evm.vm.v1.DynamicFeeTx.v": + x.V = value.Bytes() + case "cosmos.evm.vm.v1.DynamicFeeTx.r": + x.R = value.Bytes() + case "cosmos.evm.vm.v1.DynamicFeeTx.s": + x.S = value.Bytes() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.DynamicFeeTx")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.DynamicFeeTx does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_DynamicFeeTx) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cosmos.evm.vm.v1.DynamicFeeTx.accesses": + if x.Accesses == nil { + x.Accesses = []*AccessTuple{} + } + value := &_DynamicFeeTx_9_list{list: &x.Accesses} + return protoreflect.ValueOfList(value) + case "cosmos.evm.vm.v1.DynamicFeeTx.chain_id": + panic(fmt.Errorf("field chain_id of message cosmos.evm.vm.v1.DynamicFeeTx is not mutable")) + case "cosmos.evm.vm.v1.DynamicFeeTx.nonce": + panic(fmt.Errorf("field nonce of message cosmos.evm.vm.v1.DynamicFeeTx is not mutable")) + case "cosmos.evm.vm.v1.DynamicFeeTx.gas_tip_cap": + panic(fmt.Errorf("field gas_tip_cap of message cosmos.evm.vm.v1.DynamicFeeTx is not mutable")) + case "cosmos.evm.vm.v1.DynamicFeeTx.gas_fee_cap": + panic(fmt.Errorf("field gas_fee_cap of message cosmos.evm.vm.v1.DynamicFeeTx is not mutable")) + case "cosmos.evm.vm.v1.DynamicFeeTx.gas": + panic(fmt.Errorf("field gas of message cosmos.evm.vm.v1.DynamicFeeTx is not mutable")) + case "cosmos.evm.vm.v1.DynamicFeeTx.to": + panic(fmt.Errorf("field to of message cosmos.evm.vm.v1.DynamicFeeTx is not mutable")) + case "cosmos.evm.vm.v1.DynamicFeeTx.value": + panic(fmt.Errorf("field value of message cosmos.evm.vm.v1.DynamicFeeTx is not mutable")) + case "cosmos.evm.vm.v1.DynamicFeeTx.data": + panic(fmt.Errorf("field data of message cosmos.evm.vm.v1.DynamicFeeTx is not mutable")) + case "cosmos.evm.vm.v1.DynamicFeeTx.v": + panic(fmt.Errorf("field v of message cosmos.evm.vm.v1.DynamicFeeTx is not mutable")) + case "cosmos.evm.vm.v1.DynamicFeeTx.r": + panic(fmt.Errorf("field r of message cosmos.evm.vm.v1.DynamicFeeTx is not mutable")) + case "cosmos.evm.vm.v1.DynamicFeeTx.s": + panic(fmt.Errorf("field s of message cosmos.evm.vm.v1.DynamicFeeTx is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.DynamicFeeTx")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.DynamicFeeTx does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_DynamicFeeTx) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cosmos.evm.vm.v1.DynamicFeeTx.chain_id": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.DynamicFeeTx.nonce": + return protoreflect.ValueOfUint64(uint64(0)) + case "cosmos.evm.vm.v1.DynamicFeeTx.gas_tip_cap": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.DynamicFeeTx.gas_fee_cap": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.DynamicFeeTx.gas": + return protoreflect.ValueOfUint64(uint64(0)) + case "cosmos.evm.vm.v1.DynamicFeeTx.to": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.DynamicFeeTx.value": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.DynamicFeeTx.data": + return protoreflect.ValueOfBytes(nil) + case "cosmos.evm.vm.v1.DynamicFeeTx.accesses": + list := []*AccessTuple{} + return protoreflect.ValueOfList(&_DynamicFeeTx_9_list{list: &list}) + case "cosmos.evm.vm.v1.DynamicFeeTx.v": + return protoreflect.ValueOfBytes(nil) + case "cosmos.evm.vm.v1.DynamicFeeTx.r": + return protoreflect.ValueOfBytes(nil) + case "cosmos.evm.vm.v1.DynamicFeeTx.s": + return protoreflect.ValueOfBytes(nil) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.DynamicFeeTx")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.DynamicFeeTx does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_DynamicFeeTx) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.DynamicFeeTx", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_DynamicFeeTx) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_DynamicFeeTx) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_DynamicFeeTx) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_DynamicFeeTx) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*DynamicFeeTx) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.ChainId) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.Nonce != 0 { + n += 1 + runtime.Sov(uint64(x.Nonce)) + } + l = len(x.GasTipCap) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.GasFeeCap) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.Gas != 0 { + n += 1 + runtime.Sov(uint64(x.Gas)) + } + l = len(x.To) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Value) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.Data) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if len(x.Accesses) > 0 { + for _, e := range x.Accesses { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + l = len(x.V) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.R) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.S) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*DynamicFeeTx) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if len(x.S) > 0 { + i -= len(x.S) + copy(dAtA[i:], x.S) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.S))) + i-- + dAtA[i] = 0x62 + } + if len(x.R) > 0 { + i -= len(x.R) + copy(dAtA[i:], x.R) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.R))) + i-- + dAtA[i] = 0x5a + } + if len(x.V) > 0 { + i -= len(x.V) + copy(dAtA[i:], x.V) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.V))) + i-- + dAtA[i] = 0x52 + } + if len(x.Accesses) > 0 { + for iNdEx := len(x.Accesses) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.Accesses[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x4a + } + } + if len(x.Data) > 0 { + i -= len(x.Data) + copy(dAtA[i:], x.Data) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Data))) + i-- + dAtA[i] = 0x42 + } + if len(x.Value) > 0 { + i -= len(x.Value) + copy(dAtA[i:], x.Value) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Value))) + i-- + dAtA[i] = 0x3a + } + if len(x.To) > 0 { + i -= len(x.To) + copy(dAtA[i:], x.To) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.To))) + i-- + dAtA[i] = 0x32 + } + if x.Gas != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Gas)) + i-- + dAtA[i] = 0x28 + } + if len(x.GasFeeCap) > 0 { + i -= len(x.GasFeeCap) + copy(dAtA[i:], x.GasFeeCap) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.GasFeeCap))) + i-- + dAtA[i] = 0x22 + } + if len(x.GasTipCap) > 0 { + i -= len(x.GasTipCap) + copy(dAtA[i:], x.GasTipCap) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.GasTipCap))) + i-- + dAtA[i] = 0x1a + } + if x.Nonce != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.Nonce)) + i-- + dAtA[i] = 0x10 + } + if len(x.ChainId) > 0 { + i -= len(x.ChainId) + copy(dAtA[i:], x.ChainId) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ChainId))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*DynamicFeeTx) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: DynamicFeeTx: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: DynamicFeeTx: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.ChainId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Nonce", wireType) + } + x.Nonce = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.Nonce |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GasTipCap", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.GasTipCap = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GasFeeCap", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.GasFeeCap = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Gas", wireType) + } + x.Gas = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.Gas |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 6: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field To", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.To = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 7: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Value = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 8: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Data", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Data = append(x.Data[:0], dAtA[iNdEx:postIndex]...) + if x.Data == nil { + x.Data = []byte{} + } + iNdEx = postIndex + case 9: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Accesses", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Accesses = append(x.Accesses, &AccessTuple{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Accesses[len(x.Accesses)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 10: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field V", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.V = append(x.V[:0], dAtA[iNdEx:postIndex]...) + if x.V == nil { + x.V = []byte{} + } + iNdEx = postIndex + case 11: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field R", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.R = append(x.R[:0], dAtA[iNdEx:postIndex]...) + if x.R == nil { + x.R = []byte{} + } + iNdEx = postIndex + case 12: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field S", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.S = append(x.S[:0], dAtA[iNdEx:postIndex]...) + if x.S == nil { + x.S = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_ExtensionOptionsEthereumTx protoreflect.MessageDescriptor +) + +func init() { + file_cosmos_evm_vm_v1_tx_proto_init() + md_ExtensionOptionsEthereumTx = File_cosmos_evm_vm_v1_tx_proto.Messages().ByName("ExtensionOptionsEthereumTx") +} + +var _ protoreflect.Message = (*fastReflection_ExtensionOptionsEthereumTx)(nil) + +type fastReflection_ExtensionOptionsEthereumTx ExtensionOptionsEthereumTx + +func (x *ExtensionOptionsEthereumTx) ProtoReflect() protoreflect.Message { + return (*fastReflection_ExtensionOptionsEthereumTx)(x) +} + +func (x *ExtensionOptionsEthereumTx) slowProtoReflect() protoreflect.Message { + mi := &file_cosmos_evm_vm_v1_tx_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_ExtensionOptionsEthereumTx_messageType fastReflection_ExtensionOptionsEthereumTx_messageType +var _ protoreflect.MessageType = fastReflection_ExtensionOptionsEthereumTx_messageType{} + +type fastReflection_ExtensionOptionsEthereumTx_messageType struct{} + +func (x fastReflection_ExtensionOptionsEthereumTx_messageType) Zero() protoreflect.Message { + return (*fastReflection_ExtensionOptionsEthereumTx)(nil) +} +func (x fastReflection_ExtensionOptionsEthereumTx_messageType) New() protoreflect.Message { + return new(fastReflection_ExtensionOptionsEthereumTx) +} +func (x fastReflection_ExtensionOptionsEthereumTx_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_ExtensionOptionsEthereumTx +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_ExtensionOptionsEthereumTx) Descriptor() protoreflect.MessageDescriptor { + return md_ExtensionOptionsEthereumTx +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_ExtensionOptionsEthereumTx) Type() protoreflect.MessageType { + return _fastReflection_ExtensionOptionsEthereumTx_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_ExtensionOptionsEthereumTx) New() protoreflect.Message { + return new(fastReflection_ExtensionOptionsEthereumTx) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_ExtensionOptionsEthereumTx) Interface() protoreflect.ProtoMessage { + return (*ExtensionOptionsEthereumTx)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_ExtensionOptionsEthereumTx) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_ExtensionOptionsEthereumTx) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.ExtensionOptionsEthereumTx")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.ExtensionOptionsEthereumTx does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_ExtensionOptionsEthereumTx) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.ExtensionOptionsEthereumTx")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.ExtensionOptionsEthereumTx does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_ExtensionOptionsEthereumTx) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.ExtensionOptionsEthereumTx")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.ExtensionOptionsEthereumTx does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_ExtensionOptionsEthereumTx) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.ExtensionOptionsEthereumTx")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.ExtensionOptionsEthereumTx does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_ExtensionOptionsEthereumTx) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.ExtensionOptionsEthereumTx")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.ExtensionOptionsEthereumTx does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_ExtensionOptionsEthereumTx) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.ExtensionOptionsEthereumTx")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.ExtensionOptionsEthereumTx does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_ExtensionOptionsEthereumTx) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.ExtensionOptionsEthereumTx", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_ExtensionOptionsEthereumTx) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_ExtensionOptionsEthereumTx) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_ExtensionOptionsEthereumTx) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_ExtensionOptionsEthereumTx) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*ExtensionOptionsEthereumTx) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*ExtensionOptionsEthereumTx) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*ExtensionOptionsEthereumTx) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ExtensionOptionsEthereumTx: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ExtensionOptionsEthereumTx: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var _ protoreflect.List = (*_MsgEthereumTxResponse_2_list)(nil) + +type _MsgEthereumTxResponse_2_list struct { + list *[]*Log +} + +func (x *_MsgEthereumTxResponse_2_list) Len() int { + if x.list == nil { + return 0 + } + return len(*x.list) +} + +func (x *_MsgEthereumTxResponse_2_list) Get(i int) protoreflect.Value { + return protoreflect.ValueOfMessage((*x.list)[i].ProtoReflect()) +} + +func (x *_MsgEthereumTxResponse_2_list) Set(i int, value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*Log) + (*x.list)[i] = concreteValue +} + +func (x *_MsgEthereumTxResponse_2_list) Append(value protoreflect.Value) { + valueUnwrapped := value.Message() + concreteValue := valueUnwrapped.Interface().(*Log) + *x.list = append(*x.list, concreteValue) +} + +func (x *_MsgEthereumTxResponse_2_list) AppendMutable() protoreflect.Value { + v := new(Log) + *x.list = append(*x.list, v) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_MsgEthereumTxResponse_2_list) Truncate(n int) { + for i := n; i < len(*x.list); i++ { + (*x.list)[i] = nil + } + *x.list = (*x.list)[:n] +} + +func (x *_MsgEthereumTxResponse_2_list) NewElement() protoreflect.Value { + v := new(Log) + return protoreflect.ValueOfMessage(v.ProtoReflect()) +} + +func (x *_MsgEthereumTxResponse_2_list) IsValid() bool { + return x.list != nil +} + +var ( + md_MsgEthereumTxResponse protoreflect.MessageDescriptor + fd_MsgEthereumTxResponse_hash protoreflect.FieldDescriptor + fd_MsgEthereumTxResponse_logs protoreflect.FieldDescriptor + fd_MsgEthereumTxResponse_ret protoreflect.FieldDescriptor + fd_MsgEthereumTxResponse_vm_error protoreflect.FieldDescriptor + fd_MsgEthereumTxResponse_gas_used protoreflect.FieldDescriptor +) + +func init() { + file_cosmos_evm_vm_v1_tx_proto_init() + md_MsgEthereumTxResponse = File_cosmos_evm_vm_v1_tx_proto.Messages().ByName("MsgEthereumTxResponse") + fd_MsgEthereumTxResponse_hash = md_MsgEthereumTxResponse.Fields().ByName("hash") + fd_MsgEthereumTxResponse_logs = md_MsgEthereumTxResponse.Fields().ByName("logs") + fd_MsgEthereumTxResponse_ret = md_MsgEthereumTxResponse.Fields().ByName("ret") + fd_MsgEthereumTxResponse_vm_error = md_MsgEthereumTxResponse.Fields().ByName("vm_error") + fd_MsgEthereumTxResponse_gas_used = md_MsgEthereumTxResponse.Fields().ByName("gas_used") +} + +var _ protoreflect.Message = (*fastReflection_MsgEthereumTxResponse)(nil) + +type fastReflection_MsgEthereumTxResponse MsgEthereumTxResponse + +func (x *MsgEthereumTxResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgEthereumTxResponse)(x) +} + +func (x *MsgEthereumTxResponse) slowProtoReflect() protoreflect.Message { + mi := &file_cosmos_evm_vm_v1_tx_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_MsgEthereumTxResponse_messageType fastReflection_MsgEthereumTxResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgEthereumTxResponse_messageType{} + +type fastReflection_MsgEthereumTxResponse_messageType struct{} + +func (x fastReflection_MsgEthereumTxResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgEthereumTxResponse)(nil) +} +func (x fastReflection_MsgEthereumTxResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgEthereumTxResponse) +} +func (x fastReflection_MsgEthereumTxResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgEthereumTxResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgEthereumTxResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgEthereumTxResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_MsgEthereumTxResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgEthereumTxResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgEthereumTxResponse) New() protoreflect.Message { + return new(fastReflection_MsgEthereumTxResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgEthereumTxResponse) Interface() protoreflect.ProtoMessage { + return (*MsgEthereumTxResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_MsgEthereumTxResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Hash != "" { + value := protoreflect.ValueOfString(x.Hash) + if !f(fd_MsgEthereumTxResponse_hash, value) { + return + } + } + if len(x.Logs) != 0 { + value := protoreflect.ValueOfList(&_MsgEthereumTxResponse_2_list{list: &x.Logs}) + if !f(fd_MsgEthereumTxResponse_logs, value) { + return + } + } + if len(x.Ret) != 0 { + value := protoreflect.ValueOfBytes(x.Ret) + if !f(fd_MsgEthereumTxResponse_ret, value) { + return + } + } + if x.VmError != "" { + value := protoreflect.ValueOfString(x.VmError) + if !f(fd_MsgEthereumTxResponse_vm_error, value) { + return + } + } + if x.GasUsed != uint64(0) { + value := protoreflect.ValueOfUint64(x.GasUsed) + if !f(fd_MsgEthereumTxResponse_gas_used, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_MsgEthereumTxResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "cosmos.evm.vm.v1.MsgEthereumTxResponse.hash": + return x.Hash != "" + case "cosmos.evm.vm.v1.MsgEthereumTxResponse.logs": + return len(x.Logs) != 0 + case "cosmos.evm.vm.v1.MsgEthereumTxResponse.ret": + return len(x.Ret) != 0 + case "cosmos.evm.vm.v1.MsgEthereumTxResponse.vm_error": + return x.VmError != "" + case "cosmos.evm.vm.v1.MsgEthereumTxResponse.gas_used": + return x.GasUsed != uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgEthereumTxResponse")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgEthereumTxResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgEthereumTxResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "cosmos.evm.vm.v1.MsgEthereumTxResponse.hash": + x.Hash = "" + case "cosmos.evm.vm.v1.MsgEthereumTxResponse.logs": + x.Logs = nil + case "cosmos.evm.vm.v1.MsgEthereumTxResponse.ret": + x.Ret = nil + case "cosmos.evm.vm.v1.MsgEthereumTxResponse.vm_error": + x.VmError = "" + case "cosmos.evm.vm.v1.MsgEthereumTxResponse.gas_used": + x.GasUsed = uint64(0) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgEthereumTxResponse")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgEthereumTxResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_MsgEthereumTxResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "cosmos.evm.vm.v1.MsgEthereumTxResponse.hash": + value := x.Hash + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.MsgEthereumTxResponse.logs": + if len(x.Logs) == 0 { + return protoreflect.ValueOfList(&_MsgEthereumTxResponse_2_list{}) + } + listValue := &_MsgEthereumTxResponse_2_list{list: &x.Logs} + return protoreflect.ValueOfList(listValue) + case "cosmos.evm.vm.v1.MsgEthereumTxResponse.ret": + value := x.Ret + return protoreflect.ValueOfBytes(value) + case "cosmos.evm.vm.v1.MsgEthereumTxResponse.vm_error": + value := x.VmError + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.MsgEthereumTxResponse.gas_used": + value := x.GasUsed + return protoreflect.ValueOfUint64(value) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgEthereumTxResponse")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgEthereumTxResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgEthereumTxResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "cosmos.evm.vm.v1.MsgEthereumTxResponse.hash": + x.Hash = value.Interface().(string) + case "cosmos.evm.vm.v1.MsgEthereumTxResponse.logs": + lv := value.List() + clv := lv.(*_MsgEthereumTxResponse_2_list) + x.Logs = *clv.list + case "cosmos.evm.vm.v1.MsgEthereumTxResponse.ret": + x.Ret = value.Bytes() + case "cosmos.evm.vm.v1.MsgEthereumTxResponse.vm_error": + x.VmError = value.Interface().(string) + case "cosmos.evm.vm.v1.MsgEthereumTxResponse.gas_used": + x.GasUsed = value.Uint() + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgEthereumTxResponse")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgEthereumTxResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgEthereumTxResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cosmos.evm.vm.v1.MsgEthereumTxResponse.logs": + if x.Logs == nil { + x.Logs = []*Log{} + } + value := &_MsgEthereumTxResponse_2_list{list: &x.Logs} + return protoreflect.ValueOfList(value) + case "cosmos.evm.vm.v1.MsgEthereumTxResponse.hash": + panic(fmt.Errorf("field hash of message cosmos.evm.vm.v1.MsgEthereumTxResponse is not mutable")) + case "cosmos.evm.vm.v1.MsgEthereumTxResponse.ret": + panic(fmt.Errorf("field ret of message cosmos.evm.vm.v1.MsgEthereumTxResponse is not mutable")) + case "cosmos.evm.vm.v1.MsgEthereumTxResponse.vm_error": + panic(fmt.Errorf("field vm_error of message cosmos.evm.vm.v1.MsgEthereumTxResponse is not mutable")) + case "cosmos.evm.vm.v1.MsgEthereumTxResponse.gas_used": + panic(fmt.Errorf("field gas_used of message cosmos.evm.vm.v1.MsgEthereumTxResponse is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgEthereumTxResponse")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgEthereumTxResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_MsgEthereumTxResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cosmos.evm.vm.v1.MsgEthereumTxResponse.hash": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.MsgEthereumTxResponse.logs": + list := []*Log{} + return protoreflect.ValueOfList(&_MsgEthereumTxResponse_2_list{list: &list}) + case "cosmos.evm.vm.v1.MsgEthereumTxResponse.ret": + return protoreflect.ValueOfBytes(nil) + case "cosmos.evm.vm.v1.MsgEthereumTxResponse.vm_error": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.MsgEthereumTxResponse.gas_used": + return protoreflect.ValueOfUint64(uint64(0)) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgEthereumTxResponse")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgEthereumTxResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_MsgEthereumTxResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.MsgEthereumTxResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_MsgEthereumTxResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgEthereumTxResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_MsgEthereumTxResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_MsgEthereumTxResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgEthereumTxResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Hash) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if len(x.Logs) > 0 { + for _, e := range x.Logs { + l = options.Size(e) + n += 1 + l + runtime.Sov(uint64(l)) + } + } + l = len(x.Ret) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + l = len(x.VmError) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.GasUsed != 0 { + n += 1 + runtime.Sov(uint64(x.GasUsed)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*MsgEthereumTxResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.GasUsed != 0 { + i = runtime.EncodeVarint(dAtA, i, uint64(x.GasUsed)) + i-- + dAtA[i] = 0x28 + } + if len(x.VmError) > 0 { + i -= len(x.VmError) + copy(dAtA[i:], x.VmError) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.VmError))) + i-- + dAtA[i] = 0x22 + } + if len(x.Ret) > 0 { + i -= len(x.Ret) + copy(dAtA[i:], x.Ret) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Ret))) + i-- + dAtA[i] = 0x1a + } + if len(x.Logs) > 0 { + for iNdEx := len(x.Logs) - 1; iNdEx >= 0; iNdEx-- { + encoded, err := options.Marshal(x.Logs[iNdEx]) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x12 + } + } + if len(x.Hash) > 0 { + i -= len(x.Hash) + copy(dAtA[i:], x.Hash) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Hash))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*MsgEthereumTxResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgEthereumTxResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgEthereumTxResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Hash", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Hash = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Logs", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Logs = append(x.Logs, &Log{}) + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Logs[len(x.Logs)-1]); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Ret", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Ret = append(x.Ret[:0], dAtA[iNdEx:postIndex]...) + if x.Ret == nil { + x.Ret = []byte{} + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field VmError", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.VmError = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field GasUsed", wireType) + } + x.GasUsed = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + x.GasUsed |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_MsgUpdateParams protoreflect.MessageDescriptor + fd_MsgUpdateParams_authority protoreflect.FieldDescriptor + fd_MsgUpdateParams_params protoreflect.FieldDescriptor +) + +func init() { + file_cosmos_evm_vm_v1_tx_proto_init() + md_MsgUpdateParams = File_cosmos_evm_vm_v1_tx_proto.Messages().ByName("MsgUpdateParams") + fd_MsgUpdateParams_authority = md_MsgUpdateParams.Fields().ByName("authority") + fd_MsgUpdateParams_params = md_MsgUpdateParams.Fields().ByName("params") +} + +var _ protoreflect.Message = (*fastReflection_MsgUpdateParams)(nil) + +type fastReflection_MsgUpdateParams MsgUpdateParams + +func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgUpdateParams)(x) +} + +func (x *MsgUpdateParams) slowProtoReflect() protoreflect.Message { + mi := &file_cosmos_evm_vm_v1_tx_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_MsgUpdateParams_messageType fastReflection_MsgUpdateParams_messageType +var _ protoreflect.MessageType = fastReflection_MsgUpdateParams_messageType{} + +type fastReflection_MsgUpdateParams_messageType struct{} + +func (x fastReflection_MsgUpdateParams_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgUpdateParams)(nil) +} +func (x fastReflection_MsgUpdateParams_messageType) New() protoreflect.Message { + return new(fastReflection_MsgUpdateParams) +} +func (x fastReflection_MsgUpdateParams_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgUpdateParams +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgUpdateParams) Descriptor() protoreflect.MessageDescriptor { + return md_MsgUpdateParams +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_MsgUpdateParams) Type() protoreflect.MessageType { + return _fastReflection_MsgUpdateParams_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgUpdateParams) New() protoreflect.Message { + return new(fastReflection_MsgUpdateParams) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgUpdateParams) Interface() protoreflect.ProtoMessage { + return (*MsgUpdateParams)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_MsgUpdateParams) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Authority != "" { + value := protoreflect.ValueOfString(x.Authority) + if !f(fd_MsgUpdateParams_authority, value) { + return + } + } + if x.Params != nil { + value := protoreflect.ValueOfMessage(x.Params.ProtoReflect()) + if !f(fd_MsgUpdateParams_params, value) { + return + } + } +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_MsgUpdateParams) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + case "cosmos.evm.vm.v1.MsgUpdateParams.authority": + return x.Authority != "" + case "cosmos.evm.vm.v1.MsgUpdateParams.params": + return x.Params != nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgUpdateParams")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgUpdateParams does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgUpdateParams) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + case "cosmos.evm.vm.v1.MsgUpdateParams.authority": + x.Authority = "" + case "cosmos.evm.vm.v1.MsgUpdateParams.params": + x.Params = nil + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgUpdateParams")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgUpdateParams does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_MsgUpdateParams) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + case "cosmos.evm.vm.v1.MsgUpdateParams.authority": + value := x.Authority + return protoreflect.ValueOfString(value) + case "cosmos.evm.vm.v1.MsgUpdateParams.params": + value := x.Params + return protoreflect.ValueOfMessage(value.ProtoReflect()) + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgUpdateParams")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgUpdateParams does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgUpdateParams) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + case "cosmos.evm.vm.v1.MsgUpdateParams.authority": + x.Authority = value.Interface().(string) + case "cosmos.evm.vm.v1.MsgUpdateParams.params": + x.Params = value.Message().Interface().(*Params) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgUpdateParams")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgUpdateParams does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgUpdateParams) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cosmos.evm.vm.v1.MsgUpdateParams.params": + if x.Params == nil { + x.Params = new(Params) + } + return protoreflect.ValueOfMessage(x.Params.ProtoReflect()) + case "cosmos.evm.vm.v1.MsgUpdateParams.authority": + panic(fmt.Errorf("field authority of message cosmos.evm.vm.v1.MsgUpdateParams is not mutable")) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgUpdateParams")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgUpdateParams does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_MsgUpdateParams) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + case "cosmos.evm.vm.v1.MsgUpdateParams.authority": + return protoreflect.ValueOfString("") + case "cosmos.evm.vm.v1.MsgUpdateParams.params": + m := new(Params) + return protoreflect.ValueOfMessage(m.ProtoReflect()) + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgUpdateParams")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgUpdateParams does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_MsgUpdateParams) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.MsgUpdateParams", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_MsgUpdateParams) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgUpdateParams) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_MsgUpdateParams) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_MsgUpdateParams) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgUpdateParams) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + l = len(x.Authority) + if l > 0 { + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.Params != nil { + l = options.Size(x.Params) + n += 1 + l + runtime.Sov(uint64(l)) + } + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*MsgUpdateParams) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if x.Params != nil { + encoded, err := options.Marshal(x.Params) + if err != nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, err + } + i -= len(encoded) + copy(dAtA[i:], encoded) + i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) + i-- + dAtA[i] = 0x12 + } + if len(x.Authority) > 0 { + i -= len(x.Authority) + copy(dAtA[i:], x.Authority) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Authority))) + i-- + dAtA[i] = 0xa + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*MsgUpdateParams) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgUpdateParams: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgUpdateParams: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Authority", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + x.Authority = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Params", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if postIndex > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if x.Params == nil { + x.Params = &Params{} + } + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Params); err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +var ( + md_MsgUpdateParamsResponse protoreflect.MessageDescriptor +) + +func init() { + file_cosmos_evm_vm_v1_tx_proto_init() + md_MsgUpdateParamsResponse = File_cosmos_evm_vm_v1_tx_proto.Messages().ByName("MsgUpdateParamsResponse") +} + +var _ protoreflect.Message = (*fastReflection_MsgUpdateParamsResponse)(nil) + +type fastReflection_MsgUpdateParamsResponse MsgUpdateParamsResponse + +func (x *MsgUpdateParamsResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgUpdateParamsResponse)(x) +} + +func (x *MsgUpdateParamsResponse) slowProtoReflect() protoreflect.Message { + mi := &file_cosmos_evm_vm_v1_tx_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +var _fastReflection_MsgUpdateParamsResponse_messageType fastReflection_MsgUpdateParamsResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgUpdateParamsResponse_messageType{} + +type fastReflection_MsgUpdateParamsResponse_messageType struct{} + +func (x fastReflection_MsgUpdateParamsResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgUpdateParamsResponse)(nil) +} +func (x fastReflection_MsgUpdateParamsResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgUpdateParamsResponse) +} +func (x fastReflection_MsgUpdateParamsResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgUpdateParamsResponse +} + +// Descriptor returns message descriptor, which contains only the protobuf +// type information for the message. +func (x *fastReflection_MsgUpdateParamsResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgUpdateParamsResponse +} + +// Type returns the message type, which encapsulates both Go and protobuf +// type information. If the Go type information is not needed, +// it is recommended that the message descriptor be used instead. +func (x *fastReflection_MsgUpdateParamsResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgUpdateParamsResponse_messageType +} + +// New returns a newly allocated and mutable empty message. +func (x *fastReflection_MsgUpdateParamsResponse) New() protoreflect.Message { + return new(fastReflection_MsgUpdateParamsResponse) +} + +// Interface unwraps the message reflection interface and +// returns the underlying ProtoMessage interface. +func (x *fastReflection_MsgUpdateParamsResponse) Interface() protoreflect.ProtoMessage { + return (*MsgUpdateParamsResponse)(x) +} + +// Range iterates over every populated field in an undefined order, +// calling f for each field descriptor and value encountered. +// Range returns immediately if f returns false. +// While iterating, mutating operations may only be performed +// on the current field descriptor. +func (x *fastReflection_MsgUpdateParamsResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +} + +// Has reports whether a field is populated. +// +// Some fields have the property of nullability where it is possible to +// distinguish between the default value of a field and whether the field +// was explicitly populated with the default value. Singular message fields, +// member fields of a oneof, and proto2 scalar fields are nullable. Such +// fields are populated only if explicitly set. +// +// In other cases (aside from the nullable cases above), +// a proto3 scalar field is populated if it contains a non-zero value, and +// a repeated field is populated if it is non-empty. +func (x *fastReflection_MsgUpdateParamsResponse) Has(fd protoreflect.FieldDescriptor) bool { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgUpdateParamsResponse")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) + } +} + +// Clear clears the field such that a subsequent Has call reports false. +// +// Clearing an extension field clears both the extension type and value +// associated with the given field number. +// +// Clear is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgUpdateParamsResponse) Clear(fd protoreflect.FieldDescriptor) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgUpdateParamsResponse")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) + } +} + +// Get retrieves the value for a field. +// +// For unpopulated scalars, it returns the default value, where +// the default value of a bytes scalar is guaranteed to be a copy. +// For unpopulated composite types, it returns an empty, read-only view +// of the value; to obtain a mutable reference, use Mutable. +func (x *fastReflection_MsgUpdateParamsResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { + switch descriptor.FullName() { + default: + if descriptor.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgUpdateParamsResponse")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgUpdateParamsResponse does not contain field %s", descriptor.FullName())) + } +} + +// Set stores the value for a field. +// +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType. +// When setting a composite type, it is unspecified whether the stored value +// aliases the source's memory in any way. If the composite value is an +// empty, read-only value, then it panics. +// +// Set is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgUpdateParamsResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgUpdateParamsResponse")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) + } +} + +// Mutable returns a mutable reference to a composite type. +// +// If the field is unpopulated, it may allocate a composite value. +// For a field belonging to a oneof, it implicitly clears any other field +// that may be currently set within the same oneof. +// For extension fields, it implicitly stores the provided ExtensionType +// if not already stored. +// It panics if the field does not contain a composite type. +// +// Mutable is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgUpdateParamsResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgUpdateParamsResponse")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) + } +} + +// NewField returns a new value that is assignable to the field +// for the given descriptor. For scalars, this returns the default value. +// For lists, maps, and messages, this returns a new, empty, mutable value. +func (x *fastReflection_MsgUpdateParamsResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { + switch fd.FullName() { + default: + if fd.IsExtension() { + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.evm.vm.v1.MsgUpdateParamsResponse")) + } + panic(fmt.Errorf("message cosmos.evm.vm.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) + } +} + +// WhichOneof reports which field within the oneof is populated, +// returning nil if none are populated. +// It panics if the oneof descriptor does not belong to this message. +func (x *fastReflection_MsgUpdateParamsResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { + switch d.FullName() { + default: + panic(fmt.Errorf("%s is not a oneof field in cosmos.evm.vm.v1.MsgUpdateParamsResponse", d.FullName())) + } + panic("unreachable") +} + +// GetUnknown retrieves the entire list of unknown fields. +// The caller may only mutate the contents of the RawFields +// if the mutated bytes are stored back into the message with SetUnknown. +func (x *fastReflection_MsgUpdateParamsResponse) GetUnknown() protoreflect.RawFields { + return x.unknownFields +} + +// SetUnknown stores an entire list of unknown fields. +// The raw fields must be syntactically valid according to the wire format. +// An implementation may panic if this is not the case. +// Once stored, the caller must not mutate the content of the RawFields. +// An empty RawFields may be passed to clear the fields. +// +// SetUnknown is a mutating operation and unsafe for concurrent use. +func (x *fastReflection_MsgUpdateParamsResponse) SetUnknown(fields protoreflect.RawFields) { + x.unknownFields = fields +} + +// IsValid reports whether the message is valid. +// +// An invalid message is an empty, read-only value. +// +// An invalid message often corresponds to a nil pointer of the concrete +// message type, but the details are implementation dependent. +// Validity is not part of the protobuf data model, and may not +// be preserved in marshaling or other operations. +func (x *fastReflection_MsgUpdateParamsResponse) IsValid() bool { + return x != nil +} + +// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. +// This method may return nil. +// +// The returned methods type is identical to +// "google.golang.org/protobuf/runtime/protoiface".Methods. +// Consult the protoiface package documentation for details. +func (x *fastReflection_MsgUpdateParamsResponse) ProtoMethods() *protoiface.Methods { + size := func(input protoiface.SizeInput) protoiface.SizeOutput { + x := input.Message.Interface().(*MsgUpdateParamsResponse) + if x == nil { + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: 0, + } + } + options := runtime.SizeInputToOptions(input) + _ = options + var n int + var l int + _ = l + if x.unknownFields != nil { + n += len(x.unknownFields) + } + return protoiface.SizeOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Size: n, + } + } + + marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { + x := input.Message.Interface().(*MsgUpdateParamsResponse) + if x == nil { + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + options := runtime.MarshalInputToOptions(input) + _ = options + size := options.Size(x) + dAtA := make([]byte, size) + i := len(dAtA) + _ = i + var l int + _ = l + if x.unknownFields != nil { + i -= len(x.unknownFields) + copy(dAtA[i:], x.unknownFields) + } + if input.Buf != nil { + input.Buf = append(input.Buf, dAtA...) + } else { + input.Buf = dAtA + } + return protoiface.MarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Buf: input.Buf, + }, nil + } + unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + x := input.Message.Interface().(*MsgUpdateParamsResponse) + if x == nil { + return protoiface.UnmarshalOutput{ + NoUnkeyedLiterals: input.NoUnkeyedLiterals, + Flags: input.Flags, + }, nil + } + options := runtime.UnmarshalInputToOptions(input) + _ = options + dAtA := input.Buf + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow + } + if iNdEx >= l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgUpdateParamsResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgUpdateParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := runtime.Skip(dAtA[iNdEx:]) + if err != nil { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + if !options.DiscardUnknown { + x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + } + iNdEx += skippy + } + } + + if iNdEx > l { + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF + } + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil + } + return &protoiface.Methods{ + NoUnkeyedLiterals: struct{}{}, + Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, + Size: size, + Marshal: marshal, + Unmarshal: unmarshal, + Merge: nil, + CheckInitialized: nil, + } +} + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.27.0 +// protoc (unknown) +// source: cosmos/evm/vm/v1/tx.proto + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// MsgEthereumTx encapsulates an Ethereum transaction as an SDK message. +type MsgEthereumTx struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // data is inner transaction data of the Ethereum transaction + Data *anypb.Any `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` + // size is the encoded storage size of the transaction (DEPRECATED) + Size float64 `protobuf:"fixed64,2,opt,name=size,proto3" json:"size,omitempty"` + // hash of the transaction in hex format + Hash string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"` + // from is the ethereum signer address in hex format. This address value is + // checked against the address derived from the signature (V, R, S) using the + // secp256k1 elliptic curve + From string `protobuf:"bytes,4,opt,name=from,proto3" json:"from,omitempty"` +} + +func (x *MsgEthereumTx) Reset() { + *x = MsgEthereumTx{} + if protoimpl.UnsafeEnabled { + mi := &file_cosmos_evm_vm_v1_tx_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgEthereumTx) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgEthereumTx) ProtoMessage() {} + +// Deprecated: Use MsgEthereumTx.ProtoReflect.Descriptor instead. +func (*MsgEthereumTx) Descriptor() ([]byte, []int) { + return file_cosmos_evm_vm_v1_tx_proto_rawDescGZIP(), []int{0} +} + +func (x *MsgEthereumTx) GetData() *anypb.Any { + if x != nil { + return x.Data + } + return nil +} + +func (x *MsgEthereumTx) GetSize() float64 { + if x != nil { + return x.Size + } + return 0 +} + +func (x *MsgEthereumTx) GetHash() string { + if x != nil { + return x.Hash + } + return "" +} + +func (x *MsgEthereumTx) GetFrom() string { + if x != nil { + return x.From + } + return "" +} + +// LegacyTx is the transaction data of regular Ethereum transactions. +// NOTE: All non-protected transactions (i.e non EIP155 signed) will fail if the +// AllowUnprotectedTxs parameter is disabled. +type LegacyTx struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // nonce corresponds to the account nonce (transaction sequence). + Nonce uint64 `protobuf:"varint,1,opt,name=nonce,proto3" json:"nonce,omitempty"` + // gas_price defines the value for each gas unit + GasPrice string `protobuf:"bytes,2,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"` + // gas defines the gas limit defined for the transaction. + Gas uint64 `protobuf:"varint,3,opt,name=gas,proto3" json:"gas,omitempty"` + // to is the hex formatted address of the recipient + To string `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"` + // value defines the unsigned integer value of the transaction amount. + Value string `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"` + // data is the data payload bytes of the transaction. + Data []byte `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"` + // v defines the signature value + V []byte `protobuf:"bytes,7,opt,name=v,proto3" json:"v,omitempty"` + // r defines the signature value + R []byte `protobuf:"bytes,8,opt,name=r,proto3" json:"r,omitempty"` + // s define the signature value + S []byte `protobuf:"bytes,9,opt,name=s,proto3" json:"s,omitempty"` +} + +func (x *LegacyTx) Reset() { + *x = LegacyTx{} + if protoimpl.UnsafeEnabled { + mi := &file_cosmos_evm_vm_v1_tx_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LegacyTx) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LegacyTx) ProtoMessage() {} + +// Deprecated: Use LegacyTx.ProtoReflect.Descriptor instead. +func (*LegacyTx) Descriptor() ([]byte, []int) { + return file_cosmos_evm_vm_v1_tx_proto_rawDescGZIP(), []int{1} +} + +func (x *LegacyTx) GetNonce() uint64 { + if x != nil { + return x.Nonce + } + return 0 +} + +func (x *LegacyTx) GetGasPrice() string { + if x != nil { + return x.GasPrice + } + return "" +} + +func (x *LegacyTx) GetGas() uint64 { + if x != nil { + return x.Gas + } + return 0 +} + +func (x *LegacyTx) GetTo() string { + if x != nil { + return x.To + } + return "" +} + +func (x *LegacyTx) GetValue() string { + if x != nil { + return x.Value + } + return "" +} + +func (x *LegacyTx) GetData() []byte { + if x != nil { + return x.Data + } + return nil +} + +func (x *LegacyTx) GetV() []byte { + if x != nil { + return x.V + } + return nil +} + +func (x *LegacyTx) GetR() []byte { + if x != nil { + return x.R + } + return nil +} + +func (x *LegacyTx) GetS() []byte { + if x != nil { + return x.S + } + return nil +} + +// AccessListTx is the data of EIP-2930 access list transactions. +type AccessListTx struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // chain_id of the destination EVM chain + ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` + // nonce corresponds to the account nonce (transaction sequence). + Nonce uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"` + // gas_price defines the value for each gas unit + GasPrice string `protobuf:"bytes,3,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"` + // gas defines the gas limit defined for the transaction. + Gas uint64 `protobuf:"varint,4,opt,name=gas,proto3" json:"gas,omitempty"` + // to is the recipient address in hex format + To string `protobuf:"bytes,5,opt,name=to,proto3" json:"to,omitempty"` + // value defines the unsigned integer value of the transaction amount. + Value string `protobuf:"bytes,6,opt,name=value,proto3" json:"value,omitempty"` + // data is the data payload bytes of the transaction. + Data []byte `protobuf:"bytes,7,opt,name=data,proto3" json:"data,omitempty"` + // accesses is an array of access tuples + Accesses []*AccessTuple `protobuf:"bytes,8,rep,name=accesses,proto3" json:"accesses,omitempty"` + // v defines the signature value + V []byte `protobuf:"bytes,9,opt,name=v,proto3" json:"v,omitempty"` + // r defines the signature value + R []byte `protobuf:"bytes,10,opt,name=r,proto3" json:"r,omitempty"` + // s define the signature value + S []byte `protobuf:"bytes,11,opt,name=s,proto3" json:"s,omitempty"` +} + +func (x *AccessListTx) Reset() { + *x = AccessListTx{} + if protoimpl.UnsafeEnabled { + mi := &file_cosmos_evm_vm_v1_tx_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AccessListTx) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AccessListTx) ProtoMessage() {} + +// Deprecated: Use AccessListTx.ProtoReflect.Descriptor instead. +func (*AccessListTx) Descriptor() ([]byte, []int) { + return file_cosmos_evm_vm_v1_tx_proto_rawDescGZIP(), []int{2} +} + +func (x *AccessListTx) GetChainId() string { + if x != nil { + return x.ChainId + } + return "" +} + +func (x *AccessListTx) GetNonce() uint64 { + if x != nil { + return x.Nonce + } + return 0 +} + +func (x *AccessListTx) GetGasPrice() string { + if x != nil { + return x.GasPrice + } + return "" +} + +func (x *AccessListTx) GetGas() uint64 { + if x != nil { + return x.Gas + } + return 0 +} + +func (x *AccessListTx) GetTo() string { + if x != nil { + return x.To + } + return "" +} + +func (x *AccessListTx) GetValue() string { + if x != nil { + return x.Value + } + return "" +} + +func (x *AccessListTx) GetData() []byte { + if x != nil { + return x.Data + } + return nil +} + +func (x *AccessListTx) GetAccesses() []*AccessTuple { + if x != nil { + return x.Accesses + } + return nil +} + +func (x *AccessListTx) GetV() []byte { + if x != nil { + return x.V + } + return nil +} + +func (x *AccessListTx) GetR() []byte { + if x != nil { + return x.R + } + return nil +} + +func (x *AccessListTx) GetS() []byte { + if x != nil { + return x.S + } + return nil +} + +// DynamicFeeTx is the data of EIP-1559 dynamic fee transactions. +type DynamicFeeTx struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // chain_id of the destination EVM chain + ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` + // nonce corresponds to the account nonce (transaction sequence). + Nonce uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"` + // gas_tip_cap defines the max value for the gas tip + GasTipCap string `protobuf:"bytes,3,opt,name=gas_tip_cap,json=gasTipCap,proto3" json:"gas_tip_cap,omitempty"` + // gas_fee_cap defines the max value for the gas fee + GasFeeCap string `protobuf:"bytes,4,opt,name=gas_fee_cap,json=gasFeeCap,proto3" json:"gas_fee_cap,omitempty"` + // gas defines the gas limit defined for the transaction. + Gas uint64 `protobuf:"varint,5,opt,name=gas,proto3" json:"gas,omitempty"` + // to is the hex formatted address of the recipient + To string `protobuf:"bytes,6,opt,name=to,proto3" json:"to,omitempty"` + // value defines the transaction amount. + Value string `protobuf:"bytes,7,opt,name=value,proto3" json:"value,omitempty"` + // data is the data payload bytes of the transaction. + Data []byte `protobuf:"bytes,8,opt,name=data,proto3" json:"data,omitempty"` + // accesses is an array of access tuples + Accesses []*AccessTuple `protobuf:"bytes,9,rep,name=accesses,proto3" json:"accesses,omitempty"` + // v defines the signature value + V []byte `protobuf:"bytes,10,opt,name=v,proto3" json:"v,omitempty"` + // r defines the signature value + R []byte `protobuf:"bytes,11,opt,name=r,proto3" json:"r,omitempty"` + // s define the signature value + S []byte `protobuf:"bytes,12,opt,name=s,proto3" json:"s,omitempty"` +} + +func (x *DynamicFeeTx) Reset() { + *x = DynamicFeeTx{} + if protoimpl.UnsafeEnabled { + mi := &file_cosmos_evm_vm_v1_tx_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DynamicFeeTx) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DynamicFeeTx) ProtoMessage() {} + +// Deprecated: Use DynamicFeeTx.ProtoReflect.Descriptor instead. +func (*DynamicFeeTx) Descriptor() ([]byte, []int) { + return file_cosmos_evm_vm_v1_tx_proto_rawDescGZIP(), []int{3} +} + +func (x *DynamicFeeTx) GetChainId() string { + if x != nil { + return x.ChainId + } + return "" +} + +func (x *DynamicFeeTx) GetNonce() uint64 { + if x != nil { + return x.Nonce + } + return 0 +} + +func (x *DynamicFeeTx) GetGasTipCap() string { + if x != nil { + return x.GasTipCap + } + return "" +} + +func (x *DynamicFeeTx) GetGasFeeCap() string { + if x != nil { + return x.GasFeeCap + } + return "" +} + +func (x *DynamicFeeTx) GetGas() uint64 { + if x != nil { + return x.Gas + } + return 0 +} + +func (x *DynamicFeeTx) GetTo() string { + if x != nil { + return x.To + } + return "" +} + +func (x *DynamicFeeTx) GetValue() string { + if x != nil { + return x.Value + } + return "" +} + +func (x *DynamicFeeTx) GetData() []byte { + if x != nil { + return x.Data + } + return nil +} + +func (x *DynamicFeeTx) GetAccesses() []*AccessTuple { + if x != nil { + return x.Accesses + } + return nil +} + +func (x *DynamicFeeTx) GetV() []byte { + if x != nil { + return x.V + } + return nil +} + +func (x *DynamicFeeTx) GetR() []byte { + if x != nil { + return x.R + } + return nil +} + +func (x *DynamicFeeTx) GetS() []byte { + if x != nil { + return x.S + } + return nil +} + +// ExtensionOptionsEthereumTx is an extension option for ethereum transactions +type ExtensionOptionsEthereumTx struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ExtensionOptionsEthereumTx) Reset() { + *x = ExtensionOptionsEthereumTx{} + if protoimpl.UnsafeEnabled { + mi := &file_cosmos_evm_vm_v1_tx_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExtensionOptionsEthereumTx) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExtensionOptionsEthereumTx) ProtoMessage() {} + +// Deprecated: Use ExtensionOptionsEthereumTx.ProtoReflect.Descriptor instead. +func (*ExtensionOptionsEthereumTx) Descriptor() ([]byte, []int) { + return file_cosmos_evm_vm_v1_tx_proto_rawDescGZIP(), []int{4} +} + +// MsgEthereumTxResponse defines the Msg/EthereumTx response type. +type MsgEthereumTxResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // hash of the ethereum transaction in hex format. This hash differs from the + // Tendermint sha256 hash of the transaction bytes. See + // https://github.com/tendermint/tendermint/issues/6539 for reference + Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` + // logs contains the transaction hash and the proto-compatible ethereum + // logs. + Logs []*Log `protobuf:"bytes,2,rep,name=logs,proto3" json:"logs,omitempty"` + // ret is the returned data from evm function (result or data supplied with + // revert opcode) + Ret []byte `protobuf:"bytes,3,opt,name=ret,proto3" json:"ret,omitempty"` + // vm_error is the error returned by vm execution + VmError string `protobuf:"bytes,4,opt,name=vm_error,json=vmError,proto3" json:"vm_error,omitempty"` + // gas_used specifies how much gas was consumed by the transaction + GasUsed uint64 `protobuf:"varint,5,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` +} + +func (x *MsgEthereumTxResponse) Reset() { + *x = MsgEthereumTxResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cosmos_evm_vm_v1_tx_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgEthereumTxResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgEthereumTxResponse) ProtoMessage() {} + +// Deprecated: Use MsgEthereumTxResponse.ProtoReflect.Descriptor instead. +func (*MsgEthereumTxResponse) Descriptor() ([]byte, []int) { + return file_cosmos_evm_vm_v1_tx_proto_rawDescGZIP(), []int{5} +} + +func (x *MsgEthereumTxResponse) GetHash() string { + if x != nil { + return x.Hash + } + return "" +} + +func (x *MsgEthereumTxResponse) GetLogs() []*Log { + if x != nil { + return x.Logs + } + return nil +} + +func (x *MsgEthereumTxResponse) GetRet() []byte { + if x != nil { + return x.Ret + } + return nil +} + +func (x *MsgEthereumTxResponse) GetVmError() string { + if x != nil { + return x.VmError + } + return "" +} + +func (x *MsgEthereumTxResponse) GetGasUsed() uint64 { + if x != nil { + return x.GasUsed + } + return 0 +} + +// MsgUpdateParams defines a Msg for updating the x/vm module parameters. +type MsgUpdateParams struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // authority is the address of the governance account. + Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` + // params defines the x/vm parameters to update. + // NOTE: All parameters must be supplied. + Params *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` +} + +func (x *MsgUpdateParams) Reset() { + *x = MsgUpdateParams{} + if protoimpl.UnsafeEnabled { + mi := &file_cosmos_evm_vm_v1_tx_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgUpdateParams) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgUpdateParams) ProtoMessage() {} + +// Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead. +func (*MsgUpdateParams) Descriptor() ([]byte, []int) { + return file_cosmos_evm_vm_v1_tx_proto_rawDescGZIP(), []int{6} +} + +func (x *MsgUpdateParams) GetAuthority() string { + if x != nil { + return x.Authority + } + return "" +} + +func (x *MsgUpdateParams) GetParams() *Params { + if x != nil { + return x.Params + } + return nil +} + +// MsgUpdateParamsResponse defines the response structure for executing a +// MsgUpdateParams message. +type MsgUpdateParamsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *MsgUpdateParamsResponse) Reset() { + *x = MsgUpdateParamsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cosmos_evm_vm_v1_tx_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MsgUpdateParamsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MsgUpdateParamsResponse) ProtoMessage() {} + +// Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead. +func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) { + return file_cosmos_evm_vm_v1_tx_proto_rawDescGZIP(), []int{7} +} + +var File_cosmos_evm_vm_v1_tx_proto protoreflect.FileDescriptor + +var file_cosmos_evm_vm_v1_tx_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x6d, 0x2f, + 0x76, 0x31, 0x2f, 0x74, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x63, 0x6f, 0x73, + 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x1a, 0x11, 0x61, + 0x6d, 0x69, 0x6e, 0x6f, 0x2f, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 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, 0x1a, 0x19, 0x63, 0x6f, 0x73, 0x6d, 0x6f, + 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, + 0x67, 0x6f, 0x67, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, + 0x76, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x76, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xb6, 0x01, 0x0a, 0x0d, 0x4d, 0x73, 0x67, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x54, + 0x78, 0x12, 0x28, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1e, 0x0a, 0x04, 0x73, + 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x42, 0x0a, 0xea, 0xde, 0x1f, 0x01, 0x2d, + 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x24, 0x0a, 0x04, 0x68, + 0x61, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x10, 0xf2, 0xde, 0x1f, 0x07, 0x72, + 0x6c, 0x70, 0x3a, 0x22, 0x2d, 0x22, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x04, 0x68, 0x61, 0x73, + 0x68, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x3a, 0x21, 0x88, 0xa0, 0x1f, 0x00, 0x8a, 0xe7, 0xb0, 0x2a, 0x18, + 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x4d, 0x73, 0x67, 0x45, 0x74, + 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x54, 0x78, 0x22, 0xa9, 0x02, 0x0a, 0x08, 0x4c, 0x65, 0x67, + 0x61, 0x63, 0x79, 0x54, 0x78, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x36, 0x0a, 0x09, 0x67, + 0x61, 0x73, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x19, + 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, + 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0x52, 0x08, 0x67, 0x61, 0x73, 0x50, 0x72, + 0x69, 0x63, 0x65, 0x12, 0x1e, 0x0a, 0x03, 0x67, 0x61, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, + 0x42, 0x0c, 0xe2, 0xde, 0x1f, 0x08, 0x47, 0x61, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x03, + 0x67, 0x61, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x02, 0x74, 0x6f, 0x12, 0x39, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x23, 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, + 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xe2, 0xde, 0x1f, + 0x06, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x12, + 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, + 0x74, 0x61, 0x12, 0x0c, 0x0a, 0x01, 0x76, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 0x76, + 0x12, 0x0c, 0x0a, 0x01, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 0x72, 0x12, 0x0c, + 0x0a, 0x01, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 0x73, 0x3a, 0x26, 0x88, 0xa0, + 0x1f, 0x00, 0xca, 0xb4, 0x2d, 0x06, 0x54, 0x78, 0x44, 0x61, 0x74, 0x61, 0x8a, 0xe7, 0xb0, 0x2a, + 0x13, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x4c, 0x65, 0x67, 0x61, + 0x63, 0x79, 0x54, 0x78, 0x22, 0xdf, 0x03, 0x0a, 0x0c, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, + 0x69, 0x73, 0x74, 0x54, 0x78, 0x12, 0x4a, 0x0a, 0x08, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2f, 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, + 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, + 0x6e, 0x74, 0xe2, 0xde, 0x1f, 0x07, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x44, 0xea, 0xde, 0x1f, + 0x07, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x44, 0x52, 0x07, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x49, + 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x36, 0x0a, 0x09, 0x67, 0x61, 0x73, 0x5f, 0x70, + 0x72, 0x69, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x19, 0xda, 0xde, 0x1f, 0x15, + 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, + 0x68, 0x2e, 0x49, 0x6e, 0x74, 0x52, 0x08, 0x67, 0x61, 0x73, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, + 0x1e, 0x0a, 0x03, 0x67, 0x61, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x42, 0x0c, 0xe2, 0xde, + 0x1f, 0x08, 0x47, 0x61, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x03, 0x67, 0x61, 0x73, 0x12, + 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x74, 0x6f, 0x12, + 0x39, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x23, + 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, + 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xe2, 0xde, 0x1f, 0x06, 0x41, 0x6d, 0x6f, + 0x75, 0x6e, 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, + 0x74, 0x61, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x60, + 0x0a, 0x08, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x1d, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, + 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x75, 0x70, 0x6c, 0x65, 0x42, + 0x25, 0xc8, 0xde, 0x1f, 0x00, 0xea, 0xde, 0x1f, 0x0a, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, + 0x69, 0x73, 0x74, 0xaa, 0xdf, 0x1f, 0x0a, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, 0x69, 0x73, + 0x74, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x08, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, + 0x12, 0x0c, 0x0a, 0x01, 0x76, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 0x76, 0x12, 0x0c, + 0x0a, 0x01, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 0x72, 0x12, 0x0c, 0x0a, 0x01, + 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 0x73, 0x3a, 0x2a, 0x88, 0xa0, 0x1f, 0x00, + 0xca, 0xb4, 0x2d, 0x06, 0x54, 0x78, 0x44, 0x61, 0x74, 0x61, 0x8a, 0xe7, 0xb0, 0x2a, 0x17, 0x63, + 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x4c, 0x69, 0x73, 0x74, 0x54, 0x78, 0x22, 0x9d, 0x04, 0x0a, 0x0c, 0x44, 0x79, 0x6e, 0x61, 0x6d, + 0x69, 0x63, 0x46, 0x65, 0x65, 0x54, 0x78, 0x12, 0x4a, 0x0a, 0x08, 0x63, 0x68, 0x61, 0x69, 0x6e, + 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2f, 0xda, 0xde, 0x1f, 0x15, 0x63, + 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, + 0x2e, 0x49, 0x6e, 0x74, 0xe2, 0xde, 0x1f, 0x07, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x44, 0xea, + 0xde, 0x1f, 0x07, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x44, 0x52, 0x07, 0x63, 0x68, 0x61, 0x69, + 0x6e, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x39, 0x0a, 0x0b, 0x67, 0x61, 0x73, + 0x5f, 0x74, 0x69, 0x70, 0x5f, 0x63, 0x61, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x19, + 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, + 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0x52, 0x09, 0x67, 0x61, 0x73, 0x54, 0x69, + 0x70, 0x43, 0x61, 0x70, 0x12, 0x39, 0x0a, 0x0b, 0x67, 0x61, 0x73, 0x5f, 0x66, 0x65, 0x65, 0x5f, + 0x63, 0x61, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x19, 0xda, 0xde, 0x1f, 0x15, 0x63, + 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x6d, 0x61, 0x74, 0x68, + 0x2e, 0x49, 0x6e, 0x74, 0x52, 0x09, 0x67, 0x61, 0x73, 0x46, 0x65, 0x65, 0x43, 0x61, 0x70, 0x12, + 0x1e, 0x0a, 0x03, 0x67, 0x61, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x42, 0x0c, 0xe2, 0xde, + 0x1f, 0x08, 0x47, 0x61, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x03, 0x67, 0x61, 0x73, 0x12, + 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x74, 0x6f, 0x12, + 0x39, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x42, 0x23, + 0xda, 0xde, 0x1f, 0x15, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, + 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x49, 0x6e, 0x74, 0xe2, 0xde, 0x1f, 0x06, 0x41, 0x6d, 0x6f, + 0x75, 0x6e, 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, + 0x74, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x60, + 0x0a, 0x08, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x1d, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, + 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x75, 0x70, 0x6c, 0x65, 0x42, + 0x25, 0xc8, 0xde, 0x1f, 0x00, 0xea, 0xde, 0x1f, 0x0a, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, + 0x69, 0x73, 0x74, 0xaa, 0xdf, 0x1f, 0x0a, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, 0x69, 0x73, + 0x74, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x08, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, + 0x12, 0x0c, 0x0a, 0x01, 0x76, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 0x76, 0x12, 0x0c, + 0x0a, 0x01, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 0x72, 0x12, 0x0c, 0x0a, 0x01, + 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x01, 0x73, 0x3a, 0x2a, 0x88, 0xa0, 0x1f, 0x00, + 0xca, 0xb4, 0x2d, 0x06, 0x54, 0x78, 0x44, 0x61, 0x74, 0x61, 0x8a, 0xe7, 0xb0, 0x2a, 0x17, 0x63, + 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, + 0x63, 0x46, 0x65, 0x65, 0x54, 0x78, 0x22, 0x22, 0x0a, 0x1a, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, + 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, + 0x75, 0x6d, 0x54, 0x78, 0x3a, 0x04, 0x88, 0xa0, 0x1f, 0x00, 0x22, 0xa4, 0x01, 0x0a, 0x15, 0x4d, + 0x73, 0x67, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x54, 0x78, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x29, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, + 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x52, 0x04, 0x6c, + 0x6f, 0x67, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x03, 0x72, 0x65, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x76, 0x6d, 0x5f, 0x65, 0x72, 0x72, 0x6f, + 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x6d, 0x45, 0x72, 0x72, 0x6f, 0x72, + 0x12, 0x19, 0x0a, 0x08, 0x67, 0x61, 0x73, 0x5f, 0x75, 0x73, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x07, 0x67, 0x61, 0x73, 0x55, 0x73, 0x65, 0x64, 0x3a, 0x04, 0x88, 0xa0, 0x1f, + 0x00, 0x22, 0xba, 0x01, 0x0a, 0x0f, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x36, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, + 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, + 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, + 0x6e, 0x67, 0x52, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x3b, 0x0a, + 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, + 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, + 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x09, 0xc8, 0xde, 0x1f, 0x00, 0xa8, 0xe7, 0xb0, + 0x2a, 0x01, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x3a, 0x32, 0x82, 0xe7, 0xb0, 0x2a, + 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x8a, 0xe7, 0xb0, 0x2a, 0x1f, 0x63, + 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x78, 0x2f, 0x76, 0x6d, 0x2f, 0x4d, + 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x19, + 0x0a, 0x17, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xe9, 0x01, 0x0a, 0x03, 0x4d, 0x73, + 0x67, 0x12, 0x7d, 0x0a, 0x0a, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x54, 0x78, 0x12, + 0x1f, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, + 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x54, 0x78, + 0x1a, 0x27, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, + 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x45, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x54, + 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x25, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x1f, 0x22, 0x1d, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, + 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x5f, 0x74, 0x78, + 0x12, 0x5c, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, + 0x12, 0x21, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, + 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x1a, 0x29, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, + 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x1a, 0x05, + 0x80, 0xe7, 0xb0, 0x2a, 0x01, 0x42, 0xaa, 0x01, 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, + 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x65, 0x76, 0x6d, 0x2e, 0x76, 0x6d, 0x2e, 0x76, 0x31, 0x42, 0x07, + 0x54, 0x78, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x26, 0x63, 0x6f, 0x73, 0x6d, 0x6f, + 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x73, 0x6d, + 0x6f, 0x73, 0x2f, 0x65, 0x76, 0x6d, 0x2f, 0x76, 0x6d, 0x2f, 0x76, 0x31, 0x3b, 0x76, 0x6d, 0x76, + 0x31, 0xa2, 0x02, 0x03, 0x43, 0x45, 0x56, 0xaa, 0x02, 0x10, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, + 0x2e, 0x45, 0x76, 0x6d, 0x2e, 0x56, 0x6d, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x10, 0x43, 0x6f, 0x73, + 0x6d, 0x6f, 0x73, 0x5c, 0x45, 0x76, 0x6d, 0x5c, 0x56, 0x6d, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1c, + 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x45, 0x76, 0x6d, 0x5c, 0x56, 0x6d, 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, 0x45, 0x76, 0x6d, 0x3a, 0x3a, 0x56, 0x6d, 0x3a, 0x3a, + 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_cosmos_evm_vm_v1_tx_proto_rawDescOnce sync.Once + file_cosmos_evm_vm_v1_tx_proto_rawDescData = file_cosmos_evm_vm_v1_tx_proto_rawDesc +) + +func file_cosmos_evm_vm_v1_tx_proto_rawDescGZIP() []byte { + file_cosmos_evm_vm_v1_tx_proto_rawDescOnce.Do(func() { + file_cosmos_evm_vm_v1_tx_proto_rawDescData = protoimpl.X.CompressGZIP(file_cosmos_evm_vm_v1_tx_proto_rawDescData) + }) + return file_cosmos_evm_vm_v1_tx_proto_rawDescData +} + +var file_cosmos_evm_vm_v1_tx_proto_msgTypes = make([]protoimpl.MessageInfo, 8) +var file_cosmos_evm_vm_v1_tx_proto_goTypes = []interface{}{ + (*MsgEthereumTx)(nil), // 0: cosmos.evm.vm.v1.MsgEthereumTx + (*LegacyTx)(nil), // 1: cosmos.evm.vm.v1.LegacyTx + (*AccessListTx)(nil), // 2: cosmos.evm.vm.v1.AccessListTx + (*DynamicFeeTx)(nil), // 3: cosmos.evm.vm.v1.DynamicFeeTx + (*ExtensionOptionsEthereumTx)(nil), // 4: cosmos.evm.vm.v1.ExtensionOptionsEthereumTx + (*MsgEthereumTxResponse)(nil), // 5: cosmos.evm.vm.v1.MsgEthereumTxResponse + (*MsgUpdateParams)(nil), // 6: cosmos.evm.vm.v1.MsgUpdateParams + (*MsgUpdateParamsResponse)(nil), // 7: cosmos.evm.vm.v1.MsgUpdateParamsResponse + (*anypb.Any)(nil), // 8: google.protobuf.Any + (*AccessTuple)(nil), // 9: cosmos.evm.vm.v1.AccessTuple + (*Log)(nil), // 10: cosmos.evm.vm.v1.Log + (*Params)(nil), // 11: cosmos.evm.vm.v1.Params +} +var file_cosmos_evm_vm_v1_tx_proto_depIdxs = []int32{ + 8, // 0: cosmos.evm.vm.v1.MsgEthereumTx.data:type_name -> google.protobuf.Any + 9, // 1: cosmos.evm.vm.v1.AccessListTx.accesses:type_name -> cosmos.evm.vm.v1.AccessTuple + 9, // 2: cosmos.evm.vm.v1.DynamicFeeTx.accesses:type_name -> cosmos.evm.vm.v1.AccessTuple + 10, // 3: cosmos.evm.vm.v1.MsgEthereumTxResponse.logs:type_name -> cosmos.evm.vm.v1.Log + 11, // 4: cosmos.evm.vm.v1.MsgUpdateParams.params:type_name -> cosmos.evm.vm.v1.Params + 0, // 5: cosmos.evm.vm.v1.Msg.EthereumTx:input_type -> cosmos.evm.vm.v1.MsgEthereumTx + 6, // 6: cosmos.evm.vm.v1.Msg.UpdateParams:input_type -> cosmos.evm.vm.v1.MsgUpdateParams + 5, // 7: cosmos.evm.vm.v1.Msg.EthereumTx:output_type -> cosmos.evm.vm.v1.MsgEthereumTxResponse + 7, // 8: cosmos.evm.vm.v1.Msg.UpdateParams:output_type -> cosmos.evm.vm.v1.MsgUpdateParamsResponse + 7, // [7:9] is the sub-list for method output_type + 5, // [5:7] is the sub-list for method input_type + 5, // [5:5] is the sub-list for extension type_name + 5, // [5:5] is the sub-list for extension extendee + 0, // [0:5] is the sub-list for field type_name +} + +func init() { file_cosmos_evm_vm_v1_tx_proto_init() } +func file_cosmos_evm_vm_v1_tx_proto_init() { + if File_cosmos_evm_vm_v1_tx_proto != nil { + return + } + file_cosmos_evm_vm_v1_evm_proto_init() + if !protoimpl.UnsafeEnabled { + file_cosmos_evm_vm_v1_tx_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgEthereumTx); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cosmos_evm_vm_v1_tx_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LegacyTx); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cosmos_evm_vm_v1_tx_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AccessListTx); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cosmos_evm_vm_v1_tx_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DynamicFeeTx); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cosmos_evm_vm_v1_tx_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExtensionOptionsEthereumTx); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cosmos_evm_vm_v1_tx_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgEthereumTxResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cosmos_evm_vm_v1_tx_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgUpdateParams); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cosmos_evm_vm_v1_tx_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MsgUpdateParamsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cosmos_evm_vm_v1_tx_proto_rawDesc, + NumEnums: 0, + NumMessages: 8, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_cosmos_evm_vm_v1_tx_proto_goTypes, + DependencyIndexes: file_cosmos_evm_vm_v1_tx_proto_depIdxs, + MessageInfos: file_cosmos_evm_vm_v1_tx_proto_msgTypes, + }.Build() + File_cosmos_evm_vm_v1_tx_proto = out.File + file_cosmos_evm_vm_v1_tx_proto_rawDesc = nil + file_cosmos_evm_vm_v1_tx_proto_goTypes = nil + file_cosmos_evm_vm_v1_tx_proto_depIdxs = nil +} diff --git a/api/cosmos/evm/vm/v1/tx_grpc.pb.go b/api/cosmos/evm/vm/v1/tx_grpc.pb.go new file mode 100644 index 000000000..cd6db1b5b --- /dev/null +++ b/api/cosmos/evm/vm/v1/tx_grpc.pb.go @@ -0,0 +1,154 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.3.0 +// - protoc (unknown) +// source: cosmos/evm/vm/v1/tx.proto + +package vmv1 + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +const ( + Msg_EthereumTx_FullMethodName = "/cosmos.evm.vm.v1.Msg/EthereumTx" + Msg_UpdateParams_FullMethodName = "/cosmos.evm.vm.v1.Msg/UpdateParams" +) + +// MsgClient is the client API for Msg service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type MsgClient interface { + // EthereumTx defines a method submitting Ethereum transactions. + EthereumTx(ctx context.Context, in *MsgEthereumTx, opts ...grpc.CallOption) (*MsgEthereumTxResponse, error) + // UpdateParams defined a governance operation for updating the x/vm module + // parameters. The authority is hard-coded to the Cosmos SDK x/gov module + // account + UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) +} + +type msgClient struct { + cc grpc.ClientConnInterface +} + +func NewMsgClient(cc grpc.ClientConnInterface) MsgClient { + return &msgClient{cc} +} + +func (c *msgClient) EthereumTx(ctx context.Context, in *MsgEthereumTx, opts ...grpc.CallOption) (*MsgEthereumTxResponse, error) { + out := new(MsgEthereumTxResponse) + err := c.cc.Invoke(ctx, Msg_EthereumTx_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) { + out := new(MsgUpdateParamsResponse) + err := c.cc.Invoke(ctx, Msg_UpdateParams_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// MsgServer is the server API for Msg service. +// All implementations must embed UnimplementedMsgServer +// for forward compatibility +type MsgServer interface { + // EthereumTx defines a method submitting Ethereum transactions. + EthereumTx(context.Context, *MsgEthereumTx) (*MsgEthereumTxResponse, error) + // UpdateParams defined a governance operation for updating the x/vm module + // parameters. The authority is hard-coded to the Cosmos SDK x/gov module + // account + UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) + mustEmbedUnimplementedMsgServer() +} + +// UnimplementedMsgServer must be embedded to have forward compatible implementations. +type UnimplementedMsgServer struct { +} + +func (UnimplementedMsgServer) EthereumTx(context.Context, *MsgEthereumTx) (*MsgEthereumTxResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method EthereumTx not implemented") +} +func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateParams not implemented") +} +func (UnimplementedMsgServer) mustEmbedUnimplementedMsgServer() {} + +// UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to MsgServer will +// result in compilation errors. +type UnsafeMsgServer interface { + mustEmbedUnimplementedMsgServer() +} + +func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer) { + s.RegisterService(&Msg_ServiceDesc, srv) +} + +func _Msg_EthereumTx_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgEthereumTx) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).EthereumTx(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_EthereumTx_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).EthereumTx(ctx, req.(*MsgEthereumTx)) + } + return interceptor(ctx, in, info, handler) +} + +func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgUpdateParams) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MsgServer).UpdateParams(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Msg_UpdateParams_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MsgServer).UpdateParams(ctx, req.(*MsgUpdateParams)) + } + return interceptor(ctx, in, info, handler) +} + +// Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. +// 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.evm.vm.v1.Msg", + HandlerType: (*MsgServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "EthereumTx", + Handler: _Msg_EthereumTx_Handler, + }, + { + MethodName: "UpdateParams", + Handler: _Msg_UpdateParams_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "cosmos/evm/vm/v1/tx.proto", +} diff --git a/proto/cosmos/evm/vm/v1/evm.proto b/proto/cosmos/evm/vm/v1/evm.proto new file mode 100644 index 000000000..f32fbb19e --- /dev/null +++ b/proto/cosmos/evm/vm/v1/evm.proto @@ -0,0 +1,333 @@ + +syntax = "proto3"; +package cosmos.evm.vm.v1; + +import "amino/amino.proto"; +import "gogoproto/gogo.proto"; + +option go_package = "github.com/cosmos/evm/x/vm/types/v1"; + +// Params defines the EVM module parameters +message Params { + option (amino.name) = "cosmos/evm/x/vm/Params"; + // evm_denom represents the token denomination used to run the EVM state + // transitions. + string evm_denom = 1 [ (gogoproto.moretags) = "yaml:\"evm_denom\"" ]; + // enable_create and enable call have been deprecated + reserved 2, 3; + // extra_eips defines the additional EIPs for the vm.Config + repeated int64 extra_eips = 4 [ + (gogoproto.customname) = "ExtraEIPs", + (gogoproto.moretags) = "yaml:\"extra_eips\"" + ]; + // chain_config defines the EVM chain configuration parameters + ChainConfig chain_config = 5 [ + (gogoproto.moretags) = "yaml:\"chain_config\"", + (gogoproto.nullable) = false, + (amino.dont_omitempty) = true + ]; + + // allow_unprotected_txs defines if replay-protected (i.e non EIP155 + // signed) transactions can be executed on the state machine. + bool allow_unprotected_txs = 6; + // renamed active_precompiles to active_static_precompiles + reserved 7; + // evm_channels is the list of channel identifiers from EVM compatible chains + repeated string evm_channels = 8 [ (gogoproto.customname) = "EVMChannels" ]; + // access_control defines the permission policy of the EVM + AccessControl access_control = 9 [ + (gogoproto.customname) = "AccessControl", + (gogoproto.nullable) = false + ]; + // active_static_precompiles defines the slice of hex addresses of the + // precompiled contracts that are active + repeated string active_static_precompiles = 10; +} + +// AccessControl defines the permission policy of the EVM +// for creating and calling contracts +message AccessControl { + // create defines the permission policy for creating contracts + AccessControlType create = 1 [ (gogoproto.nullable) = false ]; + // call defines the permission policy for calling contracts + AccessControlType call = 2 [ (gogoproto.nullable) = false ]; +} + +// AccessControlType defines the permission type for policies +message AccessControlType { + // access_type defines which type of permission is required for the operation + AccessType access_type = 1 [ + (gogoproto.customname) = "AccessType", + (gogoproto.moretags) = "yaml:\"access_type\"" + ]; + // access_control_list defines defines different things depending on the + // AccessType: + // - ACCESS_TYPE_PERMISSIONLESS: list of addresses that are blocked from + // performing the operation + // - ACCESS_TYPE_RESTRICTED: ignored + // - ACCESS_TYPE_PERMISSIONED: list of addresses that are allowed to perform + // the operation + repeated string access_control_list = 2 [ + (gogoproto.customname) = "AccessControlList", + (gogoproto.moretags) = "yaml:\"access_control_list\"" + ]; +} + +// AccessType defines the types of permissions for the operations +enum AccessType { + option (gogoproto.goproto_enum_prefix) = false; + + // ACCESS_TYPE_PERMISSIONLESS does not restrict the operation to anyone + ACCESS_TYPE_PERMISSIONLESS = 0 + [ (gogoproto.enumvalue_customname) = "AccessTypePermissionless" ]; + // ACCESS_TYPE_RESTRICTED restrict the operation to anyone + ACCESS_TYPE_RESTRICTED = 1 + [ (gogoproto.enumvalue_customname) = "AccessTypeRestricted" ]; + // ACCESS_TYPE_PERMISSIONED only allows the operation for specific addresses + ACCESS_TYPE_PERMISSIONED = 2 + [ (gogoproto.enumvalue_customname) = "AccessTypePermissioned" ]; +} + +// ChainConfig defines the Ethereum ChainConfig parameters using *sdk.Int values +// instead of *big.Int. +message ChainConfig { + // homestead_block switch (nil no fork, 0 = already homestead) + string homestead_block = 1 [ + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.moretags) = "yaml:\"homestead_block\"" + ]; + // dao_fork_block corresponds to TheDAO hard-fork switch block (nil no fork) + string dao_fork_block = 2 [ + (gogoproto.customname) = "DAOForkBlock", + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.moretags) = "yaml:\"dao_fork_block\"" + ]; + // dao_fork_support defines whether the nodes supports or opposes the DAO + // hard-fork + bool dao_fork_support = 3 [ + (gogoproto.customname) = "DAOForkSupport", + (gogoproto.moretags) = "yaml:\"dao_fork_support\"" + ]; + // eip150_block: EIP150 implements the Gas price changes + // (https://github.com/ethereum/EIPs/issues/150) EIP150 HF block (nil no fork) + string eip150_block = 4 [ + (gogoproto.customname) = "EIP150Block", + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.moretags) = "yaml:\"eip150_block\"" + ]; + // eip150_hash: EIP150 HF hash (needed for header only clients as only gas + // pricing changed) + string eip150_hash = 5 [ + (gogoproto.customname) = "EIP150Hash", + (gogoproto.moretags) = "yaml:\"byzantium_block\"" + ]; + // eip155_block: EIP155Block HF block + string eip155_block = 6 [ + (gogoproto.customname) = "EIP155Block", + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.moretags) = "yaml:\"eip155_block\"" + ]; + // eip158_block: EIP158 HF block + string eip158_block = 7 [ + (gogoproto.customname) = "EIP158Block", + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.moretags) = "yaml:\"eip158_block\"" + ]; + // byzantium_block: Byzantium switch block (nil no fork, 0 = already on + // byzantium) + string byzantium_block = 8 [ + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.moretags) = "yaml:\"byzantium_block\"" + ]; + // constantinople_block: Constantinople switch block (nil no fork, 0 = already + // activated) + string constantinople_block = 9 [ + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.moretags) = "yaml:\"constantinople_block\"" + ]; + // petersburg_block: Petersburg switch block (nil same as Constantinople) + string petersburg_block = 10 [ + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.moretags) = "yaml:\"petersburg_block\"" + ]; + // istanbul_block: Istanbul switch block (nil no fork, 0 = already on + // istanbul) + string istanbul_block = 11 [ + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.moretags) = "yaml:\"istanbul_block\"" + ]; + // muir_glacier_block: Eip-2384 (bomb delay) switch block (nil no fork, 0 = + // already activated) + string muir_glacier_block = 12 [ + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.moretags) = "yaml:\"muir_glacier_block\"" + ]; + // berlin_block: Berlin switch block (nil = no fork, 0 = already on berlin) + string berlin_block = 13 [ + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.moretags) = "yaml:\"berlin_block\"" + ]; + // DEPRECATED: EWASM, YOLOV3 and Catalyst block have been deprecated + reserved 14, 15, 16; + reserved "yolo_v3_block", "ewasm_block", "catalyst_block"; + // london_block: London switch block (nil = no fork, 0 = already on london) + string london_block = 17 [ + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.moretags) = "yaml:\"london_block\"" + ]; + // arrow_glacier_block: Eip-4345 (bomb delay) switch block (nil = no fork, 0 = + // already activated) + string arrow_glacier_block = 18 [ + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.moretags) = "yaml:\"arrow_glacier_block\"" + ]; + // DEPRECATED: merge fork block was deprecated: + // https://github.com/ethereum/go-ethereum/pull/24904 + reserved 19; + reserved "merge_fork_block"; + // gray_glacier_block: EIP-5133 (bomb delay) switch block (nil = no fork, 0 = + // already activated) + string gray_glacier_block = 20 [ + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.moretags) = "yaml:\"gray_glacier_block\"" + ]; + // merge_netsplit_block: Virtual fork after The Merge to use as a network + // splitter + string merge_netsplit_block = 21 [ + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.moretags) = "yaml:\"merge_netsplit_block\"" + ]; + // shanghai_block switch block (nil = no fork, 0 = already on shanghai) + string shanghai_block = 22 [ + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.moretags) = "yaml:\"shanghai_block\"" + ]; + // cancun_block switch block (nil = no fork, 0 = already on cancun) + string cancun_block = 23 [ + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.moretags) = "yaml:\"cancun_block\"" + ]; + // chain_id is the id of the chain (EIP-155) + uint64 chain_id = 24; + // denom is the denomination used on the EVM + string denom = 25; + // decimals is the real decimal precision of the denomination used on the EVM + uint64 decimals = 26; +} + +// State represents a single Storage key value pair item. +message State { + // key is the stored key + string key = 1; + // value is the stored value for the given key + string value = 2; +} + +// TransactionLogs define the logs generated from a transaction execution +// with a given hash. It it used for import/export data as transactions are not +// persisted on blockchain state after an upgrade. +message TransactionLogs { + // hash of the transaction + string hash = 1; + // logs is an array of Logs for the given transaction hash + repeated Log logs = 2; +} + +// Log represents an protobuf compatible Ethereum Log that defines a contract +// log event. These events are generated by the LOG opcode and stored/indexed by +// the node. +// +// NOTE: address, topics and data are consensus fields. The rest of the fields +// are derived, i.e. filled in by the nodes, but not secured by consensus. +message Log { + // address of the contract that generated the event + string address = 1; + // topics is a list of topics provided by the contract. + repeated string topics = 2; + // data which is supplied by the contract, usually ABI-encoded + bytes data = 3; + + // block_number of the block in which the transaction was included + uint64 block_number = 4 [ (gogoproto.jsontag) = "blockNumber" ]; + // tx_hash is the transaction hash + string tx_hash = 5 [ (gogoproto.jsontag) = "transactionHash" ]; + // tx_index of the transaction in the block + uint64 tx_index = 6 [ (gogoproto.jsontag) = "transactionIndex" ]; + // block_hash of the block in which the transaction was included + string block_hash = 7 [ (gogoproto.jsontag) = "blockHash" ]; + // index of the log in the block + uint64 index = 8 [ (gogoproto.jsontag) = "logIndex" ]; + + // removed is true if this log was reverted due to a chain + // reorganisation. You must pay attention to this field if you receive logs + // through a filter query. + bool removed = 9; +} + +// TxResult stores results of Tx execution. +message TxResult { + option (gogoproto.goproto_getters) = false; + + // contract_address contains the ethereum address of the created contract (if + // any). If the state transition is an evm.Call, the contract address will be + // empty. + string contract_address = 1 + [ (gogoproto.moretags) = "yaml:\"contract_address\"" ]; + // bloom represents the bloom filter bytes + bytes bloom = 2; + // tx_logs contains the transaction hash and the proto-compatible ethereum + // logs. + TransactionLogs tx_logs = 3 [ + (gogoproto.moretags) = "yaml:\"tx_logs\"", + (gogoproto.nullable) = false, + (amino.dont_omitempty) = true + ]; + // ret defines the bytes from the execution. + bytes ret = 4; + // reverted flag is set to true when the call has been reverted + bool reverted = 5; + // gas_used notes the amount of gas consumed while execution + uint64 gas_used = 6; +} + +// AccessTuple is the element type of an access list. +message AccessTuple { + option (gogoproto.goproto_getters) = false; + + // address is a hex formatted ethereum address + string address = 1; + // storage_keys are hex formatted hashes of the storage keys + repeated string storage_keys = 2 [ (gogoproto.jsontag) = "storageKeys" ]; +} + +// TraceConfig holds extra parameters to trace functions. +message TraceConfig { + // DEPRECATED: DisableMemory and DisableReturnData have been renamed to + // Enable*. + reserved 4, 7; + reserved "disable_memory", "disable_return_data"; + + // tracer is a custom javascript tracer + string tracer = 1; + // timeout overrides the default timeout of 5 seconds for JavaScript-based + // tracing calls + string timeout = 2; + // reexec defines the number of blocks the tracer is willing to go back + uint64 reexec = 3; + // disable_stack switches stack capture + bool disable_stack = 5 [ (gogoproto.jsontag) = "disableStack" ]; + // disable_storage switches storage capture + bool disable_storage = 6 [ (gogoproto.jsontag) = "disableStorage" ]; + // debug can be used to print output during capture end + bool debug = 8; + // limit defines the maximum length of output, but zero means unlimited + int32 limit = 9; + // overrides can be used to execute a trace using future fork rules + ChainConfig overrides = 10; + // enable_memory switches memory capture + bool enable_memory = 11 [ (gogoproto.jsontag) = "enableMemory" ]; + // enable_return_data switches the capture of return data + bool enable_return_data = 12 [ (gogoproto.jsontag) = "enableReturnData" ]; + // tracer_json_config configures the tracer using a JSON string + string tracer_json_config = 13 [ (gogoproto.jsontag) = "tracerConfig" ]; +} diff --git a/proto/cosmos/evm/vm/v1/tx.proto b/proto/cosmos/evm/vm/v1/tx.proto new file mode 100644 index 000000000..d5b8b440c --- /dev/null +++ b/proto/cosmos/evm/vm/v1/tx.proto @@ -0,0 +1,210 @@ + + +syntax = "proto3"; +package cosmos.evm.vm.v1; + +import "amino/amino.proto"; +import "cosmos/msg/v1/msg.proto"; +import "cosmos_proto/cosmos.proto"; +import "gogoproto/gogo.proto"; +import "google/api/annotations.proto"; +import "google/protobuf/any.proto"; +import "cosmos/evm/vm/v1/evm.proto"; + +option go_package = "github.com/cosmos/evm/x/vm/types/v1"; + +// Msg defines the evm Msg service. +service Msg { + option (cosmos.msg.v1.service) = true; + // EthereumTx defines a method submitting Ethereum transactions. + rpc EthereumTx(MsgEthereumTx) returns (MsgEthereumTxResponse) { + option (google.api.http).post = "/cosmos/evm/vm/v1/ethereum_tx"; + }; + // UpdateParams defined a governance operation for updating the x/vm module + // parameters. The authority is hard-coded to the Cosmos SDK x/gov module + // account + rpc UpdateParams(MsgUpdateParams) returns (MsgUpdateParamsResponse); +} + +// MsgEthereumTx encapsulates an Ethereum transaction as an SDK message. +message MsgEthereumTx { + option (amino.name) = "cosmos/evm/MsgEthereumTx"; + + option (gogoproto.goproto_getters) = false; + + // data is inner transaction data of the Ethereum transaction + google.protobuf.Any data = 1; + + // size is the encoded storage size of the transaction (DEPRECATED) + double size = 2 [ (gogoproto.jsontag) = "-", (amino.dont_omitempty) = true ]; + // hash of the transaction in hex format + string hash = 3 + [ (gogoproto.moretags) = "rlp:\"-\"", (amino.dont_omitempty) = true ]; + // from is the ethereum signer address in hex format. This address value is + // checked against the address derived from the signature (V, R, S) using the + // secp256k1 elliptic curve + string from = 4; +} + +// LegacyTx is the transaction data of regular Ethereum transactions. +// NOTE: All non-protected transactions (i.e non EIP155 signed) will fail if the +// AllowUnprotectedTxs parameter is disabled. +message LegacyTx { + option (amino.name) = "cosmos/evm/LegacyTx"; + + option (gogoproto.goproto_getters) = false; + option (cosmos_proto.implements_interface) = "TxData"; + + // nonce corresponds to the account nonce (transaction sequence). + uint64 nonce = 1; + // gas_price defines the value for each gas unit + string gas_price = 2 [ (gogoproto.customtype) = "cosmossdk.io/math.Int" ]; + // gas defines the gas limit defined for the transaction. + uint64 gas = 3 [ (gogoproto.customname) = "GasLimit" ]; + // to is the hex formatted address of the recipient + string to = 4; + // value defines the unsigned integer value of the transaction amount. + string value = 5 [ + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.customname) = "Amount" + ]; + // data is the data payload bytes of the transaction. + bytes data = 6; + // v defines the signature value + bytes v = 7; + // r defines the signature value + bytes r = 8; + // s define the signature value + bytes s = 9; +} + +// AccessListTx is the data of EIP-2930 access list transactions. +message AccessListTx { + option (amino.name) = "cosmos/evm/AccessListTx"; + + option (gogoproto.goproto_getters) = false; + option (cosmos_proto.implements_interface) = "TxData"; + + // chain_id of the destination EVM chain + string chain_id = 1 [ + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.customname) = "ChainID", + (gogoproto.jsontag) = "chainID" + ]; + // nonce corresponds to the account nonce (transaction sequence). + uint64 nonce = 2; + // gas_price defines the value for each gas unit + string gas_price = 3 [ (gogoproto.customtype) = "cosmossdk.io/math.Int" ]; + // gas defines the gas limit defined for the transaction. + uint64 gas = 4 [ (gogoproto.customname) = "GasLimit" ]; + // to is the recipient address in hex format + string to = 5; + // value defines the unsigned integer value of the transaction amount. + string value = 6 [ + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.customname) = "Amount" + ]; + // data is the data payload bytes of the transaction. + bytes data = 7; + // accesses is an array of access tuples + repeated AccessTuple accesses = 8 [ + (gogoproto.castrepeated) = "AccessList", + (gogoproto.jsontag) = "accessList", + (gogoproto.nullable) = false, + (amino.dont_omitempty) = true + ]; + // v defines the signature value + bytes v = 9; + // r defines the signature value + bytes r = 10; + // s define the signature value + bytes s = 11; +} + +// DynamicFeeTx is the data of EIP-1559 dynamic fee transactions. +message DynamicFeeTx { + option (amino.name) = "cosmos/evm/DynamicFeeTx"; + + option (gogoproto.goproto_getters) = false; + option (cosmos_proto.implements_interface) = "TxData"; + + // chain_id of the destination EVM chain + string chain_id = 1 [ + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.customname) = "ChainID", + (gogoproto.jsontag) = "chainID" + ]; + // nonce corresponds to the account nonce (transaction sequence). + uint64 nonce = 2; + // gas_tip_cap defines the max value for the gas tip + string gas_tip_cap = 3 [ (gogoproto.customtype) = "cosmossdk.io/math.Int" ]; + // gas_fee_cap defines the max value for the gas fee + string gas_fee_cap = 4 [ (gogoproto.customtype) = "cosmossdk.io/math.Int" ]; + // gas defines the gas limit defined for the transaction. + uint64 gas = 5 [ (gogoproto.customname) = "GasLimit" ]; + // to is the hex formatted address of the recipient + string to = 6; + // value defines the transaction amount. + string value = 7 [ + (gogoproto.customtype) = "cosmossdk.io/math.Int", + (gogoproto.customname) = "Amount" + ]; + // data is the data payload bytes of the transaction. + bytes data = 8; + // accesses is an array of access tuples + repeated AccessTuple accesses = 9 [ + (gogoproto.castrepeated) = "AccessList", + (gogoproto.jsontag) = "accessList", + (gogoproto.nullable) = false, + (amino.dont_omitempty) = true + ]; + // v defines the signature value + bytes v = 10; + // r defines the signature value + bytes r = 11; + // s define the signature value + bytes s = 12; +} + +// ExtensionOptionsEthereumTx is an extension option for ethereum transactions +message ExtensionOptionsEthereumTx { + option (gogoproto.goproto_getters) = false; +} + +// MsgEthereumTxResponse defines the Msg/EthereumTx response type. +message MsgEthereumTxResponse { + option (gogoproto.goproto_getters) = false; + + // hash of the ethereum transaction in hex format. This hash differs from the + // Tendermint sha256 hash of the transaction bytes. See + // https://github.com/tendermint/tendermint/issues/6539 for reference + string hash = 1; + // logs contains the transaction hash and the proto-compatible ethereum + // logs. + repeated Log logs = 2; + // ret is the returned data from evm function (result or data supplied with + // revert opcode) + bytes ret = 3; + // vm_error is the error returned by vm execution + string vm_error = 4; + // gas_used specifies how much gas was consumed by the transaction + uint64 gas_used = 5; +} + +// MsgUpdateParams defines a Msg for updating the x/vm module parameters. +message MsgUpdateParams { + option (amino.name) = "cosmos/evm/x/vm/MsgUpdateParams"; + option (cosmos.msg.v1.signer) = "authority"; + + // authority is the address of the governance account. + string authority = 1 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; + + // params defines the x/vm parameters to update. + // NOTE: All parameters must be supplied. + Params params = 2 + [ (gogoproto.nullable) = false, (amino.dont_omitempty) = true ]; +} + +// MsgUpdateParamsResponse defines the response structure for executing a +// MsgUpdateParams message. +message MsgUpdateParamsResponse {} diff --git a/x/vm/types/v1/evm.pb.go b/x/vm/types/v1/evm.pb.go index 7886020d4..c20869a59 100644 --- a/x/vm/types/v1/evm.pb.go +++ b/x/vm/types/v1/evm.pb.go @@ -888,130 +888,130 @@ func init() { func init() { proto.RegisterFile("cosmos/evm/vm/v1/evm.proto", fileDescriptor_d1129b8db63d55c7) } var fileDescriptor_d1129b8db63d55c7 = []byte{ - // 1956 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x58, 0x4d, 0x6f, 0x1b, 0xc7, - 0xf9, 0x17, 0xa5, 0x95, 0xb4, 0x1c, 0x52, 0xe4, 0x6a, 0x44, 0xc9, 0x34, 0x9d, 0xbf, 0x96, 0xff, - 0x6d, 0x0f, 0xaa, 0x91, 0x4a, 0xb6, 0x1c, 0xb5, 0x86, 0xd3, 0x17, 0x88, 0x32, 0xd3, 0x4a, 0x95, - 0x1d, 0x61, 0xa8, 0x34, 0x48, 0xd1, 0x62, 0x31, 0xdc, 0x9d, 0x90, 0x1b, 0xed, 0xee, 0x10, 0x3b, - 0x43, 0x9a, 0xec, 0x27, 0x08, 0x7c, 0x4a, 0x81, 0x5e, 0x0d, 0x04, 0xe8, 0xa5, 0xc7, 0x7c, 0x84, - 0x1e, 0x83, 0x9c, 0x72, 0x2c, 0x0a, 0x74, 0x51, 0xd0, 0x87, 0x00, 0x3a, 0xea, 0x13, 0x14, 0xf3, - 0xc2, 0x57, 0x29, 0x8a, 0x0a, 0x10, 0xc2, 0x3c, 0x6f, 0xbf, 0xdf, 0xf3, 0xcc, 0x3c, 0xb3, 0x33, - 0x23, 0x50, 0xf1, 0x28, 0x8b, 0x28, 0xdb, 0x23, 0xbd, 0x68, 0x4f, 0xfc, 0x1e, 0x8b, 0xd1, 0x6e, - 0x27, 0xa1, 0x9c, 0x42, 0x4b, 0xd9, 0x76, 0x85, 0x46, 0xfc, 0x1e, 0x57, 0xd6, 0x71, 0x14, 0xc4, - 0x74, 0x4f, 0xfe, 0x55, 0x4e, 0x95, 0x52, 0x8b, 0xb6, 0xa8, 0x1c, 0xee, 0x89, 0x91, 0xd2, 0x3a, - 0x7f, 0x35, 0xc0, 0xca, 0x19, 0x4e, 0x70, 0xc4, 0xe0, 0x63, 0x90, 0x25, 0xbd, 0xc8, 0xf5, 0x49, - 0x4c, 0xa3, 0x72, 0xa6, 0x9a, 0xd9, 0xc9, 0xd6, 0x4a, 0x57, 0xa9, 0x6d, 0x0d, 0x70, 0x14, 0x3e, - 0x73, 0xc6, 0x26, 0x07, 0x99, 0xa4, 0x17, 0x3d, 0x17, 0x43, 0x78, 0x08, 0x00, 0xe9, 0xf3, 0x04, - 0xbb, 0x24, 0xe8, 0xb0, 0xb2, 0x51, 0x5d, 0xda, 0x59, 0xaa, 0x39, 0xc3, 0xd4, 0xce, 0xd6, 0x85, - 0xb6, 0x7e, 0x7c, 0xc6, 0xae, 0x52, 0x7b, 0x5d, 0x03, 0x8c, 0x1d, 0x1d, 0x94, 0x95, 0x42, 0x3d, - 0xe8, 0x30, 0xd8, 0x04, 0x79, 0xaf, 0x8d, 0x83, 0xd8, 0xf5, 0x68, 0xfc, 0x69, 0xd0, 0x2a, 0x2f, - 0x57, 0x33, 0x3b, 0xb9, 0xfd, 0xff, 0xdb, 0x9d, 0x2f, 0x69, 0xf7, 0x48, 0x78, 0x1d, 0x49, 0xa7, - 0x5a, 0xf5, 0xeb, 0xd4, 0x5e, 0xb8, 0x4a, 0xed, 0x0d, 0x05, 0x3d, 0x0d, 0xe0, 0xfc, 0xfd, 0xbb, - 0xaf, 0x1e, 0x66, 0x50, 0xce, 0x9b, 0xb8, 0xc3, 0x7d, 0xb0, 0x89, 0xc3, 0x90, 0xbe, 0x72, 0xbb, - 0xb1, 0xa8, 0x9a, 0x78, 0x9c, 0xf8, 0x2e, 0xef, 0xb3, 0xf2, 0x4a, 0x35, 0xb3, 0x63, 0xa2, 0x0d, - 0x69, 0xfc, 0x68, 0x62, 0x3b, 0xef, 0x33, 0xb8, 0x0f, 0xf2, 0xa2, 0x64, 0xaf, 0x8d, 0xe3, 0x98, - 0x84, 0xac, 0x6c, 0x56, 0x97, 0x76, 0xb2, 0xb5, 0xe2, 0x30, 0xb5, 0x73, 0xf5, 0xdf, 0xbf, 0x38, - 0xd2, 0x6a, 0x94, 0x23, 0xbd, 0x68, 0x24, 0xc0, 0x3f, 0x81, 0x02, 0xf6, 0x3c, 0xc2, 0x98, 0xc8, - 0x85, 0x27, 0x34, 0x2c, 0x67, 0x65, 0x35, 0xf6, 0xf5, 0x6a, 0x0e, 0xa5, 0xdf, 0x91, 0x72, 0xab, - 0x6d, 0x8a, 0x7a, 0x86, 0xa9, 0xbd, 0x36, 0xa3, 0x46, 0x6b, 0x78, 0x5a, 0x84, 0xcf, 0xc0, 0x7d, - 0xec, 0xf1, 0xa0, 0x47, 0x5c, 0xc6, 0x31, 0x0f, 0x3c, 0xb7, 0x93, 0x10, 0x8f, 0x46, 0x9d, 0x20, - 0x24, 0xac, 0x0c, 0x44, 0x7e, 0xe8, 0x9e, 0x72, 0x68, 0x48, 0xfb, 0xd9, 0xc4, 0xfc, 0xec, 0xc1, - 0xeb, 0xef, 0xbe, 0x7a, 0xb8, 0x35, 0xd5, 0x43, 0x7d, 0xd1, 0x45, 0x6a, 0xe5, 0x4f, 0x0c, 0x73, - 0xd1, 0x5a, 0x3a, 0x31, 0xcc, 0x25, 0xcb, 0x38, 0x31, 0xcc, 0x55, 0xcb, 0x74, 0xfe, 0x92, 0x01, - 0xb3, 0xb9, 0xc0, 0x43, 0xb0, 0xe2, 0x25, 0x04, 0x73, 0x22, 0x5b, 0x23, 0xb7, 0xff, 0xa3, 0x1f, - 0xa8, 0xe9, 0x7c, 0xd0, 0x21, 0x35, 0x43, 0xd4, 0x85, 0x74, 0x20, 0xfc, 0x25, 0x30, 0x3c, 0x1c, - 0x86, 0xe5, 0xc5, 0xff, 0x15, 0x40, 0x86, 0x39, 0xff, 0xce, 0x80, 0xf5, 0x6b, 0x1e, 0xd0, 0x03, - 0x39, 0x3d, 0xe7, 0x7c, 0xd0, 0x51, 0xc9, 0x15, 0xf6, 0xdf, 0xf9, 0x3e, 0x6c, 0x09, 0xfa, 0xe3, - 0x61, 0x6a, 0x83, 0x89, 0x7c, 0x95, 0xda, 0x50, 0xf5, 0xd1, 0x14, 0x90, 0x83, 0x00, 0x1e, 0x7b, - 0x40, 0x0f, 0x6c, 0xcc, 0x2e, 0xac, 0x1b, 0x06, 0x8c, 0x97, 0x17, 0x65, 0x4f, 0x3c, 0x19, 0xa6, - 0xf6, 0x6c, 0x62, 0xa7, 0x01, 0xe3, 0x57, 0xa9, 0x5d, 0x99, 0x41, 0x9d, 0x8e, 0x74, 0xd0, 0x3a, - 0x9e, 0x0f, 0x70, 0xbe, 0x29, 0x82, 0xdc, 0x54, 0x93, 0xc3, 0x3f, 0x82, 0x62, 0x9b, 0x46, 0x84, - 0x71, 0x82, 0x7d, 0xb7, 0x19, 0x52, 0xef, 0x42, 0xef, 0xca, 0x27, 0xff, 0x4a, 0xed, 0x4d, 0x55, - 0x20, 0xf3, 0x2f, 0x76, 0x03, 0xba, 0x17, 0x61, 0xde, 0xde, 0x3d, 0x8e, 0x05, 0xe9, 0x96, 0x22, - 0x9d, 0x8b, 0x74, 0x50, 0x61, 0xac, 0xa9, 0x09, 0x05, 0x6c, 0x83, 0x82, 0x8f, 0xa9, 0xfb, 0x29, - 0x4d, 0x2e, 0x34, 0xf8, 0xa2, 0x04, 0xaf, 0x7d, 0x2f, 0xf8, 0x30, 0xb5, 0xf3, 0xcf, 0x0f, 0x3f, - 0xfc, 0x80, 0x26, 0x17, 0x12, 0xe2, 0x2a, 0xb5, 0x37, 0x15, 0xd9, 0x2c, 0x90, 0x83, 0xf2, 0x3e, - 0xa6, 0x63, 0x37, 0xf8, 0x31, 0xb0, 0xc6, 0x0e, 0xac, 0xdb, 0xe9, 0xd0, 0x84, 0x97, 0x97, 0xc4, - 0xc6, 0xab, 0xfd, 0x74, 0x98, 0xda, 0x05, 0x0d, 0xd9, 0x50, 0x96, 0xab, 0xd4, 0xbe, 0x37, 0x07, - 0xaa, 0x63, 0x1c, 0x54, 0xd0, 0xb0, 0xda, 0x55, 0x7c, 0x3a, 0x48, 0xd0, 0x79, 0x7c, 0xf0, 0x48, - 0x17, 0x60, 0xc8, 0x02, 0x7e, 0x7d, 0x5b, 0x01, 0xb9, 0xfa, 0xf1, 0xd9, 0xe3, 0x83, 0x47, 0xa3, - 0xfc, 0xf5, 0xf7, 0x63, 0x1a, 0xc5, 0x41, 0x39, 0x25, 0xaa, 0xe4, 0x8f, 0x81, 0x16, 0xdd, 0x36, - 0x66, 0x6d, 0xf9, 0x75, 0xca, 0xd6, 0x76, 0x44, 0x03, 0x29, 0xa4, 0xdf, 0x62, 0xd6, 0x9e, 0xcc, - 0x7a, 0x73, 0xf0, 0x67, 0x1c, 0xf3, 0xa0, 0x1b, 0x8d, 0xb0, 0x80, 0x0a, 0x16, 0x5e, 0xe3, 0x74, - 0x0f, 0x74, 0xba, 0x2b, 0x77, 0x4d, 0xf7, 0xe0, 0xa6, 0x74, 0x0f, 0x66, 0xd3, 0x55, 0x3e, 0x63, - 0x8e, 0xa7, 0x9a, 0x63, 0xf5, 0xae, 0x1c, 0x4f, 0x6f, 0xe2, 0x78, 0x3a, 0xcb, 0xa1, 0x7c, 0x44, - 0x5f, 0xce, 0xd5, 0x59, 0x36, 0xef, 0xdc, 0x97, 0xd7, 0x66, 0xa8, 0x30, 0xd6, 0x28, 0xf4, 0x0b, - 0x50, 0xf2, 0x68, 0xcc, 0xb8, 0xd0, 0xc5, 0xb4, 0x13, 0x12, 0x4d, 0x91, 0x95, 0x14, 0x4f, 0x6f, - 0xa3, 0x78, 0xa0, 0x4f, 0x83, 0x1b, 0xc2, 0x1d, 0xb4, 0x31, 0xab, 0x56, 0x64, 0x2e, 0xb0, 0x3a, - 0x84, 0x93, 0x84, 0x35, 0xbb, 0x49, 0x4b, 0x13, 0x01, 0x49, 0xf4, 0xde, 0x6d, 0x44, 0xba, 0x43, - 0xe7, 0x43, 0x1d, 0x54, 0x9c, 0xa8, 0x14, 0xc1, 0x27, 0xa0, 0x10, 0x08, 0xd6, 0x66, 0x37, 0xd4, - 0xf0, 0x39, 0x09, 0xbf, 0x7f, 0x1b, 0xbc, 0xde, 0x55, 0xb3, 0x81, 0x0e, 0x5a, 0x1b, 0x29, 0x14, - 0xb4, 0x0f, 0x60, 0xd4, 0x0d, 0x12, 0xb7, 0x15, 0x62, 0x2f, 0x20, 0x89, 0x86, 0xcf, 0x4b, 0xf8, - 0x9f, 0xdd, 0x06, 0x7f, 0x5f, 0xc1, 0x5f, 0x0f, 0x76, 0x90, 0x25, 0x94, 0xbf, 0x51, 0x3a, 0xc5, - 0xd2, 0x00, 0xf9, 0x26, 0x49, 0xc2, 0x20, 0xd6, 0xf8, 0x6b, 0x12, 0xff, 0xd1, 0x6d, 0xf8, 0xba, - 0x83, 0xa6, 0xc3, 0x1c, 0x94, 0x53, 0xe2, 0x18, 0x34, 0xa4, 0xb1, 0x4f, 0x47, 0xa0, 0xeb, 0x77, - 0x06, 0x9d, 0x0e, 0x73, 0x50, 0x4e, 0x89, 0x0a, 0xb4, 0x05, 0x36, 0x70, 0x92, 0xd0, 0x57, 0x73, - 0x13, 0x02, 0x25, 0xf6, 0xcf, 0x6f, 0xc3, 0x1e, 0x7d, 0xa7, 0xaf, 0x47, 0x8b, 0xef, 0xb4, 0xd0, - 0xce, 0x4c, 0x89, 0x0f, 0x60, 0x2b, 0xc1, 0x83, 0x39, 0x9e, 0xd2, 0x9d, 0x27, 0xfe, 0x7a, 0xb0, - 0x83, 0x2c, 0xa1, 0x9c, 0x61, 0xf9, 0x0c, 0x94, 0x22, 0x92, 0xb4, 0x88, 0x1b, 0x13, 0xce, 0x3a, - 0x61, 0xc0, 0x35, 0xcf, 0xe6, 0x9d, 0xf7, 0xc1, 0x4d, 0xe1, 0x0e, 0x82, 0x52, 0xfd, 0x52, 0x6b, - 0xc7, 0x5d, 0xca, 0xda, 0x38, 0x6e, 0xb5, 0x71, 0xa0, 0x59, 0xb6, 0xee, 0xdc, 0xa5, 0xb3, 0x81, - 0x0e, 0x5a, 0x1b, 0x29, 0xc6, 0x4b, 0xed, 0xe1, 0xd8, 0xeb, 0x8e, 0x96, 0xfa, 0xde, 0x9d, 0x97, - 0x7a, 0x3a, 0xcc, 0x41, 0x39, 0x25, 0x2a, 0xd0, 0xfb, 0xc0, 0x54, 0x57, 0xbe, 0xc0, 0x2f, 0x97, - 0xab, 0x99, 0x1d, 0x03, 0xad, 0x4a, 0xf9, 0xd8, 0x87, 0x25, 0xb0, 0xac, 0x2e, 0xb0, 0xf7, 0x05, - 0x11, 0x52, 0x02, 0xac, 0x00, 0xd3, 0x27, 0x5e, 0x10, 0xe1, 0x90, 0x95, 0x2b, 0x32, 0x60, 0x2c, - 0x9f, 0x18, 0x66, 0xc1, 0x2a, 0x9e, 0x18, 0x66, 0xd1, 0xb2, 0x4e, 0x0c, 0xd3, 0xb2, 0xd6, 0x4f, - 0x0c, 0x73, 0xc3, 0x2a, 0xa1, 0xb5, 0x01, 0x0d, 0xa9, 0xdb, 0x7b, 0xa2, 0x32, 0x40, 0x39, 0xf2, - 0x0a, 0x33, 0xfd, 0xd5, 0x42, 0x05, 0x0f, 0x73, 0x1c, 0x0e, 0x98, 0x9e, 0x55, 0x64, 0xa9, 0xb9, - 0x9e, 0x3a, 0x03, 0xf7, 0xc0, 0xb2, 0xb8, 0x84, 0x11, 0x68, 0x81, 0xa5, 0x0b, 0x32, 0x50, 0x27, - 0x37, 0x12, 0x43, 0x91, 0x62, 0x0f, 0x87, 0x5d, 0xa2, 0x0e, 0x5c, 0xa4, 0x04, 0xe7, 0x0c, 0x14, - 0xcf, 0x13, 0x1c, 0x33, 0x71, 0x81, 0xa3, 0xf1, 0x29, 0x6d, 0x31, 0x08, 0x81, 0x21, 0x0f, 0x1d, - 0x15, 0x2b, 0xc7, 0xf0, 0x27, 0xc0, 0x08, 0x69, 0x8b, 0xc9, 0xab, 0x47, 0x6e, 0x7f, 0xf3, 0xfa, - 0x3d, 0xe7, 0x94, 0xb6, 0x90, 0x74, 0x71, 0xbe, 0x59, 0x04, 0x4b, 0xa7, 0xb4, 0x05, 0xcb, 0x60, - 0x15, 0xfb, 0x7e, 0x42, 0x18, 0xd3, 0x48, 0x23, 0x11, 0x6e, 0x81, 0x15, 0x4e, 0x3b, 0x81, 0xa7, - 0xe0, 0xb2, 0x48, 0x4b, 0x82, 0xd8, 0xc7, 0x1c, 0xcb, 0x53, 0x3a, 0x8f, 0xe4, 0x58, 0xdc, 0x87, - 0x65, 0x65, 0x6e, 0xdc, 0x8d, 0x9a, 0x24, 0x91, 0x87, 0xad, 0x51, 0x2b, 0x5e, 0xa6, 0x76, 0x4e, - 0xea, 0x5f, 0x4a, 0x35, 0x9a, 0x16, 0xe0, 0xbb, 0x60, 0x95, 0xf7, 0xa7, 0x0f, 0xce, 0x8d, 0xcb, - 0xd4, 0x2e, 0xf2, 0x49, 0x99, 0xe2, 0x5c, 0x44, 0x2b, 0xbc, 0x2f, 0xcf, 0xc7, 0x3d, 0x60, 0xf2, - 0xbe, 0x1b, 0xc4, 0x3e, 0xe9, 0xcb, 0xb3, 0xd1, 0xa8, 0x95, 0x2e, 0x53, 0xdb, 0x9a, 0x72, 0x3f, - 0x16, 0x36, 0xb4, 0xca, 0xfb, 0x72, 0x00, 0xdf, 0x05, 0x40, 0xa5, 0x24, 0x19, 0xd4, 0x51, 0xb7, - 0x76, 0x99, 0xda, 0x59, 0xa9, 0x95, 0xd8, 0x93, 0x21, 0x74, 0xc0, 0xb2, 0xc2, 0x36, 0x25, 0x76, - 0xfe, 0x32, 0xb5, 0xcd, 0x90, 0xb6, 0x14, 0xa6, 0x32, 0x89, 0xa9, 0x4a, 0x48, 0x44, 0x7b, 0xc4, - 0x97, 0xe7, 0x8d, 0x89, 0x46, 0xa2, 0xf3, 0xc5, 0x22, 0x30, 0xcf, 0xfb, 0x88, 0xb0, 0x6e, 0xc8, - 0xe1, 0x07, 0xc0, 0x92, 0xb7, 0x39, 0xec, 0x71, 0x77, 0x66, 0x6a, 0x6b, 0x0f, 0x26, 0xa7, 0xc3, - 0xbc, 0x87, 0x83, 0x8a, 0x23, 0xd5, 0xa1, 0x9e, 0xff, 0x12, 0x58, 0x6e, 0x86, 0x94, 0x46, 0xb2, - 0x13, 0xf2, 0x48, 0x09, 0xf0, 0x63, 0x39, 0x6b, 0x72, 0x95, 0x97, 0xe4, 0x4d, 0xf9, 0xff, 0xaf, - 0xaf, 0xf2, 0x5c, 0xab, 0xd4, 0x1e, 0xe8, 0x07, 0x51, 0x41, 0x71, 0xeb, 0x78, 0xfd, 0x16, 0x5a, - 0xe1, 0x7d, 0xd9, 0x4f, 0x16, 0x58, 0x4a, 0x08, 0x97, 0x2b, 0x97, 0x47, 0x62, 0x28, 0xf6, 0x45, - 0x42, 0x7a, 0x24, 0xe1, 0xc4, 0x97, 0x2b, 0x64, 0xa2, 0xb1, 0x2c, 0x36, 0x59, 0x0b, 0x33, 0xb7, - 0xcb, 0x88, 0xaf, 0x96, 0x03, 0xad, 0xb6, 0x30, 0xfb, 0x88, 0x11, 0xff, 0x99, 0xf1, 0xf9, 0x97, - 0xf6, 0x82, 0x83, 0x41, 0x4e, 0x5f, 0xa2, 0xbb, 0x9d, 0x90, 0xdc, 0xd2, 0x66, 0xfb, 0x20, 0xcf, - 0x38, 0x4d, 0x70, 0x8b, 0xb8, 0x17, 0x64, 0xa0, 0x9b, 0x4d, 0xb5, 0x8e, 0xd6, 0xff, 0x8e, 0x0c, - 0x18, 0x9a, 0x16, 0x34, 0xc5, 0x97, 0x06, 0xc8, 0x9d, 0x27, 0xd8, 0x23, 0xfa, 0x4a, 0x2c, 0x1a, - 0x56, 0x88, 0x89, 0xa6, 0xd0, 0x92, 0xe0, 0xe6, 0x41, 0x44, 0x68, 0x97, 0xeb, 0x4d, 0x35, 0x12, - 0x45, 0x44, 0x42, 0x48, 0x9f, 0x78, 0x72, 0x2e, 0x0d, 0xa4, 0x25, 0x78, 0x00, 0xd6, 0xfc, 0x80, - 0xe1, 0x66, 0x28, 0x1f, 0x53, 0xde, 0x85, 0x2a, 0xbf, 0x66, 0x5d, 0xa6, 0x76, 0x5e, 0x1b, 0x1a, - 0x42, 0x8f, 0x66, 0x24, 0xf8, 0x3e, 0x28, 0x4e, 0xc2, 0x64, 0xb6, 0xea, 0x0d, 0x59, 0x83, 0x97, - 0xa9, 0x5d, 0x18, 0xbb, 0x4a, 0x0b, 0x9a, 0x93, 0xd5, 0xb7, 0xa9, 0xd9, 0x6d, 0xc9, 0x0e, 0x34, - 0x91, 0x12, 0x84, 0x36, 0x0c, 0xa2, 0x80, 0xcb, 0x8e, 0x5b, 0x46, 0x4a, 0x80, 0xef, 0x83, 0x2c, - 0xed, 0x91, 0x24, 0x09, 0x7c, 0xf9, 0xb6, 0xfb, 0xe1, 0x37, 0x31, 0x9a, 0xf8, 0x8b, 0xe2, 0x48, - 0x2c, 0x93, 0x8c, 0x48, 0x44, 0x93, 0x81, 0xbc, 0x74, 0xe8, 0xe2, 0x94, 0xe1, 0x85, 0xd4, 0xa3, - 0x19, 0x09, 0xd6, 0x00, 0xd4, 0x61, 0x09, 0xe1, 0xdd, 0x24, 0x76, 0xe5, 0x47, 0x20, 0x2f, 0x63, - 0xe5, 0x56, 0x54, 0x56, 0x24, 0x8d, 0xcf, 0x31, 0xc7, 0xe8, 0x9a, 0x06, 0xfe, 0x0a, 0x40, 0xb5, - 0x26, 0xee, 0x67, 0x8c, 0x8e, 0x1f, 0xf5, 0xea, 0xd6, 0x20, 0xf9, 0x95, 0x55, 0xe7, 0x6c, 0x29, - 0xe9, 0x84, 0x51, 0x5d, 0xc5, 0x89, 0x61, 0x1a, 0xd6, 0xb2, 0x7a, 0x84, 0x8e, 0xe7, 0x4f, 0x57, - 0x81, 0x36, 0x46, 0xf2, 0x54, 0x7a, 0x0f, 0xff, 0x91, 0x01, 0x53, 0x6f, 0x39, 0xf8, 0x0b, 0x50, - 0x39, 0x3c, 0x3a, 0xaa, 0x37, 0x1a, 0xee, 0xf9, 0x27, 0x67, 0x75, 0xf7, 0xac, 0x8e, 0x5e, 0x1c, - 0x37, 0x1a, 0xc7, 0x1f, 0xbe, 0x3c, 0xad, 0x37, 0x1a, 0xd6, 0x42, 0xe5, 0x9d, 0xd7, 0x6f, 0xaa, - 0xe5, 0x89, 0xff, 0x19, 0x49, 0xa2, 0x80, 0xb1, 0x80, 0xc6, 0xa1, 0xe8, 0xd4, 0xf7, 0xc0, 0xd6, - 0x74, 0x34, 0xaa, 0x37, 0xce, 0xd1, 0xf1, 0xd1, 0x79, 0xfd, 0xb9, 0x95, 0xa9, 0x94, 0x5f, 0xbf, - 0xa9, 0x96, 0x26, 0x91, 0x88, 0x30, 0x9e, 0x04, 0x9e, 0xd8, 0x29, 0x4f, 0x41, 0xf9, 0x66, 0xce, - 0xfa, 0x73, 0x6b, 0xb1, 0x52, 0x79, 0xfd, 0xa6, 0xba, 0x75, 0x13, 0x23, 0xf1, 0x2b, 0xc6, 0xe7, - 0x7f, 0xdb, 0x5e, 0xa8, 0x3d, 0xfb, 0x7a, 0xb8, 0x9d, 0xf9, 0x76, 0xb8, 0x9d, 0xf9, 0xcf, 0x70, - 0x3b, 0xf3, 0xc5, 0xdb, 0xed, 0x85, 0x6f, 0xdf, 0x6e, 0x2f, 0xfc, 0xf3, 0xed, 0xf6, 0xc2, 0x1f, - 0xaa, 0xad, 0x80, 0xb7, 0xbb, 0xcd, 0x5d, 0x8f, 0x46, 0x7b, 0xf3, 0x6f, 0x77, 0xf1, 0x4a, 0x65, - 0xcd, 0x15, 0xf9, 0x6f, 0x9c, 0x27, 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x3d, 0xc6, 0xdf, 0xbc, - 0x1f, 0x12, 0x00, 0x00, + // 1958 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x58, 0x4d, 0x6f, 0x23, 0xb7, + 0x19, 0xb6, 0xec, 0xb1, 0x3d, 0xa2, 0x64, 0x69, 0x4c, 0x7f, 0xac, 0x56, 0x9b, 0x7a, 0xd4, 0x49, + 0x0f, 0xee, 0x22, 0xb5, 0xd7, 0xde, 0xb8, 0x5d, 0x6c, 0x9a, 0x16, 0x96, 0x57, 0x69, 0xed, 0x7a, + 0x37, 0x06, 0xe5, 0x34, 0x48, 0xd1, 0x62, 0x40, 0xcd, 0x30, 0xd2, 0xc4, 0x33, 0x43, 0x61, 0x48, + 0x69, 0xa5, 0xfe, 0x82, 0x60, 0x4f, 0x29, 0xd0, 0xeb, 0x02, 0x01, 0x7a, 0xe9, 0x31, 0x3f, 0xa1, + 0xc7, 0x20, 0xa7, 0x1c, 0x8b, 0x02, 0x1d, 0x14, 0xda, 0x43, 0x00, 0x1f, 0xfd, 0x0b, 0x0a, 0x7e, + 0xe8, 0xd3, 0x8e, 0xe3, 0x00, 0x82, 0xc1, 0xf7, 0xeb, 0x79, 0xde, 0x97, 0x7c, 0x39, 0x24, 0x0d, + 0xca, 0x1e, 0x65, 0x11, 0x65, 0xbb, 0xa4, 0x1b, 0xed, 0x8a, 0xdf, 0x9e, 0x18, 0xed, 0xb4, 0x13, + 0xca, 0x29, 0xb4, 0x94, 0x6d, 0x47, 0x68, 0xc4, 0x6f, 0xaf, 0xbc, 0x8a, 0xa3, 0x20, 0xa6, 0xbb, + 0xf2, 0xaf, 0x72, 0x2a, 0xaf, 0x37, 0x69, 0x93, 0xca, 0xe1, 0xae, 0x18, 0x29, 0xad, 0xf3, 0x77, + 0x03, 0x2c, 0x9d, 0xe1, 0x04, 0x47, 0x0c, 0xee, 0x81, 0x2c, 0xe9, 0x46, 0xae, 0x4f, 0x62, 0x1a, + 0x95, 0x32, 0x95, 0xcc, 0x76, 0xb6, 0xba, 0x7e, 0x95, 0xda, 0x56, 0x1f, 0x47, 0xe1, 0x53, 0x67, + 0x64, 0x72, 0x90, 0x49, 0xba, 0xd1, 0x33, 0x31, 0x84, 0x87, 0x00, 0x90, 0x1e, 0x4f, 0xb0, 0x4b, + 0x82, 0x36, 0x2b, 0x19, 0x95, 0x85, 0xed, 0x85, 0xaa, 0x33, 0x48, 0xed, 0x6c, 0x4d, 0x68, 0x6b, + 0xc7, 0x67, 0xec, 0x2a, 0xb5, 0x57, 0x35, 0xc0, 0xc8, 0xd1, 0x41, 0x59, 0x29, 0xd4, 0x82, 0x36, + 0x83, 0x0d, 0x90, 0xf7, 0x5a, 0x38, 0x88, 0x5d, 0x8f, 0xc6, 0x9f, 0x06, 0xcd, 0xd2, 0x62, 0x25, + 0xb3, 0x9d, 0xdb, 0xff, 0xc9, 0xce, 0x6c, 0x49, 0x3b, 0x47, 0xc2, 0xeb, 0x48, 0x3a, 0x55, 0x2b, + 0x5f, 0xa7, 0xf6, 0xdc, 0x55, 0x6a, 0xaf, 0x29, 0xe8, 0x49, 0x00, 0xe7, 0x9f, 0xdf, 0x7d, 0xf5, + 0x30, 0x83, 0x72, 0xde, 0xd8, 0x1d, 0xee, 0x83, 0x0d, 0x1c, 0x86, 0xf4, 0xa5, 0xdb, 0x89, 0x45, + 0xd5, 0xc4, 0xe3, 0xc4, 0x77, 0x79, 0x8f, 0x95, 0x96, 0x2a, 0x99, 0x6d, 0x13, 0xad, 0x49, 0xe3, + 0x47, 0x63, 0xdb, 0x79, 0x8f, 0xc1, 0x7d, 0x90, 0x17, 0x25, 0x7b, 0x2d, 0x1c, 0xc7, 0x24, 0x64, + 0x25, 0xb3, 0xb2, 0xb0, 0x9d, 0xad, 0x16, 0x07, 0xa9, 0x9d, 0xab, 0xfd, 0xf1, 0xf9, 0x91, 0x56, + 0xa3, 0x1c, 0xe9, 0x46, 0x43, 0x01, 0xfe, 0x05, 0x14, 0xb0, 0xe7, 0x11, 0xc6, 0x44, 0x2e, 0x3c, + 0xa1, 0x61, 0x29, 0x2b, 0xab, 0xb1, 0xaf, 0x57, 0x73, 0x28, 0xfd, 0x8e, 0x94, 0x5b, 0x75, 0x43, + 0xd4, 0x33, 0x48, 0xed, 0x95, 0x29, 0x35, 0x5a, 0xc1, 0x93, 0x22, 0x7c, 0x0a, 0xee, 0x63, 0x8f, + 0x07, 0x5d, 0xe2, 0x32, 0x8e, 0x79, 0xe0, 0xb9, 0xed, 0x84, 0x78, 0x34, 0x6a, 0x07, 0x21, 0x61, + 0x25, 0x20, 0xf2, 0x43, 0xf7, 0x94, 0x43, 0x5d, 0xda, 0xcf, 0xc6, 0xe6, 0xa7, 0x0f, 0x5e, 0x7d, + 0xf7, 0xd5, 0xc3, 0xcd, 0x89, 0x1e, 0xea, 0x89, 0x2e, 0x52, 0x2b, 0x7f, 0x62, 0x98, 0xf3, 0xd6, + 0xc2, 0x89, 0x61, 0x2e, 0x58, 0xc6, 0x89, 0x61, 0x2e, 0x5b, 0xa6, 0xf3, 0xb7, 0x0c, 0x98, 0xce, + 0x05, 0x1e, 0x82, 0x25, 0x2f, 0x21, 0x98, 0x13, 0xd9, 0x1a, 0xb9, 0xfd, 0xb7, 0x7f, 0xa0, 0xa6, + 0xf3, 0x7e, 0x9b, 0x54, 0x0d, 0x51, 0x17, 0xd2, 0x81, 0xf0, 0x7d, 0x60, 0x78, 0x38, 0x0c, 0x4b, + 0xf3, 0x3f, 0x16, 0x40, 0x86, 0x39, 0xff, 0xcd, 0x80, 0xd5, 0x6b, 0x1e, 0xd0, 0x03, 0x39, 0x3d, + 0xe7, 0xbc, 0xdf, 0x56, 0xc9, 0x15, 0xf6, 0xdf, 0xfa, 0x3e, 0x6c, 0x09, 0xfa, 0xb3, 0x41, 0x6a, + 0x83, 0xb1, 0x7c, 0x95, 0xda, 0x50, 0xf5, 0xd1, 0x04, 0x90, 0x83, 0x00, 0x1e, 0x79, 0x40, 0x0f, + 0xac, 0x4d, 0x2f, 0xac, 0x1b, 0x06, 0x8c, 0x97, 0xe6, 0x65, 0x4f, 0x3c, 0x1e, 0xa4, 0xf6, 0x74, + 0x62, 0xa7, 0x01, 0xe3, 0x57, 0xa9, 0x5d, 0x9e, 0x42, 0x9d, 0x8c, 0x74, 0xd0, 0x2a, 0x9e, 0x0d, + 0x70, 0xbe, 0x29, 0x82, 0xdc, 0x44, 0x93, 0xc3, 0x3f, 0x83, 0x62, 0x8b, 0x46, 0x84, 0x71, 0x82, + 0x7d, 0xb7, 0x11, 0x52, 0xef, 0x42, 0xef, 0xca, 0xc7, 0xff, 0x49, 0xed, 0x0d, 0x55, 0x20, 0xf3, + 0x2f, 0x76, 0x02, 0xba, 0x1b, 0x61, 0xde, 0xda, 0x39, 0x8e, 0x05, 0xe9, 0xa6, 0x22, 0x9d, 0x89, + 0x74, 0x50, 0x61, 0xa4, 0xa9, 0x0a, 0x05, 0x6c, 0x81, 0x82, 0x8f, 0xa9, 0xfb, 0x29, 0x4d, 0x2e, + 0x34, 0xf8, 0xbc, 0x04, 0xaf, 0x7e, 0x2f, 0xf8, 0x20, 0xb5, 0xf3, 0xcf, 0x0e, 0x3f, 0xfc, 0x80, + 0x26, 0x17, 0x12, 0xe2, 0x2a, 0xb5, 0x37, 0x14, 0xd9, 0x34, 0x90, 0x83, 0xf2, 0x3e, 0xa6, 0x23, + 0x37, 0xf8, 0x31, 0xb0, 0x46, 0x0e, 0xac, 0xd3, 0x6e, 0xd3, 0x84, 0x97, 0x16, 0xc4, 0xc6, 0xab, + 0xfe, 0x62, 0x90, 0xda, 0x05, 0x0d, 0x59, 0x57, 0x96, 0xab, 0xd4, 0xbe, 0x37, 0x03, 0xaa, 0x63, + 0x1c, 0x54, 0xd0, 0xb0, 0xda, 0x55, 0x7c, 0x3a, 0x48, 0xd0, 0xde, 0x3b, 0x78, 0xa4, 0x0b, 0x30, + 0x64, 0x01, 0xbf, 0xbd, 0xad, 0x80, 0x5c, 0xed, 0xf8, 0x6c, 0xef, 0xe0, 0xd1, 0x30, 0x7f, 0xfd, + 0xfd, 0x98, 0x44, 0x71, 0x50, 0x4e, 0x89, 0x2a, 0xf9, 0x63, 0xa0, 0x45, 0xb7, 0x85, 0x59, 0x4b, + 0x7e, 0x9d, 0xb2, 0xd5, 0x6d, 0xd1, 0x40, 0x0a, 0xe9, 0xf7, 0x98, 0xb5, 0xc6, 0xb3, 0xde, 0xe8, + 0xff, 0x15, 0xc7, 0x3c, 0xe8, 0x44, 0x43, 0x2c, 0xa0, 0x82, 0x85, 0xd7, 0x28, 0xdd, 0x03, 0x9d, + 0xee, 0xd2, 0x5d, 0xd3, 0x3d, 0xb8, 0x29, 0xdd, 0x83, 0xe9, 0x74, 0x95, 0xcf, 0x88, 0xe3, 0x89, + 0xe6, 0x58, 0xbe, 0x2b, 0xc7, 0x93, 0x9b, 0x38, 0x9e, 0x4c, 0x73, 0x28, 0x1f, 0xd1, 0x97, 0x33, + 0x75, 0x96, 0xcc, 0x3b, 0xf7, 0xe5, 0xb5, 0x19, 0x2a, 0x8c, 0x34, 0x0a, 0xfd, 0x02, 0xac, 0x7b, + 0x34, 0x66, 0x5c, 0xe8, 0x62, 0xda, 0x0e, 0x89, 0xa6, 0xc8, 0x4a, 0x8a, 0x27, 0xb7, 0x51, 0x3c, + 0xd0, 0xa7, 0xc1, 0x0d, 0xe1, 0x0e, 0x5a, 0x9b, 0x56, 0x2b, 0x32, 0x17, 0x58, 0x6d, 0xc2, 0x49, + 0xc2, 0x1a, 0x9d, 0xa4, 0xa9, 0x89, 0x80, 0x24, 0x7a, 0xf7, 0x36, 0x22, 0xdd, 0xa1, 0xb3, 0xa1, + 0x0e, 0x2a, 0x8e, 0x55, 0x8a, 0xe0, 0x13, 0x50, 0x08, 0x04, 0x6b, 0xa3, 0x13, 0x6a, 0xf8, 0x9c, + 0x84, 0xdf, 0xbf, 0x0d, 0x5e, 0xef, 0xaa, 0xe9, 0x40, 0x07, 0xad, 0x0c, 0x15, 0x0a, 0xda, 0x07, + 0x30, 0xea, 0x04, 0x89, 0xdb, 0x0c, 0xb1, 0x17, 0x90, 0x44, 0xc3, 0xe7, 0x25, 0xfc, 0x2f, 0x6f, + 0x83, 0xbf, 0xaf, 0xe0, 0xaf, 0x07, 0x3b, 0xc8, 0x12, 0xca, 0xdf, 0x29, 0x9d, 0x62, 0xa9, 0x83, + 0x7c, 0x83, 0x24, 0x61, 0x10, 0x6b, 0xfc, 0x15, 0x89, 0xff, 0xe8, 0x36, 0x7c, 0xdd, 0x41, 0x93, + 0x61, 0x0e, 0xca, 0x29, 0x71, 0x04, 0x1a, 0xd2, 0xd8, 0xa7, 0x43, 0xd0, 0xd5, 0x3b, 0x83, 0x4e, + 0x86, 0x39, 0x28, 0xa7, 0x44, 0x05, 0xda, 0x04, 0x6b, 0x38, 0x49, 0xe8, 0xcb, 0x99, 0x09, 0x81, + 0x12, 0xfb, 0x57, 0xb7, 0x61, 0x0f, 0xbf, 0xd3, 0xd7, 0xa3, 0xc5, 0x77, 0x5a, 0x68, 0xa7, 0xa6, + 0xc4, 0x07, 0xb0, 0x99, 0xe0, 0xfe, 0x0c, 0xcf, 0xfa, 0x9d, 0x27, 0xfe, 0x7a, 0xb0, 0x83, 0x2c, + 0xa1, 0x9c, 0x62, 0xf9, 0x0c, 0xac, 0x47, 0x24, 0x69, 0x12, 0x37, 0x26, 0x9c, 0xb5, 0xc3, 0x80, + 0x6b, 0x9e, 0x8d, 0x3b, 0xef, 0x83, 0x9b, 0xc2, 0x1d, 0x04, 0xa5, 0xfa, 0x85, 0xd6, 0x8e, 0xba, + 0x94, 0xb5, 0x70, 0xdc, 0x6c, 0xe1, 0x40, 0xb3, 0x6c, 0xde, 0xb9, 0x4b, 0xa7, 0x03, 0x1d, 0xb4, + 0x32, 0x54, 0x8c, 0x96, 0xda, 0xc3, 0xb1, 0xd7, 0x19, 0x2e, 0xf5, 0xbd, 0x3b, 0x2f, 0xf5, 0x64, + 0x98, 0x83, 0x72, 0x4a, 0x54, 0xa0, 0xf7, 0x81, 0xa9, 0xae, 0x7c, 0x81, 0x5f, 0x2a, 0x55, 0x32, + 0xdb, 0x06, 0x5a, 0x96, 0xf2, 0xb1, 0x0f, 0xd7, 0xc1, 0xa2, 0xba, 0xc0, 0xde, 0x17, 0x44, 0x48, + 0x09, 0xb0, 0x0c, 0x4c, 0x9f, 0x78, 0x41, 0x84, 0x43, 0x56, 0x2a, 0xcb, 0x80, 0x91, 0x7c, 0x62, + 0x98, 0x05, 0xab, 0x78, 0x62, 0x98, 0x45, 0xcb, 0x3a, 0x31, 0x4c, 0xcb, 0x5a, 0x3d, 0x31, 0xcc, + 0x35, 0x6b, 0x1d, 0xad, 0xf4, 0x69, 0x48, 0xdd, 0xee, 0x63, 0x95, 0x01, 0xca, 0x91, 0x97, 0x98, + 0xe9, 0xaf, 0x16, 0x2a, 0x78, 0x98, 0xe3, 0xb0, 0xcf, 0xf4, 0xac, 0x22, 0x4b, 0xcd, 0xf5, 0xc4, + 0x19, 0xb8, 0x0b, 0x16, 0xc5, 0x25, 0x8c, 0x40, 0x0b, 0x2c, 0x5c, 0x90, 0xbe, 0x3a, 0xb9, 0x91, + 0x18, 0x8a, 0x14, 0xbb, 0x38, 0xec, 0x10, 0x75, 0xe0, 0x22, 0x25, 0x38, 0x67, 0xa0, 0x78, 0x9e, + 0xe0, 0x98, 0x89, 0x0b, 0x1c, 0x8d, 0x4f, 0x69, 0x93, 0x41, 0x08, 0x0c, 0x79, 0xe8, 0xa8, 0x58, + 0x39, 0x86, 0x3f, 0x07, 0x46, 0x48, 0x9b, 0x4c, 0x5e, 0x3d, 0x72, 0xfb, 0x1b, 0xd7, 0xef, 0x39, + 0xa7, 0xb4, 0x89, 0xa4, 0x8b, 0xf3, 0xcd, 0x3c, 0x58, 0x38, 0xa5, 0x4d, 0x58, 0x02, 0xcb, 0xd8, + 0xf7, 0x13, 0xc2, 0x98, 0x46, 0x1a, 0x8a, 0x70, 0x13, 0x2c, 0x71, 0xda, 0x0e, 0x3c, 0x05, 0x97, + 0x45, 0x5a, 0x12, 0xc4, 0x3e, 0xe6, 0x58, 0x9e, 0xd2, 0x79, 0x24, 0xc7, 0xe2, 0x3e, 0x2c, 0x2b, + 0x73, 0xe3, 0x4e, 0xd4, 0x20, 0x89, 0x3c, 0x6c, 0x8d, 0x6a, 0xf1, 0x32, 0xb5, 0x73, 0x52, 0xff, + 0x42, 0xaa, 0xd1, 0xa4, 0x00, 0xdf, 0x01, 0xcb, 0xbc, 0x37, 0x79, 0x70, 0xae, 0x5d, 0xa6, 0x76, + 0x91, 0x8f, 0xcb, 0x14, 0xe7, 0x22, 0x5a, 0xe2, 0x3d, 0x79, 0x3e, 0xee, 0x02, 0x93, 0xf7, 0xdc, + 0x20, 0xf6, 0x49, 0x4f, 0x9e, 0x8d, 0x46, 0x75, 0xfd, 0x32, 0xb5, 0xad, 0x09, 0xf7, 0x63, 0x61, + 0x43, 0xcb, 0xbc, 0x27, 0x07, 0xf0, 0x1d, 0x00, 0x54, 0x4a, 0x92, 0x41, 0x1d, 0x75, 0x2b, 0x97, + 0xa9, 0x9d, 0x95, 0x5a, 0x89, 0x3d, 0x1e, 0x42, 0x07, 0x2c, 0x2a, 0x6c, 0x53, 0x62, 0xe7, 0x2f, + 0x53, 0xdb, 0x0c, 0x69, 0x53, 0x61, 0x2a, 0x93, 0x98, 0xaa, 0x84, 0x44, 0xb4, 0x4b, 0x7c, 0x79, + 0xde, 0x98, 0x68, 0x28, 0x3a, 0x5f, 0xcc, 0x03, 0xf3, 0xbc, 0x87, 0x08, 0xeb, 0x84, 0x1c, 0x7e, + 0x00, 0x2c, 0x79, 0x9b, 0xc3, 0x1e, 0x77, 0xa7, 0xa6, 0xb6, 0xfa, 0x60, 0x7c, 0x3a, 0xcc, 0x7a, + 0x38, 0xa8, 0x38, 0x54, 0x1d, 0xea, 0xf9, 0x5f, 0x07, 0x8b, 0x8d, 0x90, 0xd2, 0x48, 0x76, 0x42, + 0x1e, 0x29, 0x01, 0x7e, 0x2c, 0x67, 0x4d, 0xae, 0xf2, 0x82, 0xbc, 0x29, 0xff, 0xf4, 0xfa, 0x2a, + 0xcf, 0xb4, 0x4a, 0xf5, 0x81, 0x7e, 0x10, 0x15, 0x14, 0xb7, 0x8e, 0xd7, 0x6f, 0xa1, 0x25, 0xde, + 0x93, 0xfd, 0x64, 0x81, 0x85, 0x84, 0x70, 0xb9, 0x72, 0x79, 0x24, 0x86, 0x62, 0x5f, 0x24, 0xa4, + 0x4b, 0x12, 0x4e, 0x7c, 0xb9, 0x42, 0x26, 0x1a, 0xc9, 0x62, 0x93, 0x35, 0x31, 0x73, 0x3b, 0x8c, + 0xf8, 0x6a, 0x39, 0xd0, 0x72, 0x13, 0xb3, 0x8f, 0x18, 0xf1, 0x9f, 0x1a, 0x9f, 0x7f, 0x69, 0xcf, + 0x39, 0x18, 0xe4, 0xf4, 0x25, 0xba, 0xd3, 0x0e, 0xc9, 0x2d, 0x6d, 0xb6, 0x0f, 0xf2, 0x8c, 0xd3, + 0x04, 0x37, 0x89, 0x7b, 0x41, 0xfa, 0xba, 0xd9, 0x54, 0xeb, 0x68, 0xfd, 0x1f, 0x48, 0x9f, 0xa1, + 0x49, 0x41, 0x53, 0x7c, 0x69, 0x80, 0xdc, 0x79, 0x82, 0x3d, 0xa2, 0xaf, 0xc4, 0xa2, 0x61, 0x85, + 0x98, 0x68, 0x0a, 0x2d, 0x09, 0x6e, 0x1e, 0x44, 0x84, 0x76, 0xb8, 0xde, 0x54, 0x43, 0x51, 0x44, + 0x24, 0x84, 0xf4, 0x88, 0x27, 0xe7, 0xd2, 0x40, 0x5a, 0x82, 0x07, 0x60, 0xc5, 0x0f, 0x18, 0x6e, + 0x84, 0xf2, 0x31, 0xe5, 0x5d, 0xa8, 0xf2, 0xab, 0xd6, 0x65, 0x6a, 0xe7, 0xb5, 0xa1, 0x2e, 0xf4, + 0x68, 0x4a, 0x82, 0xef, 0x81, 0xe2, 0x38, 0x4c, 0x66, 0xab, 0xde, 0x90, 0x55, 0x78, 0x99, 0xda, + 0x85, 0x91, 0xab, 0xb4, 0xa0, 0x19, 0x59, 0x7d, 0x9b, 0x1a, 0x9d, 0xa6, 0xec, 0x40, 0x13, 0x29, + 0x41, 0x68, 0xc3, 0x20, 0x0a, 0xb8, 0xec, 0xb8, 0x45, 0xa4, 0x04, 0xf8, 0x1e, 0xc8, 0xd2, 0x2e, + 0x49, 0x92, 0xc0, 0x97, 0x6f, 0xbb, 0x1f, 0x7e, 0x13, 0xa3, 0xb1, 0xbf, 0x28, 0x8e, 0xc4, 0x32, + 0xc9, 0x88, 0x44, 0x34, 0xe9, 0xcb, 0x4b, 0x87, 0x2e, 0x4e, 0x19, 0x9e, 0x4b, 0x3d, 0x9a, 0x92, + 0x60, 0x15, 0x40, 0x1d, 0x96, 0x10, 0xde, 0x49, 0x62, 0x57, 0x7e, 0x04, 0xf2, 0x32, 0x56, 0x6e, + 0x45, 0x65, 0x45, 0xd2, 0xf8, 0x0c, 0x73, 0x8c, 0xae, 0x69, 0xe0, 0x6f, 0x00, 0x54, 0x6b, 0xe2, + 0x7e, 0xc6, 0xe8, 0xe8, 0x51, 0xaf, 0x6e, 0x0d, 0x92, 0x5f, 0x59, 0x75, 0xce, 0x96, 0x92, 0x4e, + 0x18, 0xd5, 0x55, 0x9c, 0x18, 0xa6, 0x61, 0x2d, 0xaa, 0x47, 0xe8, 0x68, 0xfe, 0x74, 0x15, 0x68, + 0x6d, 0x28, 0x4f, 0xa4, 0xf7, 0xf0, 0x5f, 0x19, 0x30, 0xf1, 0x96, 0x83, 0xbf, 0x06, 0xe5, 0xc3, + 0xa3, 0xa3, 0x5a, 0xbd, 0xee, 0x9e, 0x7f, 0x72, 0x56, 0x73, 0xcf, 0x6a, 0xe8, 0xf9, 0x71, 0xbd, + 0x7e, 0xfc, 0xe1, 0x8b, 0xd3, 0x5a, 0xbd, 0x6e, 0xcd, 0x95, 0xdf, 0x7a, 0xf5, 0xba, 0x52, 0x1a, + 0xfb, 0x9f, 0x91, 0x24, 0x0a, 0x18, 0x0b, 0x68, 0x1c, 0x8a, 0x4e, 0x7d, 0x17, 0x6c, 0x4e, 0x46, + 0xa3, 0x5a, 0xfd, 0x1c, 0x1d, 0x1f, 0x9d, 0xd7, 0x9e, 0x59, 0x99, 0x72, 0xe9, 0xd5, 0xeb, 0xca, + 0xfa, 0x38, 0x12, 0x11, 0xc6, 0x93, 0xc0, 0x13, 0x3b, 0xe5, 0x09, 0x28, 0xdd, 0xcc, 0x59, 0x7b, + 0x66, 0xcd, 0x97, 0xcb, 0xaf, 0x5e, 0x57, 0x36, 0x6f, 0x62, 0x24, 0x7e, 0xd9, 0xf8, 0xfc, 0x1f, + 0x5b, 0x73, 0xd5, 0xf7, 0xbf, 0x1e, 0x6c, 0x65, 0xbe, 0x1d, 0x6c, 0x65, 0xfe, 0x37, 0xd8, 0xca, + 0x7c, 0xf1, 0x66, 0x6b, 0xee, 0xdb, 0x37, 0x5b, 0x73, 0xff, 0x7e, 0xb3, 0x35, 0xf7, 0xa7, 0xb7, + 0x9b, 0x01, 0x6f, 0x75, 0x1a, 0x3b, 0x1e, 0x8d, 0x76, 0x67, 0xdf, 0xee, 0xe2, 0x95, 0xca, 0x76, + 0xbb, 0x7b, 0x8d, 0x25, 0xf9, 0x9f, 0x9c, 0xc7, 0xff, 0x0f, 0x00, 0x00, 0xff, 0xff, 0xf2, 0x7e, + 0x9b, 0xbf, 0x22, 0x12, 0x00, 0x00, } func (m *Params) Marshal() (dAtA []byte, err error) { diff --git a/x/vm/types/v1/tx.pb.go b/x/vm/types/v1/tx.pb.go index 5d4c3045d..777f9783c 100644 --- a/x/vm/types/v1/tx.pb.go +++ b/x/vm/types/v1/tx.pb.go @@ -455,72 +455,72 @@ func init() { func init() { proto.RegisterFile("cosmos/evm/vm/v1/tx.proto", fileDescriptor_77a8ac5e8c9c4850) } var fileDescriptor_77a8ac5e8c9c4850 = []byte{ - // 1026 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x96, 0x4d, 0x8b, 0x23, 0x45, - 0x18, 0xc7, 0xa7, 0x93, 0xce, 0x5b, 0x25, 0xea, 0xd8, 0xce, 0x30, 0x9d, 0xe0, 0xa6, 0xb3, 0xad, - 0xab, 0xd9, 0x81, 0xe9, 0x66, 0x23, 0x08, 0x1b, 0x4f, 0x93, 0x9d, 0x59, 0x59, 0x99, 0xc1, 0xa5, - 0xcd, 0x5e, 0x44, 0x88, 0x35, 0x9d, 0x9a, 0x4e, 0x63, 0xba, 0xab, 0xe9, 0xaa, 0x84, 0x44, 0x10, - 0x64, 0x4f, 0xe2, 0x49, 0xf0, 0x2c, 0x78, 0xf0, 0xa0, 0x9e, 0xe6, 0xb0, 0x78, 0xf0, 0x13, 0x2c, - 0x9e, 0x16, 0xbd, 0x88, 0x87, 0xac, 0x64, 0x84, 0xc1, 0x39, 0xfa, 0x09, 0xa4, 0x5e, 0xb2, 0xe9, - 0x4c, 0x9c, 0x99, 0x75, 0x41, 0xa1, 0x09, 0xf5, 0xd4, 0xf3, 0xd2, 0x4f, 0xff, 0x9e, 0x7f, 0xaa, - 0x1b, 0x94, 0x5d, 0x4c, 0x02, 0x4c, 0x6c, 0x34, 0x0c, 0x6c, 0x76, 0xdd, 0xb0, 0xe9, 0xc8, 0x8a, - 0x62, 0x4c, 0xb1, 0xb6, 0x2a, 0x5c, 0x16, 0x1a, 0x06, 0x16, 0xbb, 0x6e, 0x54, 0x5e, 0x84, 0x81, - 0x1f, 0x62, 0x9b, 0xff, 0x8a, 0xa0, 0xca, 0x86, 0xcc, 0x0f, 0x88, 0xc7, 0x92, 0x03, 0xe2, 0x49, - 0x87, 0x2c, 0xdc, 0xe1, 0x96, 0x2d, 0x4b, 0x09, 0xd7, 0x9a, 0x87, 0x3d, 0x2c, 0xf6, 0xd9, 0x4a, - 0xee, 0xbe, 0xec, 0x61, 0xec, 0xf5, 0x91, 0x0d, 0x23, 0xdf, 0x86, 0x61, 0x88, 0x29, 0xa4, 0x3e, - 0x0e, 0x67, 0x39, 0x65, 0xe9, 0xe5, 0xd6, 0xc1, 0xe0, 0xd0, 0x86, 0xe1, 0x58, 0xba, 0x2a, 0x4b, - 0x8f, 0xc0, 0x3a, 0xe6, 0x3e, 0xf3, 0x07, 0x05, 0x3c, 0xb7, 0x4f, 0xbc, 0x5d, 0xda, 0x43, 0x31, - 0x1a, 0x04, 0xed, 0x91, 0x56, 0x07, 0x6a, 0x17, 0x52, 0xa8, 0x2b, 0x35, 0xa5, 0x5e, 0x6c, 0xac, - 0x59, 0xa2, 0xae, 0x35, 0xab, 0x6b, 0x6d, 0x87, 0x63, 0x87, 0x47, 0x68, 0x55, 0xa0, 0x12, 0xff, - 0x63, 0xa4, 0xa7, 0x6a, 0x4a, 0x5d, 0x69, 0x81, 0xd3, 0x89, 0xa1, 0x6c, 0x7d, 0x7b, 0x72, 0xb4, - 0xa9, 0x38, 0x7c, 0x5f, 0x7b, 0x15, 0xa8, 0x3d, 0x48, 0x7a, 0x7a, 0xba, 0xa6, 0xd4, 0x0b, 0xad, - 0xd5, 0xbf, 0x26, 0x46, 0x2e, 0xee, 0x47, 0x4d, 0x73, 0xcb, 0x94, 0x51, 0xcc, 0xab, 0x69, 0x40, - 0x3d, 0x8c, 0x71, 0xa0, 0xab, 0x2c, 0xca, 0xe1, 0xeb, 0xe6, 0xd5, 0xcf, 0xbe, 0x36, 0x56, 0x3e, - 0x3f, 0x39, 0xda, 0xd4, 0x13, 0xad, 0x2f, 0xb4, 0x69, 0x7e, 0x97, 0x02, 0xf9, 0x3d, 0xe4, 0x41, - 0x77, 0xdc, 0x1e, 0x69, 0x6b, 0x20, 0x13, 0xe2, 0xd0, 0x45, 0xbc, 0x69, 0xd5, 0x11, 0x86, 0xf6, - 0x26, 0x28, 0x78, 0x90, 0x01, 0xf6, 0x5d, 0xd1, 0x64, 0xa1, 0x55, 0xfe, 0x6d, 0x62, 0xac, 0x8b, - 0x9a, 0xa4, 0xfb, 0x91, 0xe5, 0x63, 0x3b, 0x80, 0xb4, 0x67, 0xdd, 0x09, 0xa9, 0x93, 0xf7, 0x20, - 0xb9, 0xcb, 0x42, 0xb5, 0x2a, 0x48, 0x7b, 0x90, 0xf0, 0xb6, 0xd5, 0x56, 0x69, 0x3a, 0x31, 0xf2, - 0x6f, 0x43, 0xb2, 0xe7, 0x07, 0x3e, 0x75, 0x98, 0x43, 0x7b, 0x1e, 0xa4, 0x28, 0x96, 0xfd, 0xa6, - 0x28, 0xd6, 0x6e, 0x82, 0xcc, 0x10, 0xf6, 0x07, 0x48, 0xcf, 0xf0, 0x7b, 0xbc, 0x72, 0xee, 0x3d, - 0xa6, 0x13, 0x23, 0xbb, 0x1d, 0xe0, 0x41, 0x48, 0x1d, 0x91, 0xc1, 0x1e, 0x9e, 0xc3, 0xce, 0xd6, - 0x94, 0x7a, 0x49, 0x62, 0x2d, 0x01, 0x65, 0xa8, 0xe7, 0xf8, 0x86, 0x32, 0x64, 0x56, 0xac, 0xe7, - 0x85, 0x15, 0x33, 0x8b, 0xe8, 0x05, 0x61, 0x91, 0xe6, 0x6b, 0x0c, 0xd3, 0x4f, 0x0f, 0xb6, 0xb2, - 0xed, 0xd1, 0x0e, 0xa4, 0x90, 0x01, 0x7b, 0x29, 0x01, 0x6c, 0x86, 0xc7, 0x7c, 0x9c, 0x06, 0xa5, - 0x6d, 0xd7, 0x45, 0x84, 0xec, 0xf9, 0x84, 0xb6, 0x47, 0xda, 0x3b, 0x20, 0xef, 0xf6, 0xa0, 0x1f, - 0x76, 0xfc, 0x2e, 0x47, 0x56, 0x68, 0xd9, 0x17, 0x35, 0x9d, 0xbb, 0xc5, 0x82, 0xef, 0xec, 0x9c, - 0x4e, 0x8c, 0x9c, 0x2b, 0x96, 0x8e, 0x5c, 0x74, 0xe7, 0xec, 0x53, 0xe7, 0xb2, 0x4f, 0xff, 0x6b, - 0xf6, 0xea, 0xc5, 0xec, 0x33, 0xcb, 0xec, 0xb3, 0xcf, 0xcc, 0x3e, 0x97, 0x60, 0xff, 0x21, 0xc8, - 0x43, 0x0e, 0x0a, 0x11, 0x3d, 0x5f, 0x4b, 0xd7, 0x8b, 0x8d, 0x2b, 0xd6, 0xd9, 0x7f, 0xb9, 0x25, - 0x50, 0xb6, 0x07, 0x51, 0x1f, 0xb5, 0xae, 0x3d, 0x9c, 0x18, 0x2b, 0xa7, 0x13, 0x03, 0xc0, 0x27, - 0x7c, 0xbf, 0x7f, 0x6c, 0x80, 0x39, 0x6d, 0x21, 0xf5, 0x27, 0x55, 0xc5, 0x74, 0x0b, 0x0b, 0xd3, - 0x05, 0x0b, 0xd3, 0x2d, 0xce, 0xa6, 0xbb, 0xb9, 0x3c, 0xdd, 0x8d, 0xc4, 0x74, 0x93, 0x03, 0x35, - 0xbf, 0x52, 0x41, 0x69, 0x67, 0x1c, 0xc2, 0xc0, 0x77, 0x6f, 0x23, 0xf4, 0xbf, 0x4c, 0xf8, 0x26, - 0x28, 0xb2, 0x09, 0x53, 0x3f, 0xea, 0xb8, 0x30, 0xba, 0x7c, 0xc6, 0x4c, 0x0f, 0x6d, 0x3f, 0xba, - 0x05, 0xa3, 0x59, 0xea, 0x21, 0x42, 0x3c, 0x55, 0x7d, 0x9a, 0xd4, 0xdb, 0x08, 0xb1, 0x54, 0xa9, - 0x8f, 0xcc, 0xc5, 0xfa, 0xc8, 0x2e, 0xeb, 0x23, 0xf7, 0xcc, 0xfa, 0xc8, 0x9f, 0xa3, 0x8f, 0xc2, - 0x7f, 0xa7, 0x0f, 0xb0, 0xa0, 0x8f, 0xe2, 0x82, 0x3e, 0x4a, 0x4f, 0xa9, 0x8f, 0xa4, 0x1c, 0x4c, - 0x13, 0x54, 0x76, 0x47, 0x14, 0x85, 0xc4, 0xc7, 0xe1, 0xbb, 0x11, 0x7f, 0x6f, 0xcc, 0xcf, 0xd2, - 0xa6, 0xca, 0x2a, 0x99, 0xdf, 0x28, 0x60, 0x7d, 0xe1, 0x8c, 0x75, 0x10, 0x89, 0x70, 0x48, 0x38, - 0x09, 0x7e, 0x90, 0x2b, 0xe2, 0x88, 0xe6, 0xc7, 0xf6, 0x75, 0xa0, 0xf6, 0xb1, 0x47, 0xf4, 0x14, - 0xa7, 0xb0, 0xbe, 0x4c, 0x61, 0x0f, 0x7b, 0x0e, 0x0f, 0xd1, 0x56, 0x41, 0x3a, 0x46, 0x94, 0x2b, - 0xa4, 0xe4, 0xb0, 0xa5, 0x56, 0x06, 0xf9, 0x61, 0xd0, 0x41, 0x71, 0x8c, 0x63, 0x79, 0x8e, 0xe6, - 0x86, 0xc1, 0x2e, 0x33, 0x99, 0x8b, 0x69, 0x63, 0x40, 0x50, 0x57, 0x4c, 0xd9, 0xc9, 0x79, 0x90, - 0xdc, 0x23, 0xa8, 0x2b, 0xdb, 0xfc, 0x51, 0x01, 0x2f, 0xec, 0x13, 0xef, 0x5e, 0xd4, 0x85, 0x14, - 0xdd, 0x85, 0x31, 0x0c, 0x08, 0x3b, 0x6d, 0xe0, 0x80, 0xf6, 0x70, 0xec, 0xd3, 0xb1, 0x94, 0xbb, - 0xfe, 0xf3, 0x83, 0xad, 0x35, 0xd9, 0xd4, 0x76, 0xb7, 0x1b, 0x23, 0x42, 0xde, 0xa3, 0xb1, 0x1f, - 0x7a, 0xce, 0x3c, 0x54, 0x7b, 0x0b, 0x64, 0x23, 0x5e, 0x81, 0x4b, 0xbb, 0xd8, 0xd0, 0x97, 0x1f, - 0x43, 0xdc, 0xa1, 0x55, 0x60, 0x73, 0x14, 0xb3, 0x92, 0x29, 0xcd, 0xc6, 0xfd, 0x93, 0xa3, 0xcd, - 0x79, 0x31, 0xc6, 0xdf, 0x48, 0xf0, 0x1f, 0xd9, 0xe2, 0x9d, 0x95, 0x6c, 0xd4, 0x2c, 0x83, 0x8d, - 0x33, 0x5b, 0x33, 0xc8, 0x8d, 0x3f, 0x15, 0x90, 0xde, 0x27, 0x9e, 0xf6, 0x09, 0x00, 0x89, 0xb7, - 0xb1, 0xb1, 0xdc, 0xd1, 0xc2, 0x8c, 0x2a, 0xaf, 0x5f, 0x12, 0x30, 0xab, 0x6f, 0x5e, 0xbb, 0xff, - 0xcb, 0x1f, 0x5f, 0xa6, 0x0c, 0xf3, 0x8a, 0xbd, 0xfc, 0x39, 0x20, 0xa3, 0x3b, 0x74, 0xa4, 0x7d, - 0x00, 0x4a, 0x0b, 0x68, 0xaf, 0xfe, 0x63, 0xfd, 0x64, 0x48, 0xe5, 0xfa, 0xa5, 0x21, 0xb3, 0x26, - 0x2a, 0x99, 0x4f, 0x19, 0xc2, 0x56, 0xf3, 0xe1, 0xb4, 0xaa, 0x3c, 0x9a, 0x56, 0x95, 0xdf, 0xa7, - 0x55, 0xe5, 0x8b, 0xe3, 0xea, 0xca, 0xa3, 0xe3, 0xea, 0xca, 0xaf, 0xc7, 0xd5, 0x95, 0xf7, 0x6b, - 0x9e, 0x4f, 0x7b, 0x83, 0x03, 0xcb, 0xc5, 0x81, 0x7d, 0x16, 0x26, 0x1d, 0x47, 0x88, 0x1c, 0x64, - 0xf9, 0x97, 0xc8, 0x1b, 0x7f, 0x07, 0x00, 0x00, 0xff, 0xff, 0x5e, 0xf0, 0xb6, 0xa5, 0x99, 0x09, - 0x00, 0x00, + // 1031 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x96, 0xcf, 0x6f, 0xe3, 0x44, + 0x14, 0xc7, 0xe3, 0xc4, 0xf9, 0x35, 0x09, 0x50, 0x4c, 0xab, 0x3a, 0x11, 0x1b, 0x67, 0xbd, 0x2c, + 0x64, 0x2b, 0xd5, 0x56, 0x83, 0x84, 0xb4, 0x41, 0x1c, 0x9a, 0x6d, 0x17, 0x2d, 0x6a, 0xc5, 0xca, + 0x64, 0x2f, 0x08, 0x29, 0x4c, 0xed, 0xa9, 0x63, 0x11, 0x7b, 0x2c, 0xcf, 0x24, 0x4a, 0x90, 0x90, + 0xd0, 0x9e, 0x10, 0x27, 0x24, 0xce, 0x48, 0x1c, 0x38, 0x00, 0xa7, 0x1e, 0x56, 0x1c, 0xf8, 0x0b, + 0x56, 0x9c, 0x56, 0x70, 0x41, 0x1c, 0xb2, 0x28, 0x45, 0xaa, 0xe8, 0x91, 0xbf, 0x00, 0xcd, 0x8c, + 0xb3, 0x71, 0x1a, 0xda, 0x2e, 0x2b, 0x81, 0x64, 0x45, 0xf3, 0xe6, 0xfd, 0xf0, 0xf3, 0xe7, 0x7d, + 0x33, 0x36, 0xa8, 0xd8, 0x98, 0xf8, 0x98, 0x98, 0x68, 0xe8, 0x9b, 0xec, 0xda, 0x32, 0xe9, 0xc8, + 0x08, 0x23, 0x4c, 0xb1, 0xb2, 0x22, 0x5c, 0x06, 0x1a, 0xfa, 0x06, 0xbb, 0xb6, 0xaa, 0x2f, 0x42, + 0xdf, 0x0b, 0xb0, 0xc9, 0x7f, 0x45, 0x50, 0x75, 0x3d, 0xce, 0xf7, 0x89, 0xcb, 0x92, 0x7d, 0xe2, + 0xc6, 0x8e, 0xb8, 0x70, 0x97, 0x5b, 0x66, 0x5c, 0x4a, 0xb8, 0x56, 0x5d, 0xec, 0x62, 0xb1, 0xcf, + 0x56, 0xf1, 0xee, 0xcb, 0x2e, 0xc6, 0x6e, 0x1f, 0x99, 0x30, 0xf4, 0x4c, 0x18, 0x04, 0x98, 0x42, + 0xea, 0xe1, 0x60, 0x96, 0x53, 0x89, 0xbd, 0xdc, 0x3a, 0x18, 0x1c, 0x9a, 0x30, 0x18, 0xc7, 0xae, + 0xea, 0xd2, 0x23, 0xb0, 0x8e, 0xb9, 0x4f, 0xff, 0x41, 0x02, 0xcf, 0xed, 0x13, 0x77, 0x97, 0xf6, + 0x50, 0x84, 0x06, 0x7e, 0x67, 0xa4, 0x34, 0x80, 0xec, 0x40, 0x0a, 0x55, 0xa9, 0x2e, 0x35, 0x4a, + 0xcd, 0x55, 0x43, 0xd4, 0x35, 0x66, 0x75, 0x8d, 0xed, 0x60, 0x6c, 0xf1, 0x08, 0xa5, 0x06, 0x64, + 0xe2, 0x7d, 0x8c, 0xd4, 0x74, 0x5d, 0x6a, 0x48, 0x6d, 0x70, 0x3a, 0xd1, 0xa4, 0xcd, 0x6f, 0x4f, + 0x8e, 0x36, 0x24, 0x8b, 0xef, 0x2b, 0xaf, 0x00, 0xb9, 0x07, 0x49, 0x4f, 0xcd, 0xd4, 0xa5, 0x46, + 0xb1, 0xbd, 0xf2, 0xd7, 0x44, 0xcb, 0x47, 0xfd, 0xb0, 0xa5, 0x6f, 0xea, 0x71, 0x14, 0xf3, 0x2a, + 0x0a, 0x90, 0x0f, 0x23, 0xec, 0xab, 0x32, 0x8b, 0xb2, 0xf8, 0xba, 0x75, 0xf5, 0xb3, 0xaf, 0xb5, + 0xd4, 0xe7, 0x27, 0x47, 0x1b, 0x6a, 0xa2, 0xf5, 0x85, 0x36, 0xf5, 0xef, 0xd2, 0xa0, 0xb0, 0x87, + 0x5c, 0x68, 0x8f, 0x3b, 0x23, 0x65, 0x15, 0x64, 0x03, 0x1c, 0xd8, 0x88, 0x37, 0x2d, 0x5b, 0xc2, + 0x50, 0xde, 0x00, 0x45, 0x17, 0x32, 0xc0, 0x9e, 0x2d, 0x9a, 0x2c, 0xb6, 0x2b, 0xbf, 0x4d, 0xb4, + 0x35, 0x51, 0x93, 0x38, 0x1f, 0x19, 0x1e, 0x36, 0x7d, 0x48, 0x7b, 0xc6, 0x9d, 0x80, 0x5a, 0x05, + 0x17, 0x92, 0xbb, 0x2c, 0x54, 0xa9, 0x81, 0x8c, 0x0b, 0x09, 0x6f, 0x5b, 0x6e, 0x97, 0xa7, 0x13, + 0xad, 0xf0, 0x36, 0x24, 0x7b, 0x9e, 0xef, 0x51, 0x8b, 0x39, 0x94, 0xe7, 0x41, 0x9a, 0xe2, 0xb8, + 0xdf, 0x34, 0xc5, 0xca, 0x4d, 0x90, 0x1d, 0xc2, 0xfe, 0x00, 0xa9, 0x59, 0x7e, 0x8f, 0x6b, 0xe7, + 0xde, 0x63, 0x3a, 0xd1, 0x72, 0xdb, 0x3e, 0x1e, 0x04, 0xd4, 0x12, 0x19, 0xec, 0xe1, 0x39, 0xec, + 0x5c, 0x5d, 0x6a, 0x94, 0x63, 0xac, 0x65, 0x20, 0x0d, 0xd5, 0x3c, 0xdf, 0x90, 0x86, 0xcc, 0x8a, + 0xd4, 0x82, 0xb0, 0x22, 0x66, 0x11, 0xb5, 0x28, 0x2c, 0xd2, 0x7a, 0x95, 0x61, 0xfa, 0xe9, 0xc1, + 0x66, 0xae, 0x33, 0xda, 0x81, 0x14, 0x32, 0x60, 0x2f, 0x25, 0x80, 0xcd, 0xf0, 0xe8, 0x8f, 0x33, + 0xa0, 0xbc, 0x6d, 0xdb, 0x88, 0x90, 0x3d, 0x8f, 0xd0, 0xce, 0x48, 0x79, 0x07, 0x14, 0xec, 0x1e, + 0xf4, 0x82, 0xae, 0xe7, 0x70, 0x64, 0xc5, 0xb6, 0x79, 0x51, 0xd3, 0xf9, 0x5b, 0x2c, 0xf8, 0xce, + 0xce, 0xe9, 0x44, 0xcb, 0xdb, 0x62, 0x69, 0xc5, 0x0b, 0x67, 0xce, 0x3e, 0x7d, 0x2e, 0xfb, 0xcc, + 0xbf, 0x66, 0x2f, 0x5f, 0xcc, 0x3e, 0xbb, 0xcc, 0x3e, 0xf7, 0xcc, 0xec, 0xf3, 0x09, 0xf6, 0x1f, + 0x82, 0x02, 0xe4, 0xa0, 0x10, 0x51, 0x0b, 0xf5, 0x4c, 0xa3, 0xd4, 0xbc, 0x62, 0x9c, 0xfd, 0x97, + 0x1b, 0x02, 0x65, 0x67, 0x10, 0xf6, 0x51, 0xfb, 0xfa, 0xc3, 0x89, 0x96, 0x3a, 0x9d, 0x68, 0x00, + 0x3e, 0xe1, 0xfb, 0xfd, 0x63, 0x0d, 0xcc, 0x69, 0x0b, 0xa9, 0x3f, 0xa9, 0x2a, 0xa6, 0x5b, 0x5c, + 0x98, 0x2e, 0x58, 0x98, 0x6e, 0x69, 0x36, 0xdd, 0x8d, 0xe5, 0xe9, 0xae, 0x27, 0xa6, 0x9b, 0x1c, + 0xa8, 0xfe, 0x95, 0x0c, 0xca, 0x3b, 0xe3, 0x00, 0xfa, 0x9e, 0x7d, 0x1b, 0xa1, 0xff, 0x65, 0xc2, + 0x37, 0x41, 0x89, 0x4d, 0x98, 0x7a, 0x61, 0xd7, 0x86, 0xe1, 0xe5, 0x33, 0x66, 0x7a, 0xe8, 0x78, + 0xe1, 0x2d, 0x18, 0xce, 0x52, 0x0f, 0x11, 0xe2, 0xa9, 0xf2, 0xd3, 0xa4, 0xde, 0x46, 0x88, 0xa5, + 0xc6, 0xfa, 0xc8, 0x5e, 0xac, 0x8f, 0xdc, 0xb2, 0x3e, 0xf2, 0xcf, 0xac, 0x8f, 0xc2, 0x39, 0xfa, + 0x28, 0xfe, 0x77, 0xfa, 0x00, 0x0b, 0xfa, 0x28, 0x2d, 0xe8, 0xa3, 0xfc, 0x94, 0xfa, 0x48, 0xca, + 0x41, 0xd7, 0x41, 0x75, 0x77, 0x44, 0x51, 0x40, 0x3c, 0x1c, 0xbc, 0x1b, 0xf2, 0xf7, 0xc6, 0xfc, + 0x2c, 0x6d, 0xc9, 0xac, 0x92, 0xfe, 0x8d, 0x04, 0xd6, 0x16, 0xce, 0x58, 0x0b, 0x91, 0x10, 0x07, + 0x84, 0x93, 0xe0, 0x07, 0xb9, 0x24, 0x8e, 0x68, 0x7e, 0x6c, 0xdf, 0x00, 0x72, 0x1f, 0xbb, 0x44, + 0x4d, 0x73, 0x0a, 0x6b, 0xcb, 0x14, 0xf6, 0xb0, 0x6b, 0xf1, 0x10, 0x65, 0x05, 0x64, 0x22, 0x44, + 0xb9, 0x42, 0xca, 0x16, 0x5b, 0x2a, 0x15, 0x50, 0x18, 0xfa, 0x5d, 0x14, 0x45, 0x38, 0x8a, 0xcf, + 0xd1, 0xfc, 0xd0, 0xdf, 0x65, 0x26, 0x73, 0x31, 0x6d, 0x0c, 0x08, 0x72, 0xc4, 0x94, 0xad, 0xbc, + 0x0b, 0xc9, 0x3d, 0x82, 0x9c, 0xb8, 0xcd, 0x1f, 0x25, 0xf0, 0xc2, 0x3e, 0x71, 0xef, 0x85, 0x0e, + 0xa4, 0xe8, 0x2e, 0x8c, 0xa0, 0x4f, 0xd8, 0x69, 0x03, 0x07, 0xb4, 0x87, 0x23, 0x8f, 0x8e, 0x63, + 0xb9, 0xab, 0x3f, 0x3f, 0xd8, 0x5c, 0x8d, 0x9b, 0xda, 0x76, 0x9c, 0x08, 0x11, 0xf2, 0x1e, 0x8d, + 0xbc, 0xc0, 0xb5, 0xe6, 0xa1, 0xca, 0x9b, 0x20, 0x17, 0xf2, 0x0a, 0x5c, 0xda, 0xa5, 0xa6, 0xba, + 0xfc, 0x18, 0xe2, 0x0e, 0xed, 0x22, 0x9b, 0xa3, 0x98, 0x55, 0x9c, 0xd2, 0x6a, 0xde, 0x3f, 0x39, + 0xda, 0x98, 0x17, 0x63, 0xfc, 0xb5, 0x04, 0xff, 0x91, 0x29, 0xde, 0x59, 0xc9, 0x46, 0xf5, 0x0a, + 0x58, 0x3f, 0xb3, 0x35, 0x83, 0xdc, 0xfc, 0x53, 0x02, 0x99, 0x7d, 0xe2, 0x2a, 0x9f, 0x00, 0x90, + 0x78, 0x1b, 0x6b, 0xcb, 0x1d, 0x2d, 0xcc, 0xa8, 0xfa, 0xda, 0x25, 0x01, 0xb3, 0xfa, 0xfa, 0xf5, + 0xfb, 0xbf, 0xfc, 0xf1, 0x65, 0x5a, 0xd3, 0xaf, 0x98, 0xcb, 0x9f, 0x03, 0x71, 0x74, 0x97, 0x8e, + 0x94, 0x0f, 0x40, 0x79, 0x01, 0xed, 0xd5, 0x7f, 0xac, 0x9f, 0x0c, 0xa9, 0xde, 0xb8, 0x34, 0x64, + 0xd6, 0x44, 0x35, 0xfb, 0x29, 0x43, 0xd8, 0x7e, 0xeb, 0xe1, 0xb4, 0x26, 0x3d, 0x9a, 0xd6, 0xa4, + 0xdf, 0xa7, 0x35, 0xe9, 0x8b, 0xe3, 0x5a, 0xea, 0xd1, 0x71, 0x2d, 0xf5, 0xeb, 0x71, 0x2d, 0xf5, + 0xfe, 0x35, 0xd7, 0xa3, 0xbd, 0xc1, 0x81, 0x61, 0x63, 0xdf, 0x3c, 0x0b, 0x93, 0x8e, 0x43, 0x44, + 0xcc, 0xe1, 0xd6, 0x41, 0x8e, 0x7f, 0x8c, 0xbc, 0xfe, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x1b, + 0x43, 0x78, 0x48, 0x9c, 0x09, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/vm/types/v1/tx.pb.gw.go b/x/vm/types/v1/tx.pb.gw.go new file mode 100644 index 000000000..d3469cc63 --- /dev/null +++ b/x/vm/types/v1/tx.pb.gw.go @@ -0,0 +1,171 @@ +// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. +// source: cosmos/evm/vm/v1/tx.proto + +/* +Package v1 is a reverse proxy. + +It translates gRPC into RESTful JSON APIs. +*/ +package v1 + +import ( + "context" + "io" + "net/http" + + "github.com/golang/protobuf/descriptor" + "github.com/golang/protobuf/proto" + "github.com/grpc-ecosystem/grpc-gateway/runtime" + "github.com/grpc-ecosystem/grpc-gateway/utilities" + "google.golang.org/grpc" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/grpclog" + "google.golang.org/grpc/metadata" + "google.golang.org/grpc/status" +) + +// Suppress "imported and not used" errors +var _ codes.Code +var _ io.Reader +var _ status.Status +var _ = runtime.String +var _ = utilities.NewDoubleArray +var _ = descriptor.ForMessage +var _ = metadata.Join + +var ( + filter_Msg_EthereumTx_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} +) + +func request_Msg_EthereumTx_0(ctx context.Context, marshaler runtime.Marshaler, client MsgClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq MsgEthereumTx + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Msg_EthereumTx_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.EthereumTx(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Msg_EthereumTx_0(ctx context.Context, marshaler runtime.Marshaler, server MsgServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq MsgEthereumTx + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Msg_EthereumTx_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.EthereumTx(ctx, &protoReq) + return msg, metadata, err + +} + +// RegisterMsgHandlerServer registers the http handlers for service Msg to "mux". +// UnaryRPC :call MsgServer directly. +// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. +// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterMsgHandlerFromEndpoint instead. +func RegisterMsgHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MsgServer) error { + + mux.Handle("POST", pattern_Msg_EthereumTx_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Msg_EthereumTx_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Msg_EthereumTx_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + return nil +} + +// RegisterMsgHandlerFromEndpoint is same as RegisterMsgHandler but +// automatically dials to "endpoint" and closes the connection when "ctx" gets done. +func RegisterMsgHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { + conn, err := grpc.Dial(endpoint, opts...) + if err != nil { + return err + } + defer func() { + if err != nil { + if cerr := conn.Close(); cerr != nil { + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + } + return + } + go func() { + <-ctx.Done() + if cerr := conn.Close(); cerr != nil { + grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr) + } + }() + }() + + return RegisterMsgHandler(ctx, mux, conn) +} + +// RegisterMsgHandler registers the http handlers for service Msg to "mux". +// The handlers forward requests to the grpc endpoint over "conn". +func RegisterMsgHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { + return RegisterMsgHandlerClient(ctx, mux, NewMsgClient(conn)) +} + +// RegisterMsgHandlerClient registers the http handlers for service Msg +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MsgClient". +// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MsgClient" +// doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in +// "MsgClient" to call the correct interceptors. +func RegisterMsgHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MsgClient) error { + + mux.Handle("POST", pattern_Msg_EthereumTx_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Msg_EthereumTx_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Msg_EthereumTx_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + return nil +} + +var ( + pattern_Msg_EthereumTx_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"cosmos", "evm", "vm", "v1", "ethereum_tx"}, "", runtime.AssumeColonVerbOpt(false))) +) + +var ( + forward_Msg_EthereumTx_0 = runtime.ForwardResponseMessage +)