diff --git a/api/opinit/opchild/v1/genesis.pulsar.go b/api/opinit/opchild/v1/genesis.pulsar.go index 145f50c..2e403b0 100644 --- a/api/opinit/opchild/v1/genesis.pulsar.go +++ b/api/opinit/opchild/v1/genesis.pulsar.go @@ -601,7 +601,7 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { dAtA[i] = 0 } i-- - dAtA[i] = 0x48 + dAtA[i] = 0x38 } if x.BridgeInfo != nil { encoded, err := options.Marshal(x.BridgeInfo) @@ -615,17 +615,17 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { copy(dAtA[i:], encoded) i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) i-- - dAtA[i] = 0x42 + dAtA[i] = 0x32 } if x.NextL1Sequence != 0 { i = runtime.EncodeVarint(dAtA, i, uint64(x.NextL1Sequence)) i-- - dAtA[i] = 0x38 + dAtA[i] = 0x28 } if x.NextL2Sequence != 0 { i = runtime.EncodeVarint(dAtA, i, uint64(x.NextL2Sequence)) i-- - dAtA[i] = 0x30 + dAtA[i] = 0x20 } if len(x.Validators) > 0 { for iNdEx := len(x.Validators) - 1; iNdEx >= 0; iNdEx-- { @@ -826,7 +826,7 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex - case 6: + case 4: if wireType != 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field NextL2Sequence", wireType) } @@ -845,7 +845,7 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { break } } - case 7: + case 5: if wireType != 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field NextL1Sequence", wireType) } @@ -864,7 +864,7 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { break } } - case 8: + case 6: if wireType != 2 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field BridgeInfo", wireType) } @@ -900,7 +900,7 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex - case 9: + case 7: if wireType != 0 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Exported", wireType) } @@ -1449,10 +1449,10 @@ type GenesisState struct { LastValidatorPowers []*LastValidatorPower `protobuf:"bytes,2,rep,name=last_validator_powers,json=lastValidatorPowers,proto3" json:"last_validator_powers,omitempty"` // delegations defines the validator set at genesis. Validators []*Validator `protobuf:"bytes,3,rep,name=validators,proto3" json:"validators,omitempty"` - NextL2Sequence uint64 `protobuf:"varint,6,opt,name=next_l2_sequence,json=nextL2Sequence,proto3" json:"next_l2_sequence,omitempty"` - NextL1Sequence uint64 `protobuf:"varint,7,opt,name=next_l1_sequence,json=nextL1Sequence,proto3" json:"next_l1_sequence,omitempty"` - BridgeInfo *BridgeInfo `protobuf:"bytes,8,opt,name=bridge_info,json=bridgeInfo,proto3" json:"bridge_info,omitempty"` - Exported bool `protobuf:"varint,9,opt,name=exported,proto3" json:"exported,omitempty"` + NextL2Sequence uint64 `protobuf:"varint,4,opt,name=next_l2_sequence,json=nextL2Sequence,proto3" json:"next_l2_sequence,omitempty"` + NextL1Sequence uint64 `protobuf:"varint,5,opt,name=next_l1_sequence,json=nextL1Sequence,proto3" json:"next_l1_sequence,omitempty"` + BridgeInfo *BridgeInfo `protobuf:"bytes,6,opt,name=bridge_info,json=bridgeInfo,proto3" json:"bridge_info,omitempty"` + Exported bool `protobuf:"varint,7,opt,name=exported,proto3" json:"exported,omitempty"` } func (x *GenesisState) Reset() { @@ -1599,16 +1599,16 @@ var file_opinit_opchild_v1_genesis_proto_rawDesc = []byte{ 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x42, 0x09, 0xc8, 0xde, 0x1f, 0x00, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x0a, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x28, 0x0a, 0x10, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x6c, 0x32, - 0x5f, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x5f, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x6e, 0x65, 0x78, 0x74, 0x4c, 0x32, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x6c, 0x31, 0x5f, 0x73, 0x65, 0x71, 0x75, 0x65, - 0x6e, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x6e, 0x65, 0x78, 0x74, 0x4c, + 0x6e, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x6e, 0x65, 0x78, 0x74, 0x4c, 0x31, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x3e, 0x0a, 0x0b, 0x62, 0x72, 0x69, - 0x64, 0x67, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, + 0x64, 0x67, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6f, 0x70, 0x69, 0x6e, 0x69, 0x74, 0x2e, 0x6f, 0x70, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x72, 0x69, 0x64, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0a, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x78, 0x70, - 0x6f, 0x72, 0x74, 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x65, 0x78, 0x70, + 0x6f, 0x72, 0x74, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x22, 0x68, 0x0a, 0x12, 0x4c, 0x61, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x32, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, diff --git a/api/opinit/opchild/v1/query.pulsar.go b/api/opinit/opchild/v1/query.pulsar.go index a27d9f7..7839cbc 100644 --- a/api/opinit/opchild/v1/query.pulsar.go +++ b/api/opinit/opchild/v1/query.pulsar.go @@ -4,7 +4,6 @@ package opchildv1 import ( _ "cosmossdk.io/api/amino" v1beta1 "cosmossdk.io/api/cosmos/base/query/v1beta1" - _ "cosmossdk.io/api/cosmos/base/v1beta1" _ "cosmossdk.io/api/cosmos/query/v1" fmt "fmt" _ "github.com/cosmos/cosmos-proto" @@ -6332,8 +6331,6 @@ var file_opinit_opchild_v1_query_proto_rawDesc = []byte{ 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, 0x1e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x76, - 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x63, 0x6f, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x73, diff --git a/api/opinit/opchild/v1/tx.pulsar.go b/api/opinit/opchild/v1/tx.pulsar.go index 666f91f..e3b3f52 100644 --- a/api/opinit/opchild/v1/tx.pulsar.go +++ b/api/opinit/opchild/v1/tx.pulsar.go @@ -8727,7 +8727,7 @@ type MsgFinalizeTokenDeposit struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` // from is l1 sender address From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` - // to is l2 recipient address or "hook" + // to is l2 recipient address To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` // amount is the coin amount to deposit. Amount *v1beta1.Coin `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` diff --git a/proto/buf.gen.pulsar.yaml b/proto/buf.gen.pulsar.yaml index e671b94..ecd944e 100644 --- a/proto/buf.gen.pulsar.yaml +++ b/proto/buf.gen.pulsar.yaml @@ -17,6 +17,3 @@ plugins: - name: go-grpc out: ../api opt: paths=source_relative - - name: go-cosmos-orm - out: ../api - opt: paths=source_relative diff --git a/proto/buf.lock b/proto/buf.lock index fe4ad97..33ee1fb 100644 --- a/proto/buf.lock +++ b/proto/buf.lock @@ -1,11 +1,6 @@ # Generated by buf. DO NOT EDIT. version: v1 deps: - - remote: buf.build - owner: cometbft - repository: cometbft - commit: fedbb9acfd2f494b9755949cbb41dfca - digest: shake256:c1881013cf98a4833923d74638c3623ac32890fa066eef961986b40e5e86d646fee02f05a5c7fabe596cc81f01108ffb1ae28db39db73a797e7f72e26c289628 - remote: buf.build owner: cosmos repository: cosmos-proto diff --git a/proto/buf.yaml b/proto/buf.yaml index 8faf63e..b8579c8 100644 --- a/proto/buf.yaml +++ b/proto/buf.yaml @@ -2,7 +2,6 @@ version: v1 name: buf.build/initia-labs/OPinit deps: - - buf.build/cometbft/cometbft:fedbb9acfd2f494b9755949cbb41dfca - buf.build/cosmos/cosmos-sdk:v0.50.0 - buf.build/cosmos/cosmos-proto:1935555c206d4afb9e94615dfd0fad31 - buf.build/cosmos/gogo-proto:5e5b9fdd01804356895f8f79a6f1ddc1 diff --git a/proto/opinit/opchild/v1/genesis.proto b/proto/opinit/opchild/v1/genesis.proto index 432d126..1b816ef 100644 --- a/proto/opinit/opchild/v1/genesis.proto +++ b/proto/opinit/opchild/v1/genesis.proto @@ -20,10 +20,10 @@ message GenesisState { // delegations defines the validator set at genesis. repeated Validator validators = 3 [(gogoproto.nullable) = false, (amino.dont_omitempty) = true]; - uint64 next_l2_sequence = 6; - uint64 next_l1_sequence = 7; - BridgeInfo bridge_info = 8; - bool exported = 9; + uint64 next_l2_sequence = 4; + uint64 next_l1_sequence = 5; + BridgeInfo bridge_info = 6; + bool exported = 7; } // LastValidatorPower required for validator set update logic. diff --git a/proto/opinit/opchild/v1/query.proto b/proto/opinit/opchild/v1/query.proto index 8013285..a8af664 100644 --- a/proto/opinit/opchild/v1/query.proto +++ b/proto/opinit/opchild/v1/query.proto @@ -3,7 +3,6 @@ package opinit.opchild.v1; import "amino/amino.proto"; import "cosmos/base/query/v1beta1/pagination.proto"; -import "cosmos/base/v1beta1/coin.proto"; import "cosmos/query/v1/query.proto"; import "cosmos_proto/cosmos.proto"; import "gogoproto/gogo.proto"; diff --git a/proto/opinit/opchild/v1/tx.proto b/proto/opinit/opchild/v1/tx.proto index 17c5761..62955e1 100644 --- a/proto/opinit/opchild/v1/tx.proto +++ b/proto/opinit/opchild/v1/tx.proto @@ -105,7 +105,7 @@ message MsgFinalizeTokenDeposit { // from is l1 sender address string from = 2; - // to is l2 recipient address or "hook" + // to is l2 recipient address string to = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"]; // amount is the coin amount to deposit. diff --git a/x/opchild/keeper/keeper.go b/x/opchild/keeper/keeper.go index 95c6b0c..124c6d1 100644 --- a/x/opchild/keeper/keeper.go +++ b/x/opchild/keeper/keeper.go @@ -4,10 +4,8 @@ import ( "context" "errors" "fmt" - "time" "cosmossdk.io/collections" - collcodec "cosmossdk.io/collections/codec" "cosmossdk.io/core/address" corestoretypes "cosmossdk.io/core/store" "cosmossdk.io/log" @@ -54,8 +52,6 @@ type Keeper struct { ValidatorsByConsAddr collections.Map[[]byte, []byte] HistoricalInfos collections.Map[int64, cosmostypes.HistoricalInfo] DenomPairs collections.Map[string, string] - Commitments collections.Map[uint64, []byte] - CommitmentTimes collections.Map[uint64, time.Time] ExecutorChangePlans map[uint64]types.ExecutorChangePlan @@ -126,8 +122,6 @@ func NewKeeper( ValidatorsByConsAddr: collections.NewMap(sb, types.ValidatorsByConsAddrPrefix, "validators_by_cons_addr", collections.BytesKey, collections.BytesValue), DenomPairs: collections.NewMap(sb, types.DenomPairPrefix, "denom_pairs", collections.StringKey, collections.StringValue), HistoricalInfos: collections.NewMap(sb, types.HistoricalInfoPrefix, "historical_infos", collections.Int64Key, codec.CollValue[cosmostypes.HistoricalInfo](cdc)), - Commitments: collections.NewMap(sb, types.CommitmentPrefix, "commitments", collections.Uint64Key, collections.BytesValue), - CommitmentTimes: collections.NewMap(sb, types.CommitmentTimePrefix, "commitment_times", collections.Uint64Key, collcodec.KeyToValueCodec(sdk.TimeKey)), ExecutorChangePlans: make(map[uint64]types.ExecutorChangePlan), HostValidatorStore: hostValidatorStore, @@ -159,11 +153,6 @@ func (k Keeper) Router() *baseapp.MsgServiceRouter { return k.router } -// StoreService returns the KVStoreService -func (k Keeper) StoreService() corestoretypes.KVStoreService { - return k.storeService -} - // setDenomMetadata sets an OPinit token's denomination metadata func (k Keeper) setDenomMetadata(ctx context.Context, baseDenom, denom string) { metadata := banktypes.Metadata{ diff --git a/x/opchild/types/genesis.pb.go b/x/opchild/types/genesis.pb.go index e8ec6f8..6577471 100644 --- a/x/opchild/types/genesis.pb.go +++ b/x/opchild/types/genesis.pb.go @@ -34,10 +34,10 @@ type GenesisState struct { LastValidatorPowers []LastValidatorPower `protobuf:"bytes,2,rep,name=last_validator_powers,json=lastValidatorPowers,proto3" json:"last_validator_powers"` // delegations defines the validator set at genesis. Validators []Validator `protobuf:"bytes,3,rep,name=validators,proto3" json:"validators"` - NextL2Sequence uint64 `protobuf:"varint,6,opt,name=next_l2_sequence,json=nextL2Sequence,proto3" json:"next_l2_sequence,omitempty"` - NextL1Sequence uint64 `protobuf:"varint,7,opt,name=next_l1_sequence,json=nextL1Sequence,proto3" json:"next_l1_sequence,omitempty"` - BridgeInfo *BridgeInfo `protobuf:"bytes,8,opt,name=bridge_info,json=bridgeInfo,proto3" json:"bridge_info,omitempty"` - Exported bool `protobuf:"varint,9,opt,name=exported,proto3" json:"exported,omitempty"` + NextL2Sequence uint64 `protobuf:"varint,4,opt,name=next_l2_sequence,json=nextL2Sequence,proto3" json:"next_l2_sequence,omitempty"` + NextL1Sequence uint64 `protobuf:"varint,5,opt,name=next_l1_sequence,json=nextL1Sequence,proto3" json:"next_l1_sequence,omitempty"` + BridgeInfo *BridgeInfo `protobuf:"bytes,6,opt,name=bridge_info,json=bridgeInfo,proto3" json:"bridge_info,omitempty"` + Exported bool `protobuf:"varint,7,opt,name=exported,proto3" json:"exported,omitempty"` } func (m *GenesisState) Reset() { *m = GenesisState{} } @@ -171,36 +171,37 @@ func init() { func init() { proto.RegisterFile("opinit/opchild/v1/genesis.proto", fileDescriptor_08c29689c0e7bd55) } var fileDescriptor_08c29689c0e7bd55 = []byte{ - // 464 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x92, 0x41, 0x8b, 0xd3, 0x40, - 0x14, 0xc7, 0x33, 0x5b, 0xed, 0xb6, 0x53, 0x11, 0x77, 0xac, 0x90, 0x2d, 0x6e, 0x1a, 0x16, 0x84, - 0x20, 0x34, 0xa1, 0xf1, 0x26, 0x22, 0xd8, 0x4b, 0x11, 0x16, 0x2c, 0x29, 0x78, 0xf0, 0x12, 0x26, - 0xcd, 0x6c, 0x3a, 0x90, 0xce, 0xc4, 0x99, 0xd9, 0x5a, 0xbf, 0x81, 0x47, 0x3f, 0xc2, 0x1e, 0x05, - 0x2f, 0x1e, 0xfc, 0x10, 0x7b, 0x5c, 0x3c, 0x79, 0x12, 0x69, 0x0f, 0xfa, 0x31, 0x96, 0xce, 0x64, - 0xb3, 0x85, 0xf4, 0x12, 0xe6, 0xbd, 0xf7, 0x7b, 0xff, 0x79, 0x99, 0xf7, 0x87, 0x7d, 0x5e, 0x50, - 0x46, 0x55, 0xc0, 0x8b, 0xd9, 0x9c, 0xe6, 0x69, 0xb0, 0x1c, 0x06, 0x19, 0x61, 0x44, 0x52, 0xe9, - 0x17, 0x82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x1c, 0xde, 0x91, 0x87, 0x3b, 0xe4, 0xb0, 0x22, 0x5f, 0xc3, 0x4e, 0x22, - 0x68, 0x9a, 0x91, 0x98, 0xb2, 0x73, 0x6e, 0xb7, 0xf4, 0x2b, 0x9e, 0xec, 0x99, 0x6e, 0xa4, 0xa9, - 0xb7, 0xec, 0x9c, 0x47, 0x30, 0xa9, 0xce, 0xa8, 0x07, 0x5b, 0x64, 0x55, 0x70, 0xa1, 0x48, 0x6a, - 0xb7, 0x5d, 0xe0, 0xb5, 0xa2, 0x2a, 0x3e, 0x9d, 0x43, 0x54, 0x7f, 0x2e, 0x14, 0xc2, 0x43, 0x9c, - 0xa6, 0x82, 0x48, 0xb3, 0xb3, 0xf6, 0xc8, 0xfe, 0xf5, 0x73, 0xd0, 0x2d, 0xbd, 0xf1, 0xc6, 0x54, - 0xa6, 0x4a, 0x50, 0x96, 0x45, 0xb7, 0x20, 0xea, 0xc2, 0xfb, 0x7a, 0x33, 0xf6, 0x81, 0x0b, 0xbc, - 0x46, 0x64, 0x82, 0x97, 0xad, 0x2f, 0x97, 0x7d, 0xeb, 0xff, 0x65, 0xdf, 0x1a, 0x8d, 0xaf, 0xd6, - 0x0e, 0xb8, 0x5e, 0x3b, 0xe0, 0xef, 0xda, 0x01, 0x5f, 0x37, 0x8e, 0x75, 0xbd, 0x71, 0xac, 0xdf, - 0x1b, 0xc7, 0xfa, 0x30, 0xc8, 0xa8, 0x9a, 0x5f, 0x24, 0xfe, 0x8c, 0x2f, 0x82, 0xed, 0x2f, 0x51, - 0x3c, 0xc8, 0x71, 0x22, 0x83, 0x77, 0x13, 0xed, 0xb3, 0x55, 0xe5, 0x34, 0x6d, 0xb3, 0xa4, 0xa9, - 0x7d, 0xf6, 0xe2, 0x26, 0x00, 0x00, 0xff, 0xff, 0xb0, 0x6d, 0xcc, 0x7e, 0x00, 0x03, 0x00, 0x00, + // 465 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00,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 0xf9, 0x63, 0x0d, 0x0c, + 0x8f, 0xae, 0xff, 0xf4, 0xac, 0x6f, 0xff, 0x7e, 0x3c, 0x07, 0x51, 0xd9, 0x83, 0x52, 0xf8, 0x24, + 0xc7, 0x52, 0xc5, 0x0b, 0x9c, 0xd3, 0x14, 0x2b, 0x2e, 0xe2, 0x82, 0x7f, 0x22, 0x42, 0xda, 0x7b, + 0x6e, 0xc3, 0x6b, 0x87, 0xcf, 0x76, 0x88, 0x9d, 0x63, 0xa9, 0xde, 0xdf, 0xe1, 0xe3, 0x0d, 0xbd, + 0x2d, 0xfc, 0x38, 0xaf, 0x95, 0x25, 0x1a, 0x41, 0x58, 0x5d, 0x20, 0xed, 0x86, 0x96, 0x7e, 0xba, + 0x43, 0xba, 0xea, 0xdb, 0x56, 0xdc, 0x6a, 0x45, 0x1e, 0x7c, 0xc4, 0xc8, 0x52, 0xc5, 0x79, 0x18, + 0x4b, 0xf2, 0xf1, 0x92, 0xb0, 0x29, 0xb1, 0xf7, 0x5d, 0xe0, 0xed, 0x47, 0x0f, 0x37, 0xf9, 0xf3, + 0x70, 0x52, 0x66, 0xef, 0xc9, 0xc1, 0x3d, 0x79, 0xb0, 0x45, 0x0e, 0x2a, 0xf2, 0x35, 0x6c, 0x27, + 0x82, 0xa6, 0x19, 0x89, 0x29, 0xbb, 0xe0, 0x76, 0x53, 0xbf, 0xe2, 0xe9, 0x8e, 0xe9, 0x86, 0x9a, + 0x7a, 0xcb, 0x2e, 0x78, 0x04, 0x93, 0xea, 0x8c, 0xba, 0xb0, 0x45, 0x96, 0x05, 0x17, 0x8a, 0xa4, + 0xf6, 0xa1, 0x0b, 0xbc, 0x56, 0x54, 0xc5, 0x67, 0x33, 0x88, 0xea, 0xcf, 0x85, 0x42, 0x78, 0x88, + 0xd3, 0x54, 0x10, 0x69, 0x76, 0x76, 0x34, 0xb4, 0x7f, 0xfd, 0xec, 0x77, 0x4a, 0x6f, 0xbc, 0x31, + 0x95, 0x89, 0x12, 0x94, 0x65, 0xd1, 0x1d, 0x88, 0x3a, 0xf0, 0x40, 0x6f, 0xc6, 0xde, 0x73, 0x81, + 0xd7, 0x88, 0x4c, 0xf0, 0xb2, 0xf5, 0xe5, 0xaa, 0x67, 0xfd, 0xbf, 0xea, 0x59, 0xc3, 0xd1, 0xf5, + 0xca, 0x01, 0x37, 0x2b, 0x07, 0xfc, 0x5d, 0x39, 0xe0, 0xeb, 0xda, 0xb1, 0x6e, 0xd6, 0x8e, 0xf5, + 0x7b, 0xed, 0x58, 0x1f, 0xfa, 0x19, 0x55, 0xb3, 0xcb, 0xc4, 0x9f, 0xf2, 0x79, 0xb0, 0xf9, 0x25, + 0x8a, 0xfb, 0x39, 0x4e, 0x64, 0xf0, 0x6e, 0xac, 0x7d, 0xb6, 0xac, 0x9c, 0xa6, 0x6d, 0x96, 0x34, + 0xb5, 0xcf, 0x5e, 0xdc, 0x06, 0x00, 0x00, 0xff, 0xff, 0x3a, 0x97, 0x80, 0x16, 0x00, 0x03, 0x00, + 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { @@ -231,7 +232,7 @@ func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { dAtA[i] = 0 } i-- - dAtA[i] = 0x48 + dAtA[i] = 0x38 } if m.BridgeInfo != nil { { @@ -243,17 +244,17 @@ func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { i = encodeVarintGenesis(dAtA, i, uint64(size)) } i-- - dAtA[i] = 0x42 + dAtA[i] = 0x32 } if m.NextL1Sequence != 0 { i = encodeVarintGenesis(dAtA, i, uint64(m.NextL1Sequence)) i-- - dAtA[i] = 0x38 + dAtA[i] = 0x28 } if m.NextL2Sequence != 0 { i = encodeVarintGenesis(dAtA, i, uint64(m.NextL2Sequence)) i-- - dAtA[i] = 0x30 + dAtA[i] = 0x20 } if len(m.Validators) > 0 { for iNdEx := len(m.Validators) - 1; iNdEx >= 0; iNdEx-- { @@ -530,7 +531,7 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 6: + case 4: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field NextL2Sequence", wireType) } @@ -549,7 +550,7 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { break } } - case 7: + case 5: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field NextL1Sequence", wireType) } @@ -568,7 +569,7 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { break } } - case 8: + case 6: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field BridgeInfo", wireType) } @@ -604,7 +605,7 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 9: + case 7: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field Exported", wireType) } diff --git a/x/opchild/types/keys.go b/x/opchild/types/keys.go index 7309f37..18bfb47 100644 --- a/x/opchild/types/keys.go +++ b/x/opchild/types/keys.go @@ -20,8 +20,6 @@ var ( NextL1SequenceKey = []byte{0x14} // prefix for inbound deposit sequence number HistoricalInfoPrefix = []byte{0x21} // prefix for the historical info - CommitmentTimePrefix = []byte{0x22} // prefix for withdrawal commitments creation time - CommitmentPrefix = []byte{0x23} // prefix for withdrawal commitments LastValidatorPowerPrefix = []byte{0x31} // prefix for each key to a validator index, for bonded validators ValidatorsPrefix = []byte{0x32} // prefix for each key to a validator diff --git a/x/opchild/types/query.pb.go b/x/opchild/types/query.pb.go index 12a58d9..08dc677 100644 --- a/x/opchild/types/query.pb.go +++ b/x/opchild/types/query.pb.go @@ -7,7 +7,6 @@ import ( context "context" fmt "fmt" _ "github.com/cosmos/cosmos-proto" - _ "github.com/cosmos/cosmos-sdk/types" query "github.com/cosmos/cosmos-sdk/types/query" _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/cosmos/gogoproto/gogoproto" @@ -668,59 +667,59 @@ func init() { func init() { proto.RegisterFile("opinit/opchild/v1/query.proto", fileDescriptor_15cfbb5d02a763ec) } var fileDescriptor_15cfbb5d02a763ec = []byte{ - // 826 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x96, 0xcf, 0x6b, 0x13, 0x4d, - 0x18, 0xc7, 0xb3, 0x7d, 0xdf, 0x96, 0x37, 0x4f, 0x79, 0x8b, 0x1d, 0xa3, 0xa6, 0x69, 0xb3, 0x2d, - 0x2b, 0x6d, 0xd3, 0x48, 0x76, 0xcc, 0x7a, 0x10, 0x44, 0x10, 0x83, 0x5a, 0x0a, 0xa2, 0x35, 0x05, - 0x11, 0x2f, 0x71, 0x36, 0xbb, 0xdd, 0x2e, 0x24, 0x3b, 0xdb, 0xdd, 0x6d, 0x68, 0x29, 0x45, 0xf0, - 0xe4, 0xcd, 0x82, 0x1e, 0xbd, 0x78, 0x13, 0x7a, 0xf1, 0xe0, 0x1f, 0xd1, 0x63, 0xd1, 0x8b, 0x27, - 0x91, 0x56, 0xf0, 0xdf, 0x90, 0x9d, 0x9d, 0xfd, 0xd5, 0x6c, 0xda, 0xe8, 0xa5, 0xcd, 0x3c, 0x3f, - 0xe6, 0xfb, 0x99, 0x67, 0x9e, 0x67, 0x58, 0x28, 0x53, 0xdb, 0xb4, 0x4c, 0x0f, 0x53, 0xbb, 0xbd, - 0x61, 0x76, 0x34, 0xdc, 0xab, 0xe3, 0xcd, 0x2d, 0xdd, 0xd9, 0x91, 0x6d, 0x87, 0x7a, 0x14, 0x4d, - 0x06, 0x6e, 0x99, 0xbb, 0xe5, 0x5e, 0xbd, 0x34, 0x49, 0xba, 0xa6, 0x45, 0x31, 0xfb, 0x1b, 0x44, - 0x95, 0xaa, 0x6d, 0xea, 0x76, 0xa9, 0x8b, 0x55, 0xe2, 0xea, 0x41, 0x3a, 0xee, 0xd5, 0x55, 0xdd, - 0x23, 0x75, 0x6c, 0x13, 0xc3, 0xb4, 0x88, 0x67, 0x52, 0x8b, 0xc7, 0x8a, 0xc9, 0xd8, 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0x6b, 0x06, 0x0b, 0xe9, 0x66, 0x78, 0xcf, 0x71, - 0x38, 0x97, 0x2c, 0x03, 0xf8, 0xbd, 0xde, 0x4a, 0x26, 0xe5, 0xd5, 0x30, 0x4c, 0x39, 0xf8, 0x0f, - 0x46, 0x59, 0x26, 0x7a, 0x23, 0x00, 0xc4, 0xe3, 0x88, 0x96, 0x32, 0x8a, 0x9f, 0xfd, 0x2a, 0x94, - 0xaa, 0xc3, 0x84, 0x06, 0x38, 0x52, 0xf5, 0xb5, 0x7f, 0x69, 0xaf, 0xbe, 0xfe, 0x7c, 0x3b, 0x32, - 0x8b, 0xca, 0xb8, 0xff, 0x21, 0x4a, 0x0c, 0xf0, 0x7b, 0x01, 0xf2, 0xd1, 0x16, 0xa8, 0x72, 0xae, - 0x4a, 0xc8, 0xb3, 0x34, 0x44, 0x24, 0xc7, 0xb9, 0x15, 0xe3, 0x60, 0x54, 0x3b, 0x0b, 0x07, 0xef, - 0xa6, 0x47, 0x7d, 0x0f, 0xed, 0x0b, 0x00, 0xf1, 0x04, 0x0c, 0x2e, 0x58, 0xdf, 0xec, 0x0d, 0x2e, - 0x58, 0xff, 0x30, 0x4a, 0xd7, 0x62, 0xc2, 0x39, 0x24, 0x66, 0x10, 0x26, 0x46, 0x15, 0xbd, 0x84, - 0xb1, 0x60, 0x40, 0xd0, 0xfc, 0x20, 0x89, 0xd4, 0x24, 0x96, 0x16, 0xce, 0x0b, 0xe3, 0x14, 0x0b, - 0x31, 0xc5, 0x34, 0x9a, 0xca, 0xa0, 0x08, 0x86, 0x10, 0x7d, 0x10, 0x60, 0x22, 0x3d, 0x62, 0xa8, - 0x36, 0x48, 0x22, 0x73, 0x50, 0x4b, 0xf2, 0xb0, 0xe1, 0x9c, 0xec, 0x7a, 0x4c, 0x36, 0x8f, 0xae, - 0x66, 0x90, 0x9d, 0x9e, 0xeb, 0x98, 0x51, 0x19, 0x92, 0x51, 0xf9, 0x33, 0x46, 0xe5, 0x6f, 0x19, - 0xe3, 0x47, 0x01, 0xbd, 0x13, 0x20, 0x1f, 0xcd, 0xf2, 0xe0, 0xd6, 0x3f, 0xfd, 0x3a, 0x0c, 0x6e, - 0xfd, 0xbe, 0x87, 0x41, 0x52, 0x62, 0xa8, 0x45, 0x34, 0x9f, 0xd5, 0x58, 0xd1, 0xb3, 0x81, 0x77, - 0xd9, 0xbf, 0xbd, 0xc6, 0xf2, 0xe1, 0xb1, 0x28, 0x1c, 0x1d, 0x8b, 0xc2, 0x8f, 0x63, 0x51, 0xd8, - 0x3f, 0x11, 0x73, 0x47, 0x27, 0x62, 0xee, 0xdb, 0x89, 0x98, 0x7b, 0x5e, 0x33, 0x4c, 0x6f, 0x63, - 0x4b, 0x95, 0xdb, 0xb4, 0x8b, 0xfd, 0x8d, 0x4c, 0x52, 0xeb, 0x10, 0xd5, 0xc5, 0x8f, 0x57, 0xd9, - 0xb6, 0xdb, 0xd1, 0xc6, 0xec, 0x43, 0x43, 0x1d, 0x63, 0x5f, 0x1a, 0x37, 0x7e, 0x07, 0x00, 0x00, - 0xff, 0xff, 0xf0, 0x63, 0xf9, 0xf4, 0x87, 0x09, 0x00, 0x00, + // 820 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x96, 0xcf, 0x6b, 0xdb, 0x48, + 0x14, 0xc7, 0xad, 0xec, 0x26, 0xac, 0x5f, 0xd8, 0xb0, 0x99, 0xf5, 0xee, 0x3a, 0x4e, 0xec, 0x04, + 0x2d, 0x49, 0x1c, 0x2f, 0xd6, 0xac, 0xd5, 0x43, 0xa1, 0x14, 0x4a, 0x4d, 0xdb, 0x10, 0x28, 0x6d, + 0xea, 0x40, 0x29, 0xbd, 0xb8, 0x23, 0x6b, 0xa2, 0x08, 0x6c, 0x8d, 0x22, 0x29, 0x26, 0x21, 0x84, + 0x42, 0x4f, 0xbd, 0x35, 0xd0, 0x1e, 0x7b, 0xe9, 0xad, 0x90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0x8d, 0x2b, 0xdf, 0x03, 0x00, 0x00, 0xff, 0xff, 0xaa, 0x5e, 0xc4, 0x7b, + 0x67, 0x09, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/opchild/types/tx.go b/x/opchild/types/tx.go index 4ec8e41..9639c1a 100644 --- a/x/opchild/types/tx.go +++ b/x/opchild/types/tx.go @@ -258,6 +258,7 @@ func (msg MsgFinalizeTokenDeposit) Validate(ac address.Codec) error { } } + // allow zero amount if !msg.Amount.IsValid() { return ErrInvalidAmount } diff --git a/x/opchild/types/tx.pb.go b/x/opchild/types/tx.pb.go index eb82717..b4e7dd6 100644 --- a/x/opchild/types/tx.pb.go +++ b/x/opchild/types/tx.pb.go @@ -197,7 +197,7 @@ type MsgFinalizeTokenDeposit struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty" yaml:"sender"` // from is l1 sender address From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` - // to is l2 recipient address or "hook" + // to is l2 recipient address To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` // amount is the coin amount to deposit. Amount types1.Coin `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount" yaml:"amount"` @@ -788,83 +788,83 @@ func init() { func init() { proto.RegisterFile("opinit/opchild/v1/tx.proto", fileDescriptor_1ee96a503651b6e4) } var fileDescriptor_1ee96a503651b6e4 = []byte{ - // 1205 bytes of a gzipped FileDescriptorProto + // 1204 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x57, 0x41, 0x6f, 0xe3, 0x44, - 0x14, 0x8e, 0xd3, 0x36, 0x6d, 0xa6, 0xbb, 0xdb, 0xd6, 0xaa, 0xa8, 0x6b, 0xd1, 0xa4, 0x32, 0x42, - 0x84, 0x40, 0xec, 0x6d, 0x10, 0x1c, 0x22, 0x21, 0xd1, 0xb0, 0x5b, 0xa9, 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d, 0x45, 0x74, 0xde, 0x7c, 0x7e, 0x52, 0x5a, 0x14, 0xce, + 0x8f, 0x54, 0xe9, 0x97, 0x62, 0xbc, 0x5d, 0x56, 0xc0, 0x75, 0x9b, 0x38, 0xf8, 0x00, 0x79, 0x22, + 0x72, 0xa3, 0xa5, 0x7c, 0x0f, 0x2c, 0x0d, 0x46, 0x47, 0xee, 0xc1, 0x60, 0xff, 0xcc, 0xcb, 0xb2, + 0x18, 0x6e, 0x11, 0x72, 0x79, 0x0b, 0xe4, 0xdd, 0x7e, 0xfb, 0x00, 0x0d, 0x45, 0x16, 0x12, 0x5b, + 0x67, 0x43, 0x79, 0x32, 0xb6, 0xd8, 0xf1, 0x86, 0x2e, 0x23, 0xfa, 0x4e, 0xbf, 0x7d, 0x1f, 0x0d, + 0x5b, 0x62, 0x77, 0xbd, 0xf6, 0xed, 0xa3, 0x52, 0xe6, 0x9f, 0x47, 0xa5, 0x8c, 0x9f, 0x86, 0x31, + 0x01, 0x3f, 0x13, 0x2b, 0x91, 0x4c, 0x44, 0x03, 0xa5, 0xad, 0xf2, 0x96, 0x12, 0x15, 0x85, 0xed, + 0xe6, 0x8f, 0x60, 0x38, 0xb4, 0x90, 0x4d, 0x06, 0xe8, 0xff, 0x09, 0x6d, 0x62, 0x00, 0xb3, 0x2f, + 0x1a, 0xc0, 0x7a, 0x75, 0x9a, 0x70, 0x74, 0x9c, 0xc4, 0x18, 0x88, 0x71, 0x12, 0x93, 0x86, 0xb4, + 0x7f, 0x93, 0x78, 0x39, 0x7d, 0xe8, 0x9a, 0x90, 0xa1, 0x1d, 0xe8, 0x41, 0x9b, 0x5e, 0x29, 0xe7, + 0x0d, 0x90, 0x77, 0xb9, 0x55, 0x31, 0x51, 0x56, 0x13, 0x7a, 0x42, 0x70, 0x6c, 0x4b, 0x00, 0x83, + 0x59, 0x99, 0x9e, 0xd0, 0xa8, 0xab, 0x22, 0xa1, 0x51, 0xd1, 0x98, 0x59, 0x70, 0x51, 0x76, 0x5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7, 0x04, 0x29, 0x05, 0xae, 0xbe, 0xfd, 0x42, 0xf0, 0xd0, + 0x81, 0x4f, 0xc1, 0xcd, 0x89, 0x21, 0xa9, 0x25, 0x9b, 0x89, 0x62, 0xd4, 0xca, 0x6c, 0x4c, 0x68, + 0xdf, 0x02, 0x0b, 0xf1, 0x61, 0x91, 0x52, 0x24, 0x31, 0x58, 0x5a, 0x91, 0xa4, 0xb4, 0x68, 0x9f, + 0xc8, 0x44, 0x7b, 0x4e, 0x21, 0x12, 0xc5, 0xa4, 0x11, 0x49, 0x6a, 0x94, 0xbe, 0xfd, 0x89, 0x26, + 0x99, 0x62, 0x3f, 0x8a, 0x49, 0xb3, 0x9f, 0xd4, 0x2e, 0xc6, 0xfe, 0x8b, 0x56, 0x71, 0xa1, 0xff, + 0x01, 0xe6, 0x62, 0xff, 0x27, 0x6f, 0xad, 0x7a, 0xed, 0x6b, 0xbf, 0x0d, 0x34, 0xee, 0x1f, 0x3f, + 0x2b, 0x66, 0x8e, 0x4f, 0x8b, 0xd2, 0xd3, 0xd3, 0xa2, 0xf4, 0xf7, 0x69, 0x51, 0xfa, 0xe1, 0xac, + 0x98, 0x79, 0x7a, 0x56, 0xcc, 0xfc, 0x79, 0x56, 0xcc, 0x7c, 0x52, 0x8d, 0x74, 0x4c, 0xcc, 0x2b, + 0xa7, 0xda, 0x83, 0x6d, 0x6a, 0x3c, 0xd8, 0xe1, 0x5f, 0x8c, 0x87, 0xe1, 0x37, 0x23, 0x6f, 0x9e, + 0xed, 0x3c, 0x7f, 0x8c, 0xbc, 0xf5, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x8b, 0x2b, 0x3f, 0x3c, + 0x19, 0x0f, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/ophost/types/error.go b/x/ophost/types/error.go index b9eb1fb..ba0aca7 100644 --- a/x/ophost/types/error.go +++ b/x/ophost/types/error.go @@ -20,6 +20,5 @@ var ( ErrInvalidBridgeMetadata = errorsmod.Register(ModuleName, 13, "invalid bridge metadata") ErrInvalidBatchInfo = errorsmod.Register(ModuleName, 14, "invalid batch info") ErrInvalidChallengerUpdate = errorsmod.Register(ModuleName, 15, "invalid challenger update") - ErrEmptyCommitmentProof = errorsmod.Register(ModuleName, 16, "empty commitment proof") - ErrEmptyBatchBytes = errorsmod.Register(ModuleName, 17, "empty batch bytes") + ErrEmptyBatchBytes = errorsmod.Register(ModuleName, 16, "empty batch bytes") )