diff --git a/.goreleaser.yml b/.goreleaser.yml index a7ab2b4..179f59a 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,10 +1,10 @@ --- -project_name: pob +project_name: block-sdk release: github: owner: skip-mev - name: pob + name: block-sdk builds: - skip: true diff --git a/Makefile b/Makefile index 5413e1e..3128e29 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ export COMETBFT_VERSION := $(shell go list -m github.com/cometbft/cometbft | sed BIN_DIR ?= $(GOPATH)/bin BUILD_DIR ?= $(CURDIR)/build PROJECT_NAME = $(shell git remote get-url origin | xargs basename -s .git) -HTTPS_GIT := https://github.com/skip-mev/pob.git +HTTPS_GIT := https://github.com/skip-mev/block-sdk.git DOCKER := $(shell which docker) ############################################################################### @@ -70,7 +70,7 @@ $(BUILD_TARGETS): $(BUILD_DIR)/ $(BUILD_DIR)/: mkdir -p $(BUILD_DIR)/ -# build-and-start-app builds a POB simulation application binary in the build folder +# build-and-start-app builds a Block SDK simulation application binary in the build folder # and initializes a single validator configuration. If desired, users can suppliment # other addresses using "genesis add-genesis-account address 10000000000000000000000000stake". # This will allow users to bootstrap their wallet with a balance. diff --git a/README.md b/README.md index 92c62bb..b393420 100644 --- a/README.md +++ b/README.md @@ -3,11 +3,11 @@ [![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#wip) -[![GoDoc](https://img.shields.io/badge/godoc-reference-blue?style=flat-square&logo=go)](https://godoc.org/github.com/skip-mev/pob) -[![Go Report Card](https://goreportcard.com/badge/github.com/skip-mev/pob?style=flat-square)](https://goreportcard.com/report/github.com/skip-mev/pob) -[![Version](https://img.shields.io/github/tag/skip-mev/pob.svg?style=flat-square)](https://github.com/skip-mev/pob/releases/latest) -[![License: Apache-2.0](https://img.shields.io/github/license/skip-mev/pob.svg?style=flat-square)](https://github.com/skip-mev/pob/blob/main/LICENSE) -[![Lines Of Code](https://img.shields.io/tokei/lines/github/skip-mev/pob?style=flat-square)](https://github.com/skip-mev/pob) +[![GoDoc](https://img.shields.io/badge/godoc-reference-blue?style=flat-square&logo=go)](https://godoc.org/github.com/skip-mev/block-sdk) +[![Go Report Card](https://goreportcard.com/badge/github.com/skip-mev/block-sdk?style=flat-square)](https://goreportcard.com/report/github.com/skip-mev/block-sdk) +[![Version](https://img.shields.io/github/tag/skip-mev/block-sdk.svg?style=flat-square)](https://github.com/skip-mev/block-sdk/releases/latest) +[![License: Apache-2.0](https://img.shields.io/github/license/skip-mev/block-sdk.svg?style=flat-square)](https://github.com/skip-mev/block-sdk/blob/main/LICENSE) +[![Lines Of Code](https://img.shields.io/tokei/lines/github/skip-mev/block-sdk?style=flat-square)](https://github.com/skip-mev/block-sdk) ### 🤔 What is the Block SDK? diff --git a/abci/abci.go b/abci/abci.go index 1e203af..f4aa420 100644 --- a/abci/abci.go +++ b/abci/abci.go @@ -6,9 +6,9 @@ import ( "cosmossdk.io/log" abci "github.com/cometbft/cometbft/abci/types" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/skip-mev/pob/block" - "github.com/skip-mev/pob/block/utils" - "github.com/skip-mev/pob/lanes/terminator" + "github.com/skip-mev/block-sdk/block" + "github.com/skip-mev/block-sdk/block/utils" + "github.com/skip-mev/block-sdk/lanes/terminator" ) type ( diff --git a/abci/abci_test.go b/abci/abci_test.go index dace5ed..348d469 100644 --- a/abci/abci_test.go +++ b/abci/abci_test.go @@ -13,13 +13,13 @@ import ( cometabci "github.com/cometbft/cometbft/abci/types" "github.com/cosmos/cosmos-sdk/testutil" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/skip-mev/pob/abci" - "github.com/skip-mev/pob/block" - "github.com/skip-mev/pob/block/base" - defaultlane "github.com/skip-mev/pob/lanes/base" - "github.com/skip-mev/pob/lanes/free" - "github.com/skip-mev/pob/lanes/mev" - testutils "github.com/skip-mev/pob/testutils" + "github.com/skip-mev/block-sdk/abci" + "github.com/skip-mev/block-sdk/block" + "github.com/skip-mev/block-sdk/block/base" + defaultlane "github.com/skip-mev/block-sdk/lanes/base" + "github.com/skip-mev/block-sdk/lanes/free" + "github.com/skip-mev/block-sdk/lanes/mev" + testutils "github.com/skip-mev/block-sdk/testutils" "github.com/stretchr/testify/suite" ) diff --git a/api/pob/abci/v1/auction.pulsar.go b/api/pob/abci/v1/auction.pulsar.go deleted file mode 100644 index eadfe00..0000000 --- a/api/pob/abci/v1/auction.pulsar.go +++ /dev/null @@ -1,1414 +0,0 @@ -// Code generated by protoc-gen-go-pulsar. DO NOT EDIT. -package abciv1 - -import ( - fmt "fmt" - runtime "github.com/cosmos/cosmos-proto/runtime" - 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" - sort "sort" - sync "sync" -) - -var ( - md_AuctionInfo protoreflect.MessageDescriptor - fd_AuctionInfo_extended_commit_info protoreflect.FieldDescriptor - fd_AuctionInfo_max_tx_bytes protoreflect.FieldDescriptor - fd_AuctionInfo_num_txs protoreflect.FieldDescriptor -) - -func init() { - file_pob_abci_v1_auction_proto_init() - md_AuctionInfo = File_pob_abci_v1_auction_proto.Messages().ByName("AuctionInfo") - fd_AuctionInfo_extended_commit_info = md_AuctionInfo.Fields().ByName("extended_commit_info") - fd_AuctionInfo_max_tx_bytes = md_AuctionInfo.Fields().ByName("max_tx_bytes") - fd_AuctionInfo_num_txs = md_AuctionInfo.Fields().ByName("num_txs") -} - -var _ protoreflect.Message = (*fastReflection_AuctionInfo)(nil) - -type fastReflection_AuctionInfo AuctionInfo - -func (x *AuctionInfo) ProtoReflect() protoreflect.Message { - return (*fastReflection_AuctionInfo)(x) -} - -func (x *AuctionInfo) slowProtoReflect() protoreflect.Message { - mi := &file_pob_abci_v1_auction_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_AuctionInfo_messageType fastReflection_AuctionInfo_messageType -var _ protoreflect.MessageType = fastReflection_AuctionInfo_messageType{} - -type fastReflection_AuctionInfo_messageType struct{} - -func (x fastReflection_AuctionInfo_messageType) Zero() protoreflect.Message { - return (*fastReflection_AuctionInfo)(nil) -} -func (x fastReflection_AuctionInfo_messageType) New() protoreflect.Message { - return new(fastReflection_AuctionInfo) -} -func (x fastReflection_AuctionInfo_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_AuctionInfo -} - -// Descriptor returns message descriptor, which contains only the protobuf -// type information for the message. -func (x *fastReflection_AuctionInfo) Descriptor() protoreflect.MessageDescriptor { - return md_AuctionInfo -} - -// 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_AuctionInfo) Type() protoreflect.MessageType { - return _fastReflection_AuctionInfo_messageType -} - -// New returns a newly allocated and mutable empty message. -func (x *fastReflection_AuctionInfo) New() protoreflect.Message { - return new(fastReflection_AuctionInfo) -} - -// Interface unwraps the message reflection interface and -// returns the underlying ProtoMessage interface. -func (x *fastReflection_AuctionInfo) Interface() protoreflect.ProtoMessage { - return (*AuctionInfo)(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_AuctionInfo) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if len(x.ExtendedCommitInfo) != 0 { - value := protoreflect.ValueOfBytes(x.ExtendedCommitInfo) - if !f(fd_AuctionInfo_extended_commit_info, value) { - return - } - } - if x.MaxTxBytes != int64(0) { - value := protoreflect.ValueOfInt64(x.MaxTxBytes) - if !f(fd_AuctionInfo_max_tx_bytes, value) { - return - } - } - if x.NumTxs != uint64(0) { - value := protoreflect.ValueOfUint64(x.NumTxs) - if !f(fd_AuctionInfo_num_txs, 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_AuctionInfo) Has(fd protoreflect.FieldDescriptor) bool { - switch fd.FullName() { - case "pob.abci.v1.AuctionInfo.extended_commit_info": - return len(x.ExtendedCommitInfo) != 0 - case "pob.abci.v1.AuctionInfo.max_tx_bytes": - return x.MaxTxBytes != int64(0) - case "pob.abci.v1.AuctionInfo.num_txs": - return x.NumTxs != uint64(0) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.abci.v1.AuctionInfo")) - } - panic(fmt.Errorf("message pob.abci.v1.AuctionInfo 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_AuctionInfo) Clear(fd protoreflect.FieldDescriptor) { - switch fd.FullName() { - case "pob.abci.v1.AuctionInfo.extended_commit_info": - x.ExtendedCommitInfo = nil - case "pob.abci.v1.AuctionInfo.max_tx_bytes": - x.MaxTxBytes = int64(0) - case "pob.abci.v1.AuctionInfo.num_txs": - x.NumTxs = uint64(0) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.abci.v1.AuctionInfo")) - } - panic(fmt.Errorf("message pob.abci.v1.AuctionInfo 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_AuctionInfo) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { - switch descriptor.FullName() { - case "pob.abci.v1.AuctionInfo.extended_commit_info": - value := x.ExtendedCommitInfo - return protoreflect.ValueOfBytes(value) - case "pob.abci.v1.AuctionInfo.max_tx_bytes": - value := x.MaxTxBytes - return protoreflect.ValueOfInt64(value) - case "pob.abci.v1.AuctionInfo.num_txs": - value := x.NumTxs - return protoreflect.ValueOfUint64(value) - default: - if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.abci.v1.AuctionInfo")) - } - panic(fmt.Errorf("message pob.abci.v1.AuctionInfo 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_AuctionInfo) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { - switch fd.FullName() { - case "pob.abci.v1.AuctionInfo.extended_commit_info": - x.ExtendedCommitInfo = value.Bytes() - case "pob.abci.v1.AuctionInfo.max_tx_bytes": - x.MaxTxBytes = value.Int() - case "pob.abci.v1.AuctionInfo.num_txs": - x.NumTxs = value.Uint() - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.abci.v1.AuctionInfo")) - } - panic(fmt.Errorf("message pob.abci.v1.AuctionInfo 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_AuctionInfo) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - case "pob.abci.v1.AuctionInfo.extended_commit_info": - panic(fmt.Errorf("field extended_commit_info of message pob.abci.v1.AuctionInfo is not mutable")) - case "pob.abci.v1.AuctionInfo.max_tx_bytes": - panic(fmt.Errorf("field max_tx_bytes of message pob.abci.v1.AuctionInfo is not mutable")) - case "pob.abci.v1.AuctionInfo.num_txs": - panic(fmt.Errorf("field num_txs of message pob.abci.v1.AuctionInfo is not mutable")) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.abci.v1.AuctionInfo")) - } - panic(fmt.Errorf("message pob.abci.v1.AuctionInfo 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_AuctionInfo) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - case "pob.abci.v1.AuctionInfo.extended_commit_info": - return protoreflect.ValueOfBytes(nil) - case "pob.abci.v1.AuctionInfo.max_tx_bytes": - return protoreflect.ValueOfInt64(int64(0)) - case "pob.abci.v1.AuctionInfo.num_txs": - return protoreflect.ValueOfUint64(uint64(0)) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.abci.v1.AuctionInfo")) - } - panic(fmt.Errorf("message pob.abci.v1.AuctionInfo 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_AuctionInfo) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { - switch d.FullName() { - default: - panic(fmt.Errorf("%s is not a oneof field in pob.abci.v1.AuctionInfo", 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_AuctionInfo) 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_AuctionInfo) 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_AuctionInfo) 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_AuctionInfo) ProtoMethods() *protoiface.Methods { - size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*AuctionInfo) - 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.ExtendedCommitInfo) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } - if x.MaxTxBytes != 0 { - n += 1 + runtime.Sov(uint64(x.MaxTxBytes)) - } - if x.NumTxs != 0 { - n += 1 + runtime.Sov(uint64(x.NumTxs)) - } - 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().(*AuctionInfo) - 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.NumTxs != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.NumTxs)) - i-- - dAtA[i] = 0x18 - } - if x.MaxTxBytes != 0 { - i = runtime.EncodeVarint(dAtA, i, uint64(x.MaxTxBytes)) - i-- - dAtA[i] = 0x10 - } - if len(x.ExtendedCommitInfo) > 0 { - i -= len(x.ExtendedCommitInfo) - copy(dAtA[i:], x.ExtendedCommitInfo) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.ExtendedCommitInfo))) - 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().(*AuctionInfo) - 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: AuctionInfo: wiretype end group for non-group") - } - if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: AuctionInfo: 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 ExtendedCommitInfo", 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.ExtendedCommitInfo = append(x.ExtendedCommitInfo[:0], dAtA[iNdEx:postIndex]...) - if x.ExtendedCommitInfo == nil { - x.ExtendedCommitInfo = []byte{} - } - iNdEx = postIndex - case 2: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MaxTxBytes", wireType) - } - x.MaxTxBytes = 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.MaxTxBytes |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field NumTxs", wireType) - } - x.NumTxs = 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.NumTxs |= 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.Map = (*_VoteExtensionInfo_2_map)(nil) - -type _VoteExtensionInfo_2_map struct { - m *map[string][]byte -} - -func (x *_VoteExtensionInfo_2_map) Len() int { - if x.m == nil { - return 0 - } - return len(*x.m) -} - -func (x *_VoteExtensionInfo_2_map) Range(f func(protoreflect.MapKey, protoreflect.Value) bool) { - if x.m == nil { - return - } - for k, v := range *x.m { - mapKey := (protoreflect.MapKey)(protoreflect.ValueOfString(k)) - mapValue := protoreflect.ValueOfBytes(v) - if !f(mapKey, mapValue) { - break - } - } -} - -func (x *_VoteExtensionInfo_2_map) Has(key protoreflect.MapKey) bool { - if x.m == nil { - return false - } - keyUnwrapped := key.String() - concreteValue := keyUnwrapped - _, ok := (*x.m)[concreteValue] - return ok -} - -func (x *_VoteExtensionInfo_2_map) Clear(key protoreflect.MapKey) { - if x.m == nil { - return - } - keyUnwrapped := key.String() - concreteKey := keyUnwrapped - delete(*x.m, concreteKey) -} - -func (x *_VoteExtensionInfo_2_map) Get(key protoreflect.MapKey) protoreflect.Value { - if x.m == nil { - return protoreflect.Value{} - } - keyUnwrapped := key.String() - concreteKey := keyUnwrapped - v, ok := (*x.m)[concreteKey] - if !ok { - return protoreflect.Value{} - } - return protoreflect.ValueOfBytes(v) -} - -func (x *_VoteExtensionInfo_2_map) Set(key protoreflect.MapKey, value protoreflect.Value) { - if !key.IsValid() || !value.IsValid() { - panic("invalid key or value provided") - } - keyUnwrapped := key.String() - concreteKey := keyUnwrapped - valueUnwrapped := value.Bytes() - concreteValue := valueUnwrapped - (*x.m)[concreteKey] = concreteValue -} - -func (x *_VoteExtensionInfo_2_map) Mutable(key protoreflect.MapKey) protoreflect.Value { - panic("should not call Mutable on protoreflect.Map whose value is not of type protoreflect.Message") -} - -func (x *_VoteExtensionInfo_2_map) NewValue() protoreflect.Value { - var v []byte - return protoreflect.ValueOfBytes(v) -} - -func (x *_VoteExtensionInfo_2_map) IsValid() bool { - return x.m != nil -} - -var ( - md_VoteExtensionInfo protoreflect.MessageDescriptor - fd_VoteExtensionInfo_registry protoreflect.FieldDescriptor -) - -func init() { - file_pob_abci_v1_auction_proto_init() - md_VoteExtensionInfo = File_pob_abci_v1_auction_proto.Messages().ByName("VoteExtensionInfo") - fd_VoteExtensionInfo_registry = md_VoteExtensionInfo.Fields().ByName("registry") -} - -var _ protoreflect.Message = (*fastReflection_VoteExtensionInfo)(nil) - -type fastReflection_VoteExtensionInfo VoteExtensionInfo - -func (x *VoteExtensionInfo) ProtoReflect() protoreflect.Message { - return (*fastReflection_VoteExtensionInfo)(x) -} - -func (x *VoteExtensionInfo) slowProtoReflect() protoreflect.Message { - mi := &file_pob_abci_v1_auction_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_VoteExtensionInfo_messageType fastReflection_VoteExtensionInfo_messageType -var _ protoreflect.MessageType = fastReflection_VoteExtensionInfo_messageType{} - -type fastReflection_VoteExtensionInfo_messageType struct{} - -func (x fastReflection_VoteExtensionInfo_messageType) Zero() protoreflect.Message { - return (*fastReflection_VoteExtensionInfo)(nil) -} -func (x fastReflection_VoteExtensionInfo_messageType) New() protoreflect.Message { - return new(fastReflection_VoteExtensionInfo) -} -func (x fastReflection_VoteExtensionInfo_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_VoteExtensionInfo -} - -// Descriptor returns message descriptor, which contains only the protobuf -// type information for the message. -func (x *fastReflection_VoteExtensionInfo) Descriptor() protoreflect.MessageDescriptor { - return md_VoteExtensionInfo -} - -// 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_VoteExtensionInfo) Type() protoreflect.MessageType { - return _fastReflection_VoteExtensionInfo_messageType -} - -// New returns a newly allocated and mutable empty message. -func (x *fastReflection_VoteExtensionInfo) New() protoreflect.Message { - return new(fastReflection_VoteExtensionInfo) -} - -// Interface unwraps the message reflection interface and -// returns the underlying ProtoMessage interface. -func (x *fastReflection_VoteExtensionInfo) Interface() protoreflect.ProtoMessage { - return (*VoteExtensionInfo)(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_VoteExtensionInfo) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if len(x.Registry) != 0 { - value := protoreflect.ValueOfMap(&_VoteExtensionInfo_2_map{m: &x.Registry}) - if !f(fd_VoteExtensionInfo_registry, 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_VoteExtensionInfo) Has(fd protoreflect.FieldDescriptor) bool { - switch fd.FullName() { - case "pob.abci.v1.VoteExtensionInfo.registry": - return len(x.Registry) != 0 - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.abci.v1.VoteExtensionInfo")) - } - panic(fmt.Errorf("message pob.abci.v1.VoteExtensionInfo 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_VoteExtensionInfo) Clear(fd protoreflect.FieldDescriptor) { - switch fd.FullName() { - case "pob.abci.v1.VoteExtensionInfo.registry": - x.Registry = nil - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.abci.v1.VoteExtensionInfo")) - } - panic(fmt.Errorf("message pob.abci.v1.VoteExtensionInfo 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_VoteExtensionInfo) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { - switch descriptor.FullName() { - case "pob.abci.v1.VoteExtensionInfo.registry": - if len(x.Registry) == 0 { - return protoreflect.ValueOfMap(&_VoteExtensionInfo_2_map{}) - } - mapValue := &_VoteExtensionInfo_2_map{m: &x.Registry} - return protoreflect.ValueOfMap(mapValue) - default: - if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.abci.v1.VoteExtensionInfo")) - } - panic(fmt.Errorf("message pob.abci.v1.VoteExtensionInfo 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_VoteExtensionInfo) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { - switch fd.FullName() { - case "pob.abci.v1.VoteExtensionInfo.registry": - mv := value.Map() - cmv := mv.(*_VoteExtensionInfo_2_map) - x.Registry = *cmv.m - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.abci.v1.VoteExtensionInfo")) - } - panic(fmt.Errorf("message pob.abci.v1.VoteExtensionInfo 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_VoteExtensionInfo) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - case "pob.abci.v1.VoteExtensionInfo.registry": - if x.Registry == nil { - x.Registry = make(map[string][]byte) - } - value := &_VoteExtensionInfo_2_map{m: &x.Registry} - return protoreflect.ValueOfMap(value) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.abci.v1.VoteExtensionInfo")) - } - panic(fmt.Errorf("message pob.abci.v1.VoteExtensionInfo 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_VoteExtensionInfo) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - case "pob.abci.v1.VoteExtensionInfo.registry": - m := make(map[string][]byte) - return protoreflect.ValueOfMap(&_VoteExtensionInfo_2_map{m: &m}) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.abci.v1.VoteExtensionInfo")) - } - panic(fmt.Errorf("message pob.abci.v1.VoteExtensionInfo 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_VoteExtensionInfo) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { - switch d.FullName() { - default: - panic(fmt.Errorf("%s is not a oneof field in pob.abci.v1.VoteExtensionInfo", 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_VoteExtensionInfo) 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_VoteExtensionInfo) 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_VoteExtensionInfo) 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_VoteExtensionInfo) ProtoMethods() *protoiface.Methods { - size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*VoteExtensionInfo) - if x == nil { - return protoiface.SizeOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Size: 0, - } - } - options := runtime.SizeInputToOptions(input) - _ = options - var n int - var l int - _ = l - if len(x.Registry) > 0 { - SiZeMaP := func(k string, v []byte) { - l = 1 + len(v) + runtime.Sov(uint64(len(v))) - mapEntrySize := 1 + len(k) + runtime.Sov(uint64(len(k))) + l - n += mapEntrySize + 1 + runtime.Sov(uint64(mapEntrySize)) - } - if options.Deterministic { - sortme := make([]string, 0, len(x.Registry)) - for k := range x.Registry { - sortme = append(sortme, k) - } - sort.Strings(sortme) - for _, k := range sortme { - v := x.Registry[k] - SiZeMaP(k, v) - } - } else { - for k, v := range x.Registry { - SiZeMaP(k, v) - } - } - } - 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().(*VoteExtensionInfo) - 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.Registry) > 0 { - MaRsHaLmAp := func(k string, v []byte) (protoiface.MarshalOutput, error) { - baseI := i - i -= len(v) - copy(dAtA[i:], v) - i = runtime.EncodeVarint(dAtA, i, uint64(len(v))) - i-- - dAtA[i] = 0x12 - i -= len(k) - copy(dAtA[i:], k) - i = runtime.EncodeVarint(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = runtime.EncodeVarint(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0x12 - return protoiface.MarshalOutput{}, nil - } - if options.Deterministic { - keysForRegistry := make([]string, 0, len(x.Registry)) - for k := range x.Registry { - keysForRegistry = append(keysForRegistry, string(k)) - } - sort.Slice(keysForRegistry, func(i, j int) bool { - return keysForRegistry[i] < keysForRegistry[j] - }) - for iNdEx := len(keysForRegistry) - 1; iNdEx >= 0; iNdEx-- { - v := x.Registry[string(keysForRegistry[iNdEx])] - out, err := MaRsHaLmAp(keysForRegistry[iNdEx], v) - if err != nil { - return out, err - } - } - } else { - for k := range x.Registry { - v := x.Registry[k] - out, err := MaRsHaLmAp(k, v) - if err != nil { - return out, err - } - } - } - } - 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().(*VoteExtensionInfo) - 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: VoteExtensionInfo: wiretype end group for non-group") - } - if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: VoteExtensionInfo: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 2: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Registry", 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.Registry == nil { - x.Registry = make(map[string][]byte) - } - var mapkey string - var mapvalue []byte - for iNdEx < postIndex { - entryPreIndex := 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) - if fieldNum == 1 { - var stringLenmapkey 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++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - if postStringIndexmapkey > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var mapbyteLen 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++ - mapbyteLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intMapbyteLen := int(mapbyteLen) - if intMapbyteLen < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - postbytesIndex := iNdEx + intMapbyteLen - if postbytesIndex < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - if postbytesIndex > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - mapvalue = make([]byte, mapbyteLen) - copy(mapvalue, dAtA[iNdEx:postbytesIndex]) - iNdEx = postbytesIndex - } else { - iNdEx = entryPreIndex - 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) > postIndex { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - x.Registry[mapkey] = mapvalue - 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: pob/abci/v1/auction.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) -) - -// AuctionInfo contains information about the top of block auction -// that was run in PrepareProposal using vote extensions. -type AuctionInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // extended_commit_info contains the vote extensions that were used to run the auction. - ExtendedCommitInfo []byte `protobuf:"bytes,1,opt,name=extended_commit_info,json=extendedCommitInfo,proto3" json:"extended_commit_info,omitempty"` - // max_tx_bytes is the maximum number of bytes that were allowed for the proposal. - MaxTxBytes int64 `protobuf:"varint,2,opt,name=max_tx_bytes,json=maxTxBytes,proto3" json:"max_tx_bytes,omitempty"` - // num_txs is the number of transactions that were included in the proposal. - NumTxs uint64 `protobuf:"varint,3,opt,name=num_txs,json=numTxs,proto3" json:"num_txs,omitempty"` -} - -func (x *AuctionInfo) Reset() { - *x = AuctionInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_pob_abci_v1_auction_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *AuctionInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AuctionInfo) ProtoMessage() {} - -// Deprecated: Use AuctionInfo.ProtoReflect.Descriptor instead. -func (*AuctionInfo) Descriptor() ([]byte, []int) { - return file_pob_abci_v1_auction_proto_rawDescGZIP(), []int{0} -} - -func (x *AuctionInfo) GetExtendedCommitInfo() []byte { - if x != nil { - return x.ExtendedCommitInfo - } - return nil -} - -func (x *AuctionInfo) GetMaxTxBytes() int64 { - if x != nil { - return x.MaxTxBytes - } - return 0 -} - -func (x *AuctionInfo) GetNumTxs() uint64 { - if x != nil { - return x.NumTxs - } - return 0 -} - -// VoteExtensionInfo wraps all vote extension data into a registry which allows applications to define -// multiple different vote extensions that can be applied to state. -type VoteExtensionInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // registry is the data of the vote extension. - Registry map[string][]byte `protobuf:"bytes,2,rep,name=registry,proto3" json:"registry,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` -} - -func (x *VoteExtensionInfo) Reset() { - *x = VoteExtensionInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_pob_abci_v1_auction_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *VoteExtensionInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*VoteExtensionInfo) ProtoMessage() {} - -// Deprecated: Use VoteExtensionInfo.ProtoReflect.Descriptor instead. -func (*VoteExtensionInfo) Descriptor() ([]byte, []int) { - return file_pob_abci_v1_auction_proto_rawDescGZIP(), []int{1} -} - -func (x *VoteExtensionInfo) GetRegistry() map[string][]byte { - if x != nil { - return x.Registry - } - return nil -} - -var File_pob_abci_v1_auction_proto protoreflect.FileDescriptor - -var file_pob_abci_v1_auction_proto_rawDesc = []byte{ - 0x0a, 0x19, 0x70, 0x6f, 0x62, 0x2f, 0x61, 0x62, 0x63, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x75, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x70, 0x6f, 0x62, - 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x31, 0x22, 0x7a, 0x0a, 0x0b, 0x41, 0x75, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x30, 0x0a, 0x14, 0x65, 0x78, 0x74, 0x65, 0x6e, - 0x64, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x12, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x43, - 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x20, 0x0a, 0x0c, 0x6d, 0x61, 0x78, - 0x5f, 0x74, 0x78, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, - 0x0a, 0x6d, 0x61, 0x78, 0x54, 0x78, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x6e, - 0x75, 0x6d, 0x5f, 0x74, 0x78, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6e, 0x75, - 0x6d, 0x54, 0x78, 0x73, 0x22, 0x9a, 0x01, 0x0a, 0x11, 0x56, 0x6f, 0x74, 0x65, 0x45, 0x78, 0x74, - 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x48, 0x0a, 0x08, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x70, - 0x6f, 0x62, 0x2e, 0x61, 0x62, 0x63, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x45, - 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x65, 0x67, - 0x69, 0x73, 0x74, 0x72, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x72, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x79, 0x1a, 0x3b, 0x0a, 0x0d, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, - 0x45, 0x6e, 0x74, 0x72, 0x79, 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, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, - 0x01, 0x42, 0x92, 0x01, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x62, 0x2e, 0x61, 0x62, - 0x63, 0x69, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, - 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x23, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, - 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6f, 0x62, 0x2f, 0x61, 0x62, 0x63, 0x69, - 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x62, 0x63, 0x69, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x50, 0x41, 0x58, - 0xaa, 0x02, 0x0b, 0x50, 0x6f, 0x62, 0x2e, 0x41, 0x62, 0x63, 0x69, 0x2e, 0x56, 0x31, 0xca, 0x02, - 0x0b, 0x50, 0x6f, 0x62, 0x5c, 0x41, 0x62, 0x63, 0x69, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x17, 0x50, - 0x6f, 0x62, 0x5c, 0x41, 0x62, 0x63, 0x69, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0d, 0x50, 0x6f, 0x62, 0x3a, 0x3a, 0x41, 0x62, - 0x63, 0x69, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_pob_abci_v1_auction_proto_rawDescOnce sync.Once - file_pob_abci_v1_auction_proto_rawDescData = file_pob_abci_v1_auction_proto_rawDesc -) - -func file_pob_abci_v1_auction_proto_rawDescGZIP() []byte { - file_pob_abci_v1_auction_proto_rawDescOnce.Do(func() { - file_pob_abci_v1_auction_proto_rawDescData = protoimpl.X.CompressGZIP(file_pob_abci_v1_auction_proto_rawDescData) - }) - return file_pob_abci_v1_auction_proto_rawDescData -} - -var file_pob_abci_v1_auction_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_pob_abci_v1_auction_proto_goTypes = []interface{}{ - (*AuctionInfo)(nil), // 0: pob.abci.v1.AuctionInfo - (*VoteExtensionInfo)(nil), // 1: pob.abci.v1.VoteExtensionInfo - nil, // 2: pob.abci.v1.VoteExtensionInfo.RegistryEntry -} -var file_pob_abci_v1_auction_proto_depIdxs = []int32{ - 2, // 0: pob.abci.v1.VoteExtensionInfo.registry:type_name -> pob.abci.v1.VoteExtensionInfo.RegistryEntry - 1, // [1:1] is the sub-list for method output_type - 1, // [1:1] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name -} - -func init() { file_pob_abci_v1_auction_proto_init() } -func file_pob_abci_v1_auction_proto_init() { - if File_pob_abci_v1_auction_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_pob_abci_v1_auction_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AuctionInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_pob_abci_v1_auction_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*VoteExtensionInfo); 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_pob_abci_v1_auction_proto_rawDesc, - NumEnums: 0, - NumMessages: 3, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_pob_abci_v1_auction_proto_goTypes, - DependencyIndexes: file_pob_abci_v1_auction_proto_depIdxs, - MessageInfos: file_pob_abci_v1_auction_proto_msgTypes, - }.Build() - File_pob_abci_v1_auction_proto = out.File - file_pob_abci_v1_auction_proto_rawDesc = nil - file_pob_abci_v1_auction_proto_goTypes = nil - file_pob_abci_v1_auction_proto_depIdxs = nil -} diff --git a/api/pob/builder/module/v1/module.pulsar.go b/api/sdk/builder/module/v1/module.pulsar.go similarity index 78% rename from api/pob/builder/module/v1/module.pulsar.go rename to api/sdk/builder/module/v1/module.pulsar.go index 0ce88d1..9898481 100644 --- a/api/pob/builder/module/v1/module.pulsar.go +++ b/api/sdk/builder/module/v1/module.pulsar.go @@ -19,8 +19,8 @@ var ( ) func init() { - file_pob_builder_module_v1_module_proto_init() - md_Module = File_pob_builder_module_v1_module_proto.Messages().ByName("Module") + file_sdk_builder_module_v1_module_proto_init() + md_Module = File_sdk_builder_module_v1_module_proto.Messages().ByName("Module") fd_Module_authority = md_Module.Fields().ByName("authority") } @@ -33,7 +33,7 @@ func (x *Module) ProtoReflect() protoreflect.Message { } func (x *Module) slowProtoReflect() protoreflect.Message { - mi := &file_pob_builder_module_v1_module_proto_msgTypes[0] + mi := &file_sdk_builder_module_v1_module_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -110,13 +110,13 @@ func (x *fastReflection_Module) Range(f func(protoreflect.FieldDescriptor, proto // a repeated field is populated if it is non-empty. func (x *fastReflection_Module) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "pob.builder.module.v1.Module.authority": + case "sdk.builder.module.v1.Module.authority": return x.Authority != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.builder.module.v1.Module")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.module.v1.Module")) } - panic(fmt.Errorf("message pob.builder.module.v1.Module does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.module.v1.Module does not contain field %s", fd.FullName())) } } @@ -128,13 +128,13 @@ func (x *fastReflection_Module) Has(fd protoreflect.FieldDescriptor) bool { // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Module) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "pob.builder.module.v1.Module.authority": + case "sdk.builder.module.v1.Module.authority": x.Authority = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.builder.module.v1.Module")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.module.v1.Module")) } - panic(fmt.Errorf("message pob.builder.module.v1.Module does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.module.v1.Module does not contain field %s", fd.FullName())) } } @@ -146,14 +146,14 @@ func (x *fastReflection_Module) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_Module) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "pob.builder.module.v1.Module.authority": + case "sdk.builder.module.v1.Module.authority": value := x.Authority return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.builder.module.v1.Module")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.module.v1.Module")) } - panic(fmt.Errorf("message pob.builder.module.v1.Module does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message sdk.builder.module.v1.Module does not contain field %s", descriptor.FullName())) } } @@ -169,13 +169,13 @@ func (x *fastReflection_Module) Get(descriptor protoreflect.FieldDescriptor) pro // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Module) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "pob.builder.module.v1.Module.authority": + case "sdk.builder.module.v1.Module.authority": x.Authority = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.builder.module.v1.Module")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.module.v1.Module")) } - panic(fmt.Errorf("message pob.builder.module.v1.Module does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.module.v1.Module does not contain field %s", fd.FullName())) } } @@ -191,13 +191,13 @@ func (x *fastReflection_Module) Set(fd protoreflect.FieldDescriptor, value proto // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_Module) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "pob.builder.module.v1.Module.authority": - panic(fmt.Errorf("field authority of message pob.builder.module.v1.Module is not mutable")) + case "sdk.builder.module.v1.Module.authority": + panic(fmt.Errorf("field authority of message sdk.builder.module.v1.Module is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.builder.module.v1.Module")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.module.v1.Module")) } - panic(fmt.Errorf("message pob.builder.module.v1.Module does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.module.v1.Module does not contain field %s", fd.FullName())) } } @@ -206,13 +206,13 @@ func (x *fastReflection_Module) Mutable(fd protoreflect.FieldDescriptor) protore // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_Module) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "pob.builder.module.v1.Module.authority": + case "sdk.builder.module.v1.Module.authority": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.builder.module.v1.Module")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.module.v1.Module")) } - panic(fmt.Errorf("message pob.builder.module.v1.Module does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.module.v1.Module does not contain field %s", fd.FullName())) } } @@ -222,7 +222,7 @@ func (x *fastReflection_Module) NewField(fd protoreflect.FieldDescriptor) protor func (x *fastReflection_Module) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in pob.builder.module.v1.Module", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in sdk.builder.module.v1.Module", d.FullName())) } panic("unreachable") } @@ -315,7 +315,7 @@ func (x *fastReflection_Module) ProtoMethods() *protoiface.Methods { copy(dAtA[i:], x.Authority) i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Authority))) i-- - dAtA[i] = 0x12 + dAtA[i] = 0xa } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) @@ -366,7 +366,7 @@ func (x *fastReflection_Module) ProtoMethods() *protoiface.Methods { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: Module: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 2: + case 1: if wireType != 2 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Authority", wireType) } @@ -437,7 +437,7 @@ func (x *fastReflection_Module) ProtoMethods() *protoiface.Methods { // versions: // protoc-gen-go v1.27.0 // protoc (unknown) -// source: pob/builder/module/v1/module.proto +// source: sdk/builder/module/v1/module.proto const ( // Verify that this generated code is sufficiently up-to-date. @@ -454,13 +454,13 @@ type Module struct { // Authority defines the custom module authority. If not set, defaults to the // governance module. - Authority string `protobuf:"bytes,2,opt,name=authority,proto3" json:"authority,omitempty"` + Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` } func (x *Module) Reset() { *x = Module{} if protoimpl.UnsafeEnabled { - mi := &file_pob_builder_module_v1_module_proto_msgTypes[0] + mi := &file_sdk_builder_module_v1_module_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -474,7 +474,7 @@ func (*Module) ProtoMessage() {} // Deprecated: Use Module.ProtoReflect.Descriptor instead. func (*Module) Descriptor() ([]byte, []int) { - return file_pob_builder_module_v1_module_proto_rawDescGZIP(), []int{0} + return file_sdk_builder_module_v1_module_proto_rawDescGZIP(), []int{0} } func (x *Module) GetAuthority() string { @@ -484,53 +484,54 @@ func (x *Module) GetAuthority() string { return "" } -var File_pob_builder_module_v1_module_proto protoreflect.FileDescriptor +var File_sdk_builder_module_v1_module_proto protoreflect.FileDescriptor -var file_pob_builder_module_v1_module_proto_rawDesc = []byte{ - 0x0a, 0x22, 0x70, 0x6f, 0x62, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2f, 0x6d, 0x6f, +var file_sdk_builder_module_v1_module_proto_rawDesc = []byte{ + 0x0a, 0x22, 0x73, 0x64, 0x6b, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x70, 0x6f, 0x62, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, + 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x73, 0x64, 0x6b, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x1a, 0x20, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x61, 0x70, 0x70, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x51, 0x0a, + 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x57, 0x0a, 0x06, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, - 0x72, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x75, 0x74, 0x68, - 0x6f, 0x72, 0x69, 0x74, 0x79, 0x3a, 0x29, 0xba, 0xc0, 0x96, 0xda, 0x01, 0x23, 0x0a, 0x21, 0x67, + 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x75, 0x74, 0x68, + 0x6f, 0x72, 0x69, 0x74, 0x79, 0x3a, 0x2f, 0xba, 0xc0, 0x96, 0xda, 0x01, 0x29, 0x0a, 0x27, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x6b, 0x69, 0x70, 0x2d, 0x6d, - 0x65, 0x76, 0x2f, 0x70, 0x6f, 0x62, 0x2f, 0x78, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, - 0x42, 0xd0, 0x01, 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x62, 0x2e, 0x62, 0x75, 0x69, - 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0b, - 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2f, 0x63, - 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, - 0x70, 0x6f, 0x62, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2f, 0x6d, 0x6f, 0x64, 0x75, - 0x6c, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x76, 0x31, 0xa2, 0x02, - 0x03, 0x50, 0x42, 0x4d, 0xaa, 0x02, 0x15, 0x50, 0x6f, 0x62, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, - 0x65, 0x72, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x15, 0x50, - 0x6f, 0x62, 0x5c, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x5c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, - 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x21, 0x50, 0x6f, 0x62, 0x5c, 0x42, 0x75, 0x69, 0x6c, 0x64, - 0x65, 0x72, 0x5c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, - 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x18, 0x50, 0x6f, 0x62, 0x3a, 0x3a, - 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x3a, 0x3a, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x3a, - 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x65, 0x76, 0x2f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x78, 0x2f, 0x62, + 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x42, 0xd0, 0x01, 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x2e, 0x73, + 0x64, 0x6b, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x6d, 0x6f, 0x64, 0x75, 0x6c, + 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, + 0x6f, 0x50, 0x01, 0x5a, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, + 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, + 0x72, 0x2f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x6d, 0x6f, 0x64, 0x75, + 0x6c, 0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x42, 0x4d, 0xaa, 0x02, 0x15, 0x53, 0x64, 0x6b, + 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, + 0x56, 0x31, 0xca, 0x02, 0x15, 0x53, 0x64, 0x6b, 0x5c, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, + 0x5c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x21, 0x53, 0x64, 0x6b, + 0x5c, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x5c, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5c, + 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, + 0x18, 0x53, 0x64, 0x6b, 0x3a, 0x3a, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x3a, 0x3a, 0x4d, + 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, } var ( - file_pob_builder_module_v1_module_proto_rawDescOnce sync.Once - file_pob_builder_module_v1_module_proto_rawDescData = file_pob_builder_module_v1_module_proto_rawDesc + file_sdk_builder_module_v1_module_proto_rawDescOnce sync.Once + file_sdk_builder_module_v1_module_proto_rawDescData = file_sdk_builder_module_v1_module_proto_rawDesc ) -func file_pob_builder_module_v1_module_proto_rawDescGZIP() []byte { - file_pob_builder_module_v1_module_proto_rawDescOnce.Do(func() { - file_pob_builder_module_v1_module_proto_rawDescData = protoimpl.X.CompressGZIP(file_pob_builder_module_v1_module_proto_rawDescData) +func file_sdk_builder_module_v1_module_proto_rawDescGZIP() []byte { + file_sdk_builder_module_v1_module_proto_rawDescOnce.Do(func() { + file_sdk_builder_module_v1_module_proto_rawDescData = protoimpl.X.CompressGZIP(file_sdk_builder_module_v1_module_proto_rawDescData) }) - return file_pob_builder_module_v1_module_proto_rawDescData + return file_sdk_builder_module_v1_module_proto_rawDescData } -var file_pob_builder_module_v1_module_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_pob_builder_module_v1_module_proto_goTypes = []interface{}{ - (*Module)(nil), // 0: pob.builder.module.v1.Module +var file_sdk_builder_module_v1_module_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_sdk_builder_module_v1_module_proto_goTypes = []interface{}{ + (*Module)(nil), // 0: sdk.builder.module.v1.Module } -var file_pob_builder_module_v1_module_proto_depIdxs = []int32{ +var file_sdk_builder_module_v1_module_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 @@ -538,13 +539,13 @@ var file_pob_builder_module_v1_module_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for field type_name } -func init() { file_pob_builder_module_v1_module_proto_init() } -func file_pob_builder_module_v1_module_proto_init() { - if File_pob_builder_module_v1_module_proto != nil { +func init() { file_sdk_builder_module_v1_module_proto_init() } +func file_sdk_builder_module_v1_module_proto_init() { + if File_sdk_builder_module_v1_module_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_pob_builder_module_v1_module_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_sdk_builder_module_v1_module_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Module); i { case 0: return &v.state @@ -561,18 +562,18 @@ func file_pob_builder_module_v1_module_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_pob_builder_module_v1_module_proto_rawDesc, + RawDescriptor: file_sdk_builder_module_v1_module_proto_rawDesc, NumEnums: 0, NumMessages: 1, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_pob_builder_module_v1_module_proto_goTypes, - DependencyIndexes: file_pob_builder_module_v1_module_proto_depIdxs, - MessageInfos: file_pob_builder_module_v1_module_proto_msgTypes, + GoTypes: file_sdk_builder_module_v1_module_proto_goTypes, + DependencyIndexes: file_sdk_builder_module_v1_module_proto_depIdxs, + MessageInfos: file_sdk_builder_module_v1_module_proto_msgTypes, }.Build() - File_pob_builder_module_v1_module_proto = out.File - file_pob_builder_module_v1_module_proto_rawDesc = nil - file_pob_builder_module_v1_module_proto_goTypes = nil - file_pob_builder_module_v1_module_proto_depIdxs = nil + File_sdk_builder_module_v1_module_proto = out.File + file_sdk_builder_module_v1_module_proto_rawDesc = nil + file_sdk_builder_module_v1_module_proto_goTypes = nil + file_sdk_builder_module_v1_module_proto_depIdxs = nil } diff --git a/api/pob/builder/v1/genesis.pulsar.go b/api/sdk/builder/v1/genesis.pulsar.go similarity index 81% rename from api/pob/builder/v1/genesis.pulsar.go rename to api/sdk/builder/v1/genesis.pulsar.go index 7a9231f..007467d 100644 --- a/api/pob/builder/v1/genesis.pulsar.go +++ b/api/sdk/builder/v1/genesis.pulsar.go @@ -5,6 +5,7 @@ import ( _ "cosmossdk.io/api/amino" v1beta1 "cosmossdk.io/api/cosmos/base/v1beta1" fmt "fmt" + _ "github.com/cosmos/cosmos-proto" runtime "github.com/cosmos/cosmos-proto/runtime" _ "github.com/cosmos/gogoproto/gogoproto" protoreflect "google.golang.org/protobuf/reflect/protoreflect" @@ -21,8 +22,8 @@ var ( ) func init() { - file_pob_builder_v1_genesis_proto_init() - md_GenesisState = File_pob_builder_v1_genesis_proto.Messages().ByName("GenesisState") + file_sdk_builder_v1_genesis_proto_init() + md_GenesisState = File_sdk_builder_v1_genesis_proto.Messages().ByName("GenesisState") fd_GenesisState_params = md_GenesisState.Fields().ByName("params") } @@ -35,7 +36,7 @@ func (x *GenesisState) ProtoReflect() protoreflect.Message { } func (x *GenesisState) slowProtoReflect() protoreflect.Message { - mi := &file_pob_builder_v1_genesis_proto_msgTypes[0] + mi := &file_sdk_builder_v1_genesis_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -112,13 +113,13 @@ 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 "pob.builder.v1.GenesisState.params": + case "sdk.builder.v1.GenesisState.params": return x.Params != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.builder.v1.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.GenesisState")) } - panic(fmt.Errorf("message pob.builder.v1.GenesisState does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.GenesisState does not contain field %s", fd.FullName())) } } @@ -130,13 +131,13 @@ 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 "pob.builder.v1.GenesisState.params": + case "sdk.builder.v1.GenesisState.params": x.Params = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.builder.v1.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.GenesisState")) } - panic(fmt.Errorf("message pob.builder.v1.GenesisState does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.GenesisState does not contain field %s", fd.FullName())) } } @@ -148,14 +149,14 @@ 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 "pob.builder.v1.GenesisState.params": + case "sdk.builder.v1.GenesisState.params": value := x.Params return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.builder.v1.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.GenesisState")) } - panic(fmt.Errorf("message pob.builder.v1.GenesisState does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.GenesisState does not contain field %s", descriptor.FullName())) } } @@ -171,13 +172,13 @@ 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 "pob.builder.v1.GenesisState.params": + case "sdk.builder.v1.GenesisState.params": x.Params = value.Message().Interface().(*Params) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.builder.v1.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.GenesisState")) } - panic(fmt.Errorf("message pob.builder.v1.GenesisState does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.GenesisState does not contain field %s", fd.FullName())) } } @@ -193,16 +194,16 @@ 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 "pob.builder.v1.GenesisState.params": + case "sdk.builder.v1.GenesisState.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: pob.builder.v1.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.GenesisState")) } - panic(fmt.Errorf("message pob.builder.v1.GenesisState does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.GenesisState does not contain field %s", fd.FullName())) } } @@ -211,14 +212,14 @@ 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 "pob.builder.v1.GenesisState.params": + case "sdk.builder.v1.GenesisState.params": m := new(Params) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.builder.v1.GenesisState")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.GenesisState")) } - panic(fmt.Errorf("message pob.builder.v1.GenesisState does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.GenesisState does not contain field %s", fd.FullName())) } } @@ -228,7 +229,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 pob.builder.v1.GenesisState", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in sdk.builder.v1.GenesisState", d.FullName())) } panic("unreachable") } @@ -461,8 +462,8 @@ var ( ) func init() { - file_pob_builder_v1_genesis_proto_init() - md_Params = File_pob_builder_v1_genesis_proto.Messages().ByName("Params") + file_sdk_builder_v1_genesis_proto_init() + md_Params = File_sdk_builder_v1_genesis_proto.Messages().ByName("Params") fd_Params_max_bundle_size = md_Params.Fields().ByName("max_bundle_size") fd_Params_escrow_account_address = md_Params.Fields().ByName("escrow_account_address") fd_Params_reserve_fee = md_Params.Fields().ByName("reserve_fee") @@ -480,7 +481,7 @@ func (x *Params) ProtoReflect() protoreflect.Message { } func (x *Params) slowProtoReflect() protoreflect.Message { - mi := &file_pob_builder_v1_genesis_proto_msgTypes[1] + mi := &file_sdk_builder_v1_genesis_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -587,23 +588,23 @@ 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 "pob.builder.v1.Params.max_bundle_size": + case "sdk.builder.v1.Params.max_bundle_size": return x.MaxBundleSize != uint32(0) - case "pob.builder.v1.Params.escrow_account_address": + case "sdk.builder.v1.Params.escrow_account_address": return len(x.EscrowAccountAddress) != 0 - case "pob.builder.v1.Params.reserve_fee": + case "sdk.builder.v1.Params.reserve_fee": return x.ReserveFee != nil - case "pob.builder.v1.Params.min_bid_increment": + case "sdk.builder.v1.Params.min_bid_increment": return x.MinBidIncrement != nil - case "pob.builder.v1.Params.front_running_protection": + case "sdk.builder.v1.Params.front_running_protection": return x.FrontRunningProtection != false - case "pob.builder.v1.Params.proposer_fee": + case "sdk.builder.v1.Params.proposer_fee": return x.ProposerFee != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.builder.v1.Params")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.Params")) } - panic(fmt.Errorf("message pob.builder.v1.Params does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.Params does not contain field %s", fd.FullName())) } } @@ -615,23 +616,23 @@ 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 "pob.builder.v1.Params.max_bundle_size": + case "sdk.builder.v1.Params.max_bundle_size": x.MaxBundleSize = uint32(0) - case "pob.builder.v1.Params.escrow_account_address": + case "sdk.builder.v1.Params.escrow_account_address": x.EscrowAccountAddress = nil - case "pob.builder.v1.Params.reserve_fee": + case "sdk.builder.v1.Params.reserve_fee": x.ReserveFee = nil - case "pob.builder.v1.Params.min_bid_increment": + case "sdk.builder.v1.Params.min_bid_increment": x.MinBidIncrement = nil - case "pob.builder.v1.Params.front_running_protection": + case "sdk.builder.v1.Params.front_running_protection": x.FrontRunningProtection = false - case "pob.builder.v1.Params.proposer_fee": + case "sdk.builder.v1.Params.proposer_fee": x.ProposerFee = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.builder.v1.Params")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.Params")) } - panic(fmt.Errorf("message pob.builder.v1.Params does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.Params does not contain field %s", fd.FullName())) } } @@ -643,29 +644,29 @@ 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 "pob.builder.v1.Params.max_bundle_size": + case "sdk.builder.v1.Params.max_bundle_size": value := x.MaxBundleSize return protoreflect.ValueOfUint32(value) - case "pob.builder.v1.Params.escrow_account_address": + case "sdk.builder.v1.Params.escrow_account_address": value := x.EscrowAccountAddress return protoreflect.ValueOfBytes(value) - case "pob.builder.v1.Params.reserve_fee": + case "sdk.builder.v1.Params.reserve_fee": value := x.ReserveFee return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "pob.builder.v1.Params.min_bid_increment": + case "sdk.builder.v1.Params.min_bid_increment": value := x.MinBidIncrement return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "pob.builder.v1.Params.front_running_protection": + case "sdk.builder.v1.Params.front_running_protection": value := x.FrontRunningProtection return protoreflect.ValueOfBool(value) - case "pob.builder.v1.Params.proposer_fee": + case "sdk.builder.v1.Params.proposer_fee": value := x.ProposerFee return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.builder.v1.Params")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.Params")) } - panic(fmt.Errorf("message pob.builder.v1.Params does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.Params does not contain field %s", descriptor.FullName())) } } @@ -681,23 +682,23 @@ 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 "pob.builder.v1.Params.max_bundle_size": + case "sdk.builder.v1.Params.max_bundle_size": x.MaxBundleSize = uint32(value.Uint()) - case "pob.builder.v1.Params.escrow_account_address": + case "sdk.builder.v1.Params.escrow_account_address": x.EscrowAccountAddress = value.Bytes() - case "pob.builder.v1.Params.reserve_fee": + case "sdk.builder.v1.Params.reserve_fee": x.ReserveFee = value.Message().Interface().(*v1beta1.Coin) - case "pob.builder.v1.Params.min_bid_increment": + case "sdk.builder.v1.Params.min_bid_increment": x.MinBidIncrement = value.Message().Interface().(*v1beta1.Coin) - case "pob.builder.v1.Params.front_running_protection": + case "sdk.builder.v1.Params.front_running_protection": x.FrontRunningProtection = value.Bool() - case "pob.builder.v1.Params.proposer_fee": + case "sdk.builder.v1.Params.proposer_fee": x.ProposerFee = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.builder.v1.Params")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.Params")) } - panic(fmt.Errorf("message pob.builder.v1.Params does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.Params does not contain field %s", fd.FullName())) } } @@ -713,29 +714,29 @@ 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 "pob.builder.v1.Params.reserve_fee": + case "sdk.builder.v1.Params.reserve_fee": if x.ReserveFee == nil { x.ReserveFee = new(v1beta1.Coin) } return protoreflect.ValueOfMessage(x.ReserveFee.ProtoReflect()) - case "pob.builder.v1.Params.min_bid_increment": + case "sdk.builder.v1.Params.min_bid_increment": if x.MinBidIncrement == nil { x.MinBidIncrement = new(v1beta1.Coin) } return protoreflect.ValueOfMessage(x.MinBidIncrement.ProtoReflect()) - case "pob.builder.v1.Params.max_bundle_size": - panic(fmt.Errorf("field max_bundle_size of message pob.builder.v1.Params is not mutable")) - case "pob.builder.v1.Params.escrow_account_address": - panic(fmt.Errorf("field escrow_account_address of message pob.builder.v1.Params is not mutable")) - case "pob.builder.v1.Params.front_running_protection": - panic(fmt.Errorf("field front_running_protection of message pob.builder.v1.Params is not mutable")) - case "pob.builder.v1.Params.proposer_fee": - panic(fmt.Errorf("field proposer_fee of message pob.builder.v1.Params is not mutable")) + case "sdk.builder.v1.Params.max_bundle_size": + panic(fmt.Errorf("field max_bundle_size of message sdk.builder.v1.Params is not mutable")) + case "sdk.builder.v1.Params.escrow_account_address": + panic(fmt.Errorf("field escrow_account_address of message sdk.builder.v1.Params is not mutable")) + case "sdk.builder.v1.Params.front_running_protection": + panic(fmt.Errorf("field front_running_protection of message sdk.builder.v1.Params is not mutable")) + case "sdk.builder.v1.Params.proposer_fee": + panic(fmt.Errorf("field proposer_fee of message sdk.builder.v1.Params is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.builder.v1.Params")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.Params")) } - panic(fmt.Errorf("message pob.builder.v1.Params does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.Params does not contain field %s", fd.FullName())) } } @@ -744,25 +745,25 @@ 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 "pob.builder.v1.Params.max_bundle_size": + case "sdk.builder.v1.Params.max_bundle_size": return protoreflect.ValueOfUint32(uint32(0)) - case "pob.builder.v1.Params.escrow_account_address": + case "sdk.builder.v1.Params.escrow_account_address": return protoreflect.ValueOfBytes(nil) - case "pob.builder.v1.Params.reserve_fee": + case "sdk.builder.v1.Params.reserve_fee": m := new(v1beta1.Coin) return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "pob.builder.v1.Params.min_bid_increment": + case "sdk.builder.v1.Params.min_bid_increment": m := new(v1beta1.Coin) return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "pob.builder.v1.Params.front_running_protection": + case "sdk.builder.v1.Params.front_running_protection": return protoreflect.ValueOfBool(false) - case "pob.builder.v1.Params.proposer_fee": + case "sdk.builder.v1.Params.proposer_fee": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.builder.v1.Params")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.Params")) } - panic(fmt.Errorf("message pob.builder.v1.Params does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.Params does not contain field %s", fd.FullName())) } } @@ -772,7 +773,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 pob.builder.v1.Params", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in sdk.builder.v1.Params", d.FullName())) } panic("unreachable") } @@ -1200,7 +1201,7 @@ func (x *fastReflection_Params) ProtoMethods() *protoiface.Methods { // versions: // protoc-gen-go v1.27.0 // protoc (unknown) -// source: pob/builder/v1/genesis.proto +// source: sdk/builder/v1/genesis.proto const ( // Verify that this generated code is sufficiently up-to-date. @@ -1221,7 +1222,7 @@ type GenesisState struct { func (x *GenesisState) Reset() { *x = GenesisState{} if protoimpl.UnsafeEnabled { - mi := &file_pob_builder_v1_genesis_proto_msgTypes[0] + mi := &file_sdk_builder_v1_genesis_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1235,7 +1236,7 @@ func (*GenesisState) ProtoMessage() {} // Deprecated: Use GenesisState.ProtoReflect.Descriptor instead. func (*GenesisState) Descriptor() ([]byte, []int) { - return file_pob_builder_v1_genesis_proto_rawDescGZIP(), []int{0} + return file_sdk_builder_v1_genesis_proto_rawDescGZIP(), []int{0} } func (x *GenesisState) GetParams() *Params { @@ -1273,7 +1274,7 @@ type Params struct { func (x *Params) Reset() { *x = Params{} if protoimpl.UnsafeEnabled { - mi := &file_pob_builder_v1_genesis_proto_msgTypes[1] + mi := &file_sdk_builder_v1_genesis_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1287,7 +1288,7 @@ func (*Params) ProtoMessage() {} // Deprecated: Use Params.ProtoReflect.Descriptor instead. func (*Params) Descriptor() ([]byte, []int) { - return file_pob_builder_v1_genesis_proto_rawDescGZIP(), []int{1} + return file_sdk_builder_v1_genesis_proto_rawDescGZIP(), []int{1} } func (x *Params) GetMaxBundleSize() uint32 { @@ -1332,83 +1333,86 @@ func (x *Params) GetProposerFee() string { return "" } -var File_pob_builder_v1_genesis_proto protoreflect.FileDescriptor +var File_sdk_builder_v1_genesis_proto protoreflect.FileDescriptor -var file_pob_builder_v1_genesis_proto_rawDesc = []byte{ - 0x0a, 0x1c, 0x70, 0x6f, 0x62, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, +var file_sdk_builder_v1_genesis_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x73, 0x64, 0x6b, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, - 0x70, 0x6f, 0x62, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x1a, 0x14, + 0x73, 0x64, 0x6b, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x1a, 0x14, 0x67, 0x6f, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x67, 0x6f, 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, 0x11, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2f, 0x61, 0x6d, 0x69, 0x6e, - 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x44, 0x0a, 0x0c, 0x47, 0x65, 0x6e, 0x65, 0x73, - 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x34, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, - 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x6f, 0x62, 0x2e, 0x62, 0x75, - 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, - 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0xae, 0x03, - 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6d, 0x61, 0x78, 0x5f, - 0x62, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0d, 0x52, 0x0d, 0x6d, 0x61, 0x78, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, - 0x12, 0x34, 0x0a, 0x16, 0x65, 0x73, 0x63, 0x72, 0x6f, 0x77, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x14, 0x65, 0x73, 0x63, 0x72, 0x6f, 0x77, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x45, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, - 0x65, 0x5f, 0x66, 0x65, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, - 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, - 0x31, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x42, 0x09, 0xc8, 0xde, 0x1f, 0x00, 0xa8, 0xe7, 0xb0, 0x2a, - 0x01, 0x52, 0x0a, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x46, 0x65, 0x65, 0x12, 0x50, 0x0a, - 0x11, 0x6d, 0x69, 0x6e, 0x5f, 0x62, 0x69, 0x64, 0x5f, 0x69, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, - 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, - 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, - 0x6f, 0x69, 0x6e, 0x42, 0x09, 0xc8, 0xde, 0x1f, 0x00, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x0f, - 0x6d, 0x69, 0x6e, 0x42, 0x69, 0x64, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, - 0x38, 0x0a, 0x18, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, - 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x16, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x52, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x50, - 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x51, 0x0a, 0x0c, 0x70, 0x72, 0x6f, - 0x70, 0x6f, 0x73, 0x65, 0x72, 0x5f, 0x66, 0x65, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, - 0x2e, 0xc8, 0xde, 0x1f, 0x00, 0xda, 0xde, 0x1f, 0x26, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, - 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, - 0x73, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x44, 0x65, 0x63, 0x52, - 0x0b, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x46, 0x65, 0x65, 0x3a, 0x20, 0x8a, 0xe7, - 0xb0, 0x2a, 0x1b, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x78, 0x2f, - 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2f, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0xa7, - 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x62, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, - 0x65, 0x72, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x50, 0x72, - 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x29, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, - 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6f, 0x62, 0x2f, 0x62, 0x75, 0x69, 0x6c, - 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x3b, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x76, 0x31, - 0xa2, 0x02, 0x03, 0x50, 0x42, 0x58, 0xaa, 0x02, 0x0e, 0x50, 0x6f, 0x62, 0x2e, 0x42, 0x75, 0x69, - 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0e, 0x50, 0x6f, 0x62, 0x5c, 0x42, 0x75, - 0x69, 0x6c, 0x64, 0x65, 0x72, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1a, 0x50, 0x6f, 0x62, 0x5c, 0x42, - 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x10, 0x50, 0x6f, 0x62, 0x3a, 0x3a, 0x42, 0x75, 0x69, - 0x6c, 0x64, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6f, 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, 0x22, 0x44, 0x0a, 0x0c, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x12, 0x34, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, + 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, + 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0xb5, 0x03, 0x0a, 0x06, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6d, 0x61, 0x78, 0x5f, 0x62, 0x75, 0x6e, 0x64, 0x6c, + 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x6d, 0x61, + 0x78, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x65, + 0x73, 0x63, 0x72, 0x6f, 0x77, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x64, + 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x14, 0x65, 0x73, 0x63, + 0x72, 0x6f, 0x77, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x12, 0x45, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x5f, 0x66, 0x65, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, + 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x69, + 0x6e, 0x42, 0x09, 0xc8, 0xde, 0x1f, 0x00, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x0a, 0x72, 0x65, + 0x73, 0x65, 0x72, 0x76, 0x65, 0x46, 0x65, 0x65, 0x12, 0x50, 0x0a, 0x11, 0x6d, 0x69, 0x6e, 0x5f, + 0x62, 0x69, 0x64, 0x5f, 0x69, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, + 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x42, 0x09, + 0xc8, 0xde, 0x1f, 0x00, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x0f, 0x6d, 0x69, 0x6e, 0x42, 0x69, + 0x64, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x38, 0x0a, 0x18, 0x66, 0x72, + 0x6f, 0x6e, 0x74, 0x5f, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x72, 0x6f, 0x74, + 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 0x66, 0x72, + 0x6f, 0x6e, 0x74, 0x52, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x59, 0x0a, 0x0c, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, + 0x5f, 0x66, 0x65, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x36, 0xc8, 0xde, 0x1f, 0x00, + 0xda, 0xde, 0x1f, 0x1b, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, + 0x2f, 0x6d, 0x61, 0x74, 0x68, 0x2e, 0x4c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x44, 0x65, 0x63, 0xd2, + 0xb4, 0x2d, 0x0a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x44, 0x65, 0x63, 0xa8, 0xe7, 0xb0, + 0x2a, 0x01, 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x46, 0x65, 0x65, 0x3a, + 0x1f, 0x8a, 0xe7, 0xb0, 0x2a, 0x1a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2d, 0x73, 0x64, 0x6b, 0x2f, + 0x78, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2f, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, + 0x42, 0xa7, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x62, 0x75, 0x69, + 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, + 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x29, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, + 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x62, 0x75, + 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x3b, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, + 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x42, 0x58, 0xaa, 0x02, 0x0e, 0x53, 0x64, 0x6b, 0x2e, 0x42, + 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0e, 0x53, 0x64, 0x6b, 0x5c, + 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1a, 0x53, 0x64, 0x6b, + 0x5c, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x10, 0x53, 0x64, 0x6b, 0x3a, 0x3a, 0x42, + 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, } var ( - file_pob_builder_v1_genesis_proto_rawDescOnce sync.Once - file_pob_builder_v1_genesis_proto_rawDescData = file_pob_builder_v1_genesis_proto_rawDesc + file_sdk_builder_v1_genesis_proto_rawDescOnce sync.Once + file_sdk_builder_v1_genesis_proto_rawDescData = file_sdk_builder_v1_genesis_proto_rawDesc ) -func file_pob_builder_v1_genesis_proto_rawDescGZIP() []byte { - file_pob_builder_v1_genesis_proto_rawDescOnce.Do(func() { - file_pob_builder_v1_genesis_proto_rawDescData = protoimpl.X.CompressGZIP(file_pob_builder_v1_genesis_proto_rawDescData) +func file_sdk_builder_v1_genesis_proto_rawDescGZIP() []byte { + file_sdk_builder_v1_genesis_proto_rawDescOnce.Do(func() { + file_sdk_builder_v1_genesis_proto_rawDescData = protoimpl.X.CompressGZIP(file_sdk_builder_v1_genesis_proto_rawDescData) }) - return file_pob_builder_v1_genesis_proto_rawDescData + return file_sdk_builder_v1_genesis_proto_rawDescData } -var file_pob_builder_v1_genesis_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_pob_builder_v1_genesis_proto_goTypes = []interface{}{ - (*GenesisState)(nil), // 0: pob.builder.v1.GenesisState - (*Params)(nil), // 1: pob.builder.v1.Params +var file_sdk_builder_v1_genesis_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_sdk_builder_v1_genesis_proto_goTypes = []interface{}{ + (*GenesisState)(nil), // 0: sdk.builder.v1.GenesisState + (*Params)(nil), // 1: sdk.builder.v1.Params (*v1beta1.Coin)(nil), // 2: cosmos.base.v1beta1.Coin } -var file_pob_builder_v1_genesis_proto_depIdxs = []int32{ - 1, // 0: pob.builder.v1.GenesisState.params:type_name -> pob.builder.v1.Params - 2, // 1: pob.builder.v1.Params.reserve_fee:type_name -> cosmos.base.v1beta1.Coin - 2, // 2: pob.builder.v1.Params.min_bid_increment:type_name -> cosmos.base.v1beta1.Coin +var file_sdk_builder_v1_genesis_proto_depIdxs = []int32{ + 1, // 0: sdk.builder.v1.GenesisState.params:type_name -> sdk.builder.v1.Params + 2, // 1: sdk.builder.v1.Params.reserve_fee:type_name -> cosmos.base.v1beta1.Coin + 2, // 2: sdk.builder.v1.Params.min_bid_increment:type_name -> cosmos.base.v1beta1.Coin 3, // [3:3] is the sub-list for method output_type 3, // [3:3] is the sub-list for method input_type 3, // [3:3] is the sub-list for extension type_name @@ -1416,13 +1420,13 @@ var file_pob_builder_v1_genesis_proto_depIdxs = []int32{ 0, // [0:3] is the sub-list for field type_name } -func init() { file_pob_builder_v1_genesis_proto_init() } -func file_pob_builder_v1_genesis_proto_init() { - if File_pob_builder_v1_genesis_proto != nil { +func init() { file_sdk_builder_v1_genesis_proto_init() } +func file_sdk_builder_v1_genesis_proto_init() { + if File_sdk_builder_v1_genesis_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_pob_builder_v1_genesis_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_sdk_builder_v1_genesis_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GenesisState); i { case 0: return &v.state @@ -1434,7 +1438,7 @@ func file_pob_builder_v1_genesis_proto_init() { return nil } } - file_pob_builder_v1_genesis_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_sdk_builder_v1_genesis_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Params); i { case 0: return &v.state @@ -1451,18 +1455,18 @@ func file_pob_builder_v1_genesis_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_pob_builder_v1_genesis_proto_rawDesc, + RawDescriptor: file_sdk_builder_v1_genesis_proto_rawDesc, NumEnums: 0, NumMessages: 2, NumExtensions: 0, NumServices: 0, }, - GoTypes: file_pob_builder_v1_genesis_proto_goTypes, - DependencyIndexes: file_pob_builder_v1_genesis_proto_depIdxs, - MessageInfos: file_pob_builder_v1_genesis_proto_msgTypes, + GoTypes: file_sdk_builder_v1_genesis_proto_goTypes, + DependencyIndexes: file_sdk_builder_v1_genesis_proto_depIdxs, + MessageInfos: file_sdk_builder_v1_genesis_proto_msgTypes, }.Build() - File_pob_builder_v1_genesis_proto = out.File - file_pob_builder_v1_genesis_proto_rawDesc = nil - file_pob_builder_v1_genesis_proto_goTypes = nil - file_pob_builder_v1_genesis_proto_depIdxs = nil + File_sdk_builder_v1_genesis_proto = out.File + file_sdk_builder_v1_genesis_proto_rawDesc = nil + file_sdk_builder_v1_genesis_proto_goTypes = nil + file_sdk_builder_v1_genesis_proto_depIdxs = nil } diff --git a/api/pob/builder/v1/query.pulsar.go b/api/sdk/builder/v1/query.pulsar.go similarity index 83% rename from api/pob/builder/v1/query.pulsar.go rename to api/sdk/builder/v1/query.pulsar.go index d5e98d5..5ab70b8 100644 --- a/api/pob/builder/v1/query.pulsar.go +++ b/api/sdk/builder/v1/query.pulsar.go @@ -20,8 +20,8 @@ var ( ) func init() { - file_pob_builder_v1_query_proto_init() - md_QueryParamsRequest = File_pob_builder_v1_query_proto.Messages().ByName("QueryParamsRequest") + file_sdk_builder_v1_query_proto_init() + md_QueryParamsRequest = File_sdk_builder_v1_query_proto.Messages().ByName("QueryParamsRequest") } var _ protoreflect.Message = (*fastReflection_QueryParamsRequest)(nil) @@ -33,7 +33,7 @@ func (x *QueryParamsRequest) ProtoReflect() protoreflect.Message { } func (x *QueryParamsRequest) slowProtoReflect() protoreflect.Message { - mi := &file_pob_builder_v1_query_proto_msgTypes[0] + mi := &file_sdk_builder_v1_query_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -106,9 +106,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: pob.builder.v1.QueryParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.QueryParamsRequest")) } - panic(fmt.Errorf("message pob.builder.v1.QueryParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.QueryParamsRequest does not contain field %s", fd.FullName())) } } @@ -122,9 +122,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: pob.builder.v1.QueryParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.QueryParamsRequest")) } - panic(fmt.Errorf("message pob.builder.v1.QueryParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.QueryParamsRequest does not contain field %s", fd.FullName())) } } @@ -138,9 +138,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: pob.builder.v1.QueryParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.QueryParamsRequest")) } - panic(fmt.Errorf("message pob.builder.v1.QueryParamsRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.QueryParamsRequest does not contain field %s", descriptor.FullName())) } } @@ -158,9 +158,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: pob.builder.v1.QueryParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.QueryParamsRequest")) } - panic(fmt.Errorf("message pob.builder.v1.QueryParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.QueryParamsRequest does not contain field %s", fd.FullName())) } } @@ -178,9 +178,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: pob.builder.v1.QueryParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.QueryParamsRequest")) } - panic(fmt.Errorf("message pob.builder.v1.QueryParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.QueryParamsRequest does not contain field %s", fd.FullName())) } } @@ -191,9 +191,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: pob.builder.v1.QueryParamsRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.QueryParamsRequest")) } - panic(fmt.Errorf("message pob.builder.v1.QueryParamsRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.QueryParamsRequest does not contain field %s", fd.FullName())) } } @@ -203,7 +203,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 pob.builder.v1.QueryParamsRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in sdk.builder.v1.QueryParamsRequest", d.FullName())) } panic("unreachable") } @@ -377,8 +377,8 @@ var ( ) func init() { - file_pob_builder_v1_query_proto_init() - md_QueryParamsResponse = File_pob_builder_v1_query_proto.Messages().ByName("QueryParamsResponse") + file_sdk_builder_v1_query_proto_init() + md_QueryParamsResponse = File_sdk_builder_v1_query_proto.Messages().ByName("QueryParamsResponse") fd_QueryParamsResponse_params = md_QueryParamsResponse.Fields().ByName("params") } @@ -391,7 +391,7 @@ func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message { } func (x *QueryParamsResponse) slowProtoReflect() protoreflect.Message { - mi := &file_pob_builder_v1_query_proto_msgTypes[1] + mi := &file_sdk_builder_v1_query_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -468,13 +468,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 "pob.builder.v1.QueryParamsResponse.params": + case "sdk.builder.v1.QueryParamsResponse.params": return x.Params != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.builder.v1.QueryParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.QueryParamsResponse")) } - panic(fmt.Errorf("message pob.builder.v1.QueryParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.QueryParamsResponse does not contain field %s", fd.FullName())) } } @@ -486,13 +486,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 "pob.builder.v1.QueryParamsResponse.params": + case "sdk.builder.v1.QueryParamsResponse.params": x.Params = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.builder.v1.QueryParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.QueryParamsResponse")) } - panic(fmt.Errorf("message pob.builder.v1.QueryParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.QueryParamsResponse does not contain field %s", fd.FullName())) } } @@ -504,14 +504,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 "pob.builder.v1.QueryParamsResponse.params": + case "sdk.builder.v1.QueryParamsResponse.params": value := x.Params return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.builder.v1.QueryParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.QueryParamsResponse")) } - panic(fmt.Errorf("message pob.builder.v1.QueryParamsResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.QueryParamsResponse does not contain field %s", descriptor.FullName())) } } @@ -527,13 +527,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 "pob.builder.v1.QueryParamsResponse.params": + case "sdk.builder.v1.QueryParamsResponse.params": x.Params = value.Message().Interface().(*Params) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.builder.v1.QueryParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.QueryParamsResponse")) } - panic(fmt.Errorf("message pob.builder.v1.QueryParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.QueryParamsResponse does not contain field %s", fd.FullName())) } } @@ -549,16 +549,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 "pob.builder.v1.QueryParamsResponse.params": + case "sdk.builder.v1.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: pob.builder.v1.QueryParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.QueryParamsResponse")) } - panic(fmt.Errorf("message pob.builder.v1.QueryParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.QueryParamsResponse does not contain field %s", fd.FullName())) } } @@ -567,14 +567,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 "pob.builder.v1.QueryParamsResponse.params": + case "sdk.builder.v1.QueryParamsResponse.params": m := new(Params) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.builder.v1.QueryParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.QueryParamsResponse")) } - panic(fmt.Errorf("message pob.builder.v1.QueryParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.QueryParamsResponse does not contain field %s", fd.FullName())) } } @@ -584,7 +584,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 pob.builder.v1.QueryParamsResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in sdk.builder.v1.QueryParamsResponse", d.FullName())) } panic("unreachable") } @@ -810,7 +810,7 @@ func (x *fastReflection_QueryParamsResponse) ProtoMethods() *protoiface.Methods // versions: // protoc-gen-go v1.27.0 // protoc (unknown) -// source: pob/builder/v1/query.proto +// source: sdk/builder/v1/query.proto const ( // Verify that this generated code is sufficiently up-to-date. @@ -829,7 +829,7 @@ type QueryParamsRequest struct { func (x *QueryParamsRequest) Reset() { *x = QueryParamsRequest{} if protoimpl.UnsafeEnabled { - mi := &file_pob_builder_v1_query_proto_msgTypes[0] + mi := &file_sdk_builder_v1_query_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -843,7 +843,7 @@ func (*QueryParamsRequest) ProtoMessage() {} // Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead. func (*QueryParamsRequest) Descriptor() ([]byte, []int) { - return file_pob_builder_v1_query_proto_rawDescGZIP(), []int{0} + return file_sdk_builder_v1_query_proto_rawDescGZIP(), []int{0} } // QueryParamsResponse is the response type for the Query/Params RPC method. @@ -859,7 +859,7 @@ type QueryParamsResponse struct { func (x *QueryParamsResponse) Reset() { *x = QueryParamsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_pob_builder_v1_query_proto_msgTypes[1] + mi := &file_sdk_builder_v1_query_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -873,7 +873,7 @@ func (*QueryParamsResponse) ProtoMessage() {} // Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead. func (*QueryParamsResponse) Descriptor() ([]byte, []int) { - return file_pob_builder_v1_query_proto_rawDescGZIP(), []int{1} + return file_sdk_builder_v1_query_proto_rawDescGZIP(), []int{1} } func (x *QueryParamsResponse) GetParams() *Params { @@ -883,68 +883,69 @@ func (x *QueryParamsResponse) GetParams() *Params { return nil } -var File_pob_builder_v1_query_proto protoreflect.FileDescriptor +var File_sdk_builder_v1_query_proto protoreflect.FileDescriptor -var file_pob_builder_v1_query_proto_rawDesc = []byte{ - 0x0a, 0x1a, 0x70, 0x6f, 0x62, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, - 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x70, 0x6f, - 0x62, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x1a, 0x14, 0x67, 0x6f, +var file_sdk_builder_v1_query_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x73, 0x64, 0x6b, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, + 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x73, 0x64, + 0x6b, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 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, 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, 0x1c, 0x70, - 0x6f, 0x62, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, + 0x31, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x73, + 0x64, 0x6b, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x14, 0x0a, 0x12, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x4b, 0x0a, 0x13, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, - 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x6f, 0x62, 0x2e, 0x62, + 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, - 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x32, 0x7f, - 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x76, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x73, 0x12, 0x22, 0x2e, 0x70, 0x6f, 0x62, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, - 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x70, 0x6f, 0x62, 0x2e, 0x62, 0x75, 0x69, 0x6c, - 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, - 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x23, 0x88, 0xe7, 0xb0, 0x2a, - 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x18, 0x12, 0x16, 0x2f, 0x70, 0x6f, 0x62, 0x2f, 0x62, 0x75, - 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, - 0xa5, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6f, 0x62, 0x2e, 0x62, 0x75, 0x69, 0x6c, - 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x42, 0x0a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, - 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x29, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, - 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6f, 0x62, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, - 0x65, 0x72, 0x2f, 0x76, 0x31, 0x3b, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x76, 0x31, 0xa2, - 0x02, 0x03, 0x50, 0x42, 0x58, 0xaa, 0x02, 0x0e, 0x50, 0x6f, 0x62, 0x2e, 0x42, 0x75, 0x69, 0x6c, - 0x64, 0x65, 0x72, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0e, 0x50, 0x6f, 0x62, 0x5c, 0x42, 0x75, 0x69, - 0x6c, 0x64, 0x65, 0x72, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1a, 0x50, 0x6f, 0x62, 0x5c, 0x42, 0x75, - 0x69, 0x6c, 0x64, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x10, 0x50, 0x6f, 0x62, 0x3a, 0x3a, 0x42, 0x75, 0x69, 0x6c, - 0x64, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x32, 0x85, + 0x01, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x7c, 0x0a, 0x06, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x73, 0x12, 0x22, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, + 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x62, 0x75, 0x69, + 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x29, 0x88, 0xe7, 0xb0, + 0x2a, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x12, 0x1c, 0x2f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, + 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, + 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0xa5, 0x01, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x2e, 0x73, + 0x64, 0x6b, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x42, 0x0a, 0x51, + 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x29, 0x63, 0x6f, 0x73, + 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x64, + 0x6b, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x3b, 0x62, 0x75, 0x69, + 0x6c, 0x64, 0x65, 0x72, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x42, 0x58, 0xaa, 0x02, 0x0e, 0x53, + 0x64, 0x6b, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0e, + 0x53, 0x64, 0x6b, 0x5c, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x5c, 0x56, 0x31, 0xe2, 0x02, + 0x1a, 0x53, 0x64, 0x6b, 0x5c, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x5c, + 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x10, 0x53, 0x64, + 0x6b, 0x3a, 0x3a, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_pob_builder_v1_query_proto_rawDescOnce sync.Once - file_pob_builder_v1_query_proto_rawDescData = file_pob_builder_v1_query_proto_rawDesc + file_sdk_builder_v1_query_proto_rawDescOnce sync.Once + file_sdk_builder_v1_query_proto_rawDescData = file_sdk_builder_v1_query_proto_rawDesc ) -func file_pob_builder_v1_query_proto_rawDescGZIP() []byte { - file_pob_builder_v1_query_proto_rawDescOnce.Do(func() { - file_pob_builder_v1_query_proto_rawDescData = protoimpl.X.CompressGZIP(file_pob_builder_v1_query_proto_rawDescData) +func file_sdk_builder_v1_query_proto_rawDescGZIP() []byte { + file_sdk_builder_v1_query_proto_rawDescOnce.Do(func() { + file_sdk_builder_v1_query_proto_rawDescData = protoimpl.X.CompressGZIP(file_sdk_builder_v1_query_proto_rawDescData) }) - return file_pob_builder_v1_query_proto_rawDescData + return file_sdk_builder_v1_query_proto_rawDescData } -var file_pob_builder_v1_query_proto_msgTypes = make([]protoimpl.MessageInfo, 2) -var file_pob_builder_v1_query_proto_goTypes = []interface{}{ - (*QueryParamsRequest)(nil), // 0: pob.builder.v1.QueryParamsRequest - (*QueryParamsResponse)(nil), // 1: pob.builder.v1.QueryParamsResponse - (*Params)(nil), // 2: pob.builder.v1.Params +var file_sdk_builder_v1_query_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_sdk_builder_v1_query_proto_goTypes = []interface{}{ + (*QueryParamsRequest)(nil), // 0: sdk.builder.v1.QueryParamsRequest + (*QueryParamsResponse)(nil), // 1: sdk.builder.v1.QueryParamsResponse + (*Params)(nil), // 2: sdk.builder.v1.Params } -var file_pob_builder_v1_query_proto_depIdxs = []int32{ - 2, // 0: pob.builder.v1.QueryParamsResponse.params:type_name -> pob.builder.v1.Params - 0, // 1: pob.builder.v1.Query.Params:input_type -> pob.builder.v1.QueryParamsRequest - 1, // 2: pob.builder.v1.Query.Params:output_type -> pob.builder.v1.QueryParamsResponse +var file_sdk_builder_v1_query_proto_depIdxs = []int32{ + 2, // 0: sdk.builder.v1.QueryParamsResponse.params:type_name -> sdk.builder.v1.Params + 0, // 1: sdk.builder.v1.Query.Params:input_type -> sdk.builder.v1.QueryParamsRequest + 1, // 2: sdk.builder.v1.Query.Params:output_type -> sdk.builder.v1.QueryParamsResponse 2, // [2:3] is the sub-list for method output_type 1, // [1:2] is the sub-list for method input_type 1, // [1:1] is the sub-list for extension type_name @@ -952,14 +953,14 @@ var file_pob_builder_v1_query_proto_depIdxs = []int32{ 0, // [0:1] is the sub-list for field type_name } -func init() { file_pob_builder_v1_query_proto_init() } -func file_pob_builder_v1_query_proto_init() { - if File_pob_builder_v1_query_proto != nil { +func init() { file_sdk_builder_v1_query_proto_init() } +func file_sdk_builder_v1_query_proto_init() { + if File_sdk_builder_v1_query_proto != nil { return } - file_pob_builder_v1_genesis_proto_init() + file_sdk_builder_v1_genesis_proto_init() if !protoimpl.UnsafeEnabled { - file_pob_builder_v1_query_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_sdk_builder_v1_query_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryParamsRequest); i { case 0: return &v.state @@ -971,7 +972,7 @@ func file_pob_builder_v1_query_proto_init() { return nil } } - file_pob_builder_v1_query_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_sdk_builder_v1_query_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryParamsResponse); i { case 0: return &v.state @@ -988,18 +989,18 @@ func file_pob_builder_v1_query_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_pob_builder_v1_query_proto_rawDesc, + RawDescriptor: file_sdk_builder_v1_query_proto_rawDesc, NumEnums: 0, NumMessages: 2, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_pob_builder_v1_query_proto_goTypes, - DependencyIndexes: file_pob_builder_v1_query_proto_depIdxs, - MessageInfos: file_pob_builder_v1_query_proto_msgTypes, + GoTypes: file_sdk_builder_v1_query_proto_goTypes, + DependencyIndexes: file_sdk_builder_v1_query_proto_depIdxs, + MessageInfos: file_sdk_builder_v1_query_proto_msgTypes, }.Build() - File_pob_builder_v1_query_proto = out.File - file_pob_builder_v1_query_proto_rawDesc = nil - file_pob_builder_v1_query_proto_goTypes = nil - file_pob_builder_v1_query_proto_depIdxs = nil + File_sdk_builder_v1_query_proto = out.File + file_sdk_builder_v1_query_proto_rawDesc = nil + file_sdk_builder_v1_query_proto_goTypes = nil + file_sdk_builder_v1_query_proto_depIdxs = nil } diff --git a/api/pob/builder/v1/query_grpc.pb.go b/api/sdk/builder/v1/query_grpc.pb.go similarity index 95% rename from api/pob/builder/v1/query_grpc.pb.go rename to api/sdk/builder/v1/query_grpc.pb.go index 8669aab..a3a9611 100644 --- a/api/pob/builder/v1/query_grpc.pb.go +++ b/api/sdk/builder/v1/query_grpc.pb.go @@ -2,7 +2,7 @@ // versions: // - protoc-gen-go-grpc v1.3.0 // - protoc (unknown) -// source: pob/builder/v1/query.proto +// source: sdk/builder/v1/query.proto package builderv1 @@ -19,7 +19,7 @@ import ( const _ = grpc.SupportPackageIsVersion7 const ( - Query_Params_FullMethodName = "/pob.builder.v1.Query/Params" + Query_Params_FullMethodName = "/sdk.builder.v1.Query/Params" ) // QueryClient is the client API for Query service. @@ -98,7 +98,7 @@ func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interf // 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: "pob.builder.v1.Query", + ServiceName: "sdk.builder.v1.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { @@ -107,5 +107,5 @@ var Query_ServiceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "pob/builder/v1/query.proto", + Metadata: "sdk/builder/v1/query.proto", } diff --git a/api/pob/builder/v1/tx.pulsar.go b/api/sdk/builder/v1/tx.pulsar.go similarity index 85% rename from api/pob/builder/v1/tx.pulsar.go rename to api/sdk/builder/v1/tx.pulsar.go index 84bbe8e..43ad578 100644 --- a/api/pob/builder/v1/tx.pulsar.go +++ b/api/sdk/builder/v1/tx.pulsar.go @@ -72,8 +72,8 @@ var ( ) func init() { - file_pob_builder_v1_tx_proto_init() - md_MsgAuctionBid = File_pob_builder_v1_tx_proto.Messages().ByName("MsgAuctionBid") + file_sdk_builder_v1_tx_proto_init() + md_MsgAuctionBid = File_sdk_builder_v1_tx_proto.Messages().ByName("MsgAuctionBid") fd_MsgAuctionBid_bidder = md_MsgAuctionBid.Fields().ByName("bidder") fd_MsgAuctionBid_bid = md_MsgAuctionBid.Fields().ByName("bid") fd_MsgAuctionBid_transactions = md_MsgAuctionBid.Fields().ByName("transactions") @@ -88,7 +88,7 @@ func (x *MsgAuctionBid) ProtoReflect() protoreflect.Message { } func (x *MsgAuctionBid) slowProtoReflect() protoreflect.Message { - mi := &file_pob_builder_v1_tx_proto_msgTypes[0] + mi := &file_sdk_builder_v1_tx_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -177,17 +177,17 @@ func (x *fastReflection_MsgAuctionBid) Range(f func(protoreflect.FieldDescriptor // a repeated field is populated if it is non-empty. func (x *fastReflection_MsgAuctionBid) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "pob.builder.v1.MsgAuctionBid.bidder": + case "sdk.builder.v1.MsgAuctionBid.bidder": return x.Bidder != "" - case "pob.builder.v1.MsgAuctionBid.bid": + case "sdk.builder.v1.MsgAuctionBid.bid": return x.Bid != nil - case "pob.builder.v1.MsgAuctionBid.transactions": + case "sdk.builder.v1.MsgAuctionBid.transactions": return len(x.Transactions) != 0 default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.builder.v1.MsgAuctionBid")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.MsgAuctionBid")) } - panic(fmt.Errorf("message pob.builder.v1.MsgAuctionBid does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.MsgAuctionBid does not contain field %s", fd.FullName())) } } @@ -199,17 +199,17 @@ func (x *fastReflection_MsgAuctionBid) Has(fd protoreflect.FieldDescriptor) bool // Clear is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgAuctionBid) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "pob.builder.v1.MsgAuctionBid.bidder": + case "sdk.builder.v1.MsgAuctionBid.bidder": x.Bidder = "" - case "pob.builder.v1.MsgAuctionBid.bid": + case "sdk.builder.v1.MsgAuctionBid.bid": x.Bid = nil - case "pob.builder.v1.MsgAuctionBid.transactions": + case "sdk.builder.v1.MsgAuctionBid.transactions": x.Transactions = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.builder.v1.MsgAuctionBid")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.MsgAuctionBid")) } - panic(fmt.Errorf("message pob.builder.v1.MsgAuctionBid does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.MsgAuctionBid does not contain field %s", fd.FullName())) } } @@ -221,13 +221,13 @@ func (x *fastReflection_MsgAuctionBid) Clear(fd protoreflect.FieldDescriptor) { // of the value; to obtain a mutable reference, use Mutable. func (x *fastReflection_MsgAuctionBid) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "pob.builder.v1.MsgAuctionBid.bidder": + case "sdk.builder.v1.MsgAuctionBid.bidder": value := x.Bidder return protoreflect.ValueOfString(value) - case "pob.builder.v1.MsgAuctionBid.bid": + case "sdk.builder.v1.MsgAuctionBid.bid": value := x.Bid return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "pob.builder.v1.MsgAuctionBid.transactions": + case "sdk.builder.v1.MsgAuctionBid.transactions": if len(x.Transactions) == 0 { return protoreflect.ValueOfList(&_MsgAuctionBid_3_list{}) } @@ -235,9 +235,9 @@ func (x *fastReflection_MsgAuctionBid) Get(descriptor protoreflect.FieldDescript return protoreflect.ValueOfList(listValue) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.builder.v1.MsgAuctionBid")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.MsgAuctionBid")) } - panic(fmt.Errorf("message pob.builder.v1.MsgAuctionBid does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.MsgAuctionBid does not contain field %s", descriptor.FullName())) } } @@ -253,19 +253,19 @@ func (x *fastReflection_MsgAuctionBid) Get(descriptor protoreflect.FieldDescript // Set is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgAuctionBid) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "pob.builder.v1.MsgAuctionBid.bidder": + case "sdk.builder.v1.MsgAuctionBid.bidder": x.Bidder = value.Interface().(string) - case "pob.builder.v1.MsgAuctionBid.bid": + case "sdk.builder.v1.MsgAuctionBid.bid": x.Bid = value.Message().Interface().(*v1beta1.Coin) - case "pob.builder.v1.MsgAuctionBid.transactions": + case "sdk.builder.v1.MsgAuctionBid.transactions": lv := value.List() clv := lv.(*_MsgAuctionBid_3_list) x.Transactions = *clv.list default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.builder.v1.MsgAuctionBid")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.MsgAuctionBid")) } - panic(fmt.Errorf("message pob.builder.v1.MsgAuctionBid does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.MsgAuctionBid does not contain field %s", fd.FullName())) } } @@ -281,24 +281,24 @@ func (x *fastReflection_MsgAuctionBid) Set(fd protoreflect.FieldDescriptor, valu // Mutable is a mutating operation and unsafe for concurrent use. func (x *fastReflection_MsgAuctionBid) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "pob.builder.v1.MsgAuctionBid.bid": + case "sdk.builder.v1.MsgAuctionBid.bid": if x.Bid == nil { x.Bid = new(v1beta1.Coin) } return protoreflect.ValueOfMessage(x.Bid.ProtoReflect()) - case "pob.builder.v1.MsgAuctionBid.transactions": + case "sdk.builder.v1.MsgAuctionBid.transactions": if x.Transactions == nil { x.Transactions = [][]byte{} } value := &_MsgAuctionBid_3_list{list: &x.Transactions} return protoreflect.ValueOfList(value) - case "pob.builder.v1.MsgAuctionBid.bidder": - panic(fmt.Errorf("field bidder of message pob.builder.v1.MsgAuctionBid is not mutable")) + case "sdk.builder.v1.MsgAuctionBid.bidder": + panic(fmt.Errorf("field bidder of message sdk.builder.v1.MsgAuctionBid is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.builder.v1.MsgAuctionBid")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.MsgAuctionBid")) } - panic(fmt.Errorf("message pob.builder.v1.MsgAuctionBid does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.MsgAuctionBid does not contain field %s", fd.FullName())) } } @@ -307,19 +307,19 @@ func (x *fastReflection_MsgAuctionBid) Mutable(fd protoreflect.FieldDescriptor) // For lists, maps, and messages, this returns a new, empty, mutable value. func (x *fastReflection_MsgAuctionBid) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "pob.builder.v1.MsgAuctionBid.bidder": + case "sdk.builder.v1.MsgAuctionBid.bidder": return protoreflect.ValueOfString("") - case "pob.builder.v1.MsgAuctionBid.bid": + case "sdk.builder.v1.MsgAuctionBid.bid": m := new(v1beta1.Coin) return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "pob.builder.v1.MsgAuctionBid.transactions": + case "sdk.builder.v1.MsgAuctionBid.transactions": list := [][]byte{} return protoreflect.ValueOfList(&_MsgAuctionBid_3_list{list: &list}) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.builder.v1.MsgAuctionBid")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.MsgAuctionBid")) } - panic(fmt.Errorf("message pob.builder.v1.MsgAuctionBid does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.MsgAuctionBid does not contain field %s", fd.FullName())) } } @@ -329,7 +329,7 @@ func (x *fastReflection_MsgAuctionBid) NewField(fd protoreflect.FieldDescriptor) func (x *fastReflection_MsgAuctionBid) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in pob.builder.v1.MsgAuctionBid", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in sdk.builder.v1.MsgAuctionBid", d.FullName())) } panic("unreachable") } @@ -646,8 +646,8 @@ var ( ) func init() { - file_pob_builder_v1_tx_proto_init() - md_MsgAuctionBidResponse = File_pob_builder_v1_tx_proto.Messages().ByName("MsgAuctionBidResponse") + file_sdk_builder_v1_tx_proto_init() + md_MsgAuctionBidResponse = File_sdk_builder_v1_tx_proto.Messages().ByName("MsgAuctionBidResponse") } var _ protoreflect.Message = (*fastReflection_MsgAuctionBidResponse)(nil) @@ -659,7 +659,7 @@ func (x *MsgAuctionBidResponse) ProtoReflect() protoreflect.Message { } func (x *MsgAuctionBidResponse) slowProtoReflect() protoreflect.Message { - mi := &file_pob_builder_v1_tx_proto_msgTypes[1] + mi := &file_sdk_builder_v1_tx_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -732,9 +732,9 @@ func (x *fastReflection_MsgAuctionBidResponse) Has(fd protoreflect.FieldDescript switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.builder.v1.MsgAuctionBidResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.MsgAuctionBidResponse")) } - panic(fmt.Errorf("message pob.builder.v1.MsgAuctionBidResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.MsgAuctionBidResponse does not contain field %s", fd.FullName())) } } @@ -748,9 +748,9 @@ func (x *fastReflection_MsgAuctionBidResponse) Clear(fd protoreflect.FieldDescri switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.builder.v1.MsgAuctionBidResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.MsgAuctionBidResponse")) } - panic(fmt.Errorf("message pob.builder.v1.MsgAuctionBidResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.MsgAuctionBidResponse does not contain field %s", fd.FullName())) } } @@ -764,9 +764,9 @@ func (x *fastReflection_MsgAuctionBidResponse) Get(descriptor protoreflect.Field switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.builder.v1.MsgAuctionBidResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.MsgAuctionBidResponse")) } - panic(fmt.Errorf("message pob.builder.v1.MsgAuctionBidResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.MsgAuctionBidResponse does not contain field %s", descriptor.FullName())) } } @@ -784,9 +784,9 @@ func (x *fastReflection_MsgAuctionBidResponse) Set(fd protoreflect.FieldDescript switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.builder.v1.MsgAuctionBidResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.MsgAuctionBidResponse")) } - panic(fmt.Errorf("message pob.builder.v1.MsgAuctionBidResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.MsgAuctionBidResponse does not contain field %s", fd.FullName())) } } @@ -804,9 +804,9 @@ func (x *fastReflection_MsgAuctionBidResponse) Mutable(fd protoreflect.FieldDesc switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.builder.v1.MsgAuctionBidResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.MsgAuctionBidResponse")) } - panic(fmt.Errorf("message pob.builder.v1.MsgAuctionBidResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.MsgAuctionBidResponse does not contain field %s", fd.FullName())) } } @@ -817,9 +817,9 @@ func (x *fastReflection_MsgAuctionBidResponse) NewField(fd protoreflect.FieldDes switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.builder.v1.MsgAuctionBidResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.MsgAuctionBidResponse")) } - panic(fmt.Errorf("message pob.builder.v1.MsgAuctionBidResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.MsgAuctionBidResponse does not contain field %s", fd.FullName())) } } @@ -829,7 +829,7 @@ func (x *fastReflection_MsgAuctionBidResponse) NewField(fd protoreflect.FieldDes func (x *fastReflection_MsgAuctionBidResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in pob.builder.v1.MsgAuctionBidResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in sdk.builder.v1.MsgAuctionBidResponse", d.FullName())) } panic("unreachable") } @@ -1004,8 +1004,8 @@ var ( ) func init() { - file_pob_builder_v1_tx_proto_init() - md_MsgUpdateParams = File_pob_builder_v1_tx_proto.Messages().ByName("MsgUpdateParams") + file_sdk_builder_v1_tx_proto_init() + md_MsgUpdateParams = File_sdk_builder_v1_tx_proto.Messages().ByName("MsgUpdateParams") fd_MsgUpdateParams_authority = md_MsgUpdateParams.Fields().ByName("authority") fd_MsgUpdateParams_params = md_MsgUpdateParams.Fields().ByName("params") } @@ -1019,7 +1019,7 @@ func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message { } func (x *MsgUpdateParams) slowProtoReflect() protoreflect.Message { - mi := &file_pob_builder_v1_tx_proto_msgTypes[2] + mi := &file_sdk_builder_v1_tx_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1102,15 +1102,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 "pob.builder.v1.MsgUpdateParams.authority": + case "sdk.builder.v1.MsgUpdateParams.authority": return x.Authority != "" - case "pob.builder.v1.MsgUpdateParams.params": + case "sdk.builder.v1.MsgUpdateParams.params": return x.Params != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.builder.v1.MsgUpdateParams")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.MsgUpdateParams")) } - panic(fmt.Errorf("message pob.builder.v1.MsgUpdateParams does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.MsgUpdateParams does not contain field %s", fd.FullName())) } } @@ -1122,15 +1122,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 "pob.builder.v1.MsgUpdateParams.authority": + case "sdk.builder.v1.MsgUpdateParams.authority": x.Authority = "" - case "pob.builder.v1.MsgUpdateParams.params": + case "sdk.builder.v1.MsgUpdateParams.params": x.Params = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.builder.v1.MsgUpdateParams")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.MsgUpdateParams")) } - panic(fmt.Errorf("message pob.builder.v1.MsgUpdateParams does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.MsgUpdateParams does not contain field %s", fd.FullName())) } } @@ -1142,17 +1142,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 "pob.builder.v1.MsgUpdateParams.authority": + case "sdk.builder.v1.MsgUpdateParams.authority": value := x.Authority return protoreflect.ValueOfString(value) - case "pob.builder.v1.MsgUpdateParams.params": + case "sdk.builder.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: pob.builder.v1.MsgUpdateParams")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.MsgUpdateParams")) } - panic(fmt.Errorf("message pob.builder.v1.MsgUpdateParams does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.MsgUpdateParams does not contain field %s", descriptor.FullName())) } } @@ -1168,15 +1168,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 "pob.builder.v1.MsgUpdateParams.authority": + case "sdk.builder.v1.MsgUpdateParams.authority": x.Authority = value.Interface().(string) - case "pob.builder.v1.MsgUpdateParams.params": + case "sdk.builder.v1.MsgUpdateParams.params": x.Params = value.Message().Interface().(*Params) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.builder.v1.MsgUpdateParams")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.MsgUpdateParams")) } - panic(fmt.Errorf("message pob.builder.v1.MsgUpdateParams does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.MsgUpdateParams does not contain field %s", fd.FullName())) } } @@ -1192,18 +1192,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 "pob.builder.v1.MsgUpdateParams.params": + case "sdk.builder.v1.MsgUpdateParams.params": if x.Params == nil { x.Params = new(Params) } return protoreflect.ValueOfMessage(x.Params.ProtoReflect()) - case "pob.builder.v1.MsgUpdateParams.authority": - panic(fmt.Errorf("field authority of message pob.builder.v1.MsgUpdateParams is not mutable")) + case "sdk.builder.v1.MsgUpdateParams.authority": + panic(fmt.Errorf("field authority of message sdk.builder.v1.MsgUpdateParams is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: pob.builder.v1.MsgUpdateParams")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.MsgUpdateParams")) } - panic(fmt.Errorf("message pob.builder.v1.MsgUpdateParams does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.MsgUpdateParams does not contain field %s", fd.FullName())) } } @@ -1212,16 +1212,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 "pob.builder.v1.MsgUpdateParams.authority": + case "sdk.builder.v1.MsgUpdateParams.authority": return protoreflect.ValueOfString("") - case "pob.builder.v1.MsgUpdateParams.params": + case "sdk.builder.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: pob.builder.v1.MsgUpdateParams")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.MsgUpdateParams")) } - panic(fmt.Errorf("message pob.builder.v1.MsgUpdateParams does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.MsgUpdateParams does not contain field %s", fd.FullName())) } } @@ -1231,7 +1231,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 pob.builder.v1.MsgUpdateParams", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in sdk.builder.v1.MsgUpdateParams", d.FullName())) } panic("unreachable") } @@ -1501,8 +1501,8 @@ var ( ) func init() { - file_pob_builder_v1_tx_proto_init() - md_MsgUpdateParamsResponse = File_pob_builder_v1_tx_proto.Messages().ByName("MsgUpdateParamsResponse") + file_sdk_builder_v1_tx_proto_init() + md_MsgUpdateParamsResponse = File_sdk_builder_v1_tx_proto.Messages().ByName("MsgUpdateParamsResponse") } var _ protoreflect.Message = (*fastReflection_MsgUpdateParamsResponse)(nil) @@ -1514,7 +1514,7 @@ func (x *MsgUpdateParamsResponse) ProtoReflect() protoreflect.Message { } func (x *MsgUpdateParamsResponse) slowProtoReflect() protoreflect.Message { - mi := &file_pob_builder_v1_tx_proto_msgTypes[3] + mi := &file_sdk_builder_v1_tx_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1587,9 +1587,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: pob.builder.v1.MsgUpdateParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.MsgUpdateParamsResponse")) } - panic(fmt.Errorf("message pob.builder.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) } } @@ -1603,9 +1603,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: pob.builder.v1.MsgUpdateParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.MsgUpdateParamsResponse")) } - panic(fmt.Errorf("message pob.builder.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) } } @@ -1619,9 +1619,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: pob.builder.v1.MsgUpdateParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.MsgUpdateParamsResponse")) } - panic(fmt.Errorf("message pob.builder.v1.MsgUpdateParamsResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.MsgUpdateParamsResponse does not contain field %s", descriptor.FullName())) } } @@ -1639,9 +1639,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: pob.builder.v1.MsgUpdateParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.MsgUpdateParamsResponse")) } - panic(fmt.Errorf("message pob.builder.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) } } @@ -1659,9 +1659,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: pob.builder.v1.MsgUpdateParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.MsgUpdateParamsResponse")) } - panic(fmt.Errorf("message pob.builder.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) } } @@ -1672,9 +1672,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: pob.builder.v1.MsgUpdateParamsResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: sdk.builder.v1.MsgUpdateParamsResponse")) } - panic(fmt.Errorf("message pob.builder.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message sdk.builder.v1.MsgUpdateParamsResponse does not contain field %s", fd.FullName())) } } @@ -1684,7 +1684,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 pob.builder.v1.MsgUpdateParamsResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in sdk.builder.v1.MsgUpdateParamsResponse", d.FullName())) } panic("unreachable") } @@ -1856,7 +1856,7 @@ func (x *fastReflection_MsgUpdateParamsResponse) ProtoMethods() *protoiface.Meth // versions: // protoc-gen-go v1.27.0 // protoc (unknown) -// source: pob/builder/v1/tx.proto +// source: sdk/builder/v1/tx.proto const ( // Verify that this generated code is sufficiently up-to-date. @@ -1886,7 +1886,7 @@ type MsgAuctionBid struct { func (x *MsgAuctionBid) Reset() { *x = MsgAuctionBid{} if protoimpl.UnsafeEnabled { - mi := &file_pob_builder_v1_tx_proto_msgTypes[0] + mi := &file_sdk_builder_v1_tx_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1900,7 +1900,7 @@ func (*MsgAuctionBid) ProtoMessage() {} // Deprecated: Use MsgAuctionBid.ProtoReflect.Descriptor instead. func (*MsgAuctionBid) Descriptor() ([]byte, []int) { - return file_pob_builder_v1_tx_proto_rawDescGZIP(), []int{0} + return file_sdk_builder_v1_tx_proto_rawDescGZIP(), []int{0} } func (x *MsgAuctionBid) GetBidder() string { @@ -1934,7 +1934,7 @@ type MsgAuctionBidResponse struct { func (x *MsgAuctionBidResponse) Reset() { *x = MsgAuctionBidResponse{} if protoimpl.UnsafeEnabled { - mi := &file_pob_builder_v1_tx_proto_msgTypes[1] + mi := &file_sdk_builder_v1_tx_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1948,7 +1948,7 @@ func (*MsgAuctionBidResponse) ProtoMessage() {} // Deprecated: Use MsgAuctionBidResponse.ProtoReflect.Descriptor instead. func (*MsgAuctionBidResponse) Descriptor() ([]byte, []int) { - return file_pob_builder_v1_tx_proto_rawDescGZIP(), []int{1} + return file_sdk_builder_v1_tx_proto_rawDescGZIP(), []int{1} } // MsgUpdateParams defines a request type for updating the x/builder module @@ -1968,7 +1968,7 @@ type MsgUpdateParams struct { func (x *MsgUpdateParams) Reset() { *x = MsgUpdateParams{} if protoimpl.UnsafeEnabled { - mi := &file_pob_builder_v1_tx_proto_msgTypes[2] + mi := &file_sdk_builder_v1_tx_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1982,7 +1982,7 @@ func (*MsgUpdateParams) ProtoMessage() {} // Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead. func (*MsgUpdateParams) Descriptor() ([]byte, []int) { - return file_pob_builder_v1_tx_proto_rawDescGZIP(), []int{2} + return file_sdk_builder_v1_tx_proto_rawDescGZIP(), []int{2} } func (x *MsgUpdateParams) GetAuthority() string { @@ -2009,7 +2009,7 @@ type MsgUpdateParamsResponse struct { func (x *MsgUpdateParamsResponse) Reset() { *x = MsgUpdateParamsResponse{} if protoimpl.UnsafeEnabled { - mi := &file_pob_builder_v1_tx_proto_msgTypes[3] + mi := &file_sdk_builder_v1_tx_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2023,27 +2023,27 @@ func (*MsgUpdateParamsResponse) ProtoMessage() {} // Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead. func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) { - return file_pob_builder_v1_tx_proto_rawDescGZIP(), []int{3} + return file_sdk_builder_v1_tx_proto_rawDescGZIP(), []int{3} } -var File_pob_builder_v1_tx_proto protoreflect.FileDescriptor +var File_sdk_builder_v1_tx_proto protoreflect.FileDescriptor -var file_pob_builder_v1_tx_proto_rawDesc = []byte{ - 0x0a, 0x17, 0x70, 0x6f, 0x62, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, - 0x2f, 0x74, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x70, 0x6f, 0x62, 0x2e, 0x62, +var file_sdk_builder_v1_tx_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x73, 0x64, 0x6b, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, + 0x2f, 0x74, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x73, 0x64, 0x6b, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 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, 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, 0x1c, 0x70, - 0x6f, 0x62, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, + 0x61, 0x31, 0x2f, 0x63, 0x6f, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x73, + 0x64, 0x6b, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 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, 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, 0x11, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2f, 0x61, 0x6d, 0x69, 0x6e, 0x6f, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x22, 0xce, 0x01, 0x0a, 0x0d, 0x4d, 0x73, 0x67, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, + 0x74, 0x6f, 0x22, 0xd4, 0x01, 0x0a, 0x0d, 0x4d, 0x73, 0x67, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x69, 0x64, 0x12, 0x30, 0x0a, 0x06, 0x62, 0x69, 0x64, 0x64, 0x65, 0x72, 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, 0x06, @@ -2053,79 +2053,80 @@ var file_pob_builder_v1_tx_proto_rawDesc = []byte{ 0xc8, 0xde, 0x1f, 0x00, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x03, 0x62, 0x69, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x3a, 0x2f, 0xe8, 0xa0, 0x1f, 0x00, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x62, 0x69, 0x64, - 0x64, 0x65, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x1b, 0x70, 0x6f, 0x62, 0x2f, 0x78, 0x2f, 0x62, 0x75, - 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2f, 0x4d, 0x73, 0x67, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x42, 0x69, 0x64, 0x22, 0x17, 0x0a, 0x15, 0x4d, 0x73, 0x67, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x42, 0x69, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xb5, 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, 0x34, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, - 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x6f, 0x62, 0x2e, 0x62, - 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, - 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x3a, 0x34, - 0xe8, 0xa0, 0x1f, 0x00, 0x82, 0xe7, 0xb0, 0x2a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, - 0x74, 0x79, 0x8a, 0xe7, 0xb0, 0x2a, 0x1d, 0x70, 0x6f, 0x62, 0x2f, 0x78, 0x2f, 0x62, 0x75, 0x69, - 0x6c, 0x64, 0x65, 0x72, 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, - 0xd7, 0x01, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x6f, 0x0a, 0x0a, 0x41, 0x75, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x42, 0x69, 0x64, 0x12, 0x1d, 0x2e, 0x70, 0x6f, 0x62, 0x2e, 0x62, 0x75, 0x69, 0x6c, - 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x42, 0x69, 0x64, 0x1a, 0x25, 0x2e, 0x70, 0x6f, 0x62, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, - 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x42, 0x69, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1b, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x15, 0x22, 0x13, 0x2f, 0x70, 0x6f, 0x62, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, - 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x69, 0x64, 0x12, 0x58, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x1f, 0x2e, 0x70, 0x6f, 0x62, 0x2e, 0x62, - 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x27, 0x2e, 0x70, 0x6f, 0x62, 0x2e, - 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 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, 0xa2, 0x01, 0x0a, 0x12, 0x63, 0x6f, - 0x6d, 0x2e, 0x70, 0x6f, 0x62, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, - 0x42, 0x07, 0x54, 0x78, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x29, 0x63, 0x6f, 0x73, - 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6f, - 0x62, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x3b, 0x62, 0x75, 0x69, - 0x6c, 0x64, 0x65, 0x72, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x50, 0x42, 0x58, 0xaa, 0x02, 0x0e, 0x50, - 0x6f, 0x62, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0e, - 0x50, 0x6f, 0x62, 0x5c, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x5c, 0x56, 0x31, 0xe2, 0x02, - 0x1a, 0x50, 0x6f, 0x62, 0x5c, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x5c, - 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x10, 0x50, 0x6f, - 0x62, 0x3a, 0x3a, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6e, 0x73, 0x3a, 0x35, 0xe8, 0xa0, 0x1f, 0x00, 0x82, 0xe7, 0xb0, 0x2a, 0x06, 0x62, 0x69, 0x64, + 0x64, 0x65, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x21, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2d, 0x73, 0x64, + 0x6b, 0x2f, 0x78, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2f, 0x4d, 0x73, 0x67, 0x41, + 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x69, 0x64, 0x22, 0x17, 0x0a, 0x15, 0x4d, 0x73, 0x67, + 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x69, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0xbb, 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, 0x34, + 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, + 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x70, 0x61, + 0x72, 0x61, 0x6d, 0x73, 0x3a, 0x3a, 0xe8, 0xa0, 0x1f, 0x00, 0x82, 0xe7, 0xb0, 0x2a, 0x09, 0x61, + 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x8a, 0xe7, 0xb0, 0x2a, 0x23, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x78, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, + 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, 0xdd, 0x01, 0x0a, 0x03, + 0x4d, 0x73, 0x67, 0x12, 0x75, 0x0a, 0x0a, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x69, + 0x64, 0x12, 0x1d, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, + 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x69, 0x64, + 0x1a, 0x25, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x76, + 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x69, 0x64, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x21, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x22, + 0x19, 0x2f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x62, 0x75, 0x69, 0x6c, + 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x62, 0x69, 0x64, 0x12, 0x58, 0x0a, 0x0c, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x1f, 0x2e, 0x73, 0x64, 0x6b, + 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x27, 0x2e, 0x73, 0x64, + 0x6b, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 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, 0xa2, 0x01, 0x0a, 0x12, + 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x64, 0x6b, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, + 0x76, 0x31, 0x42, 0x07, 0x54, 0x78, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x29, 0x63, + 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x73, 0x64, 0x6b, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x3b, 0x62, + 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x42, 0x58, 0xaa, 0x02, + 0x0e, 0x53, 0x64, 0x6b, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x56, 0x31, 0xca, + 0x02, 0x0e, 0x53, 0x64, 0x6b, 0x5c, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x5c, 0x56, 0x31, + 0xe2, 0x02, 0x1a, 0x53, 0x64, 0x6b, 0x5c, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x5c, 0x56, + 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x10, + 0x53, 0x64, 0x6b, 0x3a, 0x3a, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x31, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_pob_builder_v1_tx_proto_rawDescOnce sync.Once - file_pob_builder_v1_tx_proto_rawDescData = file_pob_builder_v1_tx_proto_rawDesc + file_sdk_builder_v1_tx_proto_rawDescOnce sync.Once + file_sdk_builder_v1_tx_proto_rawDescData = file_sdk_builder_v1_tx_proto_rawDesc ) -func file_pob_builder_v1_tx_proto_rawDescGZIP() []byte { - file_pob_builder_v1_tx_proto_rawDescOnce.Do(func() { - file_pob_builder_v1_tx_proto_rawDescData = protoimpl.X.CompressGZIP(file_pob_builder_v1_tx_proto_rawDescData) +func file_sdk_builder_v1_tx_proto_rawDescGZIP() []byte { + file_sdk_builder_v1_tx_proto_rawDescOnce.Do(func() { + file_sdk_builder_v1_tx_proto_rawDescData = protoimpl.X.CompressGZIP(file_sdk_builder_v1_tx_proto_rawDescData) }) - return file_pob_builder_v1_tx_proto_rawDescData + return file_sdk_builder_v1_tx_proto_rawDescData } -var file_pob_builder_v1_tx_proto_msgTypes = make([]protoimpl.MessageInfo, 4) -var file_pob_builder_v1_tx_proto_goTypes = []interface{}{ - (*MsgAuctionBid)(nil), // 0: pob.builder.v1.MsgAuctionBid - (*MsgAuctionBidResponse)(nil), // 1: pob.builder.v1.MsgAuctionBidResponse - (*MsgUpdateParams)(nil), // 2: pob.builder.v1.MsgUpdateParams - (*MsgUpdateParamsResponse)(nil), // 3: pob.builder.v1.MsgUpdateParamsResponse +var file_sdk_builder_v1_tx_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_sdk_builder_v1_tx_proto_goTypes = []interface{}{ + (*MsgAuctionBid)(nil), // 0: sdk.builder.v1.MsgAuctionBid + (*MsgAuctionBidResponse)(nil), // 1: sdk.builder.v1.MsgAuctionBidResponse + (*MsgUpdateParams)(nil), // 2: sdk.builder.v1.MsgUpdateParams + (*MsgUpdateParamsResponse)(nil), // 3: sdk.builder.v1.MsgUpdateParamsResponse (*v1beta1.Coin)(nil), // 4: cosmos.base.v1beta1.Coin - (*Params)(nil), // 5: pob.builder.v1.Params + (*Params)(nil), // 5: sdk.builder.v1.Params } -var file_pob_builder_v1_tx_proto_depIdxs = []int32{ - 4, // 0: pob.builder.v1.MsgAuctionBid.bid:type_name -> cosmos.base.v1beta1.Coin - 5, // 1: pob.builder.v1.MsgUpdateParams.params:type_name -> pob.builder.v1.Params - 0, // 2: pob.builder.v1.Msg.AuctionBid:input_type -> pob.builder.v1.MsgAuctionBid - 2, // 3: pob.builder.v1.Msg.UpdateParams:input_type -> pob.builder.v1.MsgUpdateParams - 1, // 4: pob.builder.v1.Msg.AuctionBid:output_type -> pob.builder.v1.MsgAuctionBidResponse - 3, // 5: pob.builder.v1.Msg.UpdateParams:output_type -> pob.builder.v1.MsgUpdateParamsResponse +var file_sdk_builder_v1_tx_proto_depIdxs = []int32{ + 4, // 0: sdk.builder.v1.MsgAuctionBid.bid:type_name -> cosmos.base.v1beta1.Coin + 5, // 1: sdk.builder.v1.MsgUpdateParams.params:type_name -> sdk.builder.v1.Params + 0, // 2: sdk.builder.v1.Msg.AuctionBid:input_type -> sdk.builder.v1.MsgAuctionBid + 2, // 3: sdk.builder.v1.Msg.UpdateParams:input_type -> sdk.builder.v1.MsgUpdateParams + 1, // 4: sdk.builder.v1.Msg.AuctionBid:output_type -> sdk.builder.v1.MsgAuctionBidResponse + 3, // 5: sdk.builder.v1.Msg.UpdateParams:output_type -> sdk.builder.v1.MsgUpdateParamsResponse 4, // [4:6] is the sub-list for method output_type 2, // [2:4] is the sub-list for method input_type 2, // [2:2] is the sub-list for extension type_name @@ -2133,14 +2134,14 @@ var file_pob_builder_v1_tx_proto_depIdxs = []int32{ 0, // [0:2] is the sub-list for field type_name } -func init() { file_pob_builder_v1_tx_proto_init() } -func file_pob_builder_v1_tx_proto_init() { - if File_pob_builder_v1_tx_proto != nil { +func init() { file_sdk_builder_v1_tx_proto_init() } +func file_sdk_builder_v1_tx_proto_init() { + if File_sdk_builder_v1_tx_proto != nil { return } - file_pob_builder_v1_genesis_proto_init() + file_sdk_builder_v1_genesis_proto_init() if !protoimpl.UnsafeEnabled { - file_pob_builder_v1_tx_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_sdk_builder_v1_tx_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MsgAuctionBid); i { case 0: return &v.state @@ -2152,7 +2153,7 @@ func file_pob_builder_v1_tx_proto_init() { return nil } } - file_pob_builder_v1_tx_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_sdk_builder_v1_tx_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MsgAuctionBidResponse); i { case 0: return &v.state @@ -2164,7 +2165,7 @@ func file_pob_builder_v1_tx_proto_init() { return nil } } - file_pob_builder_v1_tx_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_sdk_builder_v1_tx_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MsgUpdateParams); i { case 0: return &v.state @@ -2176,7 +2177,7 @@ func file_pob_builder_v1_tx_proto_init() { return nil } } - file_pob_builder_v1_tx_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_sdk_builder_v1_tx_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MsgUpdateParamsResponse); i { case 0: return &v.state @@ -2193,18 +2194,18 @@ func file_pob_builder_v1_tx_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_pob_builder_v1_tx_proto_rawDesc, + RawDescriptor: file_sdk_builder_v1_tx_proto_rawDesc, NumEnums: 0, NumMessages: 4, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_pob_builder_v1_tx_proto_goTypes, - DependencyIndexes: file_pob_builder_v1_tx_proto_depIdxs, - MessageInfos: file_pob_builder_v1_tx_proto_msgTypes, + GoTypes: file_sdk_builder_v1_tx_proto_goTypes, + DependencyIndexes: file_sdk_builder_v1_tx_proto_depIdxs, + MessageInfos: file_sdk_builder_v1_tx_proto_msgTypes, }.Build() - File_pob_builder_v1_tx_proto = out.File - file_pob_builder_v1_tx_proto_rawDesc = nil - file_pob_builder_v1_tx_proto_goTypes = nil - file_pob_builder_v1_tx_proto_depIdxs = nil + File_sdk_builder_v1_tx_proto = out.File + file_sdk_builder_v1_tx_proto_rawDesc = nil + file_sdk_builder_v1_tx_proto_goTypes = nil + file_sdk_builder_v1_tx_proto_depIdxs = nil } diff --git a/api/pob/builder/v1/tx_grpc.pb.go b/api/sdk/builder/v1/tx_grpc.pb.go similarity index 95% rename from api/pob/builder/v1/tx_grpc.pb.go rename to api/sdk/builder/v1/tx_grpc.pb.go index 21a644d..76bd4a2 100644 --- a/api/pob/builder/v1/tx_grpc.pb.go +++ b/api/sdk/builder/v1/tx_grpc.pb.go @@ -2,7 +2,7 @@ // versions: // - protoc-gen-go-grpc v1.3.0 // - protoc (unknown) -// source: pob/builder/v1/tx.proto +// source: sdk/builder/v1/tx.proto package builderv1 @@ -19,8 +19,8 @@ import ( const _ = grpc.SupportPackageIsVersion7 const ( - Msg_AuctionBid_FullMethodName = "/pob.builder.v1.Msg/AuctionBid" - Msg_UpdateParams_FullMethodName = "/pob.builder.v1.Msg/UpdateParams" + Msg_AuctionBid_FullMethodName = "/sdk.builder.v1.Msg/AuctionBid" + Msg_UpdateParams_FullMethodName = "/sdk.builder.v1.Msg/UpdateParams" ) // MsgClient is the client API for Msg service. @@ -135,7 +135,7 @@ func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(in // 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: "pob.builder.v1.Msg", + ServiceName: "sdk.builder.v1.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { @@ -148,5 +148,5 @@ var Msg_ServiceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "pob/builder/v1/tx.proto", + Metadata: "sdk/builder/v1/tx.proto", } diff --git a/block/base/abci.go b/block/base/abci.go index 4eb138a..0f74aec 100644 --- a/block/base/abci.go +++ b/block/base/abci.go @@ -2,8 +2,8 @@ package base import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/skip-mev/pob/block" - "github.com/skip-mev/pob/block/utils" + "github.com/skip-mev/block-sdk/block" + "github.com/skip-mev/block-sdk/block/utils" ) // PrepareLane will prepare a partial proposal for the lane. It will select transactions from the diff --git a/block/base/config.go b/block/base/config.go index e9a404f..6112a58 100644 --- a/block/base/config.go +++ b/block/base/config.go @@ -6,7 +6,7 @@ import ( "cosmossdk.io/log" "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/skip-mev/pob/block" + "github.com/skip-mev/block-sdk/block" ) // LaneConfig defines the basic configurations needed for a lane. diff --git a/block/base/handlers.go b/block/base/handlers.go index 3782d36..ad1b75c 100644 --- a/block/base/handlers.go +++ b/block/base/handlers.go @@ -4,8 +4,8 @@ import ( "fmt" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/skip-mev/pob/block" - "github.com/skip-mev/pob/block/utils" + "github.com/skip-mev/block-sdk/block" + "github.com/skip-mev/block-sdk/block/utils" ) // DefaultPrepareLaneHandler returns a default implementation of the PrepareLaneHandler. It diff --git a/block/base/lane.go b/block/base/lane.go index dc58cf4..2275326 100644 --- a/block/base/lane.go +++ b/block/base/lane.go @@ -6,7 +6,7 @@ import ( "cosmossdk.io/log" "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/skip-mev/pob/block" + "github.com/skip-mev/block-sdk/block" ) var _ block.Lane = (*BaseLane)(nil) diff --git a/block/base/mempool.go b/block/base/mempool.go index 22bcf05..fb10ff1 100644 --- a/block/base/mempool.go +++ b/block/base/mempool.go @@ -7,7 +7,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" sdkmempool "github.com/cosmos/cosmos-sdk/types/mempool" - "github.com/skip-mev/pob/block/utils" + "github.com/skip-mev/block-sdk/block/utils" ) type ( diff --git a/block/mempool_test.go b/block/mempool_test.go index 242b27a..a98f529 100644 --- a/block/mempool_test.go +++ b/block/mempool_test.go @@ -10,13 +10,13 @@ import ( storetypes "cosmossdk.io/store/types" "github.com/cosmos/cosmos-sdk/testutil" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/skip-mev/pob/block" - "github.com/skip-mev/pob/block/base" - defaultlane "github.com/skip-mev/pob/lanes/base" - "github.com/skip-mev/pob/lanes/free" - "github.com/skip-mev/pob/lanes/mev" - testutils "github.com/skip-mev/pob/testutils" - buildertypes "github.com/skip-mev/pob/x/builder/types" + "github.com/skip-mev/block-sdk/block" + "github.com/skip-mev/block-sdk/block/base" + defaultlane "github.com/skip-mev/block-sdk/lanes/base" + "github.com/skip-mev/block-sdk/lanes/free" + "github.com/skip-mev/block-sdk/lanes/mev" + testutils "github.com/skip-mev/block-sdk/testutils" + buildertypes "github.com/skip-mev/block-sdk/x/builder/types" "github.com/stretchr/testify/suite" ) diff --git a/block/proposals.go b/block/proposals.go index f2d77ea..8878d9d 100644 --- a/block/proposals.go +++ b/block/proposals.go @@ -7,7 +7,7 @@ import ( "cosmossdk.io/log" "cosmossdk.io/math" - "github.com/skip-mev/pob/block/utils" + "github.com/skip-mev/block-sdk/block/utils" ) var _ BlockProposal = (*Proposal)(nil) diff --git a/block/utils/mocks/lane.go b/block/utils/mocks/lane.go index 3473e56..66d16c5 100644 --- a/block/utils/mocks/lane.go +++ b/block/utils/mocks/lane.go @@ -5,7 +5,7 @@ package mocks import ( context "context" - block "github.com/skip-mev/pob/block" + block "github.com/skip-mev/block-sdk/block" log "cosmossdk.io/log" diff --git a/block/utils/utils_test.go b/block/utils/utils_test.go index eb33706..d60d791 100644 --- a/block/utils/utils_test.go +++ b/block/utils/utils_test.go @@ -4,7 +4,7 @@ import ( "testing" "cosmossdk.io/math" - "github.com/skip-mev/pob/block/utils" + "github.com/skip-mev/block-sdk/block/utils" ) func TestGetMaxTxBytesForLane(t *testing.T) { diff --git a/go.mod b/go.mod index bf00d51..0bd2fea 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/skip-mev/pob +module github.com/skip-mev/block-sdk go 1.20 diff --git a/go.work.sum b/go.work.sum index 1b6fa7d..8fc1d8e 100644 --- a/go.work.sum +++ b/go.work.sum @@ -41,6 +41,7 @@ github.com/cockroachdb/redact v1.1.3 h1:AKZds10rFSIj7qADf0g46UixK8NNLwWTNdCIGS5w github.com/containerd/continuity v0.3.0/go.mod h1:wJEAIwKOm/pBZuBd0JmeTvnLquTB1Ag8espWhkykbPM= github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= github.com/cosmos/cosmos-db v0.0.0-20221226095112-f3c38ecb5e32 h1:zlCp9n3uwQieELltZWHRmwPmPaZ8+XoL2Sj+A2YJlr8= +github.com/creack/pty v1.1.9 h1:uDmaGzcdjhF4i/plgjmEsriH11Y0o7RKapEf/LDaM3w= github.com/curioswitch/go-reassign v0.2.0/go.mod h1:x6OpXuWvgfQaMGks2BZybTngWjT84hqJfKoO8Tt/Roc= github.com/daixiang0/gci v0.10.1/go.mod h1:xtHP9N7AHdNvtRNfcx9gwTDfw7FRJx4bZUsiEfiNNAI= github.com/denis-tingaikin/go-header v0.4.3/go.mod h1:0wOCWuN71D5qIgE2nz9KrKmuYBAC2Mra5RassOIQ2/c= @@ -68,6 +69,7 @@ github.com/go-logr/logr v1.2.3/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbV github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= github.com/go-playground/locales v0.14.0/go.mod h1:sawfccIbzZTqEDETgFXqTho0QybSa7l++s0DH+LDiLs= github.com/go-playground/universal-translator v0.18.0/go.mod h1:UvRDBj+xPUEGrFYl+lu/H90nyDXpg0fqeB/AQUGNTVA= +github.com/go-stack/stack v1.8.0 h1:5SgMzNM5HxrEjV0ww2lTmX6E2Izsfxas4+YHWRs3Lsk= github.com/go-toolsmith/astcast v1.1.0/go.mod h1:qdcuFWeGGS2xX5bLM/c3U9lewg7+Zu4mr+xPwZIB4ZU= github.com/go-toolsmith/astcopy v1.1.0/go.mod h1:hXM6gan18VA1T/daUEHCFcYiW8Ai1tIwIzHY6srfEAw= github.com/go-toolsmith/astequal v1.1.0/go.mod h1:sedf7VIdCL22LD8qIvv7Nn9MuWJruQA/ysswh64lffQ= diff --git a/lanes/base/abci_test.go b/lanes/base/abci_test.go index 317df3b..8cff626 100644 --- a/lanes/base/abci_test.go +++ b/lanes/base/abci_test.go @@ -8,11 +8,11 @@ import ( "cosmossdk.io/log" "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/skip-mev/pob/block" - "github.com/skip-mev/pob/block/base" - "github.com/skip-mev/pob/block/utils/mocks" - defaultlane "github.com/skip-mev/pob/lanes/base" - testutils "github.com/skip-mev/pob/testutils" + "github.com/skip-mev/block-sdk/block" + "github.com/skip-mev/block-sdk/block/base" + "github.com/skip-mev/block-sdk/block/utils/mocks" + defaultlane "github.com/skip-mev/block-sdk/lanes/base" + testutils "github.com/skip-mev/block-sdk/testutils" ) func (s *BaseTestSuite) TestPrepareLane() { diff --git a/lanes/base/base_test.go b/lanes/base/base_test.go index 7852dac..604ed80 100644 --- a/lanes/base/base_test.go +++ b/lanes/base/base_test.go @@ -4,7 +4,7 @@ import ( "math/rand" "testing" - testutils "github.com/skip-mev/pob/testutils" + testutils "github.com/skip-mev/block-sdk/testutils" "github.com/stretchr/testify/suite" ) diff --git a/lanes/base/lane.go b/lanes/base/lane.go index 9842592..e197df5 100644 --- a/lanes/base/lane.go +++ b/lanes/base/lane.go @@ -1,8 +1,8 @@ package base import ( - "github.com/skip-mev/pob/block" - "github.com/skip-mev/pob/block/base" + "github.com/skip-mev/block-sdk/block" + "github.com/skip-mev/block-sdk/block/base" ) const ( diff --git a/lanes/base/mempool_test.go b/lanes/base/mempool_test.go index b8a5047..a4f01a4 100644 --- a/lanes/base/mempool_test.go +++ b/lanes/base/mempool_test.go @@ -3,8 +3,8 @@ package base_test import ( "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/skip-mev/pob/block/base" - testutils "github.com/skip-mev/pob/testutils" + "github.com/skip-mev/block-sdk/block/base" + testutils "github.com/skip-mev/block-sdk/testutils" ) func (s *BaseTestSuite) TestGetTxPriority() { diff --git a/lanes/free/lane.go b/lanes/free/lane.go index 10dcfaa..678aa3a 100644 --- a/lanes/free/lane.go +++ b/lanes/free/lane.go @@ -3,8 +3,8 @@ package free import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/skip-mev/pob/block" - "github.com/skip-mev/pob/block/base" + "github.com/skip-mev/block-sdk/block" + "github.com/skip-mev/block-sdk/block/base" ) const ( diff --git a/lanes/mev/README.md b/lanes/mev/README.md index 17258b8..07bdfd3 100644 --- a/lanes/mev/README.md +++ b/lanes/mev/README.md @@ -40,10 +40,9 @@ NOTE: This example walks through setting up the MEV and Default lanes. ```go import ( ... - "github.com/skip-mev/pob/block-sdk" - "github.com/skip-mev/pob/block-sdk/abci" - "github.com/skip-mev/pob/block-sdk/lanes/mev" - "github.com/skip-mev/pob/block-sdk/lanes/base" + "github.com/skip-mev/block-sdk/abci" + "github.com/skip-mev/block-sdk/lanes/mev" + "github.com/skip-mev/block-sdk/lanes/base" buildermodule "github.com/skip-mev/block-sdk/x/builder" builderkeeper "github.com/skip-mev/block-sdk/x/builder/keeper" buildertypes "github.com/skip-mev/block-sdk/x/builder/types" diff --git a/lanes/mev/abci.go b/lanes/mev/abci.go index 137da8c..4a1a192 100644 --- a/lanes/mev/abci.go +++ b/lanes/mev/abci.go @@ -5,9 +5,9 @@ import ( "fmt" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/skip-mev/pob/block" - "github.com/skip-mev/pob/block/utils" - "github.com/skip-mev/pob/x/builder/types" + "github.com/skip-mev/block-sdk/block" + "github.com/skip-mev/block-sdk/block/utils" + "github.com/skip-mev/block-sdk/x/builder/types" ) // PrepareLaneHandler will attempt to select the highest bid transaction that is valid diff --git a/lanes/mev/check_tx.go b/lanes/mev/check_tx.go index dbe890b..8d8ed78 100644 --- a/lanes/mev/check_tx.go +++ b/lanes/mev/check_tx.go @@ -9,7 +9,7 @@ import ( cmtproto "github.com/cometbft/cometbft/proto/tendermint/types" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" - "github.com/skip-mev/pob/x/builder/types" + "github.com/skip-mev/block-sdk/x/builder/types" ) type ( diff --git a/lanes/mev/factory.go b/lanes/mev/factory.go index d0bca0c..c13a26f 100644 --- a/lanes/mev/factory.go +++ b/lanes/mev/factory.go @@ -5,8 +5,8 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/auth/signing" - "github.com/skip-mev/pob/block" - "github.com/skip-mev/pob/x/builder/types" + "github.com/skip-mev/block-sdk/block" + "github.com/skip-mev/block-sdk/x/builder/types" ) type ( diff --git a/lanes/mev/factory_test.go b/lanes/mev/factory_test.go index b68587e..cc1c704 100644 --- a/lanes/mev/factory_test.go +++ b/lanes/mev/factory_test.go @@ -5,7 +5,7 @@ import ( "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - testutils "github.com/skip-mev/pob/testutils" + testutils "github.com/skip-mev/block-sdk/testutils" ) func (suite *MEVTestSuite) TestIsAuctionTx() { diff --git a/lanes/mev/lane.go b/lanes/mev/lane.go index d3da91b..d03d27a 100644 --- a/lanes/mev/lane.go +++ b/lanes/mev/lane.go @@ -4,8 +4,8 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/skip-mev/pob/block" - "github.com/skip-mev/pob/block/base" + "github.com/skip-mev/block-sdk/block" + "github.com/skip-mev/block-sdk/block/base" ) const ( diff --git a/lanes/mev/mempool.go b/lanes/mev/mempool.go index 68946df..487f0ad 100644 --- a/lanes/mev/mempool.go +++ b/lanes/mev/mempool.go @@ -4,7 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/skip-mev/pob/block/base" + "github.com/skip-mev/block-sdk/block/base" ) // TxPriority returns a TxPriority over mev lane transactions only. It diff --git a/lanes/mev/mev_test.go b/lanes/mev/mev_test.go index e1c9e65..c3a0ce6 100644 --- a/lanes/mev/mev_test.go +++ b/lanes/mev/mev_test.go @@ -8,8 +8,8 @@ import ( "cosmossdk.io/log" cmtproto "github.com/cometbft/cometbft/proto/tendermint/types" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/skip-mev/pob/lanes/mev" - testutils "github.com/skip-mev/pob/testutils" + "github.com/skip-mev/block-sdk/lanes/mev" + testutils "github.com/skip-mev/block-sdk/testutils" "github.com/stretchr/testify/suite" ) diff --git a/lanes/mev/utils.go b/lanes/mev/utils.go index 4406c56..e69cbe4 100644 --- a/lanes/mev/utils.go +++ b/lanes/mev/utils.go @@ -4,7 +4,7 @@ import ( "errors" sdk "github.com/cosmos/cosmos-sdk/types" - buildertypes "github.com/skip-mev/pob/x/builder/types" + buildertypes "github.com/skip-mev/block-sdk/x/builder/types" ) // GetMsgAuctionBidFromTx attempts to retrieve a MsgAuctionBid from an sdk.Tx if diff --git a/lanes/mev/utils_test.go b/lanes/mev/utils_test.go index 7ae1dae..3b3c374 100644 --- a/lanes/mev/utils_test.go +++ b/lanes/mev/utils_test.go @@ -4,9 +4,9 @@ import ( "testing" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" - "github.com/skip-mev/pob/lanes/mev" - testutils "github.com/skip-mev/pob/testutils" - buildertypes "github.com/skip-mev/pob/x/builder/types" + "github.com/skip-mev/block-sdk/lanes/mev" + testutils "github.com/skip-mev/block-sdk/testutils" + buildertypes "github.com/skip-mev/block-sdk/x/builder/types" "github.com/stretchr/testify/require" ) diff --git a/lanes/terminator/lane.go b/lanes/terminator/lane.go index 3fce765..2961da5 100644 --- a/lanes/terminator/lane.go +++ b/lanes/terminator/lane.go @@ -7,7 +7,7 @@ import ( "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" sdkmempool "github.com/cosmos/cosmos-sdk/types/mempool" - "github.com/skip-mev/pob/block" + "github.com/skip-mev/block-sdk/block" ) const ( diff --git a/proto/buf.gen.gogo.yaml b/proto/buf.gen.gogo.yaml index 9c8ba0a..88ead2f 100644 --- a/proto/buf.gen.gogo.yaml +++ b/proto/buf.gen.gogo.yaml @@ -2,7 +2,7 @@ version: v1 plugins: - name: gocosmos out: .. - opt: plugins=grpc,Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types + opt: plugins=grpc,Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types,Mcosmos/orm/v1/orm.proto=cosmossdk.io/orm - name: grpc-gateway out: .. - opt: logtostderr=true,allow_colon_final_segments=true + opt: logtostderr=true,allow_colon_final_segments=true \ No newline at end of file diff --git a/proto/buf.gen.pulsar.yaml b/proto/buf.gen.pulsar.yaml index b79ffe5..330e611 100644 --- a/proto/buf.gen.pulsar.yaml +++ b/proto/buf.gen.pulsar.yaml @@ -4,14 +4,17 @@ managed: go_package_prefix: default: cosmossdk.io/api except: - - buf.build/googleapis/googleapis - - buf.build/cosmos/gogo-proto - buf.build/cosmos/cosmos-proto + - buf.build/cosmos/gogo-proto + - buf.build/googleapis/googleapis override: plugins: - name: go-pulsar out: ../api opt: paths=source_relative - name: go-grpc + out: ../api + opt: paths=source_relative + - name: go-cosmos-orm out: ../api opt: paths=source_relative \ No newline at end of file diff --git a/proto/buf.yaml b/proto/buf.yaml index aa05d11..1256f71 100644 --- a/proto/buf.yaml +++ b/proto/buf.yaml @@ -1,5 +1,5 @@ version: v1 -name: buf.build/skip-mev/pob +name: buf.build/skip-mev/block-sdk deps: - buf.build/cosmos/cosmos-proto diff --git a/proto/pob/builder/module/v1/module.proto b/proto/sdk/builder/module/v1/module.proto similarity index 71% rename from proto/pob/builder/module/v1/module.proto rename to proto/sdk/builder/module/v1/module.proto index 24c2db2..ab5cede 100644 --- a/proto/pob/builder/module/v1/module.proto +++ b/proto/sdk/builder/module/v1/module.proto @@ -1,16 +1,16 @@ syntax = "proto3"; -package pob.builder.module.v1; +package sdk.builder.module.v1; import "cosmos/app/v1alpha1/module.proto"; // Module is the config object of the builder module. message Module { option (cosmos.app.v1alpha1.module) = { - go_import : "github.com/skip-mev/pob/x/builder" + go_import : "github.com/skip-mev/block-sdk/x/builder" }; // Authority defines the custom module authority. If not set, defaults to the // governance module. - string authority = 2; + string authority = 1; } \ No newline at end of file diff --git a/proto/pob/builder/v1/genesis.proto b/proto/sdk/builder/v1/genesis.proto similarity index 86% rename from proto/pob/builder/v1/genesis.proto rename to proto/sdk/builder/v1/genesis.proto index 0909c23..1a6c2b9 100644 --- a/proto/pob/builder/v1/genesis.proto +++ b/proto/sdk/builder/v1/genesis.proto @@ -1,19 +1,19 @@ syntax = "proto3"; -package pob.builder.v1; +package sdk.builder.v1; import "gogoproto/gogo.proto"; import "cosmos/base/v1beta1/coin.proto"; import "amino/amino.proto"; import "cosmos_proto/cosmos.proto"; -option go_package = "github.com/skip-mev/pob/x/builder/types"; +option go_package = "github.com/skip-mev/block-sdk/x/builder/types"; // GenesisState defines the genesis state of the x/builder module. message GenesisState { Params params = 1 [ (gogoproto.nullable) = false ]; } // Params defines the parameters of the x/builder module. message Params { - option (amino.name) = "cosmos-sdk/x/builder/Params"; + option (amino.name) = "block-sdk/x/builder/Params"; // max_bundle_size is the maximum number of transactions that can be bundled // in a single bundle. @@ -39,9 +39,9 @@ message Params { // proposer_fee defines the portion of the winning bid that goes to the block // proposer that proposed the block. string proposer_fee = 6 [ - (cosmos_proto.scalar) = "cosmos.Dec", + (cosmos_proto.scalar) = "cosmos.Dec", (gogoproto.customtype) = "cosmossdk.io/math.LegacyDec", - (gogoproto.nullable) = false, + (gogoproto.nullable) = false, (amino.dont_omitempty) = true ]; } diff --git a/proto/pob/builder/v1/query.proto b/proto/sdk/builder/v1/query.proto similarity index 77% rename from proto/pob/builder/v1/query.proto rename to proto/sdk/builder/v1/query.proto index 082335b..5efb165 100644 --- a/proto/pob/builder/v1/query.proto +++ b/proto/sdk/builder/v1/query.proto @@ -1,19 +1,19 @@ syntax = "proto3"; -package pob.builder.v1; +package sdk.builder.v1; import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; import "cosmos/query/v1/query.proto"; -import "pob/builder/v1/genesis.proto"; +import "sdk/builder/v1/genesis.proto"; -option go_package = "github.com/skip-mev/pob/x/builder/types"; +option go_package = "github.com/skip-mev/block-sdk/x/builder/types"; // Query defines the x/builder querier service. service Query { // Params queries the parameters of the x/builder module. rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { option (cosmos.query.v1.module_query_safe) = true; - option (google.api.http).get = "/pob/builder/v1/params"; + option (google.api.http).get = "/block-sdk/builder/v1/params"; } } diff --git a/proto/pob/builder/v1/tx.proto b/proto/sdk/builder/v1/tx.proto similarity index 86% rename from proto/pob/builder/v1/tx.proto rename to proto/sdk/builder/v1/tx.proto index 47d7b0f..5a9af55 100644 --- a/proto/pob/builder/v1/tx.proto +++ b/proto/sdk/builder/v1/tx.proto @@ -1,15 +1,15 @@ syntax = "proto3"; -package pob.builder.v1; +package sdk.builder.v1; import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; import "cosmos/base/v1beta1/coin.proto"; -import "pob/builder/v1/genesis.proto"; +import "sdk/builder/v1/genesis.proto"; import "cosmos_proto/cosmos.proto"; import "cosmos/msg/v1/msg.proto"; import "amino/amino.proto"; -option go_package = "github.com/skip-mev/pob/x/builder/types"; +option go_package = "github.com/skip-mev/block-sdk/x/builder/types"; // Msg defines the x/builder Msg service. service Msg { @@ -17,7 +17,7 @@ service Msg { // AuctionBid defines a method for sending bids to the x/builder module. rpc AuctionBid(MsgAuctionBid) returns (MsgAuctionBidResponse) { - option (google.api.http).post = "/pob/builder/v1/bid"; + option (google.api.http).post = "/block-sdk/builder/v1/bid"; }; // UpdateParams defines a governance operation for updating the x/builder @@ -29,7 +29,7 @@ service Msg { // module. message MsgAuctionBid { option (cosmos.msg.v1.signer) = "bidder"; - option (amino.name) = "pob/x/builder/MsgAuctionBid"; + option (amino.name) = "block-sdk/x/builder/MsgAuctionBid"; option (gogoproto.equal) = false; @@ -52,7 +52,7 @@ message MsgAuctionBidResponse {} // parameters. message MsgUpdateParams { option (cosmos.msg.v1.signer) = "authority"; - option (amino.name) = "pob/x/builder/MsgUpdateParams"; + option (amino.name) = "block-sdk/x/builder/MsgUpdateParams"; option (gogoproto.equal) = false; diff --git a/scripts/protocgen.sh b/scripts/protocgen.sh index b01f87a..3be38d8 100755 --- a/scripts/protocgen.sh +++ b/scripts/protocgen.sh @@ -1,17 +1,16 @@ #!/usr/bin/env bash -# How to run manually: -# docker build --pull --rm -f "contrib/devtools/Dockerfile" -t cosmossdk-proto:latest "contrib/devtools" -# docker run --rm -v $(pwd):/workspace --workdir /workspace cosmossdk-proto sh ./scripts/protocgen.sh - set -e echo "Generating Protocol Buffer code..." cd proto -proto_dirs=$(find ./pob -path -prune -o -name '*.proto' -print0 | xargs -0 -n1 dirname | sort | uniq) +proto_dirs=$(find ./sdk -path -prune -o -name '*.proto' -print0 | xargs -0 -n1 dirname | sort | uniq) for dir in $proto_dirs; do for file in $(find "${dir}" -maxdepth 1 -name '*.proto'); do - if grep go_package $file &> /dev/null ; then + # this regex checks if a proto file has its go_package set to cosmossdk.io/api/... + # gogo proto files SHOULD ONLY be generated if this is false + # we don't want gogo proto to run for proto files which are natively built for google.golang.org/protobuf + if grep -q "option go_package" "$file" && grep -H -o -c 'option go_package.*cosmossdk.io/api' "$file" | grep -q ':0$'; then buf generate --template buf.gen.gogo.yaml $file fi done @@ -20,7 +19,7 @@ done cd .. # move proto files to the right places -cp -r github.com/skip-mev/pob/* ./ +cp -r github.com/skip-mev/block-sdk/* ./ rm -rf github.com # go mod tidy --compat=1.20 diff --git a/tests/app/ante.go b/tests/app/ante.go index 53d0e5c..30ce56e 100644 --- a/tests/app/ante.go +++ b/tests/app/ante.go @@ -3,10 +3,10 @@ package app import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/auth/ante" - "github.com/skip-mev/pob/block" - "github.com/skip-mev/pob/block/utils" - builderante "github.com/skip-mev/pob/x/builder/ante" - builderkeeper "github.com/skip-mev/pob/x/builder/keeper" + "github.com/skip-mev/block-sdk/block" + "github.com/skip-mev/block-sdk/block/utils" + builderante "github.com/skip-mev/block-sdk/x/builder/ante" + builderkeeper "github.com/skip-mev/block-sdk/x/builder/keeper" ) type POBHandlerOptions struct { diff --git a/tests/app/app.go b/tests/app/app.go index 8185791..ec19be6 100644 --- a/tests/app/app.go +++ b/tests/app/app.go @@ -61,14 +61,14 @@ import ( "github.com/cosmos/cosmos-sdk/x/staking" stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" - "github.com/skip-mev/pob/abci" - "github.com/skip-mev/pob/block" - "github.com/skip-mev/pob/block/base" - defaultlane "github.com/skip-mev/pob/lanes/base" - "github.com/skip-mev/pob/lanes/free" - "github.com/skip-mev/pob/lanes/mev" - buildermodule "github.com/skip-mev/pob/x/builder" - builderkeeper "github.com/skip-mev/pob/x/builder/keeper" + "github.com/skip-mev/block-sdk/abci" + "github.com/skip-mev/block-sdk/block" + "github.com/skip-mev/block-sdk/block/base" + defaultlane "github.com/skip-mev/block-sdk/lanes/base" + "github.com/skip-mev/block-sdk/lanes/free" + "github.com/skip-mev/block-sdk/lanes/mev" + buildermodule "github.com/skip-mev/block-sdk/x/builder" + builderkeeper "github.com/skip-mev/block-sdk/x/builder/keeper" ) const ( diff --git a/tests/app/config.go b/tests/app/config.go index 8d181fa..9c8905a 100644 --- a/tests/app/config.go +++ b/tests/app/config.go @@ -43,7 +43,7 @@ import ( _ "github.com/cosmos/cosmos-sdk/x/params" // import for side-effects _ "github.com/cosmos/cosmos-sdk/x/slashing" // import for side-effects _ "github.com/cosmos/cosmos-sdk/x/staking" // import for side-effects - _ "github.com/skip-mev/pob/x/builder" // import for side-effects + _ "github.com/skip-mev/block-sdk/x/builder" // import for side-effects "cosmossdk.io/core/appconfig" circuittypes "cosmossdk.io/x/circuit/types" @@ -68,8 +68,8 @@ import ( paramstypes "github.com/cosmos/cosmos-sdk/x/params/types" slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - buildermodulev1 "github.com/skip-mev/pob/api/pob/builder/module/v1" - buildertypes "github.com/skip-mev/pob/x/builder/types" + buildermodulev1 "github.com/skip-mev/block-sdk/api/sdk/builder/module/v1" + buildertypes "github.com/skip-mev/block-sdk/x/builder/types" ) var ( diff --git a/tests/app/testappd/cmd/root.go b/tests/app/testappd/cmd/root.go index 5c6de93..41f0645 100644 --- a/tests/app/testappd/cmd/root.go +++ b/tests/app/testappd/cmd/root.go @@ -14,7 +14,7 @@ import ( "cosmossdk.io/depinject" "cosmossdk.io/log" confixcmd "cosmossdk.io/tools/confix/cmd" - "github.com/skip-mev/pob/tests/app" + "github.com/skip-mev/block-sdk/tests/app" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/config" @@ -74,7 +74,7 @@ func NewRootCmd() *cobra.Command { rootCmd := &cobra.Command{ Use: "testappd", - Short: "POB's simulation app", + Short: "Block SDK's simulation app", PersistentPreRunE: func(cmd *cobra.Command, _ []string) error { // set the default command outputs cmd.SetOut(cmd.OutOrStdout()) diff --git a/tests/app/testappd/cmd/testnet.go b/tests/app/testappd/cmd/testnet.go index 2ca9f82..5e399af 100644 --- a/tests/app/testappd/cmd/testnet.go +++ b/tests/app/testappd/cmd/testnet.go @@ -15,7 +15,7 @@ import ( "cosmossdk.io/math" "cosmossdk.io/math/unsafe" - "github.com/skip-mev/pob/tests/app" + "github.com/skip-mev/block-sdk/tests/app" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" diff --git a/tests/app/testappd/main.go b/tests/app/testappd/main.go index c644f01..e4327d1 100644 --- a/tests/app/testappd/main.go +++ b/tests/app/testappd/main.go @@ -5,8 +5,8 @@ import ( "cosmossdk.io/log" svrcmd "github.com/cosmos/cosmos-sdk/server/cmd" - "github.com/skip-mev/pob/tests/app" - cmd "github.com/skip-mev/pob/tests/app/testappd/cmd" + "github.com/skip-mev/block-sdk/tests/app" + cmd "github.com/skip-mev/block-sdk/tests/app/testappd/cmd" ) func main() { diff --git a/tests/integration/chain_setup.go b/tests/integration/chain_setup.go index ba753a9..246587c 100644 --- a/tests/integration/chain_setup.go +++ b/tests/integration/chain_setup.go @@ -8,6 +8,7 @@ import ( "testing" "time" + "cosmossdk.io/math" rpctypes "github.com/cometbft/cometbft/rpc/core/types" comettypes "github.com/cometbft/cometbft/types" "github.com/cosmos/cosmos-sdk/client/tx" @@ -15,7 +16,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - buildertypes "github.com/skip-mev/pob/x/builder/types" + buildertypes "github.com/skip-mev/block-sdk/x/builder/types" interchaintest "github.com/strangelove-ventures/interchaintest/v7" "github.com/strangelove-ventures/interchaintest/v7/chain/cosmos" "github.com/strangelove-ventures/interchaintest/v7/ibc" @@ -47,8 +48,8 @@ func ChainBuilderFromChainSpec(t *testing.T, spec *interchaintest.ChainSpec) ibc return chain } -// BuildPOBInterchain creates a new Interchain testing env with the configured POB CosmosChain -func BuildPOBInterchain(t *testing.T, ctx context.Context, chain ibc.Chain) *interchaintest.Interchain { +// BuildInterchain creates a new Interchain testing env with the configured Block SDK CosmosChain +func BuildInterchain(t *testing.T, ctx context.Context, chain ibc.Chain) *interchaintest.Interchain { ic := interchaintest.NewInterchain() ic.AddChain(chain) @@ -97,7 +98,7 @@ func CreateTx(t *testing.T, ctx context.Context, chain *cosmos.CosmosChain, user // update sequence number txf = txf.WithSequence(txf.Sequence() + seqIncrement) - txf = txf.WithGasPrices(sdk.NewDecCoins(sdk.NewDecCoin(chain.Config().Denom, sdk.NewInt(GasPrice))).String()) + txf = txf.WithGasPrices(sdk.NewDecCoins(sdk.NewDecCoin(chain.Config().Denom, math.NewInt(GasPrice))).String()) // sign the tx txBuilder, err := txf.BuildUnsignedTx(msgs...) diff --git a/tests/integration/go.mod b/tests/integration/go.mod index b6f9227..6a4c01a 100644 --- a/tests/integration/go.mod +++ b/tests/integration/go.mod @@ -1,4 +1,4 @@ -module github.com/skip-mev/pob/tests/integration +module github.com/skip-mev/block-sdk/tests/integration go 1.20 @@ -11,7 +11,7 @@ replace ( github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1 github.com/vedhavyas/go-subkey => github.com/strangelove-ventures/go-subkey v1.0.7 - + github.com/skip-mev/block-sdk => ../../ ) require ( @@ -23,7 +23,7 @@ require ( cosmossdk.io/math v1.0.1 // indirect cosmossdk.io/tools/rosetta v0.2.1 // indirect github.com/cosmos/cosmos-sdk v0.47.4 - github.com/skip-mev/pob v1.0.3 // reference local + github.com/skip-mev/block-sdk v1.0.0 // reference local github.com/strangelove-ventures/interchaintest/v7 v7.0.0-20230721183422-fb937bb0e165 github.com/stretchr/testify v1.8.4 go.uber.org/zap v1.24.0 diff --git a/tests/integration/pob_integration_test.go b/tests/integration/pob_integration_test.go index e5b775d..3973d9e 100644 --- a/tests/integration/pob_integration_test.go +++ b/tests/integration/pob_integration_test.go @@ -5,8 +5,8 @@ import ( "testing" testutil "github.com/cosmos/cosmos-sdk/types/module/testutil" - "github.com/skip-mev/pob/tests/integration" - buildertypes "github.com/skip-mev/pob/x/builder/types" + "github.com/skip-mev/block-sdk/tests/integration" + buildertypes "github.com/skip-mev/block-sdk/x/builder/types" "github.com/strangelove-ventures/interchaintest/v7" "github.com/strangelove-ventures/interchaintest/v7/chain/cosmos" "github.com/strangelove-ventures/interchaintest/v7/ibc" @@ -20,7 +20,7 @@ var ( denom = "stake" image = ibc.DockerImage{ - Repository: "pob-integration", + Repository: "block-sdk-integration", Version: "latest", UidGid: "1000:1000", } @@ -37,8 +37,8 @@ var ( // interchain specification spec = &interchaintest.ChainSpec{ - ChainName: "pob", - Name: "pob", + ChainName: "block-sdk", + Name: "block-sdk", NumValidators: &numValidators, NumFullNodes: &numFullNodes, Version: "latest", @@ -50,7 +50,7 @@ var ( image, }, Type: "cosmos", - Name: "pob", + Name: "block-sdk", Denom: denom, ChainID: "chain-id-0", Bin: "testappd", @@ -76,5 +76,5 @@ func MakeEncodingConfig() *testutil.TestEncodingConfig { } func TestIntegrationTestSuite(t *testing.T) { - suite.Run(t, integration.NewPOBIntegrationTestSuiteFromSpec(spec)) + suite.Run(t, integration.NewIntegrationTestSuiteFromSpec(spec)) } diff --git a/tests/integration/pob_suite.go b/tests/integration/pob_suite.go index dde0672..1a926e0 100644 --- a/tests/integration/pob_suite.go +++ b/tests/integration/pob_suite.go @@ -18,8 +18,8 @@ const ( initBalance = 1000000000000 ) -// POBIntegrationTestSuite runs the POB integration test-suite against a given interchaintest specification -type POBIntegrationTestSuite struct { +// IntegrationTestSuite runs the Block SDK integration test-suite against a given interchaintest specification +type IntegrationTestSuite struct { suite.Suite // spec spec *interchaintest.ChainSpec @@ -33,19 +33,19 @@ type POBIntegrationTestSuite struct { denom string } -func NewPOBIntegrationTestSuiteFromSpec(spec *interchaintest.ChainSpec) *POBIntegrationTestSuite { - return &POBIntegrationTestSuite{ +func NewIntegrationTestSuiteFromSpec(spec *interchaintest.ChainSpec) *IntegrationTestSuite { + return &IntegrationTestSuite{ spec: spec, denom: "stake", } } -func (s *POBIntegrationTestSuite) WithDenom(denom string) *POBIntegrationTestSuite { +func (s *IntegrationTestSuite) WithDenom(denom string) *IntegrationTestSuite { s.denom = denom return s } -func (s *POBIntegrationTestSuite) SetupSuite() { +func (s *IntegrationTestSuite) SetupSuite() { // build the chain s.T().Log("building chain with spec", s.spec) s.chain = ChainBuilderFromChainSpec(s.T(), s.spec) @@ -53,7 +53,7 @@ func (s *POBIntegrationTestSuite) SetupSuite() { // build the interchain s.T().Log("building interchain") ctx := context.Background() - s.ic = BuildPOBInterchain(s.T(), ctx, s.chain) + s.ic = BuildInterchain(s.T(), ctx, s.chain) // get the users s.user1 = interchaintest.GetAndFundTestUsers(s.T(), ctx, s.T().Name(), initBalance, s.chain)[0] @@ -61,12 +61,12 @@ func (s *POBIntegrationTestSuite) SetupSuite() { s.user3 = interchaintest.GetAndFundTestUsers(s.T(), ctx, s.T().Name(), initBalance, s.chain)[0] } -func (s *POBIntegrationTestSuite) TearDownSuite() { +func (s *IntegrationTestSuite) TearDownSuite() { // close the interchain s.ic.Close() } -func (s *POBIntegrationTestSuite) SetupSubTest() { +func (s *IntegrationTestSuite) SetupSubTest() { // wait for 1 block height // query height height, err := s.chain.(*cosmos.CosmosChain).Height(context.Background()) @@ -74,7 +74,7 @@ func (s *POBIntegrationTestSuite) SetupSubTest() { WaitForHeight(s.T(), s.chain.(*cosmos.CosmosChain), height+1) } -func (s *POBIntegrationTestSuite) TestQueryParams() { +func (s *IntegrationTestSuite) TestQueryParams() { // query params params := QueryBuilderParams(s.T(), s.chain) @@ -89,7 +89,7 @@ func (s *POBIntegrationTestSuite) TestQueryParams() { // 2. All transactions execute as expected. // 3. The balance of the escrow account should be updated correctly. // 4. Top of block bids will be included in block proposals before other transactions -func (s *POBIntegrationTestSuite) TestValidBids() { +func (s *IntegrationTestSuite) TestValidBids() { params := QueryBuilderParams(s.T(), s.chain) escrowAddr := sdk.AccAddress(params.EscrowAccountAddress).String() @@ -321,7 +321,7 @@ func (s *POBIntegrationTestSuite) TestValidBids() { // that are included in the same block. // 5. If there is a block that has multiple valid bids with timeouts that are sufficiently far apart, // the bids should be executed respecting the highest bids until the timeout is reached. -func (s *POBIntegrationTestSuite) TestMultipleBids() { +func (s *IntegrationTestSuite) TestMultipleBids() { params := QueryBuilderParams(s.T(), s.chain) escrowAddr := sdk.AccAddress(params.EscrowAccountAddress).String() @@ -663,7 +663,7 @@ func (s *POBIntegrationTestSuite) TestMultipleBids() { }) } -func (s *POBIntegrationTestSuite) TestInvalidBids() { +func (s *IntegrationTestSuite) TestInvalidBids() { params := QueryBuilderParams(s.T(), s.chain) escrowAddr := sdk.AccAddress(params.EscrowAccountAddress).String() @@ -889,7 +889,7 @@ func escrowAddressIncrement(bid math.Int, proposerFee sdk.Dec) int64 { // // 1. Transactions that qualify as free should not be deducted any fees. // 2. Transactions that do not qualify as free should be deducted the correct fees. -func (s *POBIntegrationTestSuite) TestFreeLane() { +func (s *IntegrationTestSuite) TestFreeLane() { validators := QueryValidators(s.T(), s.chain.(*cosmos.CosmosChain)) require.True(s.T(), len(validators) > 0) @@ -995,7 +995,7 @@ func (s *POBIntegrationTestSuite) TestFreeLane() { }) } -func (s *POBIntegrationTestSuite) TestLanes() { +func (s *IntegrationTestSuite) TestLanes() { validators := QueryValidators(s.T(), s.chain.(*cosmos.CosmosChain)) require.True(s.T(), len(validators) > 0) diff --git a/testutils/utils.go b/testutils/utils.go index 9dd0c5b..a99beae 100644 --- a/testutils/utils.go +++ b/testutils/utils.go @@ -19,7 +19,7 @@ import ( banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/cosmos/gogoproto/proto" - buildertypes "github.com/skip-mev/pob/x/builder/types" + buildertypes "github.com/skip-mev/block-sdk/x/builder/types" ) type EncodingConfig struct { diff --git a/x/builder/ante/ante.go b/x/builder/ante/ante.go index ae62909..5f6f5f6 100644 --- a/x/builder/ante/ante.go +++ b/x/builder/ante/ante.go @@ -7,8 +7,8 @@ import ( "cosmossdk.io/errors" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/skip-mev/pob/x/builder/keeper" - "github.com/skip-mev/pob/x/builder/types" + "github.com/skip-mev/block-sdk/x/builder/keeper" + "github.com/skip-mev/block-sdk/x/builder/types" ) var _ sdk.AnteDecorator = BuilderDecorator{} @@ -105,9 +105,6 @@ func (bd BuilderDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, // ValidateTimeout validates that the timeout is greater than or equal to the expected block height // the bid transaction will be executed in. -// -// TODO: This will be deprecated in favor of the pre-commit hook once this available on the SDK -// https://github.com/skip-mev/pob/issues/147 func (bd BuilderDecorator) ValidateTimeout(ctx sdk.Context, timeout int64) error { currentBlockHeight := ctx.BlockHeight() diff --git a/x/builder/ante/ante_test.go b/x/builder/ante/ante_test.go index 6c25a43..21b8359 100644 --- a/x/builder/ante/ante_test.go +++ b/x/builder/ante/ante_test.go @@ -11,14 +11,14 @@ import ( "github.com/cosmos/cosmos-sdk/testutil" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/golang/mock/gomock" - "github.com/skip-mev/pob/block" - "github.com/skip-mev/pob/block/base" - defaultlane "github.com/skip-mev/pob/lanes/base" - "github.com/skip-mev/pob/lanes/mev" - testutils "github.com/skip-mev/pob/testutils" - "github.com/skip-mev/pob/x/builder/ante" - "github.com/skip-mev/pob/x/builder/keeper" - buildertypes "github.com/skip-mev/pob/x/builder/types" + "github.com/skip-mev/block-sdk/block" + "github.com/skip-mev/block-sdk/block/base" + defaultlane "github.com/skip-mev/block-sdk/lanes/base" + "github.com/skip-mev/block-sdk/lanes/mev" + testutils "github.com/skip-mev/block-sdk/testutils" + "github.com/skip-mev/block-sdk/x/builder/ante" + "github.com/skip-mev/block-sdk/x/builder/keeper" + buildertypes "github.com/skip-mev/block-sdk/x/builder/types" "github.com/stretchr/testify/suite" ) diff --git a/x/builder/client/cli/query.go b/x/builder/client/cli/query.go index dea9519..b69c5a4 100644 --- a/x/builder/client/cli/query.go +++ b/x/builder/client/cli/query.go @@ -6,7 +6,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/client/flags" - "github.com/skip-mev/pob/x/builder/types" + "github.com/skip-mev/block-sdk/x/builder/types" "github.com/spf13/cobra" ) diff --git a/x/builder/client/cli/tx.go b/x/builder/client/cli/tx.go index 73ce0b8..e1ab60a 100644 --- a/x/builder/client/cli/tx.go +++ b/x/builder/client/cli/tx.go @@ -10,7 +10,7 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/tx" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/skip-mev/pob/x/builder/types" + "github.com/skip-mev/block-sdk/x/builder/types" "github.com/spf13/cobra" ) diff --git a/x/builder/keeper/auction.go b/x/builder/keeper/auction.go index f2a37cb..21d7933 100644 --- a/x/builder/keeper/auction.go +++ b/x/builder/keeper/auction.go @@ -4,7 +4,7 @@ import ( "fmt" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/skip-mev/pob/x/builder/types" + "github.com/skip-mev/block-sdk/x/builder/types" ) // ValidateBidInfo validates that the bid can be included in the auction. diff --git a/x/builder/keeper/auction_test.go b/x/builder/keeper/auction_test.go index 7779f85..69109f5 100644 --- a/x/builder/keeper/auction_test.go +++ b/x/builder/keeper/auction_test.go @@ -6,9 +6,9 @@ import ( "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - testutils "github.com/skip-mev/pob/testutils" - "github.com/skip-mev/pob/x/builder/keeper" - "github.com/skip-mev/pob/x/builder/types" + testutils "github.com/skip-mev/block-sdk/testutils" + "github.com/skip-mev/block-sdk/x/builder/keeper" + "github.com/skip-mev/block-sdk/x/builder/types" ) func (suite *KeeperTestSuite) TestValidateBidInfo() { @@ -218,8 +218,6 @@ func (suite *KeeperTestSuite) TestValidateBidInfo() { } func (suite *KeeperTestSuite) TestValidateBundle() { - // TODO: Update this to be multi-dimensional to test multi-sig - // https://github.com/skip-mev/pob/issues/14 var accounts []testutils.Account // tracks the order of signers in the bundle rng := rand.New(rand.NewSource(time.Now().Unix())) diff --git a/x/builder/keeper/genesis.go b/x/builder/keeper/genesis.go index 40a38b3..9969cb5 100644 --- a/x/builder/keeper/genesis.go +++ b/x/builder/keeper/genesis.go @@ -2,7 +2,7 @@ package keeper import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/skip-mev/pob/x/builder/types" + "github.com/skip-mev/block-sdk/x/builder/types" ) // InitGenesis initializes the builder module's state from a given genesis state. diff --git a/x/builder/keeper/grpc_query.go b/x/builder/keeper/grpc_query.go index 272ff74..6ce60ff 100644 --- a/x/builder/keeper/grpc_query.go +++ b/x/builder/keeper/grpc_query.go @@ -4,7 +4,7 @@ import ( "context" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/skip-mev/pob/x/builder/types" + "github.com/skip-mev/block-sdk/x/builder/types" ) var _ types.QueryServer = QueryServer{} diff --git a/x/builder/keeper/keeper.go b/x/builder/keeper/keeper.go index f175f72..d55af4f 100644 --- a/x/builder/keeper/keeper.go +++ b/x/builder/keeper/keeper.go @@ -9,8 +9,8 @@ import ( storetypes "cosmossdk.io/store/types" "github.com/cosmos/cosmos-sdk/codec" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/skip-mev/pob/x/builder/rewards" - "github.com/skip-mev/pob/x/builder/types" + "github.com/skip-mev/block-sdk/x/builder/rewards" + "github.com/skip-mev/block-sdk/x/builder/types" ) type Keeper struct { diff --git a/x/builder/keeper/keeper_test.go b/x/builder/keeper/keeper_test.go index bd09d89..8bcce66 100644 --- a/x/builder/keeper/keeper_test.go +++ b/x/builder/keeper/keeper_test.go @@ -7,9 +7,9 @@ import ( "github.com/cosmos/cosmos-sdk/testutil" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/golang/mock/gomock" - testutils "github.com/skip-mev/pob/testutils" - "github.com/skip-mev/pob/x/builder/keeper" - "github.com/skip-mev/pob/x/builder/types" + testutils "github.com/skip-mev/block-sdk/testutils" + "github.com/skip-mev/block-sdk/x/builder/keeper" + "github.com/skip-mev/block-sdk/x/builder/types" "github.com/stretchr/testify/suite" ) diff --git a/x/builder/keeper/msg_server.go b/x/builder/keeper/msg_server.go index 742e61e..81c9fff 100644 --- a/x/builder/keeper/msg_server.go +++ b/x/builder/keeper/msg_server.go @@ -8,7 +8,7 @@ import ( "strings" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/skip-mev/pob/x/builder/types" + "github.com/skip-mev/block-sdk/x/builder/types" ) var _ types.MsgServer = MsgServer{} diff --git a/x/builder/keeper/msg_server_test.go b/x/builder/keeper/msg_server_test.go index 6b2a0ac..cbc6d63 100644 --- a/x/builder/keeper/msg_server_test.go +++ b/x/builder/keeper/msg_server_test.go @@ -7,8 +7,8 @@ import ( "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - testutils "github.com/skip-mev/pob/testutils" - "github.com/skip-mev/pob/x/builder/types" + testutils "github.com/skip-mev/block-sdk/testutils" + "github.com/skip-mev/block-sdk/x/builder/types" ) func (suite *KeeperTestSuite) TestMsgAuctionBid() { diff --git a/x/builder/module.go b/x/builder/module.go index 4308e8f..175a79b 100644 --- a/x/builder/module.go +++ b/x/builder/module.go @@ -18,10 +18,10 @@ import ( govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "github.com/gorilla/mux" "github.com/grpc-ecosystem/grpc-gateway/runtime" - modulev1 "github.com/skip-mev/pob/api/pob/builder/module/v1" - "github.com/skip-mev/pob/x/builder/client/cli" - "github.com/skip-mev/pob/x/builder/keeper" - "github.com/skip-mev/pob/x/builder/types" + modulev1 "github.com/skip-mev/block-sdk/api/sdk/builder/module/v1" + "github.com/skip-mev/block-sdk/x/builder/client/cli" + "github.com/skip-mev/block-sdk/x/builder/keeper" + "github.com/skip-mev/block-sdk/x/builder/types" "github.com/spf13/cobra" ) diff --git a/x/builder/rewards/fixed_provider.go b/x/builder/rewards/fixed_provider.go index 45fc5eb..af5e09a 100644 --- a/x/builder/rewards/fixed_provider.go +++ b/x/builder/rewards/fixed_provider.go @@ -4,7 +4,7 @@ import ( "fmt" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/skip-mev/pob/x/builder/types" + "github.com/skip-mev/block-sdk/x/builder/types" ) var _ types.RewardsAddressProvider = (*FixedAddressRewardsAddressProvider)(nil) diff --git a/x/builder/rewards/proposer_provider.go b/x/builder/rewards/proposer_provider.go index a1094b5..dc32632 100644 --- a/x/builder/rewards/proposer_provider.go +++ b/x/builder/rewards/proposer_provider.go @@ -3,7 +3,7 @@ package rewards import ( sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/skip-mev/pob/x/builder/types" + "github.com/skip-mev/block-sdk/x/builder/types" ) var _ types.RewardsAddressProvider = (*ProposerRewardsAddressProvider)(nil) diff --git a/x/builder/types/codec.go b/x/builder/types/codec.go index 892d089..f18de99 100644 --- a/x/builder/types/codec.go +++ b/x/builder/types/codec.go @@ -24,10 +24,10 @@ func init() { // concrete types on the provided LegacyAmino codec. These types are used for // Amino JSON serialization. func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { - legacy.RegisterAminoMsg(cdc, &MsgAuctionBid{}, "pob/x/builder/MsgAuctionBid") - legacy.RegisterAminoMsg(cdc, &MsgUpdateParams{}, "pob/x/builder/MsgUpdateParams") + legacy.RegisterAminoMsg(cdc, &MsgAuctionBid{}, "block-sdk/x/builder/MsgAuctionBid") + legacy.RegisterAminoMsg(cdc, &MsgUpdateParams{}, "block-sdk/x/builder/MsgUpdateParams") - cdc.RegisterConcrete(Params{}, "pob/builder/Params", nil) + cdc.RegisterConcrete(Params{}, "block-sdk/x/builder/Params", nil) } // RegisterInterfaces registers the x/builder interfaces types with the diff --git a/x/builder/types/genesis.pb.go b/x/builder/types/genesis.pb.go index 44a0774..dba1e32 100644 --- a/x/builder/types/genesis.pb.go +++ b/x/builder/types/genesis.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pob/builder/v1/genesis.proto +// source: sdk/builder/v1/genesis.proto package types @@ -36,7 +36,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_287f1bdff5ccfc33, []int{0} + return fileDescriptor_bec962a3edf90ddb, []int{0} } func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -97,7 +97,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_287f1bdff5ccfc33, []int{1} + return fileDescriptor_bec962a3edf90ddb, []int{1} } func (m *Params) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -162,45 +162,45 @@ func (m *Params) GetFrontRunningProtection() bool { } func init() { - proto.RegisterType((*GenesisState)(nil), "pob.builder.v1.GenesisState") - proto.RegisterType((*Params)(nil), "pob.builder.v1.Params") + proto.RegisterType((*GenesisState)(nil), "sdk.builder.v1.GenesisState") + proto.RegisterType((*Params)(nil), "sdk.builder.v1.Params") } -func init() { proto.RegisterFile("pob/builder/v1/genesis.proto", fileDescriptor_287f1bdff5ccfc33) } +func init() { proto.RegisterFile("sdk/builder/v1/genesis.proto", fileDescriptor_bec962a3edf90ddb) } -var fileDescriptor_287f1bdff5ccfc33 = []byte{ +var fileDescriptor_bec962a3edf90ddb = []byte{ // 499 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0xc1, 0x6e, 0xd3, 0x40, - 0x10, 0x86, 0x63, 0x5a, 0x22, 0xba, 0x49, 0xa9, 0x6a, 0x55, 0x91, 0x5b, 0x90, 0x1b, 0xf5, 0x00, - 0x51, 0xa5, 0xec, 0x2a, 0x80, 0x10, 0xe2, 0x96, 0x10, 0x8a, 0x90, 0x38, 0x44, 0xee, 0x09, 0x2e, - 0xd6, 0x7a, 0x3d, 0x75, 0x57, 0xe9, 0xee, 0x5a, 0xbb, 0x1b, 0x93, 0xf6, 0x11, 0x38, 0xf1, 0x18, - 0x1c, 0x7b, 0x40, 0x3c, 0x43, 0x8f, 0x15, 0x27, 0xc4, 0xa1, 0x42, 0xc9, 0xa1, 0xaf, 0x81, 0xec, - 0x75, 0x8b, 0x38, 0xf6, 0x62, 0xd9, 0xf3, 0xcd, 0xfc, 0xf3, 0xcf, 0x78, 0xd0, 0xe3, 0x5c, 0x25, - 0x24, 0x99, 0xf1, 0x93, 0x14, 0x34, 0x29, 0x06, 0x24, 0x03, 0x09, 0x86, 0x1b, 0x9c, 0x6b, 0x65, - 0x95, 0xff, 0x30, 0x57, 0x09, 0xae, 0x29, 0x2e, 0x06, 0x3b, 0x5b, 0x99, 0xca, 0x54, 0x85, 0x48, - 0xf9, 0xe6, 0xb2, 0x76, 0x42, 0xa6, 0x8c, 0x50, 0x86, 0x24, 0xd4, 0x00, 0x29, 0x06, 0x09, 0x58, - 0x3a, 0x20, 0x4c, 0x71, 0x59, 0xf3, 0x4d, 0x2a, 0xb8, 0x54, 0xa4, 0x7a, 0xd6, 0xa1, 0x6d, 0x57, - 0x12, 0x3b, 0x2d, 0xf7, 0xe1, 0xd0, 0xde, 0x18, 0xb5, 0xdf, 0x39, 0x13, 0x87, 0x96, 0x5a, 0xf0, - 0x5f, 0xa0, 0x66, 0x4e, 0x35, 0x15, 0x26, 0xf0, 0xba, 0x5e, 0xaf, 0xf5, 0xac, 0x83, 0xff, 0x37, - 0x85, 0x27, 0x15, 0x1d, 0xad, 0x5e, 0x5c, 0xed, 0x36, 0xa2, 0x3a, 0x77, 0xef, 0xc7, 0x0a, 0x6a, - 0x3a, 0xe0, 0x3f, 0x41, 0x1b, 0x82, 0xce, 0xe3, 0x64, 0x26, 0xd3, 0x13, 0x88, 0x0d, 0x3f, 0x83, - 0x4a, 0x69, 0x3d, 0x5a, 0x17, 0x74, 0x3e, 0xaa, 0xa2, 0x87, 0xfc, 0xac, 0x6c, 0xd4, 0x01, 0xc3, - 0xb4, 0xfa, 0x1c, 0x53, 0xc6, 0xd4, 0x4c, 0xda, 0x98, 0xa6, 0xa9, 0x06, 0x63, 0x82, 0x7b, 0x5d, - 0xaf, 0xd7, 0x8e, 0xb6, 0x1c, 0x1d, 0x3a, 0x38, 0x74, 0xcc, 0x7f, 0x8b, 0x5a, 0x1a, 0x0c, 0xe8, - 0x02, 0xe2, 0x23, 0x80, 0x60, 0xa5, 0xf2, 0xb8, 0x8d, 0xeb, 0x91, 0xca, 0x95, 0xe0, 0x7a, 0x25, - 0xf8, 0x8d, 0xe2, 0x72, 0xb4, 0x56, 0xda, 0xfc, 0x76, 0x7d, 0xbe, 0xef, 0x45, 0xa8, 0x2e, 0x3c, - 0x00, 0xf0, 0x27, 0x68, 0x53, 0x70, 0x19, 0x27, 0x3c, 0x8d, 0xb9, 0x64, 0x1a, 0x04, 0x48, 0x1b, - 0xac, 0xde, 0x41, 0x6c, 0x43, 0x70, 0x39, 0xe2, 0xe9, 0xfb, 0x9b, 0x62, 0xff, 0x15, 0x0a, 0x8e, - 0xb4, 0x92, 0x36, 0xd6, 0x33, 0x29, 0xb9, 0xcc, 0xaa, 0x5d, 0x03, 0xb3, 0x5c, 0xc9, 0xe0, 0x7e, - 0xd7, 0xeb, 0x3d, 0x88, 0x3a, 0x15, 0x8f, 0x1c, 0x9e, 0xdc, 0x52, 0xff, 0x23, 0x6a, 0xe7, 0x5a, - 0xe5, 0xca, 0x80, 0xae, 0x66, 0x6a, 0x76, 0xbd, 0xde, 0xda, 0xe8, 0x65, 0xd9, 0xeb, 0xf7, 0xd5, - 0xee, 0x23, 0xe7, 0xc6, 0xa4, 0x53, 0xcc, 0x15, 0x11, 0xd4, 0x1e, 0xe3, 0x0f, 0x90, 0x51, 0x76, - 0x3a, 0x06, 0xf6, 0xf3, 0x7b, 0x1f, 0xd5, 0x66, 0xc7, 0xc0, 0x9c, 0xb1, 0xd6, 0x8d, 0xd6, 0x01, - 0xc0, 0xeb, 0xee, 0x97, 0xeb, 0xf3, 0xfd, 0x5a, 0xa1, 0x6f, 0xd2, 0x29, 0x99, 0xdf, 0x1e, 0x5f, - 0xfd, 0x1b, 0x87, 0x17, 0x8b, 0xd0, 0xbb, 0x5c, 0x84, 0xde, 0x9f, 0x45, 0xe8, 0x7d, 0x5d, 0x86, - 0x8d, 0xcb, 0x65, 0xd8, 0xf8, 0xb5, 0x0c, 0x1b, 0x9f, 0x9e, 0x66, 0xdc, 0x1e, 0xcf, 0x12, 0xcc, - 0x94, 0x20, 0x66, 0xca, 0xf3, 0xbe, 0x80, 0x82, 0x94, 0xe7, 0xfb, 0x4f, 0xc3, 0x9e, 0xe6, 0x60, - 0x92, 0x66, 0x75, 0x48, 0xcf, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0x0b, 0xb6, 0x7e, 0x29, 0xdc, + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0x4f, 0x6b, 0x13, 0x41, + 0x18, 0xc6, 0xb3, 0xb6, 0x06, 0x3b, 0x49, 0x2d, 0x5d, 0x4a, 0xd8, 0x46, 0xd9, 0x84, 0x1e, 0x24, + 0x14, 0xb2, 0x43, 0x54, 0x44, 0xbc, 0x35, 0xc6, 0x16, 0xc1, 0x43, 0xd8, 0x9e, 0xf4, 0xb2, 0xcc, + 0xce, 0xbe, 0xdd, 0x0e, 0xc9, 0xcc, 0x2c, 0x33, 0x93, 0x98, 0xf6, 0x23, 0x78, 0xf2, 0x63, 0x78, + 0xec, 0x41, 0xbf, 0x43, 0x8f, 0xc5, 0x93, 0x78, 0x28, 0x92, 0x1c, 0xfa, 0x35, 0x64, 0x67, 0xb6, + 0x05, 0xc1, 0x4b, 0x2f, 0xcb, 0xce, 0xfc, 0xe6, 0x7d, 0xde, 0xe7, 0xfd, 0x83, 0x9e, 0xea, 0x6c, + 0x82, 0xd3, 0x19, 0x9b, 0x66, 0xa0, 0xf0, 0x7c, 0x80, 0x73, 0x10, 0xa0, 0x99, 0x8e, 0x0a, 0x25, + 0x8d, 0xf4, 0x1f, 0xeb, 0x6c, 0x12, 0x55, 0x34, 0x9a, 0x0f, 0xda, 0x3b, 0xb9, 0xcc, 0xa5, 0x45, + 0xb8, 0xfc, 0x73, 0xaf, 0xda, 0x21, 0x95, 0x9a, 0x4b, 0x8d, 0x53, 0xa2, 0x01, 0xcf, 0x07, 0x29, + 0x18, 0x32, 0xc0, 0x54, 0x32, 0x51, 0xf1, 0x6d, 0xc2, 0x99, 0x90, 0xd8, 0x7e, 0xab, 0xab, 0x5d, + 0x17, 0x92, 0x38, 0x2d, 0x77, 0x70, 0x68, 0x6f, 0x84, 0x9a, 0x47, 0xce, 0xc4, 0xb1, 0x21, 0x06, + 0xfc, 0x97, 0xa8, 0x5e, 0x10, 0x45, 0xb8, 0x0e, 0xbc, 0xae, 0xd7, 0x6b, 0x3c, 0x6f, 0x45, 0xff, + 0x9a, 0x8a, 0xc6, 0x96, 0x0e, 0xd7, 0x2f, 0xaf, 0x3b, 0xb5, 0xb8, 0x7a, 0xbb, 0xf7, 0x63, 0x0d, + 0xd5, 0x1d, 0xf0, 0x9f, 0xa1, 0x2d, 0x4e, 0x16, 0x49, 0x3a, 0x13, 0xd9, 0x14, 0x12, 0xcd, 0xce, + 0xc1, 0x2a, 0x6d, 0xc6, 0x9b, 0x9c, 0x2c, 0x86, 0xf6, 0xf6, 0x98, 0x9d, 0x97, 0x89, 0x5a, 0xa0, + 0xa9, 0x92, 0x9f, 0x13, 0x42, 0xa9, 0x9c, 0x09, 0x93, 0x90, 0x2c, 0x53, 0xa0, 0x75, 0xf0, 0xa0, + 0xeb, 0xf5, 0x9a, 0xf1, 0x8e, 0xa3, 0x07, 0x0e, 0x1e, 0x38, 0xe6, 0xbf, 0x43, 0x0d, 0x05, 0x1a, + 0xd4, 0x1c, 0x92, 0x13, 0x80, 0x60, 0xcd, 0x7a, 0xdc, 0x8d, 0xaa, 0x92, 0xca, 0x96, 0x44, 0x55, + 0x4b, 0xa2, 0xb7, 0x92, 0x89, 0xe1, 0x46, 0x69, 0xf3, 0xdb, 0xcd, 0xc5, 0xbe, 0x17, 0xa3, 0x2a, + 0xf0, 0x10, 0xc0, 0x1f, 0xa3, 0x6d, 0xce, 0x44, 0x92, 0xb2, 0x2c, 0x61, 0x82, 0x2a, 0xe0, 0x20, + 0x4c, 0xb0, 0x7e, 0x0f, 0xb1, 0x2d, 0xce, 0xc4, 0x90, 0x65, 0xef, 0x6f, 0x83, 0xfd, 0xd7, 0x28, + 0x38, 0x51, 0x52, 0x98, 0x44, 0xcd, 0x84, 0x60, 0x22, 0xb7, 0xbd, 0x06, 0x6a, 0x98, 0x14, 0xc1, + 0xc3, 0xae, 0xd7, 0x7b, 0x14, 0xb7, 0x2c, 0x8f, 0x1d, 0x1e, 0xdf, 0x51, 0xff, 0x23, 0x6a, 0x16, + 0x4a, 0x16, 0x52, 0x83, 0xb2, 0x35, 0xd5, 0xbb, 0x5e, 0x6f, 0x63, 0xf8, 0xaa, 0xcc, 0xf5, 0xfb, + 0xba, 0xf3, 0xc4, 0xb9, 0x29, 0x87, 0xc0, 0x24, 0xe6, 0xc4, 0x9c, 0x46, 0x1f, 0x20, 0x27, 0xf4, + 0x6c, 0x04, 0xf4, 0xe7, 0xf7, 0x3e, 0xaa, 0xcc, 0x8e, 0x80, 0x3a, 0x63, 0x8d, 0x5b, 0xad, 0x43, + 0x80, 0x37, 0x9d, 0x2f, 0x37, 0x17, 0xfb, 0xed, 0x74, 0x2a, 0xe9, 0xa4, 0x5f, 0x6e, 0xde, 0xe2, + 0x6e, 0xf7, 0xaa, 0x29, 0x1e, 0x5d, 0x2e, 0x43, 0xef, 0x6a, 0x19, 0x7a, 0x7f, 0x96, 0xa1, 0xf7, + 0x75, 0x15, 0xd6, 0xae, 0x56, 0x61, 0xed, 0xd7, 0x2a, 0xac, 0x7d, 0xea, 0xe7, 0xcc, 0x9c, 0xce, + 0xd2, 0x88, 0x4a, 0x8e, 0xf5, 0x84, 0x15, 0x7d, 0x0e, 0x73, 0xfc, 0x3f, 0x25, 0x73, 0x56, 0x80, + 0x4e, 0xeb, 0x76, 0x9b, 0x5e, 0xfc, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xce, 0x7d, 0x8f, 0xeb, 0xe1, 0x02, 0x00, 0x00, } diff --git a/x/builder/types/msgs_test.go b/x/builder/types/msgs_test.go index 09ea34d..132afee 100644 --- a/x/builder/types/msgs_test.go +++ b/x/builder/types/msgs_test.go @@ -5,7 +5,7 @@ import ( "cosmossdk.io/math" sdk "github.com/cosmos/cosmos-sdk/types" - "github.com/skip-mev/pob/x/builder/types" + "github.com/skip-mev/block-sdk/x/builder/types" ) // TestMsgAuctionBid tests the ValidateBasic method of MsgAuctionBid diff --git a/x/builder/types/query.pb.go b/x/builder/types/query.pb.go index efa4b96..b89ec09 100644 --- a/x/builder/types/query.pb.go +++ b/x/builder/types/query.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pob/builder/v1/query.proto +// source: sdk/builder/v1/query.proto package types @@ -38,7 +38,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_fe4920efc6923232, []int{0} + return fileDescriptor_83b6271e8d232d07, []int{0} } func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -77,7 +77,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_fe4920efc6923232, []int{1} + return fileDescriptor_83b6271e8d232d07, []int{1} } func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -114,17 +114,17 @@ func (m *QueryParamsResponse) GetParams() Params { } func init() { - proto.RegisterType((*QueryParamsRequest)(nil), "pob.builder.v1.QueryParamsRequest") - proto.RegisterType((*QueryParamsResponse)(nil), "pob.builder.v1.QueryParamsResponse") + proto.RegisterType((*QueryParamsRequest)(nil), "sdk.builder.v1.QueryParamsRequest") + proto.RegisterType((*QueryParamsResponse)(nil), "sdk.builder.v1.QueryParamsResponse") } -func init() { proto.RegisterFile("pob/builder/v1/query.proto", fileDescriptor_fe4920efc6923232) } +func init() { proto.RegisterFile("sdk/builder/v1/query.proto", fileDescriptor_83b6271e8d232d07) } -var fileDescriptor_fe4920efc6923232 = []byte{ - // 298 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x2a, 0xc8, 0x4f, 0xd2, +var fileDescriptor_83b6271e8d232d07 = []byte{ + // 305 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x2a, 0x4e, 0xc9, 0xd6, 0x4f, 0x2a, 0xcd, 0xcc, 0x49, 0x49, 0x2d, 0xd2, 0x2f, 0x33, 0xd4, 0x2f, 0x2c, 0x4d, 0x2d, 0xaa, - 0xd4, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x2b, 0xc8, 0x4f, 0xd2, 0x83, 0xca, 0xe9, 0x95, + 0xd4, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x2b, 0x4e, 0xc9, 0xd6, 0x83, 0xca, 0xe9, 0x95, 0x19, 0x4a, 0x89, 0xa4, 0xe7, 0xa7, 0xe7, 0x83, 0xa5, 0xf4, 0x41, 0x2c, 0x88, 0x2a, 0x29, 0x99, 0xf4, 0xfc, 0xfc, 0xf4, 0x9c, 0x54, 0xfd, 0xc4, 0x82, 0x4c, 0xfd, 0xc4, 0xbc, 0xbc, 0xfc, 0x92, 0xc4, 0x92, 0xcc, 0xfc, 0xbc, 0x62, 0xa8, 0xac, 0x74, 0x72, 0x7e, 0x71, 0x6e, 0x7e, 0x31, 0xc4, @@ -132,15 +132,16 @@ var fileDescriptor_fe4920efc6923232 = []byte{ 0x12, 0xe1, 0x12, 0x0a, 0x04, 0x29, 0x0e, 0x48, 0x2c, 0x4a, 0xcc, 0x2d, 0x0e, 0x4a, 0x2d, 0x2c, 0x4d, 0x2d, 0x2e, 0x51, 0xf2, 0xe6, 0x12, 0x46, 0x11, 0x2d, 0x2e, 0xc8, 0xcf, 0x2b, 0x4e, 0x15, 0x32, 0xe1, 0x62, 0x2b, 0x00, 0x8b, 0x48, 0x30, 0x2a, 0x30, 0x6a, 0x70, 0x1b, 0x89, 0xe9, 0xa1, - 0x3a, 0x5e, 0x0f, 0xa2, 0xde, 0x89, 0xe5, 0xc4, 0x3d, 0x79, 0x86, 0x20, 0xa8, 0x5a, 0xa3, 0x7a, - 0x2e, 0x56, 0xb0, 0x61, 0x42, 0x65, 0x5c, 0x6c, 0x10, 0x05, 0x42, 0x4a, 0xe8, 0x1a, 0x31, 0xdd, - 0x20, 0xa5, 0x8c, 0x57, 0x0d, 0xc4, 0x45, 0x4a, 0xca, 0x1d, 0xcf, 0x37, 0x68, 0x31, 0x36, 0x5d, - 0x7e, 0x32, 0x99, 0x49, 0x42, 0x48, 0x4c, 0x1f, 0xcd, 0xab, 0x10, 0x07, 0x38, 0x39, 0x9e, 0x78, - 0x24, 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, - 0x78, 0x2c, 0xc7, 0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x94, 0x7a, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, - 0x5e, 0x72, 0x7e, 0xae, 0x7e, 0x71, 0x76, 0x66, 0x81, 0x6e, 0x6e, 0x6a, 0x19, 0xd8, 0x90, 0x0a, - 0xb8, 0x31, 0x25, 0x95, 0x05, 0xa9, 0xc5, 0x49, 0x6c, 0xe0, 0xd0, 0x32, 0x06, 0x04, 0x00, 0x00, - 0xff, 0xff, 0xcd, 0x67, 0x4e, 0x59, 0xca, 0x01, 0x00, 0x00, + 0x3a, 0x5e, 0x0f, 0xa2, 0xde, 0x89, 0xe5, 0xc4, 0x3d, 0x79, 0x86, 0x20, 0xa8, 0x5a, 0xa3, 0x56, + 0x46, 0x2e, 0x56, 0xb0, 0x69, 0x42, 0x35, 0x5c, 0x6c, 0x10, 0x15, 0x42, 0x4a, 0xe8, 0x3a, 0x31, + 0x1d, 0x21, 0xa5, 0x8c, 0x57, 0x0d, 0xc4, 0x49, 0x4a, 0x9a, 0x1d, 0xcf, 0x37, 0x68, 0x31, 0x36, + 0x5d, 0x7e, 0x32, 0x99, 0x49, 0x4e, 0x48, 0x46, 0x3f, 0x29, 0x27, 0x3f, 0x39, 0x5b, 0x17, 0xcd, + 0xc7, 0x10, 0x77, 0x38, 0xb9, 0x9f, 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, + 0x72, 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, 0x2c, 0xc7, 0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x94, + 0x6e, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x7e, 0x71, 0x76, 0x66, 0x81, + 0x6e, 0x6e, 0x6a, 0x19, 0x92, 0x51, 0x15, 0x70, 0xc3, 0x4a, 0x2a, 0x0b, 0x52, 0x8b, 0x93, 0xd8, + 0xc0, 0x41, 0x67, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x97, 0x9a, 0x15, 0x9d, 0xd7, 0x01, 0x00, + 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -169,7 +170,7 @@ func NewQueryClient(cc grpc1.ClientConn) QueryClient { func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) { out := new(QueryParamsResponse) - err := c.cc.Invoke(ctx, "/pob.builder.v1.Query/Params", in, out, opts...) + err := c.cc.Invoke(ctx, "/sdk.builder.v1.Query/Params", in, out, opts...) if err != nil { return nil, err } @@ -204,7 +205,7 @@ func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interf } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/pob.builder.v1.Query/Params", + FullMethod: "/sdk.builder.v1.Query/Params", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest)) @@ -213,7 +214,7 @@ func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interf } var _Query_serviceDesc = grpc.ServiceDesc{ - ServiceName: "pob.builder.v1.Query", + ServiceName: "sdk.builder.v1.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { @@ -222,7 +223,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "pob/builder/v1/query.proto", + Metadata: "sdk/builder/v1/query.proto", } func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) { diff --git a/x/builder/types/query.pb.gw.go b/x/builder/types/query.pb.gw.go index 667955c..ef97d55 100644 --- a/x/builder/types/query.pb.gw.go +++ b/x/builder/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: pob/builder/v1/query.proto +// source: sdk/builder/v1/query.proto /* Package types is a reverse proxy. @@ -145,7 +145,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } var ( - pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"pob", "builder", "v1", "params"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"block-sdk", "builder", "v1", "params"}, "", runtime.AssumeColonVerbOpt(false))) ) var ( diff --git a/x/builder/types/tx.pb.go b/x/builder/types/tx.pb.go index 224f734..015756f 100644 --- a/x/builder/types/tx.pb.go +++ b/x/builder/types/tx.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: pob/builder/v1/tx.proto +// source: sdk/builder/v1/tx.proto package types @@ -51,7 +51,7 @@ func (m *MsgAuctionBid) Reset() { *m = MsgAuctionBid{} } func (m *MsgAuctionBid) String() string { return proto.CompactTextString(m) } func (*MsgAuctionBid) ProtoMessage() {} func (*MsgAuctionBid) Descriptor() ([]byte, []int) { - return fileDescriptor_5cab4e3a4b082d0a, []int{0} + return fileDescriptor_e97f973cb189144b, []int{0} } func (m *MsgAuctionBid) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -109,7 +109,7 @@ func (m *MsgAuctionBidResponse) Reset() { *m = MsgAuctionBidResponse{} } func (m *MsgAuctionBidResponse) String() string { return proto.CompactTextString(m) } func (*MsgAuctionBidResponse) ProtoMessage() {} func (*MsgAuctionBidResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5cab4e3a4b082d0a, []int{1} + return fileDescriptor_e97f973cb189144b, []int{1} } func (m *MsgAuctionBidResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -152,7 +152,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_5cab4e3a4b082d0a, []int{2} + return fileDescriptor_e97f973cb189144b, []int{2} } func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -203,7 +203,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_5cab4e3a4b082d0a, []int{3} + return fileDescriptor_e97f973cb189144b, []int{3} } func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -233,49 +233,50 @@ func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgUpdateParamsResponse proto.InternalMessageInfo func init() { - proto.RegisterType((*MsgAuctionBid)(nil), "pob.builder.v1.MsgAuctionBid") - proto.RegisterType((*MsgAuctionBidResponse)(nil), "pob.builder.v1.MsgAuctionBidResponse") - proto.RegisterType((*MsgUpdateParams)(nil), "pob.builder.v1.MsgUpdateParams") - proto.RegisterType((*MsgUpdateParamsResponse)(nil), "pob.builder.v1.MsgUpdateParamsResponse") + proto.RegisterType((*MsgAuctionBid)(nil), "sdk.builder.v1.MsgAuctionBid") + proto.RegisterType((*MsgAuctionBidResponse)(nil), "sdk.builder.v1.MsgAuctionBidResponse") + proto.RegisterType((*MsgUpdateParams)(nil), "sdk.builder.v1.MsgUpdateParams") + proto.RegisterType((*MsgUpdateParamsResponse)(nil), "sdk.builder.v1.MsgUpdateParamsResponse") } -func init() { proto.RegisterFile("pob/builder/v1/tx.proto", fileDescriptor_5cab4e3a4b082d0a) } +func init() { proto.RegisterFile("sdk/builder/v1/tx.proto", fileDescriptor_e97f973cb189144b) } -var fileDescriptor_5cab4e3a4b082d0a = []byte{ - // 525 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xcf, 0x6b, 0x13, 0x41, - 0x14, 0xce, 0x34, 0x1a, 0xc8, 0x18, 0x15, 0xd7, 0xd6, 0xfc, 0xa8, 0xdd, 0x84, 0x05, 0x69, 0x08, - 0x74, 0xc7, 0xd4, 0xd2, 0x43, 0x6f, 0x59, 0xcf, 0x01, 0x59, 0x11, 0xc4, 0x8b, 0xcc, 0x66, 0x87, - 0xe9, 0x60, 0x77, 0x66, 0xd9, 0x99, 0x84, 0xf6, 0x26, 0x3d, 0x7a, 0x12, 0xfc, 0x07, 0x3c, 0x7a, - 0xcc, 0x41, 0xff, 0x87, 0x9e, 0xa4, 0xe8, 0x41, 0x4f, 0x22, 0x89, 0x10, 0xff, 0x0c, 0x99, 0xdd, - 0xd9, 0x36, 0x1b, 0xc5, 0x5e, 0x42, 0xf6, 0x7d, 0xdf, 0xfb, 0xde, 0xfb, 0xbe, 0x79, 0xb0, 0x1e, - 0x8b, 0x00, 0x05, 0x63, 0x76, 0x14, 0x92, 0x04, 0x4d, 0xfa, 0x48, 0x1d, 0xbb, 0x71, 0x22, 0x94, - 0xb0, 0x6e, 0xc5, 0x22, 0x70, 0x0d, 0xe0, 0x4e, 0xfa, 0xad, 0x75, 0x2a, 0xa8, 0x48, 0x21, 0xa4, - 0xff, 0x65, 0xac, 0xd6, 0x7d, 0x2a, 0x04, 0x3d, 0x22, 0x08, 0xc7, 0x0c, 0x61, 0xce, 0x85, 0xc2, - 0x8a, 0x09, 0x2e, 0x0d, 0x6a, 0x8f, 0x84, 0x8c, 0x84, 0x44, 0x01, 0x96, 0x04, 0x4d, 0xfa, 0x01, - 0x51, 0xb8, 0x8f, 0x46, 0x82, 0xf1, 0xbc, 0x7b, 0x65, 0x38, 0x25, 0x9c, 0x48, 0x96, 0x77, 0x37, - 0xb3, 0xee, 0x97, 0xd9, 0xd0, 0xec, 0xc3, 0x40, 0x75, 0x23, 0x1c, 0x49, 0xaa, 0xfb, 0x22, 0x49, - 0x0d, 0x70, 0x07, 0x47, 0x8c, 0x0b, 0x94, 0xfe, 0x66, 0x25, 0xe7, 0x33, 0x80, 0x37, 0x87, 0x92, - 0x0e, 0xc6, 0x23, 0xbd, 0x9a, 0xc7, 0x42, 0xeb, 0x21, 0xac, 0x04, 0x2c, 0x0c, 0x49, 0xd2, 0x00, - 0x1d, 0xd0, 0xad, 0x7a, 0x8d, 0x2f, 0x1f, 0x77, 0xd6, 0x8d, 0xfe, 0x20, 0x0c, 0x13, 0x22, 0xe5, - 0x53, 0x95, 0x30, 0x4e, 0x7d, 0xc3, 0xb3, 0xf6, 0x61, 0x39, 0x60, 0x61, 0x63, 0xad, 0x03, 0xba, - 0x37, 0x76, 0x9b, 0xae, 0xe1, 0x6a, 0x5b, 0xae, 0xb1, 0xe5, 0x3e, 0x16, 0x8c, 0x7b, 0xd5, 0xb3, - 0x1f, 0xed, 0xd2, 0x87, 0xc5, 0xb4, 0x07, 0x7c, 0xdd, 0x60, 0x39, 0xb0, 0xa6, 0x12, 0xcc, 0x25, - 0x4e, 0x67, 0xcb, 0x46, 0xb9, 0x53, 0xee, 0xd6, 0xfc, 0x42, 0xed, 0x00, 0xfd, 0x7e, 0xdf, 0x2e, - 0x9d, 0x2e, 0xa6, 0x3d, 0x33, 0xec, 0xcd, 0x62, 0xda, 0xdb, 0xd4, 0xc1, 0x1c, 0x5f, 0x44, 0x53, - 0x58, 0xdf, 0xa9, 0xc3, 0x8d, 0x42, 0xc1, 0x27, 0x32, 0x16, 0x5c, 0x12, 0xe7, 0x13, 0x80, 0xb7, - 0x87, 0x92, 0x3e, 0x8b, 0x43, 0xac, 0xc8, 0x13, 0x9c, 0xe0, 0x48, 0x5a, 0xfb, 0xb0, 0x8a, 0xc7, - 0xea, 0x50, 0x24, 0x4c, 0x9d, 0x5c, 0x69, 0xf7, 0x92, 0x6a, 0xed, 0xc1, 0x4a, 0x9c, 0x2a, 0x18, - 0xd3, 0xf7, 0xdc, 0xe2, 0x3d, 0xb8, 0x99, 0xbe, 0x77, 0x4d, 0x3b, 0xf6, 0x0d, 0xf7, 0x60, 0x2f, - 0xf7, 0x72, 0xa9, 0xa4, 0xed, 0x6c, 0xfd, 0x65, 0x67, 0x79, 0x47, 0xa7, 0x09, 0xeb, 0x2b, 0xa5, - 0xdc, 0xd2, 0xee, 0x37, 0x00, 0xcb, 0x43, 0x49, 0x2d, 0x01, 0xe1, 0xd2, 0x03, 0x6e, 0xad, 0x2e, - 0x53, 0xc8, 0xa3, 0xf5, 0xe0, 0xbf, 0xf0, 0x45, 0x5c, 0x9b, 0xa7, 0x5f, 0x7f, 0xbd, 0x5b, 0xdb, - 0x70, 0xee, 0xa2, 0x95, 0x33, 0xd4, 0x2f, 0xf7, 0x1c, 0xd6, 0x0a, 0x39, 0xb6, 0xff, 0xa1, 0xb9, - 0x4c, 0x68, 0x6d, 0x5f, 0x41, 0xc8, 0xc7, 0xb6, 0xae, 0xbf, 0xd6, 0xf7, 0xe1, 0x0d, 0xce, 0x66, - 0x36, 0x38, 0x9f, 0xd9, 0xe0, 0xe7, 0xcc, 0x06, 0x6f, 0xe7, 0x76, 0xe9, 0x7c, 0x6e, 0x97, 0xbe, - 0xcf, 0xed, 0xd2, 0x8b, 0x6d, 0xca, 0xd4, 0xe1, 0x38, 0x70, 0x47, 0x22, 0x42, 0xf2, 0x15, 0x8b, - 0x77, 0x22, 0x32, 0x41, 0xc5, 0x04, 0xd5, 0x49, 0x4c, 0x64, 0x50, 0x49, 0x0f, 0xfc, 0xd1, 0x9f, - 0x00, 0x00, 0x00, 0xff, 0xff, 0xf0, 0xeb, 0xfe, 0x5c, 0xc4, 0x03, 0x00, 0x00, +var fileDescriptor_e97f973cb189144b = []byte{ + // 536 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0x4f, 0x8f, 0x12, 0x4f, + 0x10, 0x65, 0x96, 0xdf, 0x8f, 0x84, 0x16, 0x35, 0x4e, 0x56, 0xf9, 0xa3, 0x0e, 0xec, 0x18, 0x23, + 0x21, 0x61, 0x5a, 0x56, 0xdd, 0x03, 0xb7, 0xc5, 0x83, 0x27, 0x12, 0x83, 0x31, 0x31, 0x5e, 0x4c, + 0x0f, 0xd3, 0xe9, 0xed, 0xc0, 0x74, 0x4f, 0xa6, 0x1a, 0xb2, 0x7b, 0x33, 0x7b, 0xf4, 0x64, 0xe2, + 0x17, 0xf0, 0xe8, 0x91, 0x83, 0x37, 0xbf, 0xc0, 0x1e, 0x37, 0xea, 0xc1, 0x8b, 0xc6, 0x80, 0x09, + 0x7e, 0x0c, 0xd3, 0x4c, 0xb3, 0x30, 0x64, 0x75, 0x2f, 0x84, 0xa9, 0xf7, 0xea, 0x55, 0xbd, 0xd7, + 0x85, 0x8a, 0x10, 0x0c, 0xb0, 0x3f, 0xe2, 0xc3, 0x80, 0xc6, 0x78, 0xdc, 0xc2, 0xea, 0xd0, 0x8b, + 0x62, 0xa9, 0xa4, 0x7d, 0x05, 0x82, 0x81, 0x67, 0x00, 0x6f, 0xdc, 0xaa, 0x6c, 0x33, 0xc9, 0xe4, + 0x02, 0xc2, 0xfa, 0x5f, 0xc2, 0xaa, 0xdc, 0x62, 0x52, 0xb2, 0x21, 0xc5, 0x24, 0xe2, 0x98, 0x08, + 0x21, 0x15, 0x51, 0x5c, 0x0a, 0x30, 0xa8, 0xd3, 0x97, 0x10, 0x4a, 0xc0, 0x3e, 0x01, 0x8a, 0xc7, + 0x2d, 0x9f, 0x2a, 0xd2, 0xc2, 0x7d, 0xc9, 0xc5, 0xb2, 0x7b, 0x63, 0x38, 0xa3, 0x82, 0x02, 0x5f, + 0x76, 0x97, 0x93, 0xee, 0x57, 0xc9, 0xd0, 0xe4, 0xc3, 0x40, 0x45, 0x23, 0x1c, 0x02, 0xd3, 0x7d, + 0x21, 0x30, 0x03, 0x5c, 0x23, 0x21, 0x17, 0x12, 0x2f, 0x7e, 0x93, 0x92, 0xfb, 0xd5, 0x42, 0x97, + 0xbb, 0xc0, 0xf6, 0x47, 0x7d, 0xbd, 0x5a, 0x87, 0x07, 0xf6, 0x7d, 0x94, 0xf3, 0x79, 0x10, 0xd0, + 0xb8, 0x64, 0xd5, 0xac, 0x7a, 0xbe, 0x53, 0xfa, 0xfc, 0xb1, 0xb9, 0x6d, 0xf4, 0xf7, 0x83, 0x20, + 0xa6, 0x00, 0xcf, 0x54, 0xcc, 0x05, 0xeb, 0x19, 0x9e, 0xbd, 0x87, 0xb2, 0x3e, 0x0f, 0x4a, 0x5b, + 0x35, 0xab, 0x7e, 0x69, 0xb7, 0xec, 0x19, 0xae, 0xb6, 0xe5, 0x19, 0x5b, 0xde, 0x63, 0xc9, 0x45, + 0x27, 0x7f, 0xf2, 0xa3, 0x9a, 0xf9, 0x30, 0x9f, 0x34, 0xac, 0x9e, 0x6e, 0xb0, 0x5d, 0x54, 0x50, + 0x31, 0x11, 0x40, 0x16, 0xb3, 0xa1, 0x94, 0xad, 0x65, 0xeb, 0x85, 0x5e, 0xaa, 0xd6, 0x7e, 0xf4, + 0xfb, 0x7d, 0x35, 0x73, 0x3c, 0x9f, 0x34, 0xcc, 0xb0, 0x37, 0xf3, 0x49, 0x63, 0xc7, 0x1f, 0xca, + 0xfe, 0xa0, 0xa9, 0xe3, 0x39, 0x3c, 0x0b, 0x28, 0x65, 0xc2, 0x2d, 0xa2, 0xeb, 0xa9, 0x42, 0x8f, + 0x42, 0x24, 0x05, 0x50, 0xf7, 0x93, 0x85, 0xae, 0x76, 0x81, 0x3d, 0x8f, 0x02, 0xa2, 0xe8, 0x53, + 0x12, 0x93, 0x10, 0xec, 0x3d, 0x94, 0x27, 0x23, 0x75, 0x20, 0x63, 0xae, 0x8e, 0x2e, 0x34, 0xbd, + 0xa2, 0xda, 0x0f, 0x51, 0x2e, 0x5a, 0x28, 0x18, 0xeb, 0x37, 0xbc, 0xf4, 0x55, 0x78, 0x89, 0x7e, + 0xe7, 0x3f, 0xed, 0xbb, 0x67, 0xb8, 0xed, 0xf6, 0xd2, 0xd1, 0x4a, 0x49, 0x9b, 0xba, 0xf3, 0x17, + 0x53, 0xeb, 0x9b, 0xba, 0x65, 0x54, 0xdc, 0x28, 0x2d, 0x8d, 0xed, 0x7e, 0xb7, 0x50, 0xb6, 0x0b, + 0xcc, 0x1e, 0x21, 0xb4, 0xf6, 0x98, 0xb7, 0x37, 0x57, 0x4a, 0xa5, 0x52, 0xb9, 0xfb, 0x4f, 0xf8, + 0x2c, 0xb4, 0x9d, 0xe3, 0x2f, 0xbf, 0xde, 0x6d, 0xdd, 0x74, 0xcb, 0x78, 0xb5, 0xe4, 0xda, 0x61, + 0xea, 0xb7, 0x7c, 0x81, 0x0a, 0xa9, 0x4c, 0xab, 0xe7, 0x28, 0xaf, 0x13, 0x2a, 0xf7, 0x2e, 0x20, + 0x2c, 0x87, 0x57, 0xfe, 0x7f, 0xad, 0x2f, 0xa6, 0xf3, 0xe4, 0x64, 0xea, 0x58, 0xa7, 0x53, 0xc7, + 0xfa, 0x39, 0x75, 0xac, 0xb7, 0x33, 0x27, 0x73, 0x3a, 0x73, 0x32, 0xdf, 0x66, 0x4e, 0xe6, 0x65, + 0x93, 0x71, 0x75, 0x30, 0xf2, 0xbd, 0xbe, 0x0c, 0x31, 0x0c, 0x78, 0xd4, 0x0c, 0xe9, 0x18, 0x9f, + 0x97, 0xa6, 0x3a, 0x8a, 0x28, 0xf8, 0xb9, 0xc5, 0xe1, 0x3f, 0xf8, 0x13, 0x00, 0x00, 0xff, 0xff, + 0x33, 0x09, 0xf2, 0x29, 0xdc, 0x03, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -307,7 +308,7 @@ func NewMsgClient(cc grpc1.ClientConn) MsgClient { func (c *msgClient) AuctionBid(ctx context.Context, in *MsgAuctionBid, opts ...grpc.CallOption) (*MsgAuctionBidResponse, error) { out := new(MsgAuctionBidResponse) - err := c.cc.Invoke(ctx, "/pob.builder.v1.Msg/AuctionBid", in, out, opts...) + err := c.cc.Invoke(ctx, "/sdk.builder.v1.Msg/AuctionBid", in, out, opts...) if err != nil { return nil, err } @@ -316,7 +317,7 @@ func (c *msgClient) AuctionBid(ctx context.Context, in *MsgAuctionBid, opts ...g func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) { out := new(MsgUpdateParamsResponse) - err := c.cc.Invoke(ctx, "/pob.builder.v1.Msg/UpdateParams", in, out, opts...) + err := c.cc.Invoke(ctx, "/sdk.builder.v1.Msg/UpdateParams", in, out, opts...) if err != nil { return nil, err } @@ -357,7 +358,7 @@ func _Msg_AuctionBid_Handler(srv interface{}, ctx context.Context, dec func(inte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/pob.builder.v1.Msg/AuctionBid", + FullMethod: "/sdk.builder.v1.Msg/AuctionBid", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).AuctionBid(ctx, req.(*MsgAuctionBid)) @@ -375,7 +376,7 @@ func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(in } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/pob.builder.v1.Msg/UpdateParams", + FullMethod: "/sdk.builder.v1.Msg/UpdateParams", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MsgServer).UpdateParams(ctx, req.(*MsgUpdateParams)) @@ -384,7 +385,7 @@ func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(in } var _Msg_serviceDesc = grpc.ServiceDesc{ - ServiceName: "pob.builder.v1.Msg", + ServiceName: "sdk.builder.v1.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { @@ -397,7 +398,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "pob/builder/v1/tx.proto", + Metadata: "sdk/builder/v1/tx.proto", } func (m *MsgAuctionBid) Marshal() (dAtA []byte, err error) { diff --git a/x/builder/types/tx.pb.gw.go b/x/builder/types/tx.pb.gw.go index bb907aa..ceb0ff5 100644 --- a/x/builder/types/tx.pb.gw.go +++ b/x/builder/types/tx.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: pob/builder/v1/tx.proto +// source: sdk/builder/v1/tx.proto /* Package types is a reverse proxy. @@ -163,7 +163,7 @@ func RegisterMsgHandlerClient(ctx context.Context, mux *runtime.ServeMux, client } var ( - pattern_Msg_AuctionBid_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"pob", "builder", "v1", "bid"}, "", runtime.AssumeColonVerbOpt(false))) + pattern_Msg_AuctionBid_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"block-sdk", "builder", "v1", "bid"}, "", runtime.AssumeColonVerbOpt(false))) ) var (