diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 1bc80e6e6..000000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,53 +0,0 @@ -# This workflow is useful if you want to automate the process of: -# -# a) Creating a new prelease when you push a new tag with a "v" prefix (version). -# -# This type of prerelease is meant to be used for production: alpha, beta, rc, etc. types of releases. -# After the prerelease is created, you need to make your changes on the release page at the relevant -# Github page and publish your release. -# -# b) Creating/updating the "latest" prerelease when you push to your default branch. -# -# This type of prelease is useful to make your bleeding-edge binaries available to advanced users. -# -# The workflow will not run if there is no tag pushed with a "v" prefix and no change pushed to your -# default branch. -on: push - -jobs: - might_release: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - - name: Prepare Release Variables - id: vars - uses: ignite/cli/actions/release/vars@main - - - name: Issue Release Assets - uses: ignite/cli/actions/cli@main - if: ${{ steps.vars.outputs.should_release == 'true' }} - with: - args: chain build --release --release.prefix ${{ steps.vars.outputs.tarball_prefix }} -t linux:amd64 -t darwin:amd64 -t darwin:arm64 - - - name: Delete the "latest" Release - uses: dev-drprasad/delete-tag-and-release@v0.2.0 - if: ${{ steps.vars.outputs.is_release_type_latest == 'true' }} - with: - tag_name: ${{ steps.vars.outputs.tag_name }} - delete_release: true - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: Publish the Release - uses: softprops/action-gh-release@v1 - if: ${{ steps.vars.outputs.should_release == 'true' }} - with: - tag_name: ${{ steps.vars.outputs.tag_name }} - files: release/* - prerelease: true - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/config.yml b/config.yml index 8f08f1bec..e62f68637 100644 --- a/config.yml +++ b/config.yml @@ -1,14 +1,28 @@ +version: 1 +build: + proto: + path: proto + third_party_paths: + - third_party/proto + - proto_vendor accounts: - - name: alice - coins: ["20000token", "200000000stake"] - - name: bob - coins: ["10000token", "100000000stake"] -validator: - name: alice - staked: "100000000stake" -client: - openapi: - path: "docs/static/openapi.yml" +- name: alice + coins: + - 20000token + - 200000000stake +- name: bob + coins: + - 10000token + - 100000000stake faucet: name: bob - coins: ["5token", "100000stake"] + coins: + - 5token + - 100000stake + host: 0.0.0.0:4500 +client: + openapi: + path: docs/static/openapi.yml +validators: +- name: alice + bonded: 100000000stake diff --git a/docs/static/openapi.yml b/docs/static/openapi.yml index c358ee1a1..5407f8a26 100644 --- a/docs/static/openapi.yml +++ b/docs/static/openapi.yml @@ -18782,6 +18782,173 @@ paths: format: int64 tags: - Query + /dymensionxyz/dymension/irc/irc_requests: + get: + operationId: DymensionxyzDymensionIrcIRCRequestAll + responses: + '200': + description: A successful response. + schema: + type: object + properties: + ircRequest: + type: array + items: + type: object + properties: + reqId: + type: string + format: uint64 + request: + type: string + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if + PageRequest.count_total + + was set, its value is undefined otherwise + description: >- + PageResponse is to be embedded in gRPC response messages where + the + + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + default: + description: An unexpected error response. + schema: + type: object + properties: + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + '@type': + type: string + additionalProperties: {} + parameters: + - name: pagination.key + description: |- + key is a value returned in PageResponse.next_key to begin + querying the next page most efficiently. Only one of offset or key + should be set. + in: query + required: false + type: string + format: byte + - name: pagination.offset + description: >- + offset is a numeric offset that can be used when key is unavailable. + + It is less efficient than using key. Only one of offset or key + should + + be set. + in: query + required: false + type: string + format: uint64 + - name: pagination.limit + description: >- + limit is the total number of results to be returned in the result + page. + + If left empty it will default to a value to be set by each app. + in: query + required: false + type: string + format: uint64 + - name: pagination.count_total + description: >- + count_total is set to true to indicate that the result set should + include + + a count of the total number of items available for pagination in + UIs. + + count_total is only respected when offset is used. It is ignored + when key + + is set. + in: query + required: false + type: boolean + - name: pagination.reverse + description: >- + reverse is set to true if results are to be returned in the + descending order. + + + Since: cosmos-sdk 0.43 + in: query + required: false + type: boolean + tags: + - Query + /dymensionxyz/dymension/irc/irc_requests/{reqId}: + get: + summary: Queries a list of IRCRequest items. + operationId: DymensionxyzDymensionIrcIRCRequest + responses: + '200': + description: A successful response. + schema: + type: object + properties: + ircRequest: + type: object + properties: + reqId: + type: string + format: uint64 + request: + type: string + default: + description: An unexpected error response. + schema: + type: object + properties: + code: + type: integer + format: int32 + message: + type: string + details: + type: array + items: + type: object + properties: + '@type': + type: string + additionalProperties: {} + parameters: + - name: reqId + in: path + required: true + type: string + format: uint64 + tags: + - Query /dymensionxyz/dymension/irc/params: get: summary: Parameters queries the parameters of the module. @@ -37745,9 +37912,66 @@ definitions: description: >- MsgCreateVestingAccountResponse defines the Msg/CreateVestingAccount response type. + dymensionxyz.dymension.irc.IRCRequest: + type: object + properties: + reqId: + type: string + format: uint64 + request: + type: string dymensionxyz.dymension.irc.Params: type: object description: Params defines the parameters for the module. + dymensionxyz.dymension.irc.QueryAllIRCRequestResponse: + type: object + properties: + ircRequest: + type: array + items: + type: object + properties: + reqId: + type: string + format: uint64 + request: + type: string + pagination: + type: object + properties: + next_key: + type: string + format: byte + title: |- + next_key is the key to be passed to PageRequest.key to + query the next page most efficiently + total: + type: string + format: uint64 + title: >- + total is total number of results available if + PageRequest.count_total + + was set, its value is undefined otherwise + description: |- + PageResponse is to be embedded in gRPC response messages where the + corresponding request message has used PageRequest. + + message SomeResponse { + repeated Bar results = 1; + PageResponse page = 2; + } + dymensionxyz.dymension.irc.QueryGetIRCRequestResponse: + type: object + properties: + ircRequest: + type: object + properties: + reqId: + type: string + format: uint64 + request: + type: string dymensionxyz.dymension.irc.QueryParamsResponse: type: object properties: diff --git a/proto/irc/genesis.proto b/proto/dymension/irc/genesis.proto similarity index 56% rename from proto/irc/genesis.proto rename to proto/dymension/irc/genesis.proto index 0f31fee2b..b095dd1c9 100644 --- a/proto/irc/genesis.proto +++ b/proto/dymension/irc/genesis.proto @@ -1,12 +1,16 @@ syntax = "proto3"; + package dymensionxyz.dymension.irc; import "gogoproto/gogo.proto"; import "dymension/irc/params.proto"; +import "dymension/irc/irc_requests.proto"; option go_package = "github.com/dymensionxyz/dymension/x/irc/types"; // GenesisState defines the irc module's genesis state. message GenesisState { - Params params = 1 [(gogoproto.nullable) = false]; + Params params = 1 [(gogoproto.nullable) = false]; + repeated IRCRequest IRCRequestList = 2 [(gogoproto.nullable) = false]; } + diff --git a/proto/dymension/irc/irc_requests.proto b/proto/dymension/irc/irc_requests.proto new file mode 100644 index 000000000..52ecf11f1 --- /dev/null +++ b/proto/dymension/irc/irc_requests.proto @@ -0,0 +1,48 @@ +syntax = "proto3"; +package dymensionxyz.dymension.irc; +import "google/protobuf/any.proto"; +import "cosmos_proto/cosmos.proto"; +import "gogoproto/gogo.proto"; + + +option go_package = "github.com/dymensionxyz/dymension/x/irc/types"; + +// MsgType is the type of the intercepted IBC message. +enum MsgType { + option (gogoproto.goproto_enum_prefix) = false; + + // UNSPECIFIED defines an invalid validator status. + MSG_TYPE_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "Unspecified"]; + + MSG_TYPE_CREATE_CLIENT = 1 [(gogoproto.enumvalue_customname) = "CreateClient"]; + MSG_TYPE_UPDATE_CLIENT = 2 [(gogoproto.enumvalue_customname) = "UpdateClient"]; + MSG_TYPE_UPGRADE_CLIENT = 3 [(gogoproto.enumvalue_customname) = "UpgradeClient"]; + MSG_TYPE_SUBMIT_MISBEHAVIOUR = 4 [(gogoproto.enumvalue_customname) = "SubmitMisbehaviour"]; + MSG_TYPE_CONNECTION_OPEN_INIT = 5 [(gogoproto.enumvalue_customname) = "ConnectionOpenInit"]; + MSG_TYPE_CONNECTION_OPEN_TRY = 6 [(gogoproto.enumvalue_customname) = "ConnectionOpenTry"]; + MSG_TYPE_CONNECTION_OPEN_ACK = 7 [(gogoproto.enumvalue_customname) = "ConnectionOpenAck"]; + MSG_TYPE_CONNECTION_OPEN_CONFIRM = 8 [(gogoproto.enumvalue_customname) = "ConnectionOpenConfirm"]; + MSG_TYPE_CHANNEL_OPEN_INIT = 9 [(gogoproto.enumvalue_customname) = "ChannelOpenInit"]; + MSG_TYPE_CHANNEL_OPEN_TRY = 10 [(gogoproto.enumvalue_customname) = "ChannelOpenTry"]; + MSG_TYPE_CHANNEL_OPEN_ACK = 11 [(gogoproto.enumvalue_customname) = "ChannelOpenAck"]; + MSG_TYPE_CHANNEL_OPEN_CONFIRM = 12 [(gogoproto.enumvalue_customname) = "ChannelOpenConfirm"]; + MSG_TYPE_CHANNEL_CLOSE_INIT = 13 [(gogoproto.enumvalue_customname) = "ChannelCloseInit"]; + MSG_TYPE_CHANNEL_CLOSE_CONFIRM = 14 [(gogoproto.enumvalue_customname) = "ChannelCloseConfirm"]; + MSG_TYPE_RECV_PACKET = 15 [(gogoproto.enumvalue_customname) = "RecvPacket"]; + MSG_TYPE_TIMEOUT = 16 [(gogoproto.enumvalue_customname) = "Timeout"]; + MSG_TYPE_TIMEOUT_ON_CLOSE = 17 [(gogoproto.enumvalue_customname) = "TimeoutOnClose"]; + MSG_TYPE_ACKNOWLEDGEMENT = 18 [(gogoproto.enumvalue_customname) = "Acknowledgement"]; +} + +// IRCRequest represents a message that was sent to the IBC module by IRC +message IRCRequest { + // reqId is s unique identifier of the request + uint64 req_id = 1; + // message is the IBC message to be handled + google.protobuf.Any message = 2 [(cosmos_proto.accepts_interface) = "sdk.Msg"]; + // msg_type is the type of the IBC message + MsgType message_type = 3; + +} + + diff --git a/proto/irc/params.proto b/proto/dymension/irc/params.proto similarity index 100% rename from proto/irc/params.proto rename to proto/dymension/irc/params.proto diff --git a/proto/dymension/irc/query.proto b/proto/dymension/irc/query.proto new file mode 100644 index 000000000..7d4b3f234 --- /dev/null +++ b/proto/dymension/irc/query.proto @@ -0,0 +1,58 @@ +syntax = "proto3"; + +package dymensionxyz.dymension.irc; + +import "gogoproto/gogo.proto"; +import "google/api/annotations.proto"; +import "cosmos/base/query/v1beta1/pagination.proto"; +import "dymension/irc/params.proto"; +import "dymension/irc/irc_requests.proto"; + +option go_package = "github.com/dymensionxyz/dymension/x/irc/types"; + +// Query defines the gRPC querier service. +service Query { + + // Parameters queries the parameters of the module. + rpc Params (QueryParamsRequest) returns (QueryParamsResponse) { + option (google.api.http).get = "/dymensionxyz/dymension/irc/params"; + + } + + // Queries a list of IRCRequest items. + rpc IRCRequest (QueryGetIRCRequestRequest) returns (QueryGetIRCRequestResponse) { + option (google.api.http).get = "/dymensionxyz/dymension/irc/irc_requests/{reqId}"; + + } + rpc IRCRequestAll (QueryAllIRCRequestRequest) returns (QueryAllIRCRequestResponse) { + option (google.api.http).get = "/dymensionxyz/dymension/irc/irc_requests"; + + } +} +// QueryParamsRequest is request type for the Query/Params RPC method. +message QueryParamsRequest {} + +// QueryParamsResponse is response type for the Query/Params RPC method. +message QueryParamsResponse { + + // params holds all the parameters of this module. + Params params = 1 [(gogoproto.nullable) = false]; +} + +message QueryGetIRCRequestRequest { + uint64 reqId = 1; +} + +message QueryGetIRCRequestResponse { + IRCRequest ircRequest = 1 [(gogoproto.nullable) = false]; +} + +message QueryAllIRCRequestRequest { + cosmos.base.query.v1beta1.PageRequest pagination = 1; +} + +message QueryAllIRCRequestResponse { + repeated IRCRequest ircRequest = 1 [(gogoproto.nullable) = false]; + cosmos.base.query.v1beta1.PageResponse pagination = 2; +} + diff --git a/proto/irc/tx.proto b/proto/dymension/irc/tx.proto similarity index 100% rename from proto/irc/tx.proto rename to proto/dymension/irc/tx.proto diff --git a/proto/rollapp/block_descriptor.proto b/proto/dymension/rollapp/block_descriptor.proto similarity index 100% rename from proto/rollapp/block_descriptor.proto rename to proto/dymension/rollapp/block_descriptor.proto diff --git a/proto/rollapp/genesis.proto b/proto/dymension/rollapp/genesis.proto similarity index 87% rename from proto/rollapp/genesis.proto rename to proto/dymension/rollapp/genesis.proto index ee98e2503..209625600 100644 --- a/proto/rollapp/genesis.proto +++ b/proto/dymension/rollapp/genesis.proto @@ -2,9 +2,9 @@ syntax = "proto3"; package dymensionxyz.dymension.rollapp; import "gogoproto/gogo.proto"; -import "rollapp/params.proto"; -import "rollapp/rollapp.proto"; -import "rollapp/state_info.proto"; +import "dymension/rollapp/params.proto"; +import "dymension/rollapp/rollapp.proto"; +import "dymension/rollapp/state_info.proto"; // this line is used by starport scaffolding # genesis/proto/import option go_package = "github.com/dymensionxyz/dymension/x/rollapp/types"; diff --git a/proto/rollapp/params.proto b/proto/dymension/rollapp/params.proto similarity index 100% rename from proto/rollapp/params.proto rename to proto/dymension/rollapp/params.proto diff --git a/proto/rollapp/query.proto b/proto/dymension/rollapp/query.proto similarity index 97% rename from proto/rollapp/query.proto rename to proto/dymension/rollapp/query.proto index 61842d077..eec0c6da9 100644 --- a/proto/rollapp/query.proto +++ b/proto/dymension/rollapp/query.proto @@ -4,10 +4,10 @@ package dymensionxyz.dymension.rollapp; import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; import "cosmos/base/query/v1beta1/pagination.proto"; -import "rollapp/params.proto"; -import "rollapp/rollapp.proto"; +import "dymension/rollapp/params.proto"; +import "dymension/rollapp/rollapp.proto"; // this line is used by starport scaffolding # 1 -import "rollapp/state_info.proto"; +import "dymension/rollapp/state_info.proto"; option go_package = "github.com/dymensionxyz/dymension/x/rollapp/types"; diff --git a/proto/rollapp/rollapp.proto b/proto/dymension/rollapp/rollapp.proto similarity index 97% rename from proto/rollapp/rollapp.proto rename to proto/dymension/rollapp/rollapp.proto index 90b0bcad5..947dfee3d 100644 --- a/proto/rollapp/rollapp.proto +++ b/proto/dymension/rollapp/rollapp.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package dymensionxyz.dymension.rollapp; option go_package = "github.com/dymensionxyz/dymension/x/rollapp/types"; -import "shared/sequencers.proto"; +import "dymension/shared/sequencers.proto"; import "gogoproto/gogo.proto"; // Rollapp defines a rollapp object. First the RollApp is created and then diff --git a/proto/rollapp/state_info.proto b/proto/dymension/rollapp/state_info.proto similarity index 96% rename from proto/rollapp/state_info.proto rename to proto/dymension/rollapp/state_info.proto index d2254a1bf..5df0995e5 100644 --- a/proto/rollapp/state_info.proto +++ b/proto/dymension/rollapp/state_info.proto @@ -5,8 +5,8 @@ option go_package = "github.com/dymensionxyz/dymension/x/rollapp/types"; import "gogoproto/gogo.proto"; -import "rollapp/block_descriptor.proto"; -import "rollapp/state_status.proto"; +import "dymension/rollapp/block_descriptor.proto"; +import "dymension/rollapp/state_status.proto"; // StateInfoIndex is the data used for indexing and retrieving a StateInfo // it updated and saved with every UpdateState in StateInfo. diff --git a/proto/rollapp/state_status.proto b/proto/dymension/rollapp/state_status.proto similarity index 100% rename from proto/rollapp/state_status.proto rename to proto/dymension/rollapp/state_status.proto diff --git a/proto/rollapp/tx.proto b/proto/dymension/rollapp/tx.proto similarity index 96% rename from proto/rollapp/tx.proto rename to proto/dymension/rollapp/tx.proto index cba21cd42..86c735086 100644 --- a/proto/rollapp/tx.proto +++ b/proto/dymension/rollapp/tx.proto @@ -2,8 +2,8 @@ syntax = "proto3"; package dymensionxyz.dymension.rollapp; // this line is used by starport scaffolding # proto/tx/import -import "rollapp/block_descriptor.proto"; -import "shared/sequencers.proto"; +import "dymension/rollapp/block_descriptor.proto"; +import "dymension/shared/sequencers.proto"; option go_package = "github.com/dymensionxyz/dymension/x/rollapp/types"; diff --git a/proto/sequencer/description.proto b/proto/dymension/sequencer/description.proto similarity index 100% rename from proto/sequencer/description.proto rename to proto/dymension/sequencer/description.proto diff --git a/proto/sequencer/genesis.proto b/proto/dymension/sequencer/genesis.proto similarity index 77% rename from proto/sequencer/genesis.proto rename to proto/dymension/sequencer/genesis.proto index 1a3dd43d8..1b289441e 100644 --- a/proto/sequencer/genesis.proto +++ b/proto/dymension/sequencer/genesis.proto @@ -2,10 +2,10 @@ syntax = "proto3"; package dymensionxyz.dymension.sequencer; import "gogoproto/gogo.proto"; -import "sequencer/params.proto"; -import "sequencer/sequencer.proto"; -import "sequencer/sequencers_by_rollapp.proto"; -import "sequencer/scheduler.proto"; +import "dymension/sequencer/params.proto"; +import "dymension/sequencer/sequencer.proto"; +import "dymension/sequencer/sequencers_by_rollapp.proto"; +import "dymension/sequencer/scheduler.proto"; // this line is used by starport scaffolding # genesis/proto/import option go_package = "github.com/dymensionxyz/dymension/x/sequencer/types"; diff --git a/proto/sequencer/operating_status.proto b/proto/dymension/sequencer/operating_status.proto similarity index 100% rename from proto/sequencer/operating_status.proto rename to proto/dymension/sequencer/operating_status.proto diff --git a/proto/sequencer/params.proto b/proto/dymension/sequencer/params.proto similarity index 100% rename from proto/sequencer/params.proto rename to proto/dymension/sequencer/params.proto diff --git a/proto/sequencer/query.proto b/proto/dymension/sequencer/query.proto similarity index 95% rename from proto/sequencer/query.proto rename to proto/dymension/sequencer/query.proto index 8b5220b04..371a735b5 100644 --- a/proto/sequencer/query.proto +++ b/proto/dymension/sequencer/query.proto @@ -4,11 +4,11 @@ package dymensionxyz.dymension.sequencer; import "gogoproto/gogo.proto"; import "google/api/annotations.proto"; import "cosmos/base/query/v1beta1/pagination.proto"; -import "sequencer/params.proto"; -import "sequencer/sequencer.proto"; -import "sequencer/scheduler.proto"; +import "dymension/sequencer/params.proto"; +import "dymension/sequencer/sequencer.proto"; +import "dymension/sequencer/scheduler.proto"; // this line is used by starport scaffolding # 1 -import "sequencer/operating_status.proto"; +import "dymension/sequencer/operating_status.proto"; option go_package = "github.com/dymensionxyz/dymension/x/sequencer/types"; diff --git a/proto/sequencer/scheduler.proto b/proto/dymension/sequencer/scheduler.proto similarity index 89% rename from proto/sequencer/scheduler.proto rename to proto/dymension/sequencer/scheduler.proto index be929ea0f..8695e4ac7 100644 --- a/proto/sequencer/scheduler.proto +++ b/proto/dymension/sequencer/scheduler.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package dymensionxyz.dymension.sequencer; option go_package = "github.com/dymensionxyz/dymension/x/sequencer/types"; -import "sequencer/operating_status.proto"; +import "dymension/sequencer/operating_status.proto"; // Scheduler defines the operating status of a sequencer message Scheduler { diff --git a/proto/sequencer/sequencer.proto b/proto/dymension/sequencer/sequencer.proto similarity index 95% rename from proto/sequencer/sequencer.proto rename to proto/dymension/sequencer/sequencer.proto index cf621e023..15eb0377f 100644 --- a/proto/sequencer/sequencer.proto +++ b/proto/dymension/sequencer/sequencer.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package dymensionxyz.dymension.sequencer; option go_package = "github.com/dymensionxyz/dymension/x/sequencer/types"; -import "sequencer/description.proto"; +import "dymension/sequencer/description.proto"; import "cosmos_proto/cosmos.proto"; import "google/protobuf/any.proto"; diff --git a/proto/sequencer/sequencers_by_rollapp.proto b/proto/dymension/sequencer/sequencers_by_rollapp.proto similarity index 92% rename from proto/sequencer/sequencers_by_rollapp.proto rename to proto/dymension/sequencer/sequencers_by_rollapp.proto index 8f3b3d250..6eb893bd0 100644 --- a/proto/sequencer/sequencers_by_rollapp.proto +++ b/proto/dymension/sequencer/sequencers_by_rollapp.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package dymensionxyz.dymension.sequencer; option go_package = "github.com/dymensionxyz/dymension/x/sequencer/types"; -import "shared/sequencers.proto"; +import "dymension/shared/sequencers.proto"; import "gogoproto/gogo.proto"; diff --git a/proto/sequencer/tx.proto b/proto/dymension/sequencer/tx.proto similarity index 96% rename from proto/sequencer/tx.proto rename to proto/dymension/sequencer/tx.proto index 89e7a47b2..65d704447 100644 --- a/proto/sequencer/tx.proto +++ b/proto/dymension/sequencer/tx.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package dymensionxyz.dymension.sequencer; // this line is used by starport scaffolding # proto/tx/import -import "sequencer/description.proto"; +import "dymension/sequencer/description.proto"; import "google/protobuf/any.proto"; import "cosmos_proto/cosmos.proto"; diff --git a/proto/shared/sequencers.proto b/proto/dymension/shared/sequencers.proto similarity index 100% rename from proto/shared/sequencers.proto rename to proto/dymension/shared/sequencers.proto diff --git a/proto/irc/query.proto b/proto/irc/query.proto deleted file mode 100644 index b6cd2b18a..000000000 --- a/proto/irc/query.proto +++ /dev/null @@ -1,26 +0,0 @@ -syntax = "proto3"; -package dymensionxyz.dymension.irc; - -import "gogoproto/gogo.proto"; -import "google/api/annotations.proto"; -import "cosmos/base/query/v1beta1/pagination.proto"; -import "dymension/irc/params.proto"; - -option go_package = "github.com/dymensionxyz/dymension/x/irc/types"; - -// Query defines the gRPC querier service. -service Query { - // Parameters queries the parameters of the module. - rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/dymensionxyz/dymension/irc/params"; - } -} - -// QueryParamsRequest is request type for the Query/Params RPC method. -message QueryParamsRequest {} - -// QueryParamsResponse is response type for the Query/Params RPC method. -message QueryParamsResponse { - // params holds all the parameters of this module. - Params params = 1 [(gogoproto.nullable) = false]; -} \ No newline at end of file diff --git a/shared/types/sequencers.pb.go b/shared/types/sequencers.pb.go index 4469db96c..5246dfc43 100644 --- a/shared/types/sequencers.pb.go +++ b/shared/types/sequencers.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: shared/sequencers.proto +// source: dymension/shared/sequencers.proto package types @@ -31,7 +31,7 @@ func (m *Sequencers) Reset() { *m = Sequencers{} } func (m *Sequencers) String() string { return proto.CompactTextString(m) } func (*Sequencers) ProtoMessage() {} func (*Sequencers) Descriptor() ([]byte, []int) { - return fileDescriptor_72ea1e28da3eed19, []int{0} + return fileDescriptor_158b57dbfae0ceeb, []int{0} } func (m *Sequencers) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -71,20 +71,20 @@ func init() { proto.RegisterType((*Sequencers)(nil), "dymensionxyz.dymension.shared.Sequencers") } -func init() { proto.RegisterFile("shared/sequencers.proto", fileDescriptor_72ea1e28da3eed19) } +func init() { proto.RegisterFile("dymension/shared/sequencers.proto", fileDescriptor_158b57dbfae0ceeb) } -var fileDescriptor_72ea1e28da3eed19 = []byte{ - // 156 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x2f, 0xce, 0x48, 0x2c, - 0x4a, 0x4d, 0xd1, 0x2f, 0x4e, 0x2d, 0x2c, 0x4d, 0xcd, 0x4b, 0x4e, 0x2d, 0x2a, 0xd6, 0x2b, 0x28, - 0xca, 0x2f, 0xc9, 0x17, 0x92, 0x4d, 0xa9, 0xcc, 0x4d, 0xcd, 0x2b, 0xce, 0xcc, 0xcf, 0xab, 0xa8, - 0xac, 0xd2, 0x83, 0x73, 0xf4, 0x20, 0xea, 0x95, 0xb4, 0xb8, 0xb8, 0x82, 0xe1, 0x5a, 0x84, 0x64, - 0xb8, 0x38, 0x13, 0x53, 0x52, 0x8a, 0x52, 0x8b, 0x8b, 0x53, 0x8b, 0x25, 0x18, 0x15, 0x98, 0x35, - 0x38, 0x83, 0x10, 0x02, 0x4e, 0x1e, 0x27, 0x1e, 0xc9, 0x31, 0x5e, 0x78, 0x24, 0xc7, 0xf8, 0xe0, - 0x91, 0x1c, 0xe3, 0x84, 0xc7, 0x72, 0x0c, 0x17, 0x1e, 0xcb, 0x31, 0xdc, 0x78, 0x2c, 0xc7, 0x10, - 0xa5, 0x97, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0xab, 0x8f, 0x6c, 0x1f, 0x82, - 0xa3, 0x0f, 0x75, 0x5f, 0x49, 0x65, 0x41, 0x6a, 0x71, 0x12, 0x1b, 0xd8, 0x6d, 0xc6, 0x80, 0x00, - 0x00, 0x00, 0xff, 0xff, 0x4f, 0x8f, 0x1c, 0xce, 0xb6, 0x00, 0x00, 0x00, +var fileDescriptor_158b57dbfae0ceeb = []byte{ + // 157 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4c, 0xa9, 0xcc, 0x4d, + 0xcd, 0x2b, 0xce, 0xcc, 0xcf, 0xd3, 0x2f, 0xce, 0x48, 0x2c, 0x4a, 0x4d, 0xd1, 0x2f, 0x4e, 0x2d, + 0x2c, 0x4d, 0xcd, 0x4b, 0x4e, 0x2d, 0x2a, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0x85, + 0x2b, 0xa9, 0xa8, 0xac, 0xd2, 0x83, 0x73, 0xf4, 0x20, 0xea, 0x95, 0xb4, 0xb8, 0xb8, 0x82, 0xe1, + 0x5a, 0x84, 0x64, 0xb8, 0x38, 0x13, 0x53, 0x52, 0x8a, 0x52, 0x8b, 0x8b, 0x53, 0x8b, 0x25, 0x18, + 0x15, 0x98, 0x35, 0x38, 0x83, 0x10, 0x02, 0x4e, 0x1e, 0x27, 0x1e, 0xc9, 0x31, 0x5e, 0x78, 0x24, + 0xc7, 0xf8, 0xe0, 0x91, 0x1c, 0xe3, 0x84, 0xc7, 0x72, 0x0c, 0x17, 0x1e, 0xcb, 0x31, 0xdc, 0x78, + 0x2c, 0xc7, 0x10, 0xa5, 0x97, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0xab, 0x8f, + 0x6c, 0x9f, 0x3e, 0x86, 0xfb, 0x4a, 0x2a, 0x0b, 0x52, 0x8b, 0x93, 0xd8, 0xc0, 0x6e, 0x33, 0x06, + 0x04, 0x00, 0x00, 0xff, 0xff, 0x86, 0x1c, 0x1a, 0x75, 0xc0, 0x00, 0x00, 0x00, } func (m *Sequencers) Marshal() (dAtA []byte, err error) { diff --git a/testutil/keeper/irc.go b/testutil/keeper/irc.go index d528f44bd..64756222c 100644 --- a/testutil/keeper/irc.go +++ b/testutil/keeper/irc.go @@ -19,6 +19,8 @@ import ( "github.com/tendermint/tendermint/libs/log" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" tmdb "github.com/tendermint/tm-db" + + ibc "github.com/cosmos/ibc-go/v3/modules/core/types" ) func IRCKeeper(t testing.TB) (*keeper.Keeper, *rollappkeeper.Keeper, sdk.Context) { @@ -31,7 +33,10 @@ func IRCKeeper(t testing.TB) (*keeper.Keeper, *rollappkeeper.Keeper, sdk.Context stateStore.MountStoreWithDB(memStoreKey, storetypes.StoreTypeMemory, nil) require.NoError(t, stateStore.LoadLatestVersion()) + // create codec registry := codectypes.NewInterfaceRegistry() + types.RegisterInterfaces(registry) + ibc.RegisterInterfaces(registry) cdc := codec.NewProtoCodec(registry) // create roolapp keeper @@ -54,6 +59,7 @@ func IRCKeeper(t testing.TB) (*keeper.Keeper, *rollappkeeper.Keeper, sdk.Context memStoreKey, "IrcParams", ) + k := keeper.NewKeeper( cdc, storeKey, diff --git a/x/irc/client/cli/query.go b/x/irc/client/cli/query.go index 0dd9268e3..63af9a05d 100644 --- a/x/irc/client/cli/query.go +++ b/x/irc/client/cli/query.go @@ -25,6 +25,8 @@ func GetQueryCmd(queryRoute string) *cobra.Command { } cmd.AddCommand(CmdQueryParams()) + cmd.AddCommand(CmdListIRCRequest()) + cmd.AddCommand(CmdShowIRCRequest()) // this line is used by starport scaffolding # 1 return cmd diff --git a/x/irc/client/cli/query_irc_request.go b/x/irc/client/cli/query_irc_request.go new file mode 100644 index 000000000..cd4938171 --- /dev/null +++ b/x/irc/client/cli/query_irc_request.go @@ -0,0 +1,77 @@ +package cli + +import ( + "context" + + "github.com/cosmos/cosmos-sdk/client" + "github.com/cosmos/cosmos-sdk/client/flags" + "github.com/dymensionxyz/dymension/x/irc/types" + "github.com/spf13/cast" + "github.com/spf13/cobra" +) + +func CmdListIRCRequest() *cobra.Command { + cmd := &cobra.Command{ + Use: "list-irc-requests", + Short: "list all irc_requests", + RunE: func(cmd *cobra.Command, args []string) error { + clientCtx := client.GetClientContextFromCmd(cmd) + + pageReq, err := client.ReadPageRequest(cmd.Flags()) + if err != nil { + return err + } + + queryClient := types.NewQueryClient(clientCtx) + + params := &types.QueryAllIRCRequestRequest{ + Pagination: pageReq, + } + + res, err := queryClient.IRCRequestAll(context.Background(), params) + if err != nil { + return err + } + + return clientCtx.PrintProto(res) + }, + } + + flags.AddPaginationFlagsToCmd(cmd, cmd.Use) + flags.AddQueryFlagsToCmd(cmd) + + return cmd +} + +func CmdShowIRCRequest() *cobra.Command { + cmd := &cobra.Command{ + Use: "show-irc-requests [req-id]", + Short: "shows a irc_requests", + Args: cobra.ExactArgs(1), + RunE: func(cmd *cobra.Command, args []string) (err error) { + clientCtx := client.GetClientContextFromCmd(cmd) + + queryClient := types.NewQueryClient(clientCtx) + + argReqId, err := cast.ToUint64E(args[0]) + if err != nil { + return err + } + + params := &types.QueryGetIRCRequestRequest{ + ReqId: argReqId, + } + + res, err := queryClient.IRCRequest(context.Background(), params) + if err != nil { + return err + } + + return clientCtx.PrintProto(res) + }, + } + + flags.AddQueryFlagsToCmd(cmd) + + return cmd +} diff --git a/x/irc/client/cli/query_irc_request_test.go b/x/irc/client/cli/query_irc_request_test.go new file mode 100644 index 000000000..e47742a08 --- /dev/null +++ b/x/irc/client/cli/query_irc_request_test.go @@ -0,0 +1,161 @@ +package cli_test + +import ( + "fmt" + "strconv" + "testing" + + "github.com/cosmos/cosmos-sdk/client/flags" + clitestutil "github.com/cosmos/cosmos-sdk/testutil/cli" + "github.com/stretchr/testify/require" + tmcli "github.com/tendermint/tendermint/libs/cli" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/status" + + "github.com/dymensionxyz/dymension/testutil/network" + "github.com/dymensionxyz/dymension/testutil/nullify" + "github.com/dymensionxyz/dymension/x/irc/client/cli" + "github.com/dymensionxyz/dymension/x/irc/types" +) + +// Prevent strconv unused error +var _ = strconv.IntSize + +func networkWithIRCRequestObjects(t *testing.T, n int) (*network.Network, []types.IRCRequest) { + t.Helper() + cfg := network.DefaultConfig() + state := types.GenesisState{} + require.NoError(t, cfg.Codec.UnmarshalJSON(cfg.GenesisState[types.ModuleName], &state)) + + for i := 0; i < n; i++ { + ircRequest := types.IRCRequest{ + ReqId: uint64(i), + } + nullify.Fill(&ircRequest) + state.IRCRequestList = append(state.IRCRequestList, ircRequest) + } + buf, err := cfg.Codec.MarshalJSON(&state) + require.NoError(t, err) + cfg.GenesisState[types.ModuleName] = buf + return network.New(t, cfg), state.IRCRequestList +} + +func TestShowIRCRequest(t *testing.T) { + net, objs := networkWithIRCRequestObjects(t, 2) + + ctx := net.Validators[0].ClientCtx + common := []string{ + fmt.Sprintf("--%s=json", tmcli.OutputFlag), + } + for _, tc := range []struct { + desc string + idReqId uint64 + + args []string + err error + obj types.IRCRequest + }{ + { + desc: "found", + idReqId: objs[0].ReqId, + + args: common, + obj: objs[0], + }, + { + desc: "not found", + idReqId: 100000, + + args: common, + err: status.Error(codes.NotFound, "not found"), + }, + } { + t.Run(tc.desc, func(t *testing.T) { + args := []string{ + strconv.Itoa(int(tc.idReqId)), + } + args = append(args, tc.args...) + out, err := clitestutil.ExecTestCLICmd(ctx, cli.CmdShowIRCRequest(), args) + if tc.err != nil { + stat, ok := status.FromError(tc.err) + require.True(t, ok) + require.ErrorIs(t, stat.Err(), tc.err) + } else { + require.NoError(t, err) + var resp types.QueryGetIRCRequestResponse + require.NoError(t, net.Config.Codec.UnmarshalJSON(out.Bytes(), &resp)) + require.NotNil(t, resp.IrcRequest) + require.Equal(t, + nullify.Fill(&tc.obj), + nullify.Fill(&resp.IrcRequest), + ) + } + }) + } +} + +func TestListIRCRequest(t *testing.T) { + net, objs := networkWithIRCRequestObjects(t, 5) + + ctx := net.Validators[0].ClientCtx + request := func(next []byte, offset, limit uint64, total bool) []string { + args := []string{ + fmt.Sprintf("--%s=json", tmcli.OutputFlag), + } + if next == nil { + args = append(args, fmt.Sprintf("--%s=%d", flags.FlagOffset, offset)) + } else { + args = append(args, fmt.Sprintf("--%s=%s", flags.FlagPageKey, next)) + } + args = append(args, fmt.Sprintf("--%s=%d", flags.FlagLimit, limit)) + if total { + args = append(args, fmt.Sprintf("--%s", flags.FlagCountTotal)) + } + return args + } + t.Run("ByOffset", func(t *testing.T) { + step := 2 + for i := 0; i < len(objs); i += step { + args := request(nil, uint64(i), uint64(step), false) + out, err := clitestutil.ExecTestCLICmd(ctx, cli.CmdListIRCRequest(), args) + require.NoError(t, err) + var resp types.QueryAllIRCRequestResponse + require.NoError(t, net.Config.Codec.UnmarshalJSON(out.Bytes(), &resp)) + require.LessOrEqual(t, len(resp.IrcRequest), step) + require.Subset(t, + nullify.Fill(objs), + nullify.Fill(resp.IrcRequest), + ) + } + }) + t.Run("ByKey", func(t *testing.T) { + step := 2 + var next []byte + for i := 0; i < len(objs); i += step { + args := request(next, 0, uint64(step), false) + out, err := clitestutil.ExecTestCLICmd(ctx, cli.CmdListIRCRequest(), args) + require.NoError(t, err) + var resp types.QueryAllIRCRequestResponse + require.NoError(t, net.Config.Codec.UnmarshalJSON(out.Bytes(), &resp)) + require.LessOrEqual(t, len(resp.IrcRequest), step) + require.Subset(t, + nullify.Fill(objs), + nullify.Fill(resp.IrcRequest), + ) + next = resp.Pagination.NextKey + } + }) + t.Run("Total", func(t *testing.T) { + args := request(nil, 0, uint64(len(objs)), true) + out, err := clitestutil.ExecTestCLICmd(ctx, cli.CmdListIRCRequest(), args) + require.NoError(t, err) + var resp types.QueryAllIRCRequestResponse + require.NoError(t, net.Config.Codec.UnmarshalJSON(out.Bytes(), &resp)) + require.NoError(t, err) + require.Equal(t, len(objs), int(resp.Pagination.Total)) + require.ElementsMatch(t, + nullify.Fill(objs), + nullify.Fill(resp.IrcRequest), + ) + }) +} diff --git a/x/irc/genesis.go b/x/irc/genesis.go index 1db661128..d4260fcb9 100644 --- a/x/irc/genesis.go +++ b/x/irc/genesis.go @@ -8,6 +8,10 @@ import ( // InitGenesis initializes the module's state from a provided genesis state. func InitGenesis(ctx sdk.Context, k *keeper.Keeper, genState types.GenesisState) { + // Set all the ircRequest + for _, elem := range genState.IRCRequestList { + k.SetIRCRequest(ctx, elem) + } // this line is used by starport scaffolding # genesis/module/init k.SetParams(ctx, genState.Params) } @@ -17,6 +21,7 @@ func ExportGenesis(ctx sdk.Context, k *keeper.Keeper) *types.GenesisState { genesis := types.DefaultGenesis() genesis.Params = k.GetParams(ctx) + genesis.IRCRequestList = k.GetAllIRCRequest(ctx) // this line is used by starport scaffolding # genesis/module/export return genesis diff --git a/x/irc/genesis_test.go b/x/irc/genesis_test.go index 0aa4df150..bc40b4170 100644 --- a/x/irc/genesis_test.go +++ b/x/irc/genesis_test.go @@ -14,6 +14,14 @@ func TestGenesis(t *testing.T) { genesisState := types.GenesisState{ Params: types.DefaultParams(), + IRCRequestList: []types.IRCRequest{ + { + ReqId: 0, + }, + { + ReqId: 1, + }, + }, // this line is used by starport scaffolding # genesis/test/state } @@ -25,5 +33,6 @@ func TestGenesis(t *testing.T) { nullify.Fill(&genesisState) nullify.Fill(got) + require.ElementsMatch(t, genesisState.IRCRequestList, got.IRCRequestList) // this line is used by starport scaffolding # genesis/test/assert } diff --git a/x/irc/keeper/irc_request.go b/x/irc/keeper/irc_request.go new file mode 100644 index 000000000..1df45d9bf --- /dev/null +++ b/x/irc/keeper/irc_request.go @@ -0,0 +1,64 @@ +package keeper + +import ( + "github.com/cosmos/cosmos-sdk/store/prefix" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/dymensionxyz/dymension/x/irc/types" +) + +// SetIRCRequest set a specific ircRequest in the store from its index +func (k Keeper) SetIRCRequest(ctx sdk.Context, ircRequest types.IRCRequest) { + store := prefix.NewStore(ctx.KVStore(k.storeKey), types.KeyPrefix(types.IRCRequestKeyPrefix)) + b := k.cdc.MustMarshal(&ircRequest) + store.Set(types.IRCRequestKey( + ircRequest.ReqId, + ), b) +} + +// GetIRCRequest returns a ircRequest from its index +func (k Keeper) GetIRCRequest( + ctx sdk.Context, + reqId uint64, + +) (val types.IRCRequest, found bool) { + store := prefix.NewStore(ctx.KVStore(k.storeKey), types.KeyPrefix(types.IRCRequestKeyPrefix)) + + b := store.Get(types.IRCRequestKey( + reqId, + )) + if b == nil { + return val, false + } + + k.cdc.MustUnmarshal(b, &val) + return val, true +} + +// RemoveIRCRequest removes a ircRequest from the store +func (k Keeper) RemoveIRCRequest( + ctx sdk.Context, + reqId uint64, + +) { + store := prefix.NewStore(ctx.KVStore(k.storeKey), types.KeyPrefix(types.IRCRequestKeyPrefix)) + store.Delete(types.IRCRequestKey( + reqId, + )) +} + +// GetAllIRCRequest returns all ircRequest +func (k Keeper) GetAllIRCRequest(ctx sdk.Context) (list []types.IRCRequest) { + store := prefix.NewStore(ctx.KVStore(k.storeKey), types.KeyPrefix(types.IRCRequestKeyPrefix)) + iterator := sdk.KVStorePrefixIterator(store, []byte{}) + + // nolint: errcheck + defer iterator.Close() + + for ; iterator.Valid(); iterator.Next() { + var val types.IRCRequest + k.cdc.MustUnmarshal(iterator.Value(), &val) + list = append(list, val) + } + + return +} diff --git a/x/irc/keeper/irc_requests_test.go b/x/irc/keeper/irc_requests_test.go new file mode 100644 index 000000000..bfefc52f7 --- /dev/null +++ b/x/irc/keeper/irc_requests_test.go @@ -0,0 +1,76 @@ +package keeper_test + +import ( + "strconv" + "testing" + + sdk "github.com/cosmos/cosmos-sdk/types" + channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" + keepertest "github.com/dymensionxyz/dymension/testutil/keeper" + "github.com/dymensionxyz/dymension/testutil/nullify" + "github.com/dymensionxyz/dymension/x/irc/keeper" + "github.com/dymensionxyz/dymension/x/irc/types" + "github.com/stretchr/testify/require" + + clienttypes "github.com/cosmos/ibc-go/v3/modules/core/02-client/types" +) + +// Prevent strconv unused error +var _ = strconv.IntSize + +func createNIRCRequest(t *testing.T, keeper *keeper.Keeper, ctx sdk.Context, n int) []types.IRCRequest { + items := make([]types.IRCRequest, n) + for i := range items { + req, err := types.NewIRCRequest(uint64(i), &channeltypes.MsgRecvPacket{ + Packet: channeltypes.Packet{}, + ProofCommitment: []byte{1, 2, 3, 4, 5, 6, byte(i)}, + ProofHeight: clienttypes.Height{ + RevisionNumber: uint64(i), + RevisionHeight: uint64(i + 1), + }, + Signer: "", + }) + require.NoError(t, err) + items[i] = *req + keeper.SetIRCRequest(ctx, items[i]) + } + return items +} + +func TestIRCRequestGet(t *testing.T) { + keeper, _, ctx := keepertest.IRCKeeper(t) + + items := createNIRCRequest(t, keeper, ctx, 10) + for _, item := range items { + rst, found := keeper.GetIRCRequest(ctx, + item.ReqId, + ) + require.True(t, found) + require.Equal(t, &item, &rst) + msg := rst.GetMsg() + require.NotNil(t, msg) + } +} +func TestIRCRequestRemove(t *testing.T) { + keeper, _, ctx := keepertest.IRCKeeper(t) + items := createNIRCRequest(t, keeper, ctx, 10) + for _, item := range items { + keeper.RemoveIRCRequest(ctx, + item.ReqId, + ) + _, found := keeper.GetIRCRequest(ctx, + item.ReqId, + ) + require.False(t, found) + } +} + +func TestIRCRequestGetAll(t *testing.T) { + keeper, _, ctx := keepertest.IRCKeeper(t) + + items := createNIRCRequest(t, keeper, ctx, 10) + require.ElementsMatch(t, + nullify.Fill(items), + nullify.Fill(keeper.GetAllIRCRequest(ctx)), + ) +} diff --git a/x/irc/keeper/query_irc_request.go b/x/irc/keeper/query_irc_request.go new file mode 100644 index 000000000..c635af70e --- /dev/null +++ b/x/irc/keeper/query_irc_request.go @@ -0,0 +1,57 @@ +package keeper + +import ( + "context" + + "github.com/cosmos/cosmos-sdk/store/prefix" + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/query" + "github.com/dymensionxyz/dymension/x/irc/types" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/status" +) + +func (k Keeper) IRCRequestAll(goCtx context.Context, req *types.QueryAllIRCRequestRequest) (*types.QueryAllIRCRequestResponse, error) { + if req == nil { + return nil, status.Error(codes.InvalidArgument, "invalid request") + } + + var ircRequests []types.IRCRequest + ctx := sdk.UnwrapSDKContext(goCtx) + + store := ctx.KVStore(k.storeKey) + ircRequestStore := prefix.NewStore(store, types.KeyPrefix(types.IRCRequestKeyPrefix)) + + pageRes, err := query.Paginate(ircRequestStore, req.Pagination, func(key []byte, value []byte) error { + var ircRequest types.IRCRequest + if err := k.cdc.Unmarshal(value, &ircRequest); err != nil { + return err + } + + ircRequests = append(ircRequests, ircRequest) + return nil + }) + + if err != nil { + return nil, status.Error(codes.Internal, err.Error()) + } + + return &types.QueryAllIRCRequestResponse{IrcRequest: ircRequests, Pagination: pageRes}, nil +} + +func (k Keeper) IRCRequest(goCtx context.Context, req *types.QueryGetIRCRequestRequest) (*types.QueryGetIRCRequestResponse, error) { + if req == nil { + return nil, status.Error(codes.InvalidArgument, "invalid request") + } + ctx := sdk.UnwrapSDKContext(goCtx) + + val, found := k.GetIRCRequest( + ctx, + req.ReqId, + ) + if !found { + return nil, status.Error(codes.NotFound, "not found") + } + + return &types.QueryGetIRCRequestResponse{IrcRequest: val}, nil +} diff --git a/x/irc/keeper/query_irc_request_test.go b/x/irc/keeper/query_irc_request_test.go new file mode 100644 index 000000000..25b31eedf --- /dev/null +++ b/x/irc/keeper/query_irc_request_test.go @@ -0,0 +1,128 @@ +package keeper_test + +import ( + "strconv" + "testing" + + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/cosmos/cosmos-sdk/types/query" + "github.com/stretchr/testify/require" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/status" + + keepertest "github.com/dymensionxyz/dymension/testutil/keeper" + "github.com/dymensionxyz/dymension/testutil/nullify" + "github.com/dymensionxyz/dymension/x/irc/types" +) + +// Prevent strconv unused error +var _ = strconv.IntSize + +func TestIRCRequestQuerySingle(t *testing.T) { + keeper, _, ctx := keepertest.IRCKeeper(t) + + wctx := sdk.WrapSDKContext(ctx) + msgs := createNIRCRequest(t, keeper, ctx, 2) + for _, tc := range []struct { + desc string + request *types.QueryGetIRCRequestRequest + response *types.QueryGetIRCRequestResponse + err error + }{ + { + desc: "First", + request: &types.QueryGetIRCRequestRequest{ + ReqId: msgs[0].ReqId, + }, + response: &types.QueryGetIRCRequestResponse{IrcRequest: msgs[0]}, + }, + { + desc: "Second", + request: &types.QueryGetIRCRequestRequest{ + ReqId: msgs[1].ReqId, + }, + response: &types.QueryGetIRCRequestResponse{IrcRequest: msgs[1]}, + }, + { + desc: "KeyNotFound", + request: &types.QueryGetIRCRequestRequest{ + ReqId: 100000, + }, + err: status.Error(codes.NotFound, "not found"), + }, + { + desc: "InvalidRequest", + err: status.Error(codes.InvalidArgument, "invalid request"), + }, + } { + t.Run(tc.desc, func(t *testing.T) { + response, err := keeper.IRCRequest(wctx, tc.request) + if tc.err != nil { + require.ErrorIs(t, err, tc.err) + } else { + require.NoError(t, err) + require.Equal(t, + nullify.Fill(tc.response), + nullify.Fill(response), + ) + } + }) + } +} + +func TestIRCRequestQueryPaginated(t *testing.T) { + keeper, _, ctx := keepertest.IRCKeeper(t) + + wctx := sdk.WrapSDKContext(ctx) + msgs := createNIRCRequest(t, keeper, ctx, 5) + + request := func(next []byte, offset, limit uint64, total bool) *types.QueryAllIRCRequestRequest { + return &types.QueryAllIRCRequestRequest{ + Pagination: &query.PageRequest{ + Key: next, + Offset: offset, + Limit: limit, + CountTotal: total, + }, + } + } + t.Run("ByOffset", func(t *testing.T) { + step := 2 + for i := 0; i < len(msgs); i += step { + resp, err := keeper.IRCRequestAll(wctx, request(nil, uint64(i), uint64(step), false)) + require.NoError(t, err) + require.LessOrEqual(t, len(resp.IrcRequest), step) + require.Subset(t, + nullify.Fill(msgs), + nullify.Fill(resp.IrcRequest), + ) + } + }) + t.Run("ByKey", func(t *testing.T) { + step := 2 + var next []byte + for i := 0; i < len(msgs); i += step { + resp, err := keeper.IRCRequestAll(wctx, request(next, 0, uint64(step), false)) + require.NoError(t, err) + require.LessOrEqual(t, len(resp.IrcRequest), step) + require.Subset(t, + nullify.Fill(msgs), + nullify.Fill(resp.IrcRequest), + ) + next = resp.Pagination.NextKey + } + }) + t.Run("Total", func(t *testing.T) { + resp, err := keeper.IRCRequestAll(wctx, request(nil, 0, 0, true)) + require.NoError(t, err) + require.Equal(t, len(msgs), int(resp.Pagination.Total)) + require.ElementsMatch(t, + nullify.Fill(msgs), + nullify.Fill(resp.IrcRequest), + ) + }) + t.Run("InvalidRequest", func(t *testing.T) { + _, err := keeper.IRCRequestAll(wctx, nil) + require.ErrorIs(t, err, status.Error(codes.InvalidArgument, "invalid request")) + }) +} diff --git a/x/irc/types/errors.go b/x/irc/types/errors.go index 0a5b4b3af..436372a7a 100644 --- a/x/irc/types/errors.go +++ b/x/irc/types/errors.go @@ -8,5 +8,5 @@ import ( // x/irc module sentinel errors var ( - ErrSample = sdkerrors.Register(ModuleName, 1100, "sample error") + ErrInvalidMsgType = sdkerrors.Register(ModuleName, 1100, "invalid msg type") ) diff --git a/x/irc/types/expected_keepers.go b/x/irc/types/expected_keepers.go index 2bd0c6237..bdc3fe76e 100644 --- a/x/irc/types/expected_keepers.go +++ b/x/irc/types/expected_keepers.go @@ -10,7 +10,7 @@ import ( // RollappKeeper defines the expected rollapp keeper used for retrieve rollapp. type RollappKeeper interface { GetRollapp(ctx sdk.Context, rollappId string) (val rollapptypes.Rollapp, found bool) - FindStateInfoByHeight(ctx sdk.Context, rollappId string, heigh uint64) (*rollapptypes.StateInfo, error) + FindStateInfoByHeight(ctx sdk.Context, rollappId string, height uint64) (*rollapptypes.StateInfo, error) // Methods imported from rollapp should be defined here } diff --git a/x/irc/types/genesis.go b/x/irc/types/genesis.go index 2c15cd92a..9396c9512 100644 --- a/x/irc/types/genesis.go +++ b/x/irc/types/genesis.go @@ -1,6 +1,8 @@ package types -// this line is used by starport scaffolding # genesis/types/import +import ( + "fmt" +) // DefaultIndex is the default global index const DefaultIndex uint64 = 1 @@ -8,6 +10,7 @@ const DefaultIndex uint64 = 1 // DefaultGenesis returns the default genesis state func DefaultGenesis() *GenesisState { return &GenesisState{ + IRCRequestList: []IRCRequest{}, // this line is used by starport scaffolding # genesis/types/default Params: DefaultParams(), } @@ -16,6 +19,16 @@ func DefaultGenesis() *GenesisState { // Validate performs basic genesis state validation returning an error upon any // failure. func (gs GenesisState) Validate() error { + // Check for duplicated index in ircRequest + ircRequestIndexMap := make(map[string]struct{}) + + for _, elem := range gs.IRCRequestList { + index := string(IRCRequestKey(elem.ReqId)) + if _, ok := ircRequestIndexMap[index]; ok { + return fmt.Errorf("duplicated index for ircRequest") + } + ircRequestIndexMap[index] = struct{}{} + } // this line is used by starport scaffolding # genesis/types/validate return gs.Params.Validate() diff --git a/x/irc/types/genesis.pb.go b/x/irc/types/genesis.pb.go index 9a1edc323..76ce4f3e3 100644 --- a/x/irc/types/genesis.pb.go +++ b/x/irc/types/genesis.pb.go @@ -25,7 +25,8 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // GenesisState defines the irc module's genesis state. type GenesisState struct { - Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` + Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` + IRCRequestList []IRCRequest `protobuf:"bytes,2,rep,name=IRCRequestList,proto3" json:"IRCRequestList"` } func (m *GenesisState) Reset() { *m = GenesisState{} } @@ -68,6 +69,13 @@ func (m *GenesisState) GetParams() Params { return Params{} } +func (m *GenesisState) GetIRCRequestList() []IRCRequest { + if m != nil { + return m.IRCRequestList + } + return nil +} + func init() { proto.RegisterType((*GenesisState)(nil), "dymensionxyz.dymension.irc.GenesisState") } @@ -75,19 +83,23 @@ func init() { func init() { proto.RegisterFile("dymension/irc/genesis.proto", fileDescriptor_b22ab0a0f43858c9) } var fileDescriptor_b22ab0a0f43858c9 = []byte{ - // 192 bytes of a gzipped FileDescriptorProto + // 242 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4e, 0xa9, 0xcc, 0x4d, 0xcd, 0x2b, 0xce, 0xcc, 0xcf, 0xd3, 0xcf, 0x2c, 0x4a, 0xd6, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0x82, 0x4b, 0x56, 0x54, 0x56, 0xe9, 0xc1, 0x39, 0x7a, 0x99, 0x45, 0xc9, 0x52, 0x22, 0xe9, 0xf9, 0xe9, 0xf9, 0x60, 0x65, 0xfa, 0x20, 0x16, - 0x44, 0x87, 0x94, 0x14, 0xaa, 0x71, 0x05, 0x89, 0x45, 0x89, 0xb9, 0x50, 0xd3, 0x94, 0x02, 0xb8, - 0x78, 0xdc, 0x21, 0xc6, 0x07, 0x97, 0x24, 0x96, 0xa4, 0x0a, 0x39, 0x70, 0xb1, 0x41, 0xe4, 0x25, - 0x18, 0x15, 0x18, 0x35, 0xb8, 0x8d, 0x94, 0xf4, 0x70, 0x5b, 0xa7, 0x17, 0x00, 0x56, 0xe9, 0xc4, - 0x72, 0xe2, 0x9e, 0x3c, 0x43, 0x10, 0x54, 0x9f, 0x93, 0xfb, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, - 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, - 0x1e, 0xcb, 0x31, 0x44, 0xe9, 0xa6, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, - 0x23, 0x9b, 0x8a, 0xe0, 0xe8, 0x57, 0x80, 0x5d, 0x58, 0x52, 0x59, 0x90, 0x5a, 0x9c, 0xc4, 0x06, - 0x76, 0xa1, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0xa1, 0x41, 0x19, 0x3e, 0x0e, 0x01, 0x00, 0x00, + 0x44, 0x87, 0x94, 0x14, 0xaa, 0x71, 0x05, 0x89, 0x45, 0x89, 0xb9, 0x50, 0xd3, 0xa4, 0x14, 0x50, + 0xe5, 0x32, 0x8b, 0x92, 0xe3, 0x8b, 0x52, 0x0b, 0x4b, 0x53, 0x8b, 0x4b, 0xa0, 0x2a, 0x94, 0x96, + 0x31, 0x72, 0xf1, 0xb8, 0x43, 0x5c, 0x10, 0x5c, 0x92, 0x58, 0x92, 0x2a, 0xe4, 0xc0, 0xc5, 0x06, + 0x31, 0x42, 0x82, 0x51, 0x81, 0x51, 0x83, 0xdb, 0x48, 0x49, 0x0f, 0xb7, 0x8b, 0xf4, 0x02, 0xc0, + 0x2a, 0x9d, 0x58, 0x4e, 0xdc, 0x93, 0x67, 0x08, 0x82, 0xea, 0x13, 0x0a, 0xe1, 0xe2, 0xf3, 0x0c, + 0x72, 0x0e, 0x82, 0xd8, 0xe3, 0x93, 0x59, 0x5c, 0x22, 0xc1, 0xa4, 0xc0, 0xac, 0xc1, 0x6d, 0xa4, + 0x86, 0xcf, 0x24, 0x84, 0x0e, 0xa8, 0x69, 0x68, 0x66, 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, 0x3e, 0xb2, 0x0d, 0x08, 0x8e, 0x7e, 0x05, 0xd8, 0xfb, 0x25, 0x95, 0x05, 0xa9, 0xc5, 0x49, + 0x6c, 0x60, 0x8f, 0x1b, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0xef, 0x3f, 0x53, 0xa0, 0x87, 0x01, + 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { @@ -110,6 +122,20 @@ func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if len(m.IRCRequestList) > 0 { + for iNdEx := len(m.IRCRequestList) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.IRCRequestList[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGenesis(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + } { size, err := m.Params.MarshalToSizedBuffer(dAtA[:i]) if err != nil { @@ -142,6 +168,12 @@ func (m *GenesisState) Size() (n int) { _ = l l = m.Params.Size() n += 1 + l + sovGenesis(uint64(l)) + if len(m.IRCRequestList) > 0 { + for _, e := range m.IRCRequestList { + l = e.Size() + n += 1 + l + sovGenesis(uint64(l)) + } + } return n } @@ -213,6 +245,40 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field IRCRequestList", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenesis + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenesis + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGenesis + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.IRCRequestList = append(m.IRCRequestList, IRCRequest{}) + if err := m.IRCRequestList[len(m.IRCRequestList)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenesis(dAtA[iNdEx:]) diff --git a/x/irc/types/genesis_test.go b/x/irc/types/genesis_test.go index a2f7e82c2..0186165f8 100644 --- a/x/irc/types/genesis_test.go +++ b/x/irc/types/genesis_test.go @@ -19,13 +19,35 @@ func TestGenesisState_Validate(t *testing.T) { valid: true, }, { - desc: "valid genesis state", + desc: "valid genesis state", genState: &types.GenesisState{ + IRCRequestList: []types.IRCRequest{ + { + ReqId: 0, + }, + { + ReqId: 1, + }, + }, // this line is used by starport scaffolding # types/genesis/validField }, valid: true, }, + { + desc: "duplicated ircRequest", + genState: &types.GenesisState{ + IRCRequestList: []types.IRCRequest{ + { + ReqId: 0, + }, + { + ReqId: 0, + }, + }, + }, + valid: false, + }, // this line is used by starport scaffolding # types/genesis/testcase } { t.Run(tc.desc, func(t *testing.T) { diff --git a/x/irc/types/irc_request.go b/x/irc/types/irc_request.go new file mode 100644 index 000000000..71f71ed3d --- /dev/null +++ b/x/irc/types/irc_request.go @@ -0,0 +1,18 @@ +package types + +import ( + sdk "github.com/cosmos/cosmos-sdk/types" +) + +// ParamStore defines the interface the parameter store used by the BaseApp must +// fulfill. +type IRCRequestI interface { + // GetReqId returns the request id + GetReqId() uint64 + // GetMessageType returns the message type + GetMessageType() MsgType + // GetMsg returns the wrapped message + GetMsg() sdk.Msg + // Hnadler handling the request on dequeue + Handler() error +} diff --git a/x/irc/types/irc_request_base.go b/x/irc/types/irc_request_base.go new file mode 100644 index 000000000..09c020d95 --- /dev/null +++ b/x/irc/types/irc_request_base.go @@ -0,0 +1,156 @@ +package types + +import ( + "encoding/binary" + "fmt" + + codectypes "github.com/cosmos/cosmos-sdk/codec/types" + sdk "github.com/cosmos/cosmos-sdk/types" + + clienttypes "github.com/cosmos/ibc-go/v3/modules/core/02-client/types" + connectiontypes "github.com/cosmos/ibc-go/v3/modules/core/03-connection/types" + channeltypes "github.com/cosmos/ibc-go/v3/modules/core/04-channel/types" +) + +var _ binary.ByteOrder + +var ( + _ codectypes.UnpackInterfacesMessage = IRCRequest{} + _ IRCRequestI = &IRCRequest{} +) + +var MsgTypeStr2MsgType = map[string]MsgType{} + +// NewIRCRequest returns a new IRCRequest. +// +//nolint:interfacer +func NewIRCRequest(reqId uint64, msg sdk.Msg) (*IRCRequest, error) { + any, err := codectypes.NewAnyWithValue(msg) + if err != nil { + return nil, err + } + msgType := getMsgTypeFromMsg(msg) + + if msgType == Unspecified { + return nil, ErrInvalidMsgType + } + + return &IRCRequest{ + ReqId: reqId, + Message: any, + MessageType: getMsgTypeFromMsg(msg), + }, nil +} + +func getMsgTypeFromMsg(msg sdk.Msg) MsgType { + msgTypeStr := fmt.Sprintf("%T", msg) + msgType, exists := MsgTypeStr2MsgType[msgTypeStr] + if exists { + return msgType + } + switch msg.(type) { + case *clienttypes.MsgCreateClient: + MsgTypeStr2MsgType[msgTypeStr] = CreateClient + case *clienttypes.MsgUpdateClient: + MsgTypeStr2MsgType[msgTypeStr] = UpdateClient + case *clienttypes.MsgUpgradeClient: + MsgTypeStr2MsgType[msgTypeStr] = UpgradeClient + case *clienttypes.MsgSubmitMisbehaviour: + MsgTypeStr2MsgType[msgTypeStr] = SubmitMisbehaviour + case *connectiontypes.MsgConnectionOpenInit: + MsgTypeStr2MsgType[msgTypeStr] = ConnectionOpenInit + case *connectiontypes.MsgConnectionOpenTry: + MsgTypeStr2MsgType[msgTypeStr] = ConnectionOpenTry + case *connectiontypes.MsgConnectionOpenAck: + MsgTypeStr2MsgType[msgTypeStr] = ConnectionOpenAck + case *connectiontypes.MsgConnectionOpenConfirm: + MsgTypeStr2MsgType[msgTypeStr] = ConnectionOpenConfirm + case *channeltypes.MsgChannelOpenInit: + MsgTypeStr2MsgType[msgTypeStr] = ChannelOpenInit + case *channeltypes.MsgChannelOpenTry: + MsgTypeStr2MsgType[msgTypeStr] = ChannelOpenTry + case *channeltypes.MsgChannelOpenAck: + MsgTypeStr2MsgType[msgTypeStr] = ChannelOpenAck + case *channeltypes.MsgChannelOpenConfirm: + MsgTypeStr2MsgType[msgTypeStr] = ChannelOpenConfirm + case *channeltypes.MsgChannelCloseInit: + MsgTypeStr2MsgType[msgTypeStr] = ChannelCloseInit + case *channeltypes.MsgChannelCloseConfirm: + MsgTypeStr2MsgType[msgTypeStr] = ChannelCloseConfirm + case *channeltypes.MsgRecvPacket: + MsgTypeStr2MsgType[msgTypeStr] = RecvPacket + case *channeltypes.MsgTimeout: + MsgTypeStr2MsgType[msgTypeStr] = Timeout + case *channeltypes.MsgTimeoutOnClose: + MsgTypeStr2MsgType[msgTypeStr] = TimeoutOnClose + case *channeltypes.MsgAcknowledgement: + MsgTypeStr2MsgType[msgTypeStr] = Acknowledgement + default: + return Unspecified + } + + return MsgTypeStr2MsgType[msgTypeStr] +} + +func (m IRCRequest) UnpackInterfaces(ctx codectypes.AnyUnpacker) error { + var msg sdk.Msg + return ctx.UnpackAny(m.Message, &msg) +} + +// GetMsg implements IRCRequestI +func (m IRCRequest) GetMsg() sdk.Msg { + if m.Message == nil { + return nil + } + msgVal := m.Message.GetCachedValue() + if msgVal == nil { + return nil + } + msg := msgVal.(sdk.Msg) + return msg + // switch m.MessageType { + // case CreateClient: + // return msg.(*clienttypes.MsgCreateClient) + // case UpdateClient: + // return msg.(*clienttypes.MsgUpdateClient) + // case UpgradeClient: + // return msg.(*clienttypes.MsgUpgradeClient) + // case SubmitMisbehaviour: + // return msg.(*clienttypes.MsgSubmitMisbehaviour) + // case ConnectionOpenInit: + // return msg.(*connectiontypes.MsgConnectionOpenInit) + // case ConnectionOpenTry: + // return msg.(*connectiontypes.MsgConnectionOpenTry) + // case ConnectionOpenAck: + // return msg.(*connectiontypes.MsgConnectionOpenAck) + // case ConnectionOpenConfirm: + // return msg.(*connectiontypes.MsgConnectionOpenConfirm) + // case ChannelOpenInit: + // return msg.(*channeltypes.MsgChannelOpenInit) + // case ChannelOpenTry: + // return msg.(*channeltypes.MsgChannelOpenTry) + // case ChannelOpenAck: + // return msg.(*channeltypes.MsgChannelOpenAck) + // case ChannelOpenConfirm: + // return msg.(*channeltypes.MsgChannelOpenConfirm) + // case ChannelCloseInit: + // return msg.(*channeltypes.MsgChannelCloseInit) + // case ChannelCloseConfirm: + // return msg.(*channeltypes.MsgChannelCloseConfirm) + // case RecvPacket: + // return msg.(*channeltypes.MsgRecvPacket) + // case Timeout: + // return msg.(*channeltypes.MsgTimeout) + // case TimeoutOnClose: + // return msg.(*channeltypes.MsgTimeoutOnClose) + // case Acknowledgement: + // return msg.(*channeltypes.MsgAcknowledgement) + // default: + // return nil + // } +} + +// Handler implements IRCRequestI +func (m IRCRequest) Handler() error { + panic("unimplemented") +} diff --git a/x/irc/types/irc_requests.pb.go b/x/irc/types/irc_requests.pb.go new file mode 100644 index 000000000..63399d47e --- /dev/null +++ b/x/irc/types/irc_requests.pb.go @@ -0,0 +1,518 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: dymension/irc/irc_requests.proto + +package types + +import ( + fmt "fmt" + _ "github.com/cosmos/cosmos-proto" + types "github.com/cosmos/cosmos-sdk/codec/types" + _ "github.com/gogo/protobuf/gogoproto" + proto "github.com/gogo/protobuf/proto" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +// MsgType is the type of the intercepted IBC message. +type MsgType int32 + +const ( + // UNSPECIFIED defines an invalid validator status. + Unspecified MsgType = 0 + CreateClient MsgType = 1 + UpdateClient MsgType = 2 + UpgradeClient MsgType = 3 + SubmitMisbehaviour MsgType = 4 + ConnectionOpenInit MsgType = 5 + ConnectionOpenTry MsgType = 6 + ConnectionOpenAck MsgType = 7 + ConnectionOpenConfirm MsgType = 8 + ChannelOpenInit MsgType = 9 + ChannelOpenTry MsgType = 10 + ChannelOpenAck MsgType = 11 + ChannelOpenConfirm MsgType = 12 + ChannelCloseInit MsgType = 13 + ChannelCloseConfirm MsgType = 14 + RecvPacket MsgType = 15 + Timeout MsgType = 16 + TimeoutOnClose MsgType = 17 + Acknowledgement MsgType = 18 +) + +var MsgType_name = map[int32]string{ + 0: "MSG_TYPE_UNSPECIFIED", + 1: "MSG_TYPE_CREATE_CLIENT", + 2: "MSG_TYPE_UPDATE_CLIENT", + 3: "MSG_TYPE_UPGRADE_CLIENT", + 4: "MSG_TYPE_SUBMIT_MISBEHAVIOUR", + 5: "MSG_TYPE_CONNECTION_OPEN_INIT", + 6: "MSG_TYPE_CONNECTION_OPEN_TRY", + 7: "MSG_TYPE_CONNECTION_OPEN_ACK", + 8: "MSG_TYPE_CONNECTION_OPEN_CONFIRM", + 9: "MSG_TYPE_CHANNEL_OPEN_INIT", + 10: "MSG_TYPE_CHANNEL_OPEN_TRY", + 11: "MSG_TYPE_CHANNEL_OPEN_ACK", + 12: "MSG_TYPE_CHANNEL_OPEN_CONFIRM", + 13: "MSG_TYPE_CHANNEL_CLOSE_INIT", + 14: "MSG_TYPE_CHANNEL_CLOSE_CONFIRM", + 15: "MSG_TYPE_RECV_PACKET", + 16: "MSG_TYPE_TIMEOUT", + 17: "MSG_TYPE_TIMEOUT_ON_CLOSE", + 18: "MSG_TYPE_ACKNOWLEDGEMENT", +} + +var MsgType_value = map[string]int32{ + "MSG_TYPE_UNSPECIFIED": 0, + "MSG_TYPE_CREATE_CLIENT": 1, + "MSG_TYPE_UPDATE_CLIENT": 2, + "MSG_TYPE_UPGRADE_CLIENT": 3, + "MSG_TYPE_SUBMIT_MISBEHAVIOUR": 4, + "MSG_TYPE_CONNECTION_OPEN_INIT": 5, + "MSG_TYPE_CONNECTION_OPEN_TRY": 6, + "MSG_TYPE_CONNECTION_OPEN_ACK": 7, + "MSG_TYPE_CONNECTION_OPEN_CONFIRM": 8, + "MSG_TYPE_CHANNEL_OPEN_INIT": 9, + "MSG_TYPE_CHANNEL_OPEN_TRY": 10, + "MSG_TYPE_CHANNEL_OPEN_ACK": 11, + "MSG_TYPE_CHANNEL_OPEN_CONFIRM": 12, + "MSG_TYPE_CHANNEL_CLOSE_INIT": 13, + "MSG_TYPE_CHANNEL_CLOSE_CONFIRM": 14, + "MSG_TYPE_RECV_PACKET": 15, + "MSG_TYPE_TIMEOUT": 16, + "MSG_TYPE_TIMEOUT_ON_CLOSE": 17, + "MSG_TYPE_ACKNOWLEDGEMENT": 18, +} + +func (x MsgType) String() string { + return proto.EnumName(MsgType_name, int32(x)) +} + +func (MsgType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_174363cdec923693, []int{0} +} + +// IRCRequest represents a message that was sent to the IBC module by IRC +type IRCRequest struct { + // reqId is s unique identifier of the request + ReqId uint64 `protobuf:"varint,1,opt,name=req_id,json=reqId,proto3" json:"req_id,omitempty"` + // message is the IBC message to be handled + Message *types.Any `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` + // msg_type is the type of the IBC message + MessageType MsgType `protobuf:"varint,3,opt,name=message_type,json=messageType,proto3,enum=dymensionxyz.dymension.irc.MsgType" json:"message_type,omitempty"` +} + +func (m *IRCRequest) Reset() { *m = IRCRequest{} } +func (m *IRCRequest) String() string { return proto.CompactTextString(m) } +func (*IRCRequest) ProtoMessage() {} +func (*IRCRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_174363cdec923693, []int{0} +} +func (m *IRCRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *IRCRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_IRCRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *IRCRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_IRCRequest.Merge(m, src) +} +func (m *IRCRequest) XXX_Size() int { + return m.Size() +} +func (m *IRCRequest) XXX_DiscardUnknown() { + xxx_messageInfo_IRCRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_IRCRequest proto.InternalMessageInfo + +func (m *IRCRequest) GetReqId() uint64 { + if m != nil { + return m.ReqId + } + return 0 +} + +func (m *IRCRequest) GetMessage() *types.Any { + if m != nil { + return m.Message + } + return nil +} + +func (m *IRCRequest) GetMessageType() MsgType { + if m != nil { + return m.MessageType + } + return Unspecified +} + +func init() { + proto.RegisterEnum("dymensionxyz.dymension.irc.MsgType", MsgType_name, MsgType_value) + proto.RegisterType((*IRCRequest)(nil), "dymensionxyz.dymension.irc.IRCRequest") +} + +func init() { proto.RegisterFile("dymension/irc/irc_requests.proto", fileDescriptor_174363cdec923693) } + +var fileDescriptor_174363cdec923693 = []byte{ + // 775 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x94, 0xc1, 0x6e, 0xdc, 0x44, + 0x18, 0xc7, 0xd7, 0x6d, 0x9a, 0x85, 0xd9, 0x34, 0x71, 0xdc, 0xa4, 0x4d, 0x06, 0xb0, 0x06, 0xb8, + 0x04, 0x44, 0xbd, 0x6a, 0x2b, 0x04, 0xa8, 0x07, 0xe4, 0x4c, 0x26, 0xa9, 0x95, 0xd8, 0x5e, 0x79, + 0xed, 0xa2, 0x72, 0xb1, 0x76, 0xed, 0x89, 0x63, 0x65, 0x3d, 0xb3, 0xb1, 0xbd, 0xa5, 0xcb, 0x13, + 0x20, 0x9f, 0x78, 0x01, 0x9f, 0xb8, 0xf0, 0x00, 0x3c, 0x04, 0xe2, 0xd4, 0x23, 0x47, 0x94, 0x1c, + 0x79, 0x09, 0xe4, 0xb5, 0xd7, 0xeb, 0xa5, 0xd9, 0x1e, 0x2c, 0xcd, 0x37, 0xf3, 0xff, 0xf9, 0xfb, + 0xfe, 0xf3, 0x69, 0x3e, 0x80, 0xfc, 0x69, 0x44, 0x59, 0x12, 0x72, 0xd6, 0x0d, 0x63, 0xaf, 0xf8, + 0xdc, 0x98, 0x5e, 0x4d, 0x68, 0x92, 0x26, 0xca, 0x38, 0xe6, 0x29, 0x97, 0x60, 0xad, 0x78, 0x33, + 0xfd, 0x59, 0xa9, 0x03, 0x25, 0x8c, 0x3d, 0xb8, 0x1f, 0x70, 0x1e, 0x8c, 0x68, 0x77, 0xa6, 0x1c, + 0x4e, 0xce, 0xbb, 0x03, 0x36, 0x2d, 0x31, 0xb8, 0xef, 0xf1, 0x24, 0xe2, 0x89, 0x3b, 0x8b, 0xba, + 0x65, 0x50, 0x1d, 0xed, 0x04, 0x3c, 0xe0, 0xe5, 0x7e, 0xb1, 0x2a, 0x77, 0x3f, 0xfb, 0x5d, 0x00, + 0x40, 0xb3, 0xb0, 0x55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xd6, 0xdb, 0x1b, 0xb9, 0xf5, 0xf7, 0x8d, 0xdc, 0xfa, 0xf1, 0x71, 0x10, + 0xa6, 0x17, 0x93, 0xa1, 0xe2, 0xf1, 0xa8, 0xdb, 0x9c, 0x21, 0x8b, 0xa0, 0xfb, 0x66, 0x36, 0x56, + 0x8b, 0x69, 0x93, 0x0c, 0xd7, 0x67, 0x23, 0xea, 0xd9, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x0c, + 0xb5, 0x87, 0xa5, 0x74, 0x05, 0x00, 0x00, +} + +func (m *IRCRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *IRCRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *IRCRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.MessageType != 0 { + i = encodeVarintIrcRequests(dAtA, i, uint64(m.MessageType)) + i-- + dAtA[i] = 0x18 + } + if m.Message != nil { + { + size, err := m.Message.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintIrcRequests(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.ReqId != 0 { + i = encodeVarintIrcRequests(dAtA, i, uint64(m.ReqId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func encodeVarintIrcRequests(dAtA []byte, offset int, v uint64) int { + offset -= sovIrcRequests(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *IRCRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ReqId != 0 { + n += 1 + sovIrcRequests(uint64(m.ReqId)) + } + if m.Message != nil { + l = m.Message.Size() + n += 1 + l + sovIrcRequests(uint64(l)) + } + if m.MessageType != 0 { + n += 1 + sovIrcRequests(uint64(m.MessageType)) + } + return n +} + +func sovIrcRequests(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozIrcRequests(x uint64) (n int) { + return sovIrcRequests(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *IRCRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowIrcRequests + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: IRCRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: IRCRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ReqId", wireType) + } + m.ReqId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowIrcRequests + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ReqId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowIrcRequests + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthIrcRequests + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthIrcRequests + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Message == nil { + m.Message = &types.Any{} + } + if err := m.Message.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MessageType", wireType) + } + m.MessageType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowIrcRequests + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MessageType |= MsgType(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipIrcRequests(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthIrcRequests + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipIrcRequests(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowIrcRequests + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowIrcRequests + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowIrcRequests + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthIrcRequests + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupIrcRequests + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthIrcRequests + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthIrcRequests = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowIrcRequests = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupIrcRequests = fmt.Errorf("proto: unexpected end of group") +) diff --git a/x/irc/types/key_irc_request.go b/x/irc/types/key_irc_request.go new file mode 100644 index 000000000..db0d43ab8 --- /dev/null +++ b/x/irc/types/key_irc_request.go @@ -0,0 +1,24 @@ +package types + +import "encoding/binary" + +var _ binary.ByteOrder + +const ( + // IRCRequestKeyPrefix is the prefix to retrieve all IRCRequest + IRCRequestKeyPrefix = "IRCRequest/value/" +) + +// IRCRequestKey returns the store key to retrieve a IRCRequest from the index fields +func IRCRequestKey( + reqId uint64, +) []byte { + var key []byte + + reqIdBytes := make([]byte, 8) + binary.BigEndian.PutUint64(reqIdBytes, reqId) + key = append(key, reqIdBytes...) + key = append(key, []byte("/")...) + + return key +} diff --git a/x/irc/types/query.pb.go b/x/irc/types/query.pb.go index a30849b2b..e54408a69 100644 --- a/x/irc/types/query.pb.go +++ b/x/irc/types/query.pb.go @@ -6,7 +6,7 @@ package types import ( context "context" fmt "fmt" - _ "github.com/cosmos/cosmos-sdk/types/query" + query "github.com/cosmos/cosmos-sdk/types/query" _ "github.com/gogo/protobuf/gogoproto" grpc1 "github.com/gogo/protobuf/grpc" proto "github.com/gogo/protobuf/proto" @@ -113,34 +113,235 @@ func (m *QueryParamsResponse) GetParams() Params { return Params{} } +type QueryGetIRCRequestRequest struct { + ReqId uint64 `protobuf:"varint,1,opt,name=reqId,proto3" json:"reqId,omitempty"` +} + +func (m *QueryGetIRCRequestRequest) Reset() { *m = QueryGetIRCRequestRequest{} } +func (m *QueryGetIRCRequestRequest) String() string { return proto.CompactTextString(m) } +func (*QueryGetIRCRequestRequest) ProtoMessage() {} +func (*QueryGetIRCRequestRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_aab290f6c8f5fb60, []int{2} +} +func (m *QueryGetIRCRequestRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryGetIRCRequestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryGetIRCRequestRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryGetIRCRequestRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGetIRCRequestRequest.Merge(m, src) +} +func (m *QueryGetIRCRequestRequest) XXX_Size() int { + return m.Size() +} +func (m *QueryGetIRCRequestRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGetIRCRequestRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryGetIRCRequestRequest proto.InternalMessageInfo + +func (m *QueryGetIRCRequestRequest) GetReqId() uint64 { + if m != nil { + return m.ReqId + } + return 0 +} + +type QueryGetIRCRequestResponse struct { + IrcRequest IRCRequest `protobuf:"bytes,1,opt,name=ircRequest,proto3" json:"ircRequest"` +} + +func (m *QueryGetIRCRequestResponse) Reset() { *m = QueryGetIRCRequestResponse{} } +func (m *QueryGetIRCRequestResponse) String() string { return proto.CompactTextString(m) } +func (*QueryGetIRCRequestResponse) ProtoMessage() {} +func (*QueryGetIRCRequestResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_aab290f6c8f5fb60, []int{3} +} +func (m *QueryGetIRCRequestResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryGetIRCRequestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryGetIRCRequestResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryGetIRCRequestResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryGetIRCRequestResponse.Merge(m, src) +} +func (m *QueryGetIRCRequestResponse) XXX_Size() int { + return m.Size() +} +func (m *QueryGetIRCRequestResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryGetIRCRequestResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryGetIRCRequestResponse proto.InternalMessageInfo + +func (m *QueryGetIRCRequestResponse) GetIrcRequest() IRCRequest { + if m != nil { + return m.IrcRequest + } + return IRCRequest{} +} + +type QueryAllIRCRequestRequest struct { + Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` +} + +func (m *QueryAllIRCRequestRequest) Reset() { *m = QueryAllIRCRequestRequest{} } +func (m *QueryAllIRCRequestRequest) String() string { return proto.CompactTextString(m) } +func (*QueryAllIRCRequestRequest) ProtoMessage() {} +func (*QueryAllIRCRequestRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_aab290f6c8f5fb60, []int{4} +} +func (m *QueryAllIRCRequestRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryAllIRCRequestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryAllIRCRequestRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryAllIRCRequestRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryAllIRCRequestRequest.Merge(m, src) +} +func (m *QueryAllIRCRequestRequest) XXX_Size() int { + return m.Size() +} +func (m *QueryAllIRCRequestRequest) XXX_DiscardUnknown() { + xxx_messageInfo_QueryAllIRCRequestRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryAllIRCRequestRequest proto.InternalMessageInfo + +func (m *QueryAllIRCRequestRequest) GetPagination() *query.PageRequest { + if m != nil { + return m.Pagination + } + return nil +} + +type QueryAllIRCRequestResponse struct { + IrcRequest []IRCRequest `protobuf:"bytes,1,rep,name=ircRequest,proto3" json:"ircRequest"` + Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` +} + +func (m *QueryAllIRCRequestResponse) Reset() { *m = QueryAllIRCRequestResponse{} } +func (m *QueryAllIRCRequestResponse) String() string { return proto.CompactTextString(m) } +func (*QueryAllIRCRequestResponse) ProtoMessage() {} +func (*QueryAllIRCRequestResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_aab290f6c8f5fb60, []int{5} +} +func (m *QueryAllIRCRequestResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *QueryAllIRCRequestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryAllIRCRequestResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *QueryAllIRCRequestResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryAllIRCRequestResponse.Merge(m, src) +} +func (m *QueryAllIRCRequestResponse) XXX_Size() int { + return m.Size() +} +func (m *QueryAllIRCRequestResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryAllIRCRequestResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryAllIRCRequestResponse proto.InternalMessageInfo + +func (m *QueryAllIRCRequestResponse) GetIrcRequest() []IRCRequest { + if m != nil { + return m.IrcRequest + } + return nil +} + +func (m *QueryAllIRCRequestResponse) GetPagination() *query.PageResponse { + if m != nil { + return m.Pagination + } + return nil +} + func init() { proto.RegisterType((*QueryParamsRequest)(nil), "dymensionxyz.dymension.irc.QueryParamsRequest") proto.RegisterType((*QueryParamsResponse)(nil), "dymensionxyz.dymension.irc.QueryParamsResponse") + proto.RegisterType((*QueryGetIRCRequestRequest)(nil), "dymensionxyz.dymension.irc.QueryGetIRCRequestRequest") + proto.RegisterType((*QueryGetIRCRequestResponse)(nil), "dymensionxyz.dymension.irc.QueryGetIRCRequestResponse") + proto.RegisterType((*QueryAllIRCRequestRequest)(nil), "dymensionxyz.dymension.irc.QueryAllIRCRequestRequest") + proto.RegisterType((*QueryAllIRCRequestResponse)(nil), "dymensionxyz.dymension.irc.QueryAllIRCRequestResponse") } func init() { proto.RegisterFile("dymension/irc/query.proto", fileDescriptor_aab290f6c8f5fb60) } var fileDescriptor_aab290f6c8f5fb60 = []byte{ - // 304 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0x31, 0x4b, 0x33, 0x31, - 0x18, 0xc7, 0x2f, 0x2f, 0xaf, 0x1d, 0xe2, 0x16, 0x3b, 0xe8, 0x21, 0x51, 0x0e, 0x07, 0x29, 0x98, - 0xd0, 0xfa, 0x05, 0xa4, 0x8b, 0xab, 0x76, 0x11, 0xdc, 0x72, 0x67, 0x88, 0x01, 0x2f, 0x4f, 0x7a, - 0x49, 0xa5, 0xe7, 0xe8, 0x27, 0x10, 0xc4, 0xd9, 0xaf, 0xd3, 0xb1, 0xe0, 0xe2, 0x24, 0xd2, 0xfa, - 0x41, 0xa4, 0xc9, 0x51, 0x2c, 0x5a, 0x71, 0x4b, 0x9e, 0xe7, 0xff, 0xfb, 0xe5, 0xc9, 0x83, 0x77, - 0xae, 0xea, 0x52, 0x1a, 0xa7, 0xc1, 0x70, 0x5d, 0x15, 0x7c, 0x38, 0x92, 0x55, 0xcd, 0x6c, 0x05, - 0x1e, 0x48, 0xba, 0x6c, 0x8d, 0xeb, 0x3b, 0xb6, 0xbc, 0x30,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05, 0x1f, 0x7f, 0x06, 0x00, 0x00, 0xff, 0xff, 0x65, 0x59, 0x5b, 0xcf, 0x15, 0x02, 0x00, 0x00, + // 503 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x94, 0x41, 0x6b, 0x13, 0x41, + 0x14, 0xc7, 0x33, 0x35, 0xcd, 0xe1, 0x89, 0x97, 0x31, 0x07, 0xbb, 0xc8, 0x5a, 0x06, 0xd1, 0x12, + 0x70, 0xa6, 0x89, 0x28, 0x1e, 0x6d, 0x05, 0x43, 0xc1, 0x43, 0xcd, 0x45, 0xf0, 0x22, 0x93, 0xed, + 0xb0, 0x8e, 0x6c, 0x76, 0x36, 0x33, 0x1b, 0x69, 0x14, 0x2f, 0x1e, 0x3d, 0x09, 0xe2, 0xf7, 0x10, + 0xc4, 0xef, 0xd0, 0x63, 0xc1, 0x8b, 0x27, 0x91, 0xc4, 0x0f, 0x22, 0x99, 0x99, 0x26, 0x1b, 0xbb, + 0x49, 0x57, 0x3c, 0x25, 0x33, 0xef, 0xfd, 0xff, 0xef, 0xf7, 0xe6, 0xbd, 0x04, 0xb6, 0x8e, 0xc6, + 0x03, 0x91, 0x1a, 0xa9, 0x52, 0x26, 0x75, 0xc4, 0x86, 0x23, 0xa1, 0xc7, 0x34, 0xd3, 0x2a, 0x57, + 0x38, 0x98, 0x87, 0x8e, 0xc7, 0x6f, 0xe8, 0xfc, 0x40, 0xa5, 0x8e, 0x82, 0x66, 0xac, 0x62, 0x65, + 0xd3, 0xd8, 0xec, 0x9b, 0x53, 0x04, 0xd7, 0x63, 0xa5, 0xe2, 0x44, 0x30, 0x9e, 0x49, 0xc6, 0xd3, + 0x54, 0xe5, 0x3c, 0x97, 0x2a, 0x35, 0x3e, 0xda, 0x8a, 0x94, 0x19, 0x28, 0xc3, 0xfa, 0xdc, 0x08, + 0x57, 0x88, 0xbd, 0x6e, 0xf7, 0x45, 0x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f, 0x75, 0xd8, 0xb4, 0xd4, + 0xf8, 0x33, 0x82, 0x86, 0x1b, 0x2e, 0xa6, 0xeb, 0xb8, 0xce, 0xef, 0x55, 0xc0, 0x2a, 0xe7, 0x3b, + 0x02, 0xd2, 0x7a, 0xff, 0xfd, 0xf7, 0xa7, 0x8d, 0x9b, 0x98, 0xb0, 0xa2, 0x90, 0x95, 0xad, 0x3c, + 0xfe, 0x86, 0x00, 0x16, 0x6f, 0x81, 0xef, 0x5d, 0x58, 0xab, 0x6c, 0x09, 0x83, 0xfb, 0xff, 0x2a, + 0xf3, 0xa4, 0x0f, 0x2c, 0x69, 0x07, 0xef, 0xae, 0x23, 0x2d, 0xfe, 0x00, 0xd9, 0x5b, 0xbb, 0xdf, + 0xef, 0xf0, 0x17, 0x04, 0x57, 0x16, 0x86, 0x7b, 0x49, 0x52, 0x01, 0xbd, 0x6c, 0x41, 0x2b, 0xa0, + 0x97, 0x6e, 0x1c, 0xd9, 0xb5, 0xe8, 0x2d, 0xbc, 0x53, 0x15, 0x7d, 0xbf, 0x7b, 0x32, 0x09, 0xd1, + 0xe9, 0x24, 0x44, 0xbf, 0x26, 0x21, 0xfa, 0x38, 0x0d, 0x6b, 0xa7, 0xd3, 0xb0, 0xf6, 0x63, 0x1a, + 0xd6, 0x9e, 0xdf, 0x89, 0x65, 0xfe, 0x72, 0xd4, 0xa7, 0x91, 0x1a, 0xac, 0x72, 0x3b, 0xb6, 0x7e, + 0xf9, 0x38, 0x13, 0xa6, 0xdf, 0xb0, 0xff, 0x42, 0x77, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0xe5, + 0x91, 0x58, 0xdb, 0x5c, 0x05, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -157,6 +358,9 @@ const _ = grpc.SupportPackageIsVersion4 type QueryClient interface { // Parameters queries the parameters of the module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) + // Queries a list of IRCRequest items. + IRCRequest(ctx context.Context, in *QueryGetIRCRequestRequest, opts ...grpc.CallOption) (*QueryGetIRCRequestResponse, error) + IRCRequestAll(ctx context.Context, in *QueryAllIRCRequestRequest, opts ...grpc.CallOption) (*QueryAllIRCRequestResponse, error) } type queryClient struct { @@ -176,10 +380,31 @@ func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts . return out, nil } +func (c *queryClient) IRCRequest(ctx context.Context, in *QueryGetIRCRequestRequest, opts ...grpc.CallOption) (*QueryGetIRCRequestResponse, error) { + out := new(QueryGetIRCRequestResponse) + err := c.cc.Invoke(ctx, "/dymensionxyz.dymension.irc.Query/IRCRequest", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *queryClient) IRCRequestAll(ctx context.Context, in *QueryAllIRCRequestRequest, opts ...grpc.CallOption) (*QueryAllIRCRequestResponse, error) { + out := new(QueryAllIRCRequestResponse) + err := c.cc.Invoke(ctx, "/dymensionxyz.dymension.irc.Query/IRCRequestAll", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // QueryServer is the server API for Query service. type QueryServer interface { // Parameters queries the parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) + // Queries a list of IRCRequest items. + IRCRequest(context.Context, *QueryGetIRCRequestRequest) (*QueryGetIRCRequestResponse, error) + IRCRequestAll(context.Context, *QueryAllIRCRequestRequest) (*QueryAllIRCRequestResponse, error) } // UnimplementedQueryServer can be embedded to have forward compatible implementations. @@ -189,6 +414,12 @@ type UnimplementedQueryServer struct { func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Params not implemented") } +func (*UnimplementedQueryServer) IRCRequest(ctx context.Context, req *QueryGetIRCRequestRequest) (*QueryGetIRCRequestResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method IRCRequest not implemented") +} +func (*UnimplementedQueryServer) IRCRequestAll(ctx context.Context, req *QueryAllIRCRequestRequest) (*QueryAllIRCRequestResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method IRCRequestAll not implemented") +} func RegisterQueryServer(s grpc1.Server, srv QueryServer) { s.RegisterService(&_Query_serviceDesc, srv) @@ -212,6 +443,42 @@ func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interf return interceptor(ctx, in, info, handler) } +func _Query_IRCRequest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryGetIRCRequestRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).IRCRequest(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/dymensionxyz.dymension.irc.Query/IRCRequest", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).IRCRequest(ctx, req.(*QueryGetIRCRequestRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _Query_IRCRequestAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(QueryAllIRCRequestRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(QueryServer).IRCRequestAll(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/dymensionxyz.dymension.irc.Query/IRCRequestAll", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(QueryServer).IRCRequestAll(ctx, req.(*QueryAllIRCRequestRequest)) + } + return interceptor(ctx, in, info, handler) +} + var _Query_serviceDesc = grpc.ServiceDesc{ ServiceName: "dymensionxyz.dymension.irc.Query", HandlerType: (*QueryServer)(nil), @@ -220,6 +487,14 @@ var _Query_serviceDesc = grpc.ServiceDesc{ MethodName: "Params", Handler: _Query_Params_Handler, }, + { + MethodName: "IRCRequest", + Handler: _Query_IRCRequest_Handler, + }, + { + MethodName: "IRCRequestAll", + Handler: _Query_IRCRequestAll_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "dymension/irc/query.proto", @@ -281,6 +556,151 @@ func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *QueryGetIRCRequestRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryGetIRCRequestRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryGetIRCRequestRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.ReqId != 0 { + i = encodeVarintQuery(dAtA, i, uint64(m.ReqId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *QueryGetIRCRequestResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryGetIRCRequestResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryGetIRCRequestResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.IrcRequest.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil +} + +func (m *QueryAllIRCRequestRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryAllIRCRequestRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryAllIRCRequestRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Pagination != nil { + { + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *QueryAllIRCRequestResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *QueryAllIRCRequestResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryAllIRCRequestResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Pagination != nil { + { + size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.IrcRequest) > 0 { + for iNdEx := len(m.IrcRequest) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.IrcRequest[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + func encodeVarintQuery(dAtA []byte, offset int, v uint64) int { offset -= sovQuery(v) base := offset @@ -312,7 +732,62 @@ func (m *QueryParamsResponse) Size() (n int) { return n } -func sovQuery(x uint64) (n int) { +func (m *QueryGetIRCRequestRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ReqId != 0 { + n += 1 + sovQuery(uint64(m.ReqId)) + } + return n +} + +func (m *QueryGetIRCRequestResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.IrcRequest.Size() + n += 1 + l + sovQuery(uint64(l)) + return n +} + +func (m *QueryAllIRCRequestRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func (m *QueryAllIRCRequestResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.IrcRequest) > 0 { + for _, e := range m.IrcRequest { + l = e.Size() + n += 1 + l + sovQuery(uint64(l)) + } + } + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + +func sovQuery(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } func sozQuery(x uint64) (n int) { @@ -451,6 +926,364 @@ func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *QueryGetIRCRequestRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryGetIRCRequestRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryGetIRCRequestRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ReqId", wireType) + } + m.ReqId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ReqId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryGetIRCRequestResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryGetIRCRequestResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryGetIRCRequestResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field IrcRequest", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.IrcRequest.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryAllIRCRequestRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryAllIRCRequestRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryAllIRCRequestRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Pagination == nil { + m.Pagination = &query.PageRequest{} + } + if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *QueryAllIRCRequestResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: QueryAllIRCRequestResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryAllIRCRequestResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field IrcRequest", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.IrcRequest = append(m.IrcRequest, IRCRequest{}) + if err := m.IrcRequest[len(m.IrcRequest)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Pagination", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Pagination == nil { + m.Pagination = &query.PageResponse{} + } + if err := m.Pagination.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipQuery(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthQuery + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipQuery(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/irc/types/query.pb.gw.go b/x/irc/types/query.pb.gw.go index df985352f..e16ffcbb9 100644 --- a/x/irc/types/query.pb.gw.go +++ b/x/irc/types/query.pb.gw.go @@ -51,6 +51,96 @@ func local_request_Query_Params_0(ctx context.Context, marshaler runtime.Marshal } +func request_Query_IRCRequest_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryGetIRCRequestRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["reqId"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "reqId") + } + + protoReq.ReqId, err = runtime.Uint64(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "reqId", err) + } + + msg, err := client.IRCRequest(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_IRCRequest_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryGetIRCRequestRequest + var metadata runtime.ServerMetadata + + var ( + val string + ok bool + err error + _ = err + ) + + val, ok = pathParams["reqId"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "reqId") + } + + protoReq.ReqId, err = runtime.Uint64(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "reqId", err) + } + + msg, err := server.IRCRequest(ctx, &protoReq) + return msg, metadata, err + +} + +var ( + filter_Query_IRCRequestAll_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} +) + +func request_Query_IRCRequestAll_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryAllIRCRequestRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_IRCRequestAll_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := client.IRCRequestAll(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) + return msg, metadata, err + +} + +func local_request_Query_IRCRequestAll_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq QueryAllIRCRequestRequest + var metadata runtime.ServerMetadata + + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_IRCRequestAll_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + + msg, err := server.IRCRequestAll(ctx, &protoReq) + return msg, metadata, err + +} + // RegisterQueryHandlerServer registers the http handlers for service Query to "mux". // UnaryRPC :call QueryServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. @@ -80,6 +170,52 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv }) + mux.Handle("GET", pattern_Query_IRCRequest_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_IRCRequest_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_IRCRequest_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_IRCRequestAll_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + var stream runtime.ServerTransportStream + ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := local_request_Query_IRCRequestAll_0(rctx, inboundMarshaler, server, req, pathParams) + md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_IRCRequestAll_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } @@ -141,13 +277,61 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie }) + mux.Handle("GET", pattern_Query_IRCRequest_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_IRCRequest_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_IRCRequest_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + + mux.Handle("GET", pattern_Query_IRCRequestAll_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + ctx, cancel := context.WithCancel(req.Context()) + defer cancel() + inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) + rctx, err := runtime.AnnotateContext(ctx, mux, req) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + resp, md, err := request_Query_IRCRequestAll_0(rctx, inboundMarshaler, client, req, pathParams) + ctx = runtime.NewServerMetadataContext(ctx, md) + if err != nil { + runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + return + } + + forward_Query_IRCRequestAll_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + + }) + return nil } var ( pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"dymensionxyz", "dymension", "irc", "params"}, "", runtime.AssumeColonVerbOpt(true))) + + pattern_Query_IRCRequest_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"dymensionxyz", "dymension", "irc", "irc_requests", "reqId"}, "", runtime.AssumeColonVerbOpt(true))) + + pattern_Query_IRCRequestAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"dymensionxyz", "dymension", "irc", "irc_requests"}, "", runtime.AssumeColonVerbOpt(true))) ) var ( forward_Query_Params_0 = runtime.ForwardResponseMessage + + forward_Query_IRCRequest_0 = runtime.ForwardResponseMessage + + forward_Query_IRCRequestAll_0 = runtime.ForwardResponseMessage ) diff --git a/x/rollapp/keeper/grpc_query_get_state_info_by_height.go b/x/rollapp/keeper/grpc_query_get_state_info_by_height.go index 9e2ea2b57..0f05ec88e 100644 --- a/x/rollapp/keeper/grpc_query_get_state_info_by_height.go +++ b/x/rollapp/keeper/grpc_query_get_state_info_by_height.go @@ -22,9 +22,9 @@ func (k Keeper) GetStateInfoByHeight(goCtx context.Context, req *types.QueryGetS } return &types.QueryGetStateInfoByHeightResponse{StateInfo: *stateInfo}, nil } -func (k Keeper) FindStateInfoByHeight(ctx sdk.Context, rollappId string, heigh uint64) (*types.StateInfo, error) { - // check that heigh not zero - if heigh == 0 { +func (k Keeper) FindStateInfoByHeight(ctx sdk.Context, rollappId string, height uint64) (*types.StateInfo, error) { + // check that height not zero + if height == 0 { return nil, types.ErrInvalidHeight } @@ -51,15 +51,15 @@ func (k Keeper) FindStateInfoByHeight(ctx sdk.Context, rollappId string, heigh u rollappId, endInfoIndex) } - // check that heigh exists - if heigh >= LatestStateInfo.StartHeight+LatestStateInfo.NumBlocks { + // check that height exists + if height >= LatestStateInfo.StartHeight+LatestStateInfo.NumBlocks { return nil, sdkerrors.Wrapf(types.ErrStateNotExists, "rollappId=%s, height=%d", - rollappId, heigh) + rollappId, height) } - // check if the the heigh belongs to this batch - if heigh >= LatestStateInfo.StartHeight { + // check if the the height belongs to this batch + if height >= LatestStateInfo.StartHeight { return &LatestStateInfo, nil } @@ -67,7 +67,7 @@ func (k Keeper) FindStateInfoByHeight(ctx sdk.Context, rollappId string, heigh u stepNum := uint64(0) for ; stepNum < maxNumberOfSteps; stepNum += 1 { // we know that endInfoIndex > startInfoIndex - // otherwise the heigh should have been found + // otherwise the height should have been found if endInfoIndex <= startInfoIndex { return nil, sdkerrors.Wrapf(sdkerrors.ErrLogic, "endInfoIndex should be != than startInfoIndex rollappId=%s, startInfoIndex=%d, endInfoIndex=%d", @@ -93,14 +93,14 @@ func (k Keeper) FindStateInfoByHeight(ctx sdk.Context, rollappId string, heigh u endHeight := endStateInfo.StartHeight + endStateInfo.NumBlocks - 1 // 2. check startStateInfo - if heigh >= startStateInfo.StartHeight && - (startStateInfo.StartHeight+startStateInfo.NumBlocks) > heigh { + if height >= startStateInfo.StartHeight && + (startStateInfo.StartHeight+startStateInfo.NumBlocks) > height { return &startStateInfo, nil } // 3. check endStateInfo - if heigh >= endStateInfo.StartHeight && - (endStateInfo.StartHeight+endStateInfo.NumBlocks) > heigh { + if height >= endStateInfo.StartHeight && + (endStateInfo.StartHeight+endStateInfo.NumBlocks) > height { return &endStateInfo, nil } @@ -113,7 +113,7 @@ func (k Keeper) FindStateInfoByHeight(ctx sdk.Context, rollappId string, heigh u } // 5. load the candidate block batch - infoIndexStep := (heigh - startHeight) / avgBlocksPerBatch + infoIndexStep := (height - startHeight) / avgBlocksPerBatch if infoIndexStep == 0 { infoIndexStep = 1 } @@ -133,10 +133,10 @@ func (k Keeper) FindStateInfoByHeight(ctx sdk.Context, rollappId string, heigh u } // 6. check the candidate - if candidateStateInfo.StartHeight > heigh { + if candidateStateInfo.StartHeight > height { endInfoIndex = candidateInfoIndex - 1 } else { - if candidateStateInfo.StartHeight+candidateStateInfo.NumBlocks-1 < heigh { + if candidateStateInfo.StartHeight+candidateStateInfo.NumBlocks-1 < height { startInfoIndex = candidateInfoIndex + 1 } else { return &candidateStateInfo, nil diff --git a/x/rollapp/keeper/msg_server_update_state.go b/x/rollapp/keeper/msg_server_update_state.go index d7bb20ff2..ceca72750 100644 --- a/x/rollapp/keeper/msg_server_update_state.go +++ b/x/rollapp/keeper/msg_server_update_state.go @@ -29,7 +29,7 @@ func (k msgServer) UpdateState(goCtx context.Context, msg *types.MsgUpdateState) return nil, err } - // Logig Error check - must be done after BeforeUpdateStateRecoverable + // Logic Error check - must be done after BeforeUpdateStateRecoverable // check if there are permissionedAddresses. // if the list is not empty, it means that only premissioned sequencers can be added permissionedAddresses := rollapp.PermissionedAddresses.Addresses diff --git a/x/rollapp/types/block_descriptor.pb.go b/x/rollapp/types/block_descriptor.pb.go index feaf646fc..ac1de9a1d 100644 --- a/x/rollapp/types/block_descriptor.pb.go +++ b/x/rollapp/types/block_descriptor.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: rollapp/block_descriptor.proto +// source: dymension/rollapp/block_descriptor.proto package types @@ -38,7 +38,7 @@ func (m *BlockDescriptor) Reset() { *m = BlockDescriptor{} } func (m *BlockDescriptor) String() string { return proto.CompactTextString(m) } func (*BlockDescriptor) ProtoMessage() {} func (*BlockDescriptor) Descriptor() ([]byte, []int) { - return fileDescriptor_131db91bcb56d35a, []int{0} + return fileDescriptor_9e537259fa860c20, []int{0} } func (m *BlockDescriptor) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -97,7 +97,7 @@ func (m *BlockDescriptors) Reset() { *m = BlockDescriptors{} } func (m *BlockDescriptors) String() string { return proto.CompactTextString(m) } func (*BlockDescriptors) ProtoMessage() {} func (*BlockDescriptors) Descriptor() ([]byte, []int) { - return fileDescriptor_131db91bcb56d35a, []int{1} + return fileDescriptor_9e537259fa860c20, []int{1} } func (m *BlockDescriptors) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -138,27 +138,29 @@ func init() { proto.RegisterType((*BlockDescriptors)(nil), "dymensionxyz.dymension.rollapp.BlockDescriptors") } -func init() { proto.RegisterFile("rollapp/block_descriptor.proto", fileDescriptor_131db91bcb56d35a) } +func init() { + proto.RegisterFile("dymension/rollapp/block_descriptor.proto", fileDescriptor_9e537259fa860c20) +} -var fileDescriptor_131db91bcb56d35a = []byte{ - // 265 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x2b, 0xca, 0xcf, 0xc9, - 0x49, 0x2c, 0x28, 0xd0, 0x4f, 0xca, 0xc9, 0x4f, 0xce, 0x8e, 0x4f, 0x49, 0x2d, 0x4e, 0x2e, 0xca, - 0x2c, 0x28, 0xc9, 0x2f, 0xd2, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0x4b, 0xa9, 0xcc, 0x4d, - 0xcd, 0x2b, 0xce, 0xcc, 0xcf, 0xab, 0xa8, 0xac, 0xd2, 0x83, 0x73, 0xf4, 0xa0, 0xda, 0xa4, 0x44, - 0xd2, 0xf3, 0xd3, 0xf3, 0xc1, 0x4a, 0xf5, 0x41, 0x2c, 0x88, 0x2e, 0xa5, 0x7a, 0x2e, 0x7e, 0x27, - 0x90, 0x79, 0x2e, 0x70, 0xe3, 0x84, 0xc4, 0xb8, 0xd8, 0x32, 0x52, 0x33, 0xd3, 0x33, 0x4a, 0x24, - 0x18, 0x15, 0x18, 0x35, 0x58, 0x82, 0xa0, 0x3c, 0x21, 0x19, 0x2e, 0xce, 0xe2, 0x92, 0xc4, 0x92, - 0xd4, 0xa0, 0xfc, 0xfc, 0x12, 0x09, 0x26, 0x05, 0x46, 0x0d, 0x9e, 0x20, 0x84, 0x80, 0x90, 0x19, - 0x97, 0x58, 0x66, 0x5e, 0x49, 0x6a, 0x51, 0x6e, 0x6a, 0x4a, 0x66, 0x62, 0x49, 0x6a, 0x30, 0x48, - 0xa2, 0x18, 0xac, 0x94, 0x19, 0xac, 0x14, 0x87, 0xac, 0x52, 0x24, 0x97, 0x00, 0x9a, 0x03, 0x8a, - 0x85, 0x5c, 0xb9, 0x98, 0x9c, 0x5c, 0x24, 0x18, 0x15, 0x98, 0x35, 0xb8, 0x8d, 0xf4, 0xf5, 0xf0, - 0xfb, 0x4b, 0x0f, 0x4d, 0xb7, 0x13, 0xcb, 0x89, 0x7b, 0xf2, 0x0c, 0x41, 0x4c, 0x4e, 0x2e, 0x4e, - 0xde, 0x27, 0x1e, 0xc9, 0x31, 0x5e, 0x78, 0x24, 0xc7, 0xf8, 0xe0, 0x91, 0x1c, 0xe3, 0x84, 0xc7, - 0x72, 0x0c, 0x17, 0x1e, 0xcb, 0x31, 0xdc, 0x78, 0x2c, 0xc7, 0x10, 0x65, 0x98, 0x9e, 0x59, 0x92, - 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0xab, 0x8f, 0x6c, 0x3c, 0x82, 0xa3, 0x5f, 0xa1, 0x0f, 0x0b, - 0xef, 0x92, 0xca, 0x82, 0xd4, 0xe2, 0x24, 0x36, 0x70, 0x78, 0x19, 0x03, 0x02, 0x00, 0x00, 0xff, - 0xff, 0x37, 0xd1, 0xa8, 0x22, 0x87, 0x01, 0x00, 0x00, +var fileDescriptor_9e537259fa860c20 = []byte{ + // 267 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x48, 0xa9, 0xcc, 0x4d, + 0xcd, 0x2b, 0xce, 0xcc, 0xcf, 0xd3, 0x2f, 0xca, 0xcf, 0xc9, 0x49, 0x2c, 0x28, 0xd0, 0x4f, 0xca, + 0xc9, 0x4f, 0xce, 0x8e, 0x4f, 0x49, 0x2d, 0x4e, 0x2e, 0xca, 0x2c, 0x28, 0xc9, 0x2f, 0xd2, 0x2b, + 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0x83, 0xab, 0xac, 0xa8, 0xac, 0xd2, 0x83, 0x73, 0xf4, 0xa0, + 0xda, 0xa4, 0x44, 0xd2, 0xf3, 0xd3, 0xf3, 0xc1, 0x4a, 0xf5, 0x41, 0x2c, 0x88, 0x2e, 0xa5, 0x7a, + 0x2e, 0x7e, 0x27, 0x90, 0x79, 0x2e, 0x70, 0xe3, 0x84, 0xc4, 0xb8, 0xd8, 0x32, 0x52, 0x33, 0xd3, + 0x33, 0x4a, 0x24, 0x18, 0x15, 0x18, 0x35, 0x58, 0x82, 0xa0, 0x3c, 0x21, 0x19, 0x2e, 0xce, 0xe2, + 0x92, 0xc4, 0x92, 0xd4, 0xa0, 0xfc, 0xfc, 0x12, 0x09, 0x26, 0x05, 0x46, 0x0d, 0x9e, 0x20, 0x84, + 0x80, 0x90, 0x19, 0x97, 0x58, 0x66, 0x5e, 0x49, 0x6a, 0x51, 0x6e, 0x6a, 0x4a, 0x66, 0x62, 0x49, + 0x6a, 0x30, 0x48, 0xa2, 0x18, 0xac, 0x94, 0x19, 0xac, 0x14, 0x87, 0xac, 0x52, 0x24, 0x97, 0x00, + 0x9a, 0x03, 0x8a, 0x85, 0x5c, 0xb9, 0x98, 0x9c, 0x5c, 0x24, 0x18, 0x15, 0x98, 0x35, 0xb8, 0x8d, + 0xf4, 0xf5, 0xf0, 0xfb, 0x4b, 0x0f, 0x4d, 0xb7, 0x13, 0xcb, 0x89, 0x7b, 0xf2, 0x0c, 0x41, 0x4c, + 0x4e, 0x2e, 0x4e, 0xde, 0x27, 0x1e, 0xc9, 0x31, 0x5e, 0x78, 0x24, 0xc7, 0xf8, 0xe0, 0x91, 0x1c, + 0xe3, 0x84, 0xc7, 0x72, 0x0c, 0x17, 0x1e, 0xcb, 0x31, 0xdc, 0x78, 0x2c, 0xc7, 0x10, 0x65, 0x98, + 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0xab, 0x8f, 0x6c, 0x3c, 0x82, 0xa3, 0x5f, + 0x01, 0x0f, 0xef, 0x92, 0xca, 0x82, 0xd4, 0xe2, 0x24, 0x36, 0x70, 0x78, 0x19, 0x03, 0x02, 0x00, + 0x00, 0xff, 0xff, 0x95, 0xc6, 0xcc, 0x38, 0x91, 0x01, 0x00, 0x00, } func (m *BlockDescriptor) Marshal() (dAtA []byte, err error) { diff --git a/x/rollapp/types/genesis.pb.go b/x/rollapp/types/genesis.pb.go index b43127b11..cfba43b2d 100644 --- a/x/rollapp/types/genesis.pb.go +++ b/x/rollapp/types/genesis.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: rollapp/genesis.proto +// source: dymension/rollapp/genesis.proto package types @@ -37,7 +37,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_8f8d02f842af9bdf, []int{0} + return fileDescriptor_f4bf6d3c28914609, []int{0} } func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -112,33 +112,33 @@ func init() { proto.RegisterType((*GenesisState)(nil), "dymensionxyz.dymension.rollapp.GenesisState") } -func init() { proto.RegisterFile("rollapp/genesis.proto", fileDescriptor_8f8d02f842af9bdf) } +func init() { proto.RegisterFile("dymension/rollapp/genesis.proto", fileDescriptor_f4bf6d3c28914609) } -var fileDescriptor_8f8d02f842af9bdf = []byte{ - // 367 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x92, 0xbd, 0x4e, 0x3a, 0x41, - 0x14, 0xc5, 0x77, 0xff, 0x7c, 0x14, 0xc3, 0xdf, 0x66, 0x82, 0xc9, 0x86, 0xc4, 0x91, 0x50, 0x28, - 0x36, 0xb3, 0x11, 0x7b, 0x0b, 0x62, 0x54, 0xa2, 0x89, 0x0a, 0xda, 0xd8, 0x98, 0x01, 0x86, 0x65, - 0xe2, 0x32, 0xb3, 0x61, 0x86, 0x04, 0xe8, 0x7c, 0x03, 0x0b, 0x1f, 0x8a, 0x92, 0xd2, 0xca, 0x18, - 0x78, 0x11, 0xc3, 0xec, 0x5d, 0xc4, 0x42, 0x20, 0xb1, 0x9a, 0x8f, 0x7b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xc5, 0x98, 0xb7, 0x41, 0x94, 0xc4, 0x66, 0xfe, 0x10, 0xbb, 0x1e, 0x8d, 0xdf, 0x5c, 0x54, 0x6a, - 0x86, 0xaa, 0xf5, 0x7c, 0xc9, 0x45, 0xd0, 0x35, 0xf7, 0x0a, 0x84, 0xcc, 0x08, 0x25, 0xef, 0x06, - 0x7c, 0xc0, 0x6d, 0x83, 0xac, 0x6d, 0x70, 0xba, 0xa9, 0x41, 0x75, 0x2d, 0x09, 0x1a, 0x6d, 0x91, - 0x57, 0xbd, 0x9a, 0xcc, 0x88, 0x3b, 0x9d, 0x11, 0xf7, 0x73, 0x46, 0xdc, 0xd7, 0x39, 0x71, 0xa6, - 0x73, 0xe2, 0xbc, 0xcf, 0x89, 0xf3, 0x78, 0x1c, 0x08, 0xd3, 0x1d, 0x34, 0x69, 0x4b, 0xf5, 0xfc, - 0xd5, 0x36, 0xdf, 0x0f, 0x7f, 0x98, 0xac, 0xba, 0x6f, 0x46, 0x11, 0xd7, 0xcd, 0xac, 0xdd, 0xeb, - 0x93, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc0, 0x4f, 0xbc, 0x45, 0x6d, 0x03, 0x00, 0x00, +var fileDescriptor_f4bf6d3c28914609 = []byte{ + // 368 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x92, 0x3f, 0x4f, 0x3a, 0x31, + 0x18, 0xc7, 0xef, 0x7e, 0xfc, 0x19, 0xca, 0xcf, 0xa5, 0x71, 0x20, 0x24, 0x16, 0xc2, 0xa0, 0xb8, + 0xf4, 0x22, 0xee, 0x0e, 0xc4, 0xa8, 0x44, 0x13, 0x15, 0x74, 0x71, 0x31, 0x05, 0xca, 0xd1, 0x78, + 0xb4, 0x17, 0x5a, 0x12, 0x60, 0xf3, 0x1d, 0x38, 0xf8, 0xa2, 0x18, 0x19, 0x9d, 0x8c, 0x81, 0x37, + 0x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x13, 0x34, 0xbf, 0x52, 0xf1, 0x08, 0xed, 0x45, 0xb3, 0x33, + 0x21, 0x59, 0x20, 0x46, 0xbc, 0x05, 0xa1, 0x85, 0x36, 0xf5, 0x07, 0xed, 0x7a, 0x34, 0x7e, 0x75, + 0x51, 0xb1, 0x11, 0xa8, 0xe6, 0xd3, 0x05, 0x17, 0x7e, 0xc7, 0xdc, 0x29, 0x08, 0x32, 0x23, 0x94, + 0xbc, 0xed, 0xf3, 0x3e, 0xb7, 0x0d, 0xd2, 0xb6, 0xc1, 0xc9, 0xa6, 0x06, 0x95, 0xb5, 0x24, 0x68, + 0xb4, 0x85, 0xaf, 0x72, 0x39, 0x9e, 0x12, 0x77, 0x32, 0x25, 0xee, 0xc7, 0x94, 0xb8, 0x2f, 0x33, + 0xe2, 0x4c, 0x66, 0xc4, 0x79, 0x9b, 0x11, 0xe7, 0xe1, 0xc8, 0x17, 0xa6, 0xd3, 0x6f, 0xd0, 0xa6, + 0xea, 0x7a, 0xcb, 0x6d, 0xbe, 0x1e, 0xde, 0x20, 0xfe, 0xdb, 0x66, 0x18, 0x72, 0xdd, 0x48, 0xdb, + 0x7f, 0x7d, 0xfc, 0x19, 0x00, 0x00, 0xff, 0xff, 0xf4, 0x3d, 0xbc, 0x58, 0x95, 0x03, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/rollapp/types/params.pb.go b/x/rollapp/types/params.pb.go index 8c3cb3a20..22447b4b1 100644 --- a/x/rollapp/types/params.pb.go +++ b/x/rollapp/types/params.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: rollapp/params.proto +// source: dymension/rollapp/params.proto package types @@ -35,7 +35,7 @@ func (m *DeployerParams) Reset() { *m = DeployerParams{} } func (m *DeployerParams) String() string { return proto.CompactTextString(m) } func (*DeployerParams) ProtoMessage() {} func (*DeployerParams) Descriptor() ([]byte, []int) { - return fileDescriptor_62f7eb1327fe9f33, []int{0} + return fileDescriptor_8a5e294b0dff70d2, []int{0} } func (m *DeployerParams) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -93,7 +93,7 @@ type Params struct { func (m *Params) Reset() { *m = Params{} } func (*Params) ProtoMessage() {} func (*Params) Descriptor() ([]byte, []int) { - return fileDescriptor_62f7eb1327fe9f33, []int{1} + return fileDescriptor_8a5e294b0dff70d2, []int{1} } func (m *Params) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -141,32 +141,32 @@ func init() { proto.RegisterType((*Params)(nil), "dymensionxyz.dymension.rollapp.Params") } -func init() { proto.RegisterFile("rollapp/params.proto", fileDescriptor_62f7eb1327fe9f33) } +func init() { proto.RegisterFile("dymension/rollapp/params.proto", fileDescriptor_8a5e294b0dff70d2) } -var fileDescriptor_62f7eb1327fe9f33 = []byte{ - // 346 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x29, 0xca, 0xcf, 0xc9, - 0x49, 0x2c, 0x28, 0xd0, 0x2f, 0x48, 0x2c, 0x4a, 0xcc, 0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, - 0x17, 0x92, 0x4b, 0xa9, 0xcc, 0x4d, 0xcd, 0x2b, 0xce, 0xcc, 0xcf, 0xab, 0xa8, 0xac, 0xd2, 0x83, - 0x73, 0xf4, 0xa0, 0x8a, 0xa5, 0x44, 0xd2, 0xf3, 0xd3, 0xf3, 0xc1, 0x4a, 0xf5, 0x41, 0x2c, 0x88, - 0x2e, 0xa5, 0x2a, 0x2e, 0x3e, 0x97, 0xd4, 0x82, 0x9c, 0xfc, 0xca, 0xd4, 0xa2, 0x00, 0xb0, 0x69, - 0x42, 0x3a, 0x5c, 0xec, 0x89, 0x29, 0x29, 0x45, 0xa9, 0xc5, 0xc5, 0x12, 0x8c, 0x0a, 0x8c, 0x1a, - 0x9c, 0x4e, 0x42, 0x9f, 0xee, 0xc9, 0xf3, 0x55, 0x26, 0xe6, 0xe6, 0x58, 0x29, 0x41, 0x25, 0x94, - 0x82, 0x60, 0x4a, 0x84, 0xac, 0xb8, 0x78, 0x72, 0x13, 0x2b, 0xe2, 0xa1, 0x96, 0x14, 0x4b, 0x30, - 0x29, 0x30, 0x6a, 0xb0, 0x38, 0x89, 0x7f, 0xba, 0x27, 0x2f, 0x0c, 0xd1, 0x82, 0x2c, 0xab, 0x14, - 0xc4, 0x9d, 0x9b, 0x58, 0x11, 0x04, 0xe3, 0xbd, 0x67, 0xe4, 0x62, 0x83, 0x5a, 0x1a, 0xc3, 0x25, - 0x91, 0x92, 0x59, 0x5c, 0x50, 0x5a, 0x92, 0x1a, 0x5f, 0x90, 0x5a, 0x94, 0x99, 0x9f, 0x12, 0x9f, - 0x99, 0x17, 0x9f, 0x94, 0x93, 0x9f, 0x9c, 0x0d, 0x71, 0x05, 0x8b, 0x93, 0xf2, 0xa7, 0x7b, 0xf2, - 0xf2, 0x10, 0x23, 0x71, 0xa9, 0x54, 0x0a, 0x12, 0x85, 0x4a, 0x05, 0x80, 0x65, 0x3c, 0xf3, 0x9c, - 0xc0, 0xe2, 0x42, 0x0d, 0x8c, 0x5c, 0x42, 0x29, 0x50, 0x5f, 0xc6, 0x97, 0x67, 0x64, 0x96, 0xa4, - 0xe6, 0x64, 0x16, 0x97, 0x48, 0x30, 0x29, 0x30, 0x6b, 0x70, 0x1b, 0xe9, 0xe9, 0xe1, 0x0f, 0x38, - 0x3d, 0xd4, 0xf0, 0x71, 0x52, 0x3c, 0x71, 0x4f, 0x9e, 0xe1, 0xd3, 0x3d, 0x79, 0x49, 0xa8, 0x63, - 0x30, 0xcc, 0x55, 0x0a, 0x12, 0x84, 0x09, 0x86, 0xc3, 0xc4, 0xac, 0x58, 0x66, 0x2c, 0x90, 0x67, - 0x70, 0xf2, 0x3e, 0xf1, 0x48, 0x8e, 0xf1, 0xc2, 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x27, - 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, 0xe1, 0xc6, 0x63, 0x39, 0x86, 0x28, 0xc3, 0xf4, 0xcc, - 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0x7d, 0x64, 0xf7, 0x20, 0x38, 0xfa, 0x15, 0xfa, - 0xb0, 0x78, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0x4e, 0x62, 0x03, 0xc7, 0xa0, 0x31, 0x20, 0x00, 0x00, - 0xff, 0xff, 0xb3, 0x89, 0x4e, 0xa5, 0x0f, 0x02, 0x00, 0x00, +var fileDescriptor_8a5e294b0dff70d2 = []byte{ + // 347 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x4b, 0xa9, 0xcc, 0x4d, + 0xcd, 0x2b, 0xce, 0xcc, 0xcf, 0xd3, 0x2f, 0xca, 0xcf, 0xc9, 0x49, 0x2c, 0x28, 0xd0, 0x2f, 0x48, + 0x2c, 0x4a, 0xcc, 0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x42, 0xc8, 0x57, 0x54, 0x56, + 0xe9, 0xc1, 0x39, 0x7a, 0x50, 0xc5, 0x52, 0x22, 0xe9, 0xf9, 0xe9, 0xf9, 0x60, 0xa5, 0xfa, 0x20, + 0x16, 0x44, 0x97, 0x52, 0x15, 0x17, 0x9f, 0x4b, 0x6a, 0x41, 0x4e, 0x7e, 0x65, 0x6a, 0x51, 0x00, + 0xd8, 0x34, 0x21, 0x1d, 0x2e, 0xf6, 0xc4, 0x94, 0x94, 0xa2, 0xd4, 0xe2, 0x62, 0x09, 0x46, 0x05, + 0x46, 0x0d, 0x4e, 0x27, 0xa1, 0x4f, 0xf7, 0xe4, 0xf9, 0x2a, 0x13, 0x73, 0x73, 0xac, 0x94, 0xa0, + 0x12, 0x4a, 0x41, 0x30, 0x25, 0x42, 0x56, 0x5c, 0x3c, 0xb9, 0x89, 0x15, 0xf1, 0x50, 0x4b, 0x8a, + 0x25, 0x98, 0x14, 0x18, 0x35, 0x58, 0x9c, 0xc4, 0x3f, 0xdd, 0x93, 0x17, 0x86, 0x68, 0x41, 0x96, + 0x55, 0x0a, 0xe2, 0xce, 0x4d, 0xac, 0x08, 0x82, 0xf1, 0xde, 0x33, 0x72, 0xb1, 0x41, 0x2d, 0x8d, + 0xe1, 0x92, 0x48, 0xc9, 0x2c, 0x2e, 0x28, 0x2d, 0x49, 0x8d, 0x2f, 0x48, 0x2d, 0xca, 0xcc, 0x4f, + 0x89, 0xcf, 0xcc, 0x8b, 0x4f, 0xca, 0xc9, 0x4f, 0xce, 0x86, 0xb8, 0x82, 0xc5, 0x49, 0xf9, 0xd3, + 0x3d, 0x79, 0x79, 0x88, 0x91, 0xb8, 0x54, 0x2a, 0x05, 0x89, 0x42, 0xa5, 0x02, 0xc0, 0x32, 0x9e, + 0x79, 0x4e, 0x60, 0x71, 0xa1, 0x06, 0x46, 0x2e, 0xa1, 0x14, 0xa8, 0x2f, 0xe3, 0xcb, 0x33, 0x32, + 0x4b, 0x52, 0x73, 0x32, 0x8b, 0x4b, 0x24, 0x98, 0x14, 0x98, 0x35, 0xb8, 0x8d, 0xf4, 0xf4, 0xf0, + 0x07, 0x9c, 0x1e, 0x6a, 0xf8, 0x38, 0x29, 0x9e, 0xb8, 0x27, 0xcf, 0xf0, 0xe9, 0x9e, 0xbc, 0x24, + 0xd4, 0x31, 0x18, 0xe6, 0x2a, 0x05, 0x09, 0xc2, 0x04, 0xc3, 0x61, 0x62, 0x56, 0x2c, 0x33, 0x16, + 0xc8, 0x33, 0x38, 0x79, 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, 0x61, + 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x3e, 0xb2, 0x7b, 0x10, 0x1c, 0xfd, + 0x0a, 0x78, 0xbc, 0x97, 0x54, 0x16, 0xa4, 0x16, 0x27, 0xb1, 0x81, 0x63, 0xd0, 0x18, 0x10, 0x00, + 0x00, 0xff, 0xff, 0x41, 0x55, 0xd9, 0x42, 0x19, 0x02, 0x00, 0x00, } func (m *DeployerParams) Marshal() (dAtA []byte, err error) { diff --git a/x/rollapp/types/query.pb.go b/x/rollapp/types/query.pb.go index 296e4577a..4dfcfe238 100644 --- a/x/rollapp/types/query.pb.go +++ b/x/rollapp/types/query.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: rollapp/query.proto +// source: dymension/rollapp/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_b2fc533dd2941a55, []int{0} + return fileDescriptor_6816c5236b322a4f, []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_b2fc533dd2941a55, []int{1} + return fileDescriptor_6816c5236b322a4f, []int{1} } func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -121,7 +121,7 @@ func (m *QueryGetRollappRequest) Reset() { *m = QueryGetRollappRequest{} func (m *QueryGetRollappRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetRollappRequest) ProtoMessage() {} func (*QueryGetRollappRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b2fc533dd2941a55, []int{2} + return fileDescriptor_6816c5236b322a4f, []int{2} } func (m *QueryGetRollappRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -165,7 +165,7 @@ func (m *QueryGetRollappResponse) Reset() { *m = QueryGetRollappResponse func (m *QueryGetRollappResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetRollappResponse) ProtoMessage() {} func (*QueryGetRollappResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b2fc533dd2941a55, []int{3} + return fileDescriptor_6816c5236b322a4f, []int{3} } func (m *QueryGetRollappResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -209,7 +209,7 @@ func (m *QueryAllRollappRequest) Reset() { *m = QueryAllRollappRequest{} func (m *QueryAllRollappRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllRollappRequest) ProtoMessage() {} func (*QueryAllRollappRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b2fc533dd2941a55, []int{4} + return fileDescriptor_6816c5236b322a4f, []int{4} } func (m *QueryAllRollappRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -254,7 +254,7 @@ func (m *QueryAllRollappResponse) Reset() { *m = QueryAllRollappResponse func (m *QueryAllRollappResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllRollappResponse) ProtoMessage() {} func (*QueryAllRollappResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b2fc533dd2941a55, []int{5} + return fileDescriptor_6816c5236b322a4f, []int{5} } func (m *QueryAllRollappResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -306,7 +306,7 @@ func (m *QueryGetStateInfoRequest) Reset() { *m = QueryGetStateInfoReque func (m *QueryGetStateInfoRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetStateInfoRequest) ProtoMessage() {} func (*QueryGetStateInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b2fc533dd2941a55, []int{6} + return fileDescriptor_6816c5236b322a4f, []int{6} } func (m *QueryGetStateInfoRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -357,7 +357,7 @@ func (m *QueryGetStateInfoResponse) Reset() { *m = QueryGetStateInfoResp func (m *QueryGetStateInfoResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetStateInfoResponse) ProtoMessage() {} func (*QueryGetStateInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b2fc533dd2941a55, []int{7} + return fileDescriptor_6816c5236b322a4f, []int{7} } func (m *QueryGetStateInfoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -401,7 +401,7 @@ func (m *QueryAllStateInfoRequest) Reset() { *m = QueryAllStateInfoReque func (m *QueryAllStateInfoRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllStateInfoRequest) ProtoMessage() {} func (*QueryAllStateInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b2fc533dd2941a55, []int{8} + return fileDescriptor_6816c5236b322a4f, []int{8} } func (m *QueryAllStateInfoRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -446,7 +446,7 @@ func (m *QueryAllStateInfoResponse) Reset() { *m = QueryAllStateInfoResp func (m *QueryAllStateInfoResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllStateInfoResponse) ProtoMessage() {} func (*QueryAllStateInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b2fc533dd2941a55, []int{9} + return fileDescriptor_6816c5236b322a4f, []int{9} } func (m *QueryAllStateInfoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -497,7 +497,7 @@ func (m *QueryGetLatestStateInfoIndexRequest) Reset() { *m = QueryGetLat func (m *QueryGetLatestStateInfoIndexRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetLatestStateInfoIndexRequest) ProtoMessage() {} func (*QueryGetLatestStateInfoIndexRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b2fc533dd2941a55, []int{10} + return fileDescriptor_6816c5236b322a4f, []int{10} } func (m *QueryGetLatestStateInfoIndexRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -541,7 +541,7 @@ func (m *QueryGetLatestStateInfoIndexResponse) Reset() { *m = QueryGetLa func (m *QueryGetLatestStateInfoIndexResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetLatestStateInfoIndexResponse) ProtoMessage() {} func (*QueryGetLatestStateInfoIndexResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b2fc533dd2941a55, []int{11} + return fileDescriptor_6816c5236b322a4f, []int{11} } func (m *QueryGetLatestStateInfoIndexResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -585,7 +585,7 @@ func (m *QueryAllLatestStateInfoIndexRequest) Reset() { *m = QueryAllLat func (m *QueryAllLatestStateInfoIndexRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllLatestStateInfoIndexRequest) ProtoMessage() {} func (*QueryAllLatestStateInfoIndexRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b2fc533dd2941a55, []int{12} + return fileDescriptor_6816c5236b322a4f, []int{12} } func (m *QueryAllLatestStateInfoIndexRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -630,7 +630,7 @@ func (m *QueryAllLatestStateInfoIndexResponse) Reset() { *m = QueryAllLa func (m *QueryAllLatestStateInfoIndexResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllLatestStateInfoIndexResponse) ProtoMessage() {} func (*QueryAllLatestStateInfoIndexResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b2fc533dd2941a55, []int{13} + return fileDescriptor_6816c5236b322a4f, []int{13} } func (m *QueryAllLatestStateInfoIndexResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -685,7 +685,7 @@ func (m *QueryGetBlockHeightToFinalizationQueueRequest) String() string { } func (*QueryGetBlockHeightToFinalizationQueueRequest) ProtoMessage() {} func (*QueryGetBlockHeightToFinalizationQueueRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b2fc533dd2941a55, []int{14} + return fileDescriptor_6816c5236b322a4f, []int{14} } func (m *QueryGetBlockHeightToFinalizationQueueRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -733,7 +733,7 @@ func (m *QueryGetBlockHeightToFinalizationQueueResponse) String() string { } func (*QueryGetBlockHeightToFinalizationQueueResponse) ProtoMessage() {} func (*QueryGetBlockHeightToFinalizationQueueResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b2fc533dd2941a55, []int{15} + return fileDescriptor_6816c5236b322a4f, []int{15} } func (m *QueryGetBlockHeightToFinalizationQueueResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -781,7 +781,7 @@ func (m *QueryAllBlockHeightToFinalizationQueueRequest) String() string { } func (*QueryAllBlockHeightToFinalizationQueueRequest) ProtoMessage() {} func (*QueryAllBlockHeightToFinalizationQueueRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b2fc533dd2941a55, []int{16} + return fileDescriptor_6816c5236b322a4f, []int{16} } func (m *QueryAllBlockHeightToFinalizationQueueRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -830,7 +830,7 @@ func (m *QueryAllBlockHeightToFinalizationQueueResponse) String() string { } func (*QueryAllBlockHeightToFinalizationQueueResponse) ProtoMessage() {} func (*QueryAllBlockHeightToFinalizationQueueResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b2fc533dd2941a55, []int{17} + return fileDescriptor_6816c5236b322a4f, []int{17} } func (m *QueryAllBlockHeightToFinalizationQueueResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -883,7 +883,7 @@ func (m *QueryGetLatestFinalizedStateInfoRequest) Reset() { func (m *QueryGetLatestFinalizedStateInfoRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetLatestFinalizedStateInfoRequest) ProtoMessage() {} func (*QueryGetLatestFinalizedStateInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b2fc533dd2941a55, []int{18} + return fileDescriptor_6816c5236b322a4f, []int{18} } func (m *QueryGetLatestFinalizedStateInfoRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -929,7 +929,7 @@ func (m *QueryGetLatestFinalizedStateInfoResponse) Reset() { func (m *QueryGetLatestFinalizedStateInfoResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetLatestFinalizedStateInfoResponse) ProtoMessage() {} func (*QueryGetLatestFinalizedStateInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b2fc533dd2941a55, []int{19} + return fileDescriptor_6816c5236b322a4f, []int{19} } func (m *QueryGetLatestFinalizedStateInfoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -974,7 +974,7 @@ func (m *QueryGetStateInfoByHeightRequest) Reset() { *m = QueryGetStateI func (m *QueryGetStateInfoByHeightRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetStateInfoByHeightRequest) ProtoMessage() {} func (*QueryGetStateInfoByHeightRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b2fc533dd2941a55, []int{20} + return fileDescriptor_6816c5236b322a4f, []int{20} } func (m *QueryGetStateInfoByHeightRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1025,7 +1025,7 @@ func (m *QueryGetStateInfoByHeightResponse) Reset() { *m = QueryGetState func (m *QueryGetStateInfoByHeightResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetStateInfoByHeightResponse) ProtoMessage() {} func (*QueryGetStateInfoByHeightResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b2fc533dd2941a55, []int{21} + return fileDescriptor_6816c5236b322a4f, []int{21} } func (m *QueryGetStateInfoByHeightResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1086,79 +1086,79 @@ func init() { proto.RegisterType((*QueryGetStateInfoByHeightResponse)(nil), "dymensionxyz.dymension.rollapp.QueryGetStateInfoByHeightResponse") } -func init() { proto.RegisterFile("rollapp/query.proto", fileDescriptor_b2fc533dd2941a55) } +func init() { proto.RegisterFile("dymension/rollapp/query.proto", fileDescriptor_6816c5236b322a4f) } -var fileDescriptor_b2fc533dd2941a55 = []byte{ +var fileDescriptor_6816c5236b322a4f = []byte{ // 1099 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0xcd, 0x6f, 0x1b, 0x45, - 0x14, 0xcf, 0x38, 0x69, 0xaa, 0x3c, 0x38, 0x4d, 0x4c, 0x1b, 0xac, 0xca, 0xb4, 0x03, 0x6a, 0xd2, - 0x0a, 0x76, 0x95, 0x44, 0xf4, 0x43, 0x48, 0xa5, 0x76, 0x42, 0xdc, 0x50, 0xd2, 0x0f, 0x03, 0xe2, + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0xcb, 0x6f, 0x1b, 0x45, + 0x18, 0xcf, 0x3a, 0x69, 0xaa, 0x7c, 0x70, 0x9a, 0x5a, 0x6d, 0xb0, 0xca, 0xb6, 0x1d, 0x50, 0x93, + 0x56, 0xb0, 0xab, 0x24, 0xa2, 0x0f, 0x21, 0x95, 0xda, 0x09, 0x71, 0x43, 0x49, 0x1f, 0x06, 0xc4, 0xeb, 0xb0, 0xac, 0x93, 0x89, 0xb3, 0xb0, 0xde, 0x71, 0xbc, 0x6b, 0x88, 0x1b, 0xe5, 0xc2, 0x89, 0x03, 0x42, 0x95, 0xb8, 0x23, 0x38, 0x23, 0x71, 0xe1, 0xc0, 0x91, 0x6b, 0x8e, 0x95, 0xb8, 0xc0, - 0x05, 0xa1, 0x04, 0xae, 0x1c, 0xf8, 0x03, 0x10, 0xda, 0x99, 0xb7, 0xfe, 0x88, 0x37, 0xde, 0x71, - 0xbc, 0xe9, 0xc9, 0xdd, 0xd9, 0x79, 0xef, 0xfd, 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 0xe9, 0x0b, 0x0b, 0x0f, 0x4b, 0x15, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1620,7 +1620,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "rollapp/query.proto", + Metadata: "dymension/rollapp/query.proto", } func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) { diff --git a/x/rollapp/types/query.pb.gw.go b/x/rollapp/types/query.pb.gw.go index 3134a7359..d08a187ac 100644 --- a/x/rollapp/types/query.pb.gw.go +++ b/x/rollapp/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: rollapp/query.proto +// source: dymension/rollapp/query.proto /* Package types is a reverse proxy. diff --git a/x/rollapp/types/rollapp.pb.go b/x/rollapp/types/rollapp.pb.go index 6d866192f..5d0983613 100644 --- a/x/rollapp/types/rollapp.pb.go +++ b/x/rollapp/types/rollapp.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: rollapp/rollapp.proto +// source: dymension/rollapp/rollapp.proto package types @@ -54,7 +54,7 @@ func (m *Rollapp) Reset() { *m = Rollapp{} } func (m *Rollapp) String() string { return proto.CompactTextString(m) } func (*Rollapp) ProtoMessage() {} func (*Rollapp) Descriptor() ([]byte, []int) { - return fileDescriptor_fafe6642dcc915df, []int{0} + return fileDescriptor_2c072320fdc0abd9, []int{0} } func (m *Rollapp) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -143,31 +143,32 @@ func init() { proto.RegisterType((*Rollapp)(nil), "dymensionxyz.dymension.rollapp.Rollapp") } -func init() { proto.RegisterFile("rollapp/rollapp.proto", fileDescriptor_fafe6642dcc915df) } +func init() { proto.RegisterFile("dymension/rollapp/rollapp.proto", fileDescriptor_2c072320fdc0abd9) } -var fileDescriptor_fafe6642dcc915df = []byte{ - // 336 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b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0x1b, 0x77, 0x03, 0x48, 0x41, 0x47, 0xfa, - 0x91, 0x9b, 0x90, 0x1e, 0x97, 0xfa, 0x3e, 0x45, 0x46, 0xb8, 0x97, 0xf0, 0xfc, 0x29, 0x32, 0x61, - 0x28, 0x63, 0x11, 0xa5, 0xc1, 0x38, 0x96, 0xfe, 0x8b, 0xa6, 0xad, 0xb2, 0xcd, 0x41, 0x8d, 0x5c, - 0xe1, 0xd3, 0x84, 0xe7, 0x93, 0xdd, 0xf7, 0x69, 0xbb, 0x4c, 0xfe, 0x4b, 0x12, 0xc0, 0xfd, 0x0c, - 0x54, 0x12, 0xe9, 0x62, 0x4e, 0x10, 0x77, 0x42, 0x28, 0xd0, 0x1a, 0x34, 0x3d, 0xb1, 0xd1, 0xb0, - 0x3b, 0xba, 0x76, 0xfe, 0x59, 0x73, 0xb5, 0x5d, 0xa7, 0x76, 0x1a, 0x37, 0x17, 0xdf, 0x17, 0x96, - 0x77, 0xd8, 0x6d, 0xfc, 0xb0, 0x58, 0x31, 0xb4, 0x5c, 0x31, 0xf4, 0xb3, 0x62, 0xe8, 0x63, 0xcd, - 0xac, 0xe5, 0x9a, 0x59, 0x9f, 0x6b, 0x66, 0x3d, 0xdf, 0x04, 0x91, 0x09, 0x67, 0x53, 0xc7, 0x97, - 0x89, 0xbb, 0xdf, 0xab, 0x06, 0x6e, 0xbe, 0x3d, 0xbd, 0x6b, 0xe6, 0x19, 0xe8, 0x69, 0xab, 0x3c, - 0xd9, 0xed, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xa7, 0xe9, 0xda, 0x17, 0x1a, 0x02, 0x00, 0x00, +var fileDescriptor_2c072320fdc0abd9 = []byte{ + // 341 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0xb1, 0x4e, 0xeb, 0x30, + 0x14, 0x86, 0xe3, 0xde, 0xde, 0xf6, 0xd6, 0xd5, 0x5d, 0xac, 0x22, 0x59, 0x15, 0x72, 0x03, 0x62, + 0x28, 0x4b, 0x22, 0xca, 0x13, 0xd0, 0x0d, 0xb1, 0xa0, 0x74, 0x40, 0x62, 0x73, 0xe3, 0xa3, 0x24, + 0x22, 0x89, 0x83, 0xed, 0xa2, 0x94, 0xa7, 0xe0, 0xb1, 0x3a, 0x76, 0x64, 0x40, 0x08, 0xb5, 0x2f, + 0x82, 0x92, 0xb4, 0x49, 0x91, 0xca, 0x94, 0xf3, 0xff, 0xff, 0xd1, 0x77, 0xe2, 0x63, 0xe3, 0x91, + 0x58, 0x26, 0x90, 0xea, 0x48, 0xa6, 0xae, 0x92, 0x71, 0xcc, 0xb3, 0x6c, 0xff, 0x75, 0x32, 0x25, + 0x8d, 0x24, 0xac, 0x6e, 0xc8, 0x97, 0xaf, 0x4e, 0x2d, 0x9c, 0x5d, 0xd7, 0xf0, 0xac, 0x01, 0xe8, + 0x90, 0x2b, 0x10, 0xae, 0x86, 0xe7, 0x05, 0xa4, 0x3e, 0x28, 0x5d, 0x21, 0x86, 0x83, 0x40, 0x06, + 0xb2, 0x2c, 0xdd, 0xa2, 0xaa, 0xdc, 0xf3, 0x8f, 0x16, 0xee, 0x7a, 0x15, 0x84, 0x9c, 0xe2, 0xde, + 0x8e, 0x77, 0x2b, 0x28, 0xb2, 0xd1, 0xb8, 0xe7, 0x35, 0x06, 0xa1, 0xb8, 0xeb, 0x2b, 0xe0, 0x46, + 0x2a, 0xda, 0x2a, 0xb3, 0xbd, 0x2c, 0x92, 0x17, 0x50, 0xc5, 0x70, 0xfa, 0xc7, 0x46, 0xe3, 0xb6, + 0xb7, 0x97, 0x05, 0xd1, 0x97, 0x02, 0x66, 0x86, 0x27, 0x19, 0x6d, 0x57, 0xc4, 0xda, 0x20, 0x36, + 0xee, 0x07, 0x90, 0x82, 0x8e, 0xf4, 0x3d, 0x37, 0x21, 0xfd, 0x5b, 0xe6, 0x87, 0x16, 0x99, 0xe0, + 0x41, 0xc2, 0xf3, 0x87, 0xc8, 0x84, 0xa1, 0x8c, 0x45, 0x94, 0x06, 0xd3, 0x58, 0xfa, 0x4f, 0x9a, + 0x76, 0xca, 0x31, 0x47, 0x33, 0x72, 0x81, 0xff, 0x27, 0x3c, 0x9f, 0xd5, 0xc7, 0xa7, 0xdd, 0xb2, + 0xf9, 0xa7, 0x49, 0x00, 0x9f, 0x64, 0xa0, 0x92, 0x48, 0x17, 0xff, 0x09, 0xe2, 0x46, 0x08, 0x05, + 0x5a, 0x83, 0xa6, 0xff, 0x6c, 0x34, 0xee, 0x4f, 0x2e, 0x9d, 0x5f, 0x16, 0x5e, 0x6d, 0xd7, 0x69, + 0x48, 0xd3, 0xf6, 0xea, 0x73, 0x64, 0x79, 0xc7, 0x69, 0xd3, 0xbb, 0xd5, 0x86, 0xa1, 0xf5, 0x86, + 0xa1, 0xaf, 0x0d, 0x43, 0x6f, 0x5b, 0x66, 0xad, 0xb7, 0xcc, 0x7a, 0xdf, 0x32, 0xeb, 0xf1, 0x2a, + 0x88, 0x4c, 0xb8, 0x98, 0x3b, 0xbe, 0x4c, 0xdc, 0xc3, 0x59, 0x8d, 0x70, 0xf3, 0xfa, 0x31, 0x98, + 0x65, 0x06, 0x7a, 0xde, 0x29, 0xaf, 0xec, 0xfa, 0x3b, 0x00, 0x00, 0xff, 0xff, 0x38, 0x39, 0x49, + 0xfe, 0x2e, 0x02, 0x00, 0x00, } func (m *Rollapp) Marshal() (dAtA []byte, err error) { diff --git a/x/rollapp/types/state_info.pb.go b/x/rollapp/types/state_info.pb.go index 27ac66cd1..f5bf44864 100644 --- a/x/rollapp/types/state_info.pb.go +++ b/x/rollapp/types/state_info.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: rollapp/state_info.proto +// source: dymension/rollapp/state_info.proto package types @@ -42,7 +42,7 @@ func (m *StateInfoIndex) Reset() { *m = StateInfoIndex{} } func (m *StateInfoIndex) String() string { return proto.CompactTextString(m) } func (*StateInfoIndex) ProtoMessage() {} func (*StateInfoIndex) Descriptor() ([]byte, []int) { - return fileDescriptor_0f682a28ae3061a0, []int{0} + return fileDescriptor_17fce0215a9cbbfb, []int{0} } func (m *StateInfoIndex) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -113,7 +113,7 @@ func (m *StateInfo) Reset() { *m = StateInfo{} } func (m *StateInfo) String() string { return proto.CompactTextString(m) } func (*StateInfo) ProtoMessage() {} func (*StateInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_0f682a28ae3061a0, []int{1} + return fileDescriptor_17fce0215a9cbbfb, []int{1} } func (m *StateInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -218,7 +218,7 @@ func (m *BlockHeightToFinalizationQueue) Reset() { *m = BlockHeightToFin func (m *BlockHeightToFinalizationQueue) String() string { return proto.CompactTextString(m) } func (*BlockHeightToFinalizationQueue) ProtoMessage() {} func (*BlockHeightToFinalizationQueue) Descriptor() ([]byte, []int) { - return fileDescriptor_0f682a28ae3061a0, []int{2} + return fileDescriptor_17fce0215a9cbbfb, []int{2} } func (m *BlockHeightToFinalizationQueue) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -267,39 +267,41 @@ func init() { proto.RegisterType((*BlockHeightToFinalizationQueue)(nil), "dymensionxyz.dymension.rollapp.BlockHeightToFinalizationQueue") } -func init() { proto.RegisterFile("rollapp/state_info.proto", fileDescriptor_0f682a28ae3061a0) } +func init() { + proto.RegisterFile("dymension/rollapp/state_info.proto", fileDescriptor_17fce0215a9cbbfb) +} -var fileDescriptor_0f682a28ae3061a0 = []byte{ - // 453 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x53, 0xd1, 0x8a, 0x13, 0x31, - 0x14, 0x6d, 0xb6, 0xdd, 0xae, 0x93, 0x85, 0x82, 0x61, 0x91, 0x50, 0x24, 0x0e, 0x7d, 0x90, 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x70, 0xbb, 0x22, 0xe0, 0xe7, 0x8a, - 0x80, 0x2f, 0x6b, 0xd2, 0xb8, 0x5d, 0x93, 0xc6, 0xf7, 0x35, 0x69, 0xbc, 0x7f, 0x96, 0x71, 0x33, - 0x2b, 0xc7, 0x34, 0x95, 0xf3, 0x68, 0xf7, 0xb0, 0xba, 0x88, 0x16, 0xd1, 0xe6, 0x26, 0x98, 0x65, - 0xc1, 0xf4, 0xb8, 0xed, 0xee, 0xc0, 0xf3, 0x5f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xb6, 0xe9, 0x1c, - 0x90, 0x91, 0x03, 0x00, 0x00, +var fileDescriptor_17fce0215a9cbbfb = []byte{ + // 457 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x53, 0xdd, 0x6e, 0xd3, 0x30, + 0x18, 0xad, 0xd7, 0xae, 0x23, 0x9e, 0x54, 0x09, 0x6b, 0x42, 0xd6, 0x84, 0x4c, 0x54, 0x21, 0x54, + 0x09, 0xc9, 0x81, 0xf1, 0x04, 0x94, 0x0a, 0xad, 0xe2, 0x06, 0x32, 0xae, 0x10, 0xd2, 0x94, 0xa6, + 0x6e, 0x6a, 0x91, 0xda, 0xc1, 0x76, 0x50, 0xbb, 0xa7, 0xe0, 0x51, 0xb8, 0xe0, 0x21, 0x76, 0xb9, + 0x4b, 0xae, 0x10, 0x6a, 0x5f, 0x04, 0xd9, 0x31, 0x49, 0xd7, 0xf1, 0xa7, 0xdd, 0x44, 0xf9, 0xce, + 0x77, 0xce, 0xf1, 0xf9, 0xbe, 0xc4, 0xb0, 0x3f, 0x5d, 0x2d, 0x98, 0xd0, 0x5c, 0x8a, 0x48, 0xc9, + 0x3c, 0x4f, 0x8a, 0x22, 0xd2, 0x26, 0x31, 0xec, 0x9c, 0x8b, 0x99, 0xa4, 0x85, 0x92, 0x46, 0x22, + 0x52, 0x73, 0x96, 0xab, 0x0b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97, 0xc2, 0x1f, 0x7a, 0xe0, 0x08, + 0x3b, 0x28, 0x7a, 0x01, 0xbb, 0xd5, 0xe6, 0xf1, 0x9d, 0x10, 0x0c, 0x7a, 0x27, 0x8f, 0xff, 0x6b, + 0x1b, 0x67, 0x4e, 0x12, 0x7b, 0x29, 0x3a, 0x85, 0xed, 0xe1, 0x48, 0xe3, 0xc0, 0xed, 0xf3, 0xc9, + 0xbf, 0x1c, 0xdc, 0x4c, 0xa3, 0xfa, 0xc7, 0xd0, 0x7e, 0xa3, 0xd6, 0xa2, 0xff, 0x15, 0x40, 0xe2, + 0xfa, 0x55, 0xbc, 0xb7, 0xf2, 0x25, 0x17, 0x49, 0xce, 0x2f, 0x5c, 0xe4, 0x37, 0x25, 0x2b, 0x19, + 0xa2, 0x10, 0xcd, 0xb6, 0x40, 0x3f, 0x1d, 0x70, 0xd3, 0xfd, 0xa6, 0x83, 0x26, 0xf0, 0xee, 0x6c, + 0xd7, 0x04, 0xef, 0x85, 0xed, 0x5b, 0x7f, 0xfa, 0x9b, 0x76, 0xc3, 0x57, 0x97, 0x6b, 0x02, 0xae, + 0xd6, 0x04, 0xfc, 0x58, 0x13, 0xf0, 0x79, 0x43, 0x5a, 0x57, 0x1b, 0xd2, 0xfa, 0xb6, 0x21, 0xad, + 0x77, 0x4f, 0x33, 0x6e, 0xe6, 0xe5, 0x84, 0xa6, 0x72, 0x11, 0x6d, 0x1f, 0xd6, 0x14, 0xd1, 0xb2, + 0xbe, 0x09, 0x66, 0x55, 0x30, 0x3d, 0xe9, 0xba, 0x3b, 0xf0, 0xec, 0x67, 0x00, 0x00, 0x00, 0xff, + 0xff, 0xd3, 0xac, 0xad, 0x9f, 0xaf, 0x03, 0x00, 0x00, } func (m *StateInfoIndex) Marshal() (dAtA []byte, err error) { diff --git a/x/rollapp/types/state_status.pb.go b/x/rollapp/types/state_status.pb.go index 1425e8d2d..22970dea4 100644 --- a/x/rollapp/types/state_status.pb.go +++ b/x/rollapp/types/state_status.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: rollapp/state_status.proto +// source: dymension/rollapp/state_status.proto package types @@ -49,29 +49,31 @@ func (x StateStatus) String() string { } func (StateStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_6789a214d907e202, []int{0} + return fileDescriptor_b039e93a8767dffd, []int{0} } func init() { proto.RegisterEnum("dymensionxyz.dymension.rollapp.StateStatus", StateStatus_name, StateStatus_value) } -func init() { proto.RegisterFile("rollapp/state_status.proto", fileDescriptor_6789a214d907e202) } +func init() { + proto.RegisterFile("dymension/rollapp/state_status.proto", fileDescriptor_b039e93a8767dffd) +} -var fileDescriptor_6789a214d907e202 = []byte{ - // 219 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x2a, 0xca, 0xcf, 0xc9, - 0x49, 0x2c, 0x28, 0xd0, 0x2f, 0x2e, 0x49, 0x2c, 0x49, 0x8d, 0x07, 0x91, 0xa5, 0xc5, 0x7a, 0x05, - 0x45, 0xf9, 0x25, 0xf9, 0x42, 0x72, 0x29, 0x95, 0xb9, 0xa9, 0x79, 0xc5, 0x99, 0xf9, 0x79, 0x15, - 0x95, 0x55, 0x7a, 0x70, 0x8e, 0x1e, 0x54, 0x8b, 0x94, 0x48, 0x7a, 0x7e, 0x7a, 0x3e, 0x58, 0xa9, - 0x3e, 0x88, 0x05, 0xd1, 0xa5, 0x95, 0xc1, 0xc5, 0x1d, 0x0c, 0x32, 0x2b, 0x18, 0x6c, 0x94, 0x90, - 0x0c, 0x97, 0x44, 0x70, 0x88, 0x63, 0x88, 0x6b, 0x3c, 0x88, 0x0c, 0x0d, 0x8e, 0x0f, 0xf5, 0x0b, - 0x0e, 0x70, 0x75, 0xf6, 0x74, 0xf3, 0x74, 0x75, 0x11, 0x60, 0x10, 0x92, 0xe4, 0x12, 0x45, 0x91, - 0x0d, 0x72, 0x75, 0x76, 0xf5, 0x0c, 0x73, 0x75, 0x11, 0x60, 0x14, 0x92, 0xe2, 0x12, 0x43, 0x91, - 0x72, 0xf3, 0xf4, 0x73, 0xf4, 0xf1, 0x8c, 0x72, 0x75, 0x11, 0x60, 0x92, 0x62, 0xe9, 0x58, 0x2c, - 0xc7, 0xe0, 0xe4, 0x7d, 0xe2, 0x91, 0x1c, 0xe3, 0x85, 0x47, 0x72, 0x8c, 0x0f, 0x1e, 0xc9, 0x31, - 0x4e, 0x78, 0x2c, 0xc7, 0x70, 0xe1, 0xb1, 0x1c, 0xc3, 0x8d, 0xc7, 0x72, 0x0c, 0x51, 0x86, 0xe9, - 0x99, 0x25, 0x19, 0xa5, 0x49, 0x7a, 0xc9, 0xf9, 0xb9, 0xfa, 0xc8, 0x9e, 0x40, 0x70, 0xf4, 0x2b, - 0xf4, 0x61, 0x3e, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0x4e, 0x62, 0x03, 0xbb, 0xde, 0x18, 0x10, 0x00, - 0x00, 0xff, 0xff, 0xf0, 0xba, 0x11, 0xf0, 0x11, 0x01, 0x00, 0x00, +var fileDescriptor_b039e93a8767dffd = []byte{ + // 221 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x49, 0xa9, 0xcc, 0x4d, + 0xcd, 0x2b, 0xce, 0xcc, 0xcf, 0xd3, 0x2f, 0xca, 0xcf, 0xc9, 0x49, 0x2c, 0x28, 0xd0, 0x2f, 0x2e, + 0x49, 0x2c, 0x49, 0x8d, 0x07, 0x91, 0xa5, 0xc5, 0x7a, 0x05, 0x45, 0xf9, 0x25, 0xf9, 0x42, 0x72, + 0x70, 0x55, 0x15, 0x95, 0x55, 0x7a, 0x70, 0x8e, 0x1e, 0x54, 0x8b, 0x94, 0x48, 0x7a, 0x7e, 0x7a, + 0x3e, 0x58, 0xa9, 0x3e, 0x88, 0x05, 0xd1, 0xa5, 0x95, 0xc1, 0xc5, 0x1d, 0x0c, 0x32, 0x2b, 0x18, + 0x6c, 0x94, 0x90, 0x0c, 0x97, 0x44, 0x70, 0x88, 0x63, 0x88, 0x6b, 0x3c, 0x88, 0x0c, 0x0d, 0x8e, + 0x0f, 0xf5, 0x0b, 0x0e, 0x70, 0x75, 0xf6, 0x74, 0xf3, 0x74, 0x75, 0x11, 0x60, 0x10, 0x92, 0xe4, + 0x12, 0x45, 0x91, 0x0d, 0x72, 0x75, 0x76, 0xf5, 0x0c, 0x73, 0x75, 0x11, 0x60, 0x14, 0x92, 0xe2, + 0x12, 0x43, 0x91, 0x72, 0xf3, 0xf4, 0x73, 0xf4, 0xf1, 0x8c, 0x72, 0x75, 0x11, 0x60, 0x92, 0x62, + 0xe9, 0x58, 0x2c, 0xc7, 0xe0, 0xe4, 0x7d, 0xe2, 0x91, 0x1c, 0xe3, 0x85, 0x47, 0x72, 0x8c, 0x0f, + 0x1e, 0xc9, 0x31, 0x4e, 0x78, 0x2c, 0xc7, 0x70, 0xe1, 0xb1, 0x1c, 0xc3, 0x8d, 0xc7, 0x72, 0x0c, + 0x51, 0x86, 0xe9, 0x99, 0x25, 0x19, 0xa5, 0x49, 0x7a, 0xc9, 0xf9, 0xb9, 0xfa, 0xc8, 0x9e, 0x40, + 0x70, 0xf4, 0x2b, 0xe0, 0x3e, 0x2f, 0xa9, 0x2c, 0x48, 0x2d, 0x4e, 0x62, 0x03, 0xbb, 0xde, 0x18, + 0x10, 0x00, 0x00, 0xff, 0xff, 0xdd, 0xa1, 0x76, 0x35, 0x1b, 0x01, 0x00, 0x00, } diff --git a/x/rollapp/types/tx.pb.go b/x/rollapp/types/tx.pb.go index 950dde6a4..9c5f31ee1 100644 --- a/x/rollapp/types/tx.pb.go +++ b/x/rollapp/types/tx.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: rollapp/tx.proto +// source: dymension/rollapp/tx.proto package types @@ -55,7 +55,7 @@ func (m *MsgCreateRollapp) Reset() { *m = MsgCreateRollapp{} } func (m *MsgCreateRollapp) String() string { return proto.CompactTextString(m) } func (*MsgCreateRollapp) ProtoMessage() {} func (*MsgCreateRollapp) Descriptor() ([]byte, []int) { - return fileDescriptor_28d664456664c256, []int{0} + return fileDescriptor_935cc363af28220c, []int{0} } func (m *MsgCreateRollapp) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -140,7 +140,7 @@ func (m *MsgCreateRollappResponse) Reset() { *m = MsgCreateRollappRespon func (m *MsgCreateRollappResponse) String() string { return proto.CompactTextString(m) } func (*MsgCreateRollappResponse) ProtoMessage() {} func (*MsgCreateRollappResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_28d664456664c256, []int{1} + return fileDescriptor_935cc363af28220c, []int{1} } func (m *MsgCreateRollappResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -195,7 +195,7 @@ func (m *MsgUpdateState) Reset() { *m = MsgUpdateState{} } func (m *MsgUpdateState) String() string { return proto.CompactTextString(m) } func (*MsgUpdateState) ProtoMessage() {} func (*MsgUpdateState) Descriptor() ([]byte, []int) { - return fileDescriptor_28d664456664c256, []int{2} + return fileDescriptor_935cc363af28220c, []int{2} } func (m *MsgUpdateState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -280,7 +280,7 @@ func (m *MsgUpdateStateResponse) Reset() { *m = MsgUpdateStateResponse{} func (m *MsgUpdateStateResponse) String() string { return proto.CompactTextString(m) } func (*MsgUpdateStateResponse) ProtoMessage() {} func (*MsgUpdateStateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_28d664456664c256, []int{3} + return fileDescriptor_935cc363af28220c, []int{3} } func (m *MsgUpdateStateResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -316,42 +316,42 @@ func init() { proto.RegisterType((*MsgUpdateStateResponse)(nil), "dymensionxyz.dymension.rollapp.MsgUpdateStateResponse") } -func init() { proto.RegisterFile("rollapp/tx.proto", fileDescriptor_28d664456664c256) } - -var fileDescriptor_28d664456664c256 = []byte{ - // 505 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x94, 0xcf, 0x8b, 0xd3, 0x40, - 0x14, 0xc7, 0x9b, 0x36, 0xdb, 0x65, 0xa7, 0xac, 0x2c, 0xc3, 0xba, 0x0e, 0x41, 0x62, 0x28, 0x1e, - 0xea, 0x25, 0xd1, 0x0a, 0xe2, 0x75, 0x6b, 0x0f, 0x2b, 0x52, 0x90, 0x2c, 0x22, 0x78, 0x91, 0x34, - 0xf3, 0x48, 0x82, 0x4d, 0x26, 0xce, 0x4c, 0x25, 0xd5, 0xab, 0x7f, 0x80, 0x7f, 0xd6, 0x82, 0x97, - 0x3d, 0x7a, 0x12, 0x69, 0xff, 0x0a, 0x6f, 0x32, 0x93, 0x1f, 0x4d, 0x97, 0xf5, 0xc7, 0x7a, 0x9b, - 0xf7, 0x7d, 0xef, 0x7d, 0xdf, 0xcc, 0x67, 0x26, 0x41, 0x47, 0x9c, 0x2d, 0x16, 0x41, 0x9e, 0x7b, - 0xb2, 0x70, 0x73, 0xce, 0x24, 0xc3, 0x36, 0x5d, 0xa5, 0x90, 0x89, 0x84, 0x65, 0xc5, 0xea, 0xa3, - 0xdb, 0x04, 0x6e, 0x55, 0x68, 0xd9, 0x75, 0xc7, 0x7c, 0xc1, 0xc2, 0x77, 0x6f, 0x29, 0x88, 0x90, - 0x27, 0xb9, 0x64, 0xbc, 0xec, 0xb7, 0xee, 0x88, 0x38, 0xe0, 0x40, 0x3d, 0x01, 0xef, 0x97, 0x90, - 0x85, 0xc0, 0x45, 0x95, 0x38, 0x8e, 0x58, 0xc4, 0xf4, 0xd2, 0x53, 0xab, 0x52, 0x1d, 0x7e, 0xed, - 0xa2, 0xa3, 0x99, 0x88, 0x9e, 0x71, 0x08, 0x24, 0xf8, 0xa5, 0x35, 0x26, 0x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 0x54, 0x5f, 0xc2, 0x9e, 0xb6, 0xae, 0x22, 0xb5, 0x9f, 0x0f, 0xc0, 0xd5, - 0xa1, 0x2a, 0x8a, 0x75, 0x88, 0xcf, 0x50, 0x6f, 0x32, 0xad, 0x69, 0x3d, 0x74, 0xff, 0xfc, 0x46, - 0x5d, 0x3d, 0x66, 0xda, 0xbc, 0xcc, 0x1a, 0x9a, 0xb2, 0x18, 0x12, 0x74, 0xb2, 0x4b, 0xa1, 0x06, - 0x34, 0xfe, 0x69, 0xa0, 0xde, 0x4c, 0x44, 0xf8, 0x13, 0x3a, 0xdc, 0x7d, 0x8e, 0x7f, 0x9d, 0x77, - 0x95, 0xb9, 0xf5, 0xf4, 0xa6, 0x1d, 0xf5, 0x26, 0xf0, 0x12, 0x0d, 0xda, 0x37, 0xe4, 0xfe, 0x83, - 0x51, 0xab, 0xde, 0x7a, 0x72, 0xb3, 0xfa, 0x7a, 0xec, 0xe4, 0xc5, 0xc5, 0xda, 0x36, 0x2e, 0xd7, - 0xb6, 0xf1, 0x63, 0x6d, 0x1b, 0x5f, 0x36, 0x76, 0xe7, 0x72, 0x63, 0x77, 0xbe, 0x6d, 0xec, 0xce, - 0x9b, 0x47, 0x51, 0x22, 0xe3, 0xe5, 0xdc, 0x0d, 0x59, 0xea, 0xb5, 0xbd, 0xb7, 0x81, 0x57, 0x78, - 0xcd, 0x5f, 0x64, 0x95, 0x83, 0x98, 0xf7, 0xf5, 0xa7, 0xfd, 0xf8, 0x57, 0x00, 0x00, 0x00, 0xff, - 0xff, 0xa7, 0x26, 0x9b, 0x59, 0x5d, 0x04, 0x00, 0x00, +func init() { proto.RegisterFile("dymension/rollapp/tx.proto", fileDescriptor_935cc363af28220c) } + +var fileDescriptor_935cc363af28220c = []byte{ + // 508 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x94, 0x4f, 0x8b, 0xd3, 0x40, + 0x18,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, 0xd1, 0x7a, + 0xe0, 0xfc, 0xf9, 0xdd, 0x3a, 0x7a, 0xcc, 0xac, 0x7e, 0xa3, 0x15, 0x34, 0x15, 0x31, 0x22, 0xe8, + 0x78, 0x97, 0x42, 0x05, 0x68, 0xf2, 0xc3, 0x40, 0xbd, 0xb9, 0x08, 0xf1, 0x47, 0x74, 0xb8, 0xfb, + 0x1c, 0xff, 0x3a, 0xef, 0x32, 0x73, 0xf3, 0xc9, 0x75, 0x57, 0x54, 0x9b, 0xc0, 0x2b, 0x34, 0x6c, + 0xdf, 0x90, 0xf3, 0x0f, 0x41, 0xad, 0x7e, 0xf3, 0xf1, 0xf5, 0xfa, 0xab, 0xb1, 0xd3, 0xe7, 0xe7, + 0x1b, 0xcb, 0xb8, 0xd8, 0x58, 0xc6, 0xf7, 0x8d, 0x65, 0x7c, 0xde, 0x5a, 0x9d, 0x8b, 0xad, 0xd5, + 0xf9, 0xba, 0xb5, 0x3a, 0xaf, 0x1f, 0x86, 0xb1, 0x8c, 0x56, 0x0b, 0x27, 0x60, 0x89, 0xdb, 0xce, + 0x6e, 0x0a, 0x37, 0x6f, 0xfe, 0x59, 0xd6, 0x19, 0x88, 0xc5, 0x40, 0xff, 0xb4, 0x1f, 0xfd, 0x0c, + 0x00, 0x00, 0xff, 0xff, 0x61, 0xbd, 0x8d, 0x69, 0x7b, 0x04, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -467,7 +467,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "rollapp/tx.proto", + Metadata: "dymension/rollapp/tx.proto", } func (m *MsgCreateRollapp) Marshal() (dAtA []byte, err error) { diff --git a/x/sequencer/types/description.pb.go b/x/sequencer/types/description.pb.go index b3488a319..1b2996d51 100644 --- a/x/sequencer/types/description.pb.go +++ b/x/sequencer/types/description.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sequencer/description.proto +// source: dymension/sequencer/description.proto package types @@ -40,7 +40,7 @@ func (m *Description) Reset() { *m = Description{} } func (m *Description) String() string { return proto.CompactTextString(m) } func (*Description) ProtoMessage() {} func (*Description) Descriptor() ([]byte, []int) { - return fileDescriptor_3ba1089b375b29ba, []int{0} + return fileDescriptor_91de4c32465eb7e7, []int{0} } func (m *Description) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -108,25 +108,27 @@ func init() { proto.RegisterType((*Description)(nil), "dymensionxyz.dymension.sequencer.Description") } -func init() { proto.RegisterFile("sequencer/description.proto", fileDescriptor_3ba1089b375b29ba) } +func init() { + proto.RegisterFile("dymension/sequencer/description.proto", fileDescriptor_91de4c32465eb7e7) +} -var fileDescriptor_3ba1089b375b29ba = []byte{ - // 232 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x90, 0x3d, 0x4e, 0xc4, 0x30, - 0x10, 0x85, 0x63, 0xfe, 0x31, 0x05, 0x92, 0x2b, 0x0b, 0x24, 0x6b, 0x45, 0xb5, 0x95, 0x5d, 0xec, - 0x0d, 0x80, 0x96, 0x86, 0x92, 0x6e, 0x63, 0x8f, 0x60, 0x04, 0xb1, 0x83, 0x3d, 0x11, 0x6b, 0x4e, - 0xc1, 0x15, 0xb8, 0x0d, 0xe5, 0x96, 0x94, 0x28, 0xb9, 0x08, 0xda, 0x6c, 0x48, 0xd0, 0x96, 0xdf, - 0xcc, 0x7c, 0x4f, 0x9a, 0xc7, 0x2f, 0x13, 0xbc, 0x36, 0xe0, 0x2d, 0x44, 0xe3, 0x20, 0xd9, 0x88, - 0x35, 0x61, 0xf0, 0xba, 0x8e, 0x81, 0x82, 0x98, 0xb9, 0x5c, 0x81, 0x4f, 0x18, 0xfc, 0x2a, 0xbf, - 0xeb, 0x11, 0xf4, 0xe8, 0x5c, 0x7d, 0x32, 0x7e, 0x76, 0x3b, 0x79, 0x42, 0xf2, 0xe3, 0x2a, 0x78, - 0x7c, 0x86, 0x28, 0xd9, 0x8c, 0xcd, 0x4f, 0xef, 0xff, 0x50, 0x5c, 0xf0, 0x13, 0x74, 0xe0, 0x09, - 0x29, 0xcb, 0xbd, 0x7e, 0x35, 0xf2, 0xc6, 0x7a, 0x83, 0x32, 0x21, 0x81, 0xdc, 0xdf, 0x5a, 0x03, - 0x8a, 0x39, 0x3f, 0x4f, 0x60, 0x9b, 0x88, 0x94, 0x6f, 0x82, 0xa7, 0xa5, 0x25, 0x79, 0xd0, 0x5f, - 0xec, 0x8e, 0x37, 0x19, 0x0e, 0x68, 0x89, 0x2f, 0x49, 0x1e, 0x6e, 0x33, 0x06, 0xbc, 0xbe, 0xfb, - 0x6a, 0x15, 0x5b, 0xb7, 0x8a, 0xfd, 0xb4, 0x8a, 0x7d, 0x74, 0xaa, 0x58, 0x77, 0xaa, 0xf8, 0xee, - 0x54, 0xf1, 0xb0, 0x78, 0x44, 0x7a, 0x6a, 0x4a, 0x6d, 0x43, 0x65, 0xfe, 0xbf, 0x3a, 0x81, 0x59, - 0x99, 0xa9, 0x20, 0xca, 0x35, 0xa4, 0xf2, 0xa8, 0xef, 0x66, 0xf1, 0x1b, 0x00, 0x00, 0xff, 0xff, - 0xab, 0x9d, 0x2f, 0x6d, 0x3a, 0x01, 0x00, 0x00, +var fileDescriptor_91de4c32465eb7e7 = []byte{ + // 235 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x90, 0x3d, 0x4e, 0x03, 0x31, + 0x10, 0x85, 0xd7, 0xfc, 0x63, 0x0a, 0x24, 0x57, 0x16, 0x85, 0x15, 0x21, 0x21, 0xa5, 0xb2, 0x8b, + 0xdc, 0x00, 0x68, 0x69, 0x28, 0xe9, 0xb2, 0xf6, 0x08, 0x46, 0xb0, 0xf6, 0x62, 0xcf, 0x8a, 0x98, + 0x53, 0x70, 0x05, 0x6e, 0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, 0x00, } func (m *Description) Marshal() (dAtA []byte, err error) { diff --git a/x/sequencer/types/genesis.pb.go b/x/sequencer/types/genesis.pb.go index 26a2d148b..4f8f1c661 100644 --- a/x/sequencer/types/genesis.pb.go +++ b/x/sequencer/types/genesis.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sequencer/genesis.proto +// source: dymension/sequencer/genesis.proto package types @@ -35,7 +35,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_496f93f4b1048b78, []int{0} + return fileDescriptor_52f5d9dc91070770, []int{0} } func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -96,29 +96,30 @@ func init() { proto.RegisterType((*GenesisState)(nil), "dymensionxyz.dymension.sequencer.GenesisState") } -func init() { proto.RegisterFile("sequencer/genesis.proto", fileDescriptor_496f93f4b1048b78) } +func init() { proto.RegisterFile("dymension/sequencer/genesis.proto", fileDescriptor_52f5d9dc91070770) } -var fileDescriptor_496f93f4b1048b78 = []byte{ - // 301 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x2f, 0x4e, 0x2d, 0x2c, - 0x4d, 0xcd, 0x4b, 0x4e, 0x2d, 0xd2, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, 0x28, - 0xca, 0x2f, 0xc9, 0x17, 0x52, 0x48, 0xa9, 0xcc, 0x4d, 0xcd, 0x2b, 0xce, 0xcc, 0xcf, 0xab, 0xa8, - 0xac, 0xd2, 0x83, 0x73, 0xf4, 0xe0, 0xea, 0xa5, 0x44, 0xd2, 0xf3, 0xd3, 0xf3, 0xc1, 0x8a, 0xf5, - 0x41, 0x2c, 0x88, 0x3e, 0x29, 0x31, 0x84, 0x81, 0x05, 0x89, 0x45, 0x89, 0xb9, 0x50, 0xf3, 0xa4, - 0x24, 0x11, 0xe2, 0x70, 0x16, 0x54, 0x4a, 0x15, 0x8b, 0x54, 0x71, 0x7c, 0x52, 0x65, 0x7c, 0x51, - 0x7e, 0x4e, 0x4e, 0x62, 0x41, 0x01, 0x16, 0x13, 0x92, 0x33, 0x52, 0x53, 0x4a, 0x73, 0x60, 0x26, - 0x28, 0xfd, 0x67, 0xe2, 0xe2, 0x71, 0x87, 0x38, 0x3f, 0xb8, 0x24, 0xb1, 0x24, 0x55, 0xc8, 0x8d, - 0x8b, 0x0d, 0x62, 0xbb, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0xb7, 0x91, 0x86, 0x1e, 0x21, 0xef, 0xe8, - 0x05, 0x80, 0xd5, 0x3b, 0xb1, 0x9c, 0xb8, 0x27, 0xcf, 0x10, 0x04, 0xd5, 0x2d, 0x14, 0xce, 0xc5, - 0x0b, 0x57, 0xe1, 0x93, 0x59, 0x5c, 0x22, 0xc1, 0xa4, 0xc0, 0xac, 0xc1, 0x6d, 0xa4, 0x4d, 0xd8, - 0xb8, 0x60, 0x18, 0x0b, 0x6a, 0x22, 0xaa, 0x39, 0x42, 0xa5, 0x48, 0x21, 0x5f, 0xec, 0x54, 0x19, - 0x04, 0xf1, 0x29, 0xd8, 0x0a, 0x66, 0xb0, 0x15, 0xa6, 0x24, 0x58, 0x81, 0x30, 0x00, 0x6a, 0x19, - 0x2e, 0xb3, 0xc1, 0xfe, 0x81, 0x85, 0x1d, 0xd8, 0x32, 0x16, 0xa2, 0xfd, 0x03, 0xd3, 0x06, 0xf7, - 0x0f, 0xb2, 0x39, 0x4e, 0xbe, 0x27, 0x1e, 0xc9, 0x31, 0x5e, 0x78, 0x24, 0xc7, 0xf8, 0xe0, 0x91, - 0x1c, 0xe3, 0x84, 0xc7, 0x72, 0x0c, 0x17, 0x1e, 0xcb, 0x31, 0xdc, 0x78, 0x2c, 0xc7, 0x10, 0x65, - 0x9c, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0xab, 0x8f, 0x6c, 0x0b, 0x82, 0xa3, - 0x5f, 0x81, 0x88, 0x77, 0xfd, 0x92, 0xca, 0x82, 0xd4, 0xe2, 0x24, 0x36, 0x70, 0xbc, 0x1a, 0x03, - 0x02, 0x00, 0x00, 0xff, 0xff, 0x53, 0xd8, 0x38, 0xe4, 0x9f, 0x02, 0x00, 0x00, +var fileDescriptor_52f5d9dc91070770 = []byte{ + // 305 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4c, 0xa9, 0xcc, 0x4d, + 0xcd, 0x2b, 0xce, 0xcc, 0xcf, 0xd3, 0x2f, 0x4e, 0x2d, 0x2c, 0x4d, 0xcd, 0x4b, 0x4e, 0x2d, 0xd2, + 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x52, 0x80, + 0x2b, 0xa9, 0xa8, 0xac, 0xd2, 0x83, 0x73, 0xf4, 0xe0, 0xea, 0xa5, 0x44, 0xd2, 0xf3, 0xd3, 0xf3, + 0xc1, 0x8a, 0xf5, 0x41, 0x2c, 0x88, 0x3e, 0x29, 0x05, 0x6c, 0x46, 0x17, 0x24, 0x16, 0x25, 0xe6, + 0x42, 0x4d, 0x96, 0x52, 0xc6, 0xa6, 0x02, 0xce, 0x82, 0x2a, 0xd2, 0xc7, 0xab, 0xa8, 0x38, 0x3e, + 0xa9, 0x32, 0xbe, 0x28, 0x3f, 0x27, 0x27, 0xb1, 0xa0, 0x00, 0xaf, 0xa9, 0xc9, 0x19, 0xa9, 0x29, + 0xa5, 0x39, 0x30, 0x53, 0x95, 0xfe, 0x33, 0x71, 0xf1, 0xb8, 0x43, 0xbc, 0x19, 0x5c, 0x92, 0x58, + 0x92, 0x2a, 0xe4, 0xc6, 0xc5, 0x06, 0x71, 0x9b, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0xb7, 0x91, 0x86, + 0x1e, 0x21, 0x6f, 0xeb, 0x05, 0x80, 0xd5, 0x3b, 0xb1, 0x9c, 0xb8, 0x27, 0xcf, 0x10, 0x04, 0xd5, + 0x2d, 0x14, 0xce, 0xc5, 0x0b, 0x57, 0xe1, 0x93, 0x59, 0x5c, 0x22, 0xc1, 0xa4, 0xc0, 0xac, 0xc1, + 0x6d, 0xa4, 0x4d, 0xd8, 0xb8, 0x60, 0x18, 0x0b, 0x6a, 0x22, 0xaa, 0x39, 0x42, 0xa5, 0x5c, 0xe2, + 0x08, 0x5f, 0x3b, 0x55, 0x06, 0x41, 0xfc, 0x0c, 0xb6, 0x82, 0x19, 0x6c, 0x85, 0x29, 0x09, 0x56, + 0x20, 0x0c, 0x80, 0x5a, 0x86, 0xcb, 0x6c, 0xb0, 0x7f, 0x60, 0x61, 0x07, 0xb6, 0x8c, 0x85, 0x68, + 0xff, 0xc0, 0xb4, 0xc1, 0xfd, 0x83, 0x6c, 0x8e, 0x93, 0xef, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, + 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, + 0x1e, 0xcb, 0x31, 0x44, 0x19, 0xa7, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, + 0x23, 0xdb, 0x82, 0x94, 0x12, 0x2a, 0x90, 0xa2, 0xb6, 0xa4, 0xb2, 0x20, 0xb5, 0x38, 0x89, 0x0d, + 0x1c, 0xaf, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0x76, 0x62, 0xbb, 0xfa, 0xd1, 0x02, 0x00, + 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/sequencer/types/operating_status.pb.go b/x/sequencer/types/operating_status.pb.go index 99cf52956..64c04e4a1 100644 --- a/x/sequencer/types/operating_status.pb.go +++ b/x/sequencer/types/operating_status.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sequencer/operating_status.proto +// source: dymension/sequencer/operating_status.proto package types @@ -50,32 +50,35 @@ func (x OperatingStatus) String() string { } func (OperatingStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_f71639074799b8f1, []int{0} + return fileDescriptor_406c52b8df3dd90f, []int{0} } func init() { proto.RegisterEnum("dymensionxyz.dymension.sequencer.OperatingStatus", OperatingStatus_name, OperatingStatus_value) } -func init() { proto.RegisterFile("sequencer/operating_status.proto", fileDescriptor_f71639074799b8f1) } +func init() { + proto.RegisterFile("dymension/sequencer/operating_status.proto", fileDescriptor_406c52b8df3dd90f) +} -var fileDescriptor_f71639074799b8f1 = []byte{ - // 272 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x28, 0x4e, 0x2d, 0x2c, - 0x4d, 0xcd, 0x4b, 0x4e, 0x2d, 0xd2, 0xcf, 0x2f, 0x48, 0x2d, 0x4a, 0x2c, 0xc9, 0xcc, 0x4b, 0x8f, - 0x2f, 0x2e, 0x49, 0x2c, 0x29, 0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x52, 0x48, 0xa9, - 0xcc, 0x4d, 0xcd, 0x2b, 0xce, 0xcc, 0xcf, 0xab, 0xa8, 0xac, 0xd2, 0x83, 0x73, 0xf4, 0xe0, 0x1a, - 0xa5, 0x44, 0xd2, 0xf3, 0xd3, 0xf3, 0xc1, 0x8a, 0xf5, 0x41, 0x2c, 0x88, 0x3e, 0xad, 0x25, 0x8c, - 0x5c, 0xfc, 0xfe, 0x30, 0x23, 0x83, 0xc1, 0x26, 0x0a, 0x19, 0x72, 0xc9, 0xf8, 0x07, 0xb8, 0x06, - 0x39, 0x86, 0x78, 0xfa, 0xb9, 0xc7, 0x07, 0x87, 0x38, 0x86, 0x84, 0x06, 0xc7, 0x87, 0xfa, 0x05, - 0x07, 0xb8, 0x3a, 0x7b, 0xba, 0x79, 0xba, 0xba, 0x08, 0x30, 0x48, 0xf1, 0x77, 0xcd, 0x55, 0xe0, - 0x0e, 0xcd, 0x2b, 0x2e, 0x48, 0x4d, 0xce, 0x4c, 0xcb, 0x4c, 0x4d, 0x11, 0xd2, 0xe6, 0x92, 0xc4, - 0xd0, 0x12, 0x10, 0xe4, 0x1f, 0xe0, 0x1f, 0xec, 0x1a, 0x24, 0xc0, 0x28, 0xc5, 0xd3, 0x35, 0x57, - 0x81, 0x23, 0xa0, 0x28, 0xbf, 0x20, 0xbf, 0x38, 0xb5, 0x08, 0xab, 0x62, 0x4f, 0x3f, 0x47, 0xe7, - 0x10, 0xcf, 0x30, 0x57, 0x01, 0x26, 0x88, 0x62, 0xcf, 0xbc, 0xc4, 0xe4, 0x92, 0xcc, 0xb2, 0x54, - 0x29, 0x96, 0x8e, 0xc5, 0x72, 0x0c, 0x4e, 0xbe, 0x27, 0x1e, 0xc9, 0x31, 0x5e, 0x78, 0x24, 0xc7, - 0xf8, 0xe0, 0x91, 0x1c, 0xe3, 0x84, 0xc7, 0x72, 0x0c, 0x17, 0x1e, 0xcb, 0x31, 0xdc, 0x78, 0x2c, - 0xc7, 0x10, 0x65, 0x9c, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0xab, 0x8f, 0x1c, - 0x06, 0x08, 0x8e, 0x7e, 0x85, 0x3e, 0x22, 0xf8, 0x4a, 0x2a, 0x0b, 0x52, 0x8b, 0x93, 0xd8, 0xc0, - 0x9e, 0x37, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0xf9, 0x80, 0x94, 0x5b, 0x58, 0x01, 0x00, 0x00, +var fileDescriptor_406c52b8df3dd90f = []byte{ + // 274 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4a, 0xa9, 0xcc, 0x4d, + 0xcd, 0x2b, 0xce, 0xcc, 0xcf, 0xd3, 0x2f, 0x4e, 0x2d, 0x2c, 0x4d, 0xcd, 0x4b, 0x4e, 0x2d, 0xd2, + 0xcf, 0x2f, 0x48, 0x2d, 0x4a, 0x2c, 0xc9, 0xcc, 0x4b, 0x8f, 0x2f, 0x2e, 0x49, 0x2c, 0x29, 0x2d, + 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x52, 0x80, 0xab, 0xad, 0xa8, 0xac, 0xd2, 0x83, 0x73, + 0xf4, 0xe0, 0x1a, 0xa5, 0x44, 0xd2, 0xf3, 0xd3, 0xf3, 0xc1, 0x8a, 0xf5, 0x41, 0x2c, 0x88, 0x3e, + 0xad, 0x25, 0x8c, 0x5c, 0xfc, 0xfe, 0x30, 0x23, 0x83, 0xc1, 0x26, 0x0a, 0x19, 0x72, 0xc9, 0xf8, + 0x07, 0xb8, 0x06, 0x39, 0x86, 0x78, 0xfa, 0xb9, 0xc7, 0x07, 0x87, 0x38, 0x86, 0x84, 0x06, 0xc7, + 0x87, 0xfa, 0x05, 0x07, 0xb8, 0x3a, 0x7b, 0xba, 0x79, 0xba, 0xba, 0x08, 0x30, 0x48, 0xf1, 0x77, + 0xcd, 0x55, 0xe0, 0x0e, 0xcd, 0x2b, 0x2e, 0x48, 0x4d, 0xce, 0x4c, 0xcb, 0x4c, 0x4d, 0x11, 0xd2, + 0xe6, 0x92, 0xc4, 0xd0, 0x12, 0x10, 0xe4, 0x1f, 0xe0, 0x1f, 0xec, 0x1a, 0x24, 0xc0, 0x28, 0xc5, + 0xd3, 0x35, 0x57, 0x81, 0x23, 0xa0, 0x28, 0xbf, 0x20, 0xbf, 0x38, 0xb5, 0x08, 0xab, 0x62, 0x4f, + 0x3f, 0x47, 0xe7, 0x10, 0xcf, 0x30, 0x57, 0x01, 0x26, 0x88, 0x62, 0xcf, 0xbc, 0xc4, 0xe4, 0x92, + 0xcc, 0xb2, 0x54, 0x29, 0x96, 0x8e, 0xc5, 0x72, 0x0c, 0x4e, 0xbe, 0x27, 0x1e, 0xc9, 0x31, 0x5e, + 0x78, 0x24, 0xc7, 0xf8, 0xe0, 0x91, 0x1c, 0xe3, 0x84, 0xc7, 0x72, 0x0c, 0x17, 0x1e, 0xcb, 0x31, + 0xdc, 0x78, 0x2c, 0xc7, 0x10, 0x65, 0x9c, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, + 0xab, 0x8f, 0x1c, 0x06, 0x08, 0x8e, 0x7e, 0x05, 0x52, 0xf0, 0x95, 0x54, 0x16, 0xa4, 0x16, 0x27, + 0xb1, 0x81, 0x3d, 0x6f, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x57, 0x3f, 0x19, 0x4f, 0x62, 0x01, + 0x00, 0x00, } diff --git a/x/sequencer/types/params.pb.go b/x/sequencer/types/params.pb.go index c11318bb9..791fe1425 100644 --- a/x/sequencer/types/params.pb.go +++ b/x/sequencer/types/params.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sequencer/params.proto +// source: dymension/sequencer/params.proto package types @@ -30,7 +30,7 @@ type Params struct { func (m *Params) Reset() { *m = Params{} } func (*Params) ProtoMessage() {} func (*Params) Descriptor() ([]byte, []int) { - return fileDescriptor_e7cfb069928c2fb4, []int{0} + return fileDescriptor_d06545e8924ecfea, []int{0} } func (m *Params) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -63,20 +63,20 @@ func init() { proto.RegisterType((*Params)(nil), "dymensionxyz.dymension.sequencer.Params") } -func init() { proto.RegisterFile("sequencer/params.proto", fileDescriptor_e7cfb069928c2fb4) } +func init() { proto.RegisterFile("dymension/sequencer/params.proto", fileDescriptor_d06545e8924ecfea) } -var fileDescriptor_e7cfb069928c2fb4 = []byte{ - // 154 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x2b, 0x4e, 0x2d, 0x2c, - 0x4d, 0xcd, 0x4b, 0x4e, 0x2d, 0xd2, 0x2f, 0x48, 0x2c, 0x4a, 0xcc, 0x2d, 0xd6, 0x2b, 0x28, 0xca, - 0x2f, 0xc9, 0x17, 0x52, 0x48, 0xa9, 0xcc, 0x4d, 0xcd, 0x2b, 0xce, 0xcc, 0xcf, 0xab, 0xa8, 0xac, - 0xd2, 0x83, 0x73, 0xf4, 0xe0, 0xca, 0xa5, 0x44, 0xd2, 0xf3, 0xd3, 0xf3, 0xc1, 0x8a, 0xf5, 0x41, - 0x2c, 0x88, 0x3e, 0x25, 0x3e, 0x2e, 0xb6, 0x00, 0xb0, 0x39, 0x56, 0x2c, 0x33, 0x16, 0xc8, 0x33, - 0x38, 0xf9, 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, 0x71, 0x7a, 0x66, - 0x49, 0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x3e, 0xb2, 0x65, 0x08, 0x8e, 0x7e, 0x85, 0x3e, - 0xc2, 0x75, 0x25, 0x95, 0x05, 0xa9, 0xc5, 0x49, 0x6c, 0x60, 0x5b, 0x8c, 0x01, 0x01, 0x00, 0x00, - 0xff, 0xff, 0x97, 0x15, 0xf5, 0x09, 0xb7, 0x00, 0x00, 0x00, +var fileDescriptor_d06545e8924ecfea = []byte{ + // 155 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x48, 0xa9, 0xcc, 0x4d, + 0xcd, 0x2b, 0xce, 0xcc, 0xcf, 0xd3, 0x2f, 0x4e, 0x2d, 0x2c, 0x4d, 0xcd, 0x4b, 0x4e, 0x2d, 0xd2, + 0x2f, 0x48, 0x2c, 0x4a, 0xcc, 0x2d, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x42, 0xa8, 0xa8, + 0xa8, 0xac, 0xd2, 0x83, 0x73, 0xf4, 0xe0, 0xca, 0xa5, 0x44, 0xd2, 0xf3, 0xd3, 0xf3, 0xc1, 0x8a, + 0xf5, 0x41, 0x2c, 0x88, 0x3e, 0x25, 0x3e, 0x2e, 0xb6, 0x00, 0xb0, 0x39, 0x56, 0x2c, 0x33, 0x16, + 0xc8, 0x33, 0x38, 0xf9, 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, 0x71, + 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x3e, 0xb2, 0x65, 0x08, 0x8e, 0x7e, + 0x05, 0x92, 0xeb, 0x4a, 0x2a, 0x0b, 0x52, 0x8b, 0x93, 0xd8, 0xc0, 0xb6, 0x18, 0x03, 0x02, 0x00, + 0x00, 0xff, 0xff, 0x54, 0x8c, 0x7e, 0xf4, 0xc1, 0x00, 0x00, 0x00, } func (m *Params) Marshal() (dAtA []byte, err error) { diff --git a/x/sequencer/types/query.pb.go b/x/sequencer/types/query.pb.go index b3c8add9c..a3a8dc6b8 100644 --- a/x/sequencer/types/query.pb.go +++ b/x/sequencer/types/query.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sequencer/query.proto +// source: dymension/sequencer/query.proto package types @@ -42,7 +42,7 @@ func (m *SequencerInfo) Reset() { *m = SequencerInfo{} } func (m *SequencerInfo) String() string { return proto.CompactTextString(m) } func (*SequencerInfo) ProtoMessage() {} func (*SequencerInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_542ee756da0a7319, []int{0} + return fileDescriptor_d09222b66a78a447, []int{0} } func (m *SequencerInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -93,7 +93,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_542ee756da0a7319, []int{1} + return fileDescriptor_d09222b66a78a447, []int{1} } func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -132,7 +132,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_542ee756da0a7319, []int{2} + return fileDescriptor_d09222b66a78a447, []int{2} } func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -176,7 +176,7 @@ func (m *QueryGetSequencerRequest) Reset() { *m = QueryGetSequencerReque func (m *QueryGetSequencerRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetSequencerRequest) ProtoMessage() {} func (*QueryGetSequencerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_542ee756da0a7319, []int{3} + return fileDescriptor_d09222b66a78a447, []int{3} } func (m *QueryGetSequencerRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -220,7 +220,7 @@ func (m *QueryGetSequencerResponse) Reset() { *m = QueryGetSequencerResp func (m *QueryGetSequencerResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetSequencerResponse) ProtoMessage() {} func (*QueryGetSequencerResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_542ee756da0a7319, []int{4} + return fileDescriptor_d09222b66a78a447, []int{4} } func (m *QueryGetSequencerResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -264,7 +264,7 @@ func (m *QueryAllSequencerRequest) Reset() { *m = QueryAllSequencerReque func (m *QueryAllSequencerRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllSequencerRequest) ProtoMessage() {} func (*QueryAllSequencerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_542ee756da0a7319, []int{5} + return fileDescriptor_d09222b66a78a447, []int{5} } func (m *QueryAllSequencerRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -309,7 +309,7 @@ func (m *QueryAllSequencerResponse) Reset() { *m = QueryAllSequencerResp func (m *QueryAllSequencerResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllSequencerResponse) ProtoMessage() {} func (*QueryAllSequencerResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_542ee756da0a7319, []int{6} + return fileDescriptor_d09222b66a78a447, []int{6} } func (m *QueryAllSequencerResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -360,7 +360,7 @@ func (m *QueryGetSequencersByRollappRequest) Reset() { *m = QueryGetSequ func (m *QueryGetSequencersByRollappRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetSequencersByRollappRequest) ProtoMessage() {} func (*QueryGetSequencersByRollappRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_542ee756da0a7319, []int{7} + return fileDescriptor_d09222b66a78a447, []int{7} } func (m *QueryGetSequencersByRollappRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -405,7 +405,7 @@ func (m *QueryGetSequencersByRollappResponse) Reset() { *m = QueryGetSeq func (m *QueryGetSequencersByRollappResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetSequencersByRollappResponse) ProtoMessage() {} func (*QueryGetSequencersByRollappResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_542ee756da0a7319, []int{8} + return fileDescriptor_d09222b66a78a447, []int{8} } func (m *QueryGetSequencersByRollappResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -456,7 +456,7 @@ func (m *QueryAllSequencersByRollappRequest) Reset() { *m = QueryAllSequ func (m *QueryAllSequencersByRollappRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllSequencersByRollappRequest) ProtoMessage() {} func (*QueryAllSequencersByRollappRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_542ee756da0a7319, []int{9} + return fileDescriptor_d09222b66a78a447, []int{9} } func (m *QueryAllSequencersByRollappRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -501,7 +501,7 @@ func (m *QueryAllSequencersByRollappResponse) Reset() { *m = QueryAllSeq func (m *QueryAllSequencersByRollappResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllSequencersByRollappResponse) ProtoMessage() {} func (*QueryAllSequencersByRollappResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_542ee756da0a7319, []int{10} + return fileDescriptor_d09222b66a78a447, []int{10} } func (m *QueryAllSequencersByRollappResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -552,7 +552,7 @@ func (m *QueryGetSchedulerRequest) Reset() { *m = QueryGetSchedulerReque func (m *QueryGetSchedulerRequest) String() string { return proto.CompactTextString(m) } func (*QueryGetSchedulerRequest) ProtoMessage() {} func (*QueryGetSchedulerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_542ee756da0a7319, []int{11} + return fileDescriptor_d09222b66a78a447, []int{11} } func (m *QueryGetSchedulerRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -596,7 +596,7 @@ func (m *QueryGetSchedulerResponse) Reset() { *m = QueryGetSchedulerResp func (m *QueryGetSchedulerResponse) String() string { return proto.CompactTextString(m) } func (*QueryGetSchedulerResponse) ProtoMessage() {} func (*QueryGetSchedulerResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_542ee756da0a7319, []int{12} + return fileDescriptor_d09222b66a78a447, []int{12} } func (m *QueryGetSchedulerResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -640,7 +640,7 @@ func (m *QueryAllSchedulerRequest) Reset() { *m = QueryAllSchedulerReque func (m *QueryAllSchedulerRequest) String() string { return proto.CompactTextString(m) } func (*QueryAllSchedulerRequest) ProtoMessage() {} func (*QueryAllSchedulerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_542ee756da0a7319, []int{13} + return fileDescriptor_d09222b66a78a447, []int{13} } func (m *QueryAllSchedulerRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -685,7 +685,7 @@ func (m *QueryAllSchedulerResponse) Reset() { *m = QueryAllSchedulerResp func (m *QueryAllSchedulerResponse) String() string { return proto.CompactTextString(m) } func (*QueryAllSchedulerResponse) ProtoMessage() {} func (*QueryAllSchedulerResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_542ee756da0a7319, []int{14} + return fileDescriptor_d09222b66a78a447, []int{14} } func (m *QueryAllSchedulerResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -746,63 +746,63 @@ func init() { proto.RegisterType((*QueryAllSchedulerResponse)(nil), "dymensionxyz.dymension.sequencer.QueryAllSchedulerResponse") } -func init() { proto.RegisterFile("sequencer/query.proto", fileDescriptor_542ee756da0a7319) } - -var fileDescriptor_542ee756da0a7319 = []byte{ - // 835 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0x41, 0x4f, 0x13, 0x4f, - 0x14, 0xef, 0x94, 0xff, 0xbf, 0x49, 0x07, 0x31, 0x3a, 0x20, 0x29, 0x84, 0xd4, 0x66, 0x4c, 0xb4, - 0x81, 0xb8, 0x2b, 0xa0, 0x31, 0x6a, 0xa2, 0x82, 0x50, 0x42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0x72, 0x09, 0x3c, 0x3d, 0x38, 0xca, 0x83, 0xc3, 0xa3, 0x3c, 0xf8, 0x79, 0x94, - 0x07, 0xef, 0x8e, 0xf3, 0xa9, 0xc3, 0xe3, 0x7c, 0xea, 0xfb, 0x71, 0x3e, 0xf5, 0x7c, 0x5e, 0xaf, - 0xdb, 0x5b, 0xad, 0x8a, 0x52, 0xa5, 0x8d, 0x93, 0x00, 0x77, 0x7c, 0x90, 0x76, 0xdb, 0x22, 0xac, - 0x92, 0x71, 0xfe, 0x69, 0x9a, 0xff, 0x17, 0x00, 0x00, 0xff, 0xff, 0x5b, 0x37, 0xef, 0x18, 0x3f, - 0x0e, 0x00, 0x00, +func init() { proto.RegisterFile("dymension/sequencer/query.proto", fileDescriptor_d09222b66a78a447) } + +var fileDescriptor_d09222b66a78a447 = []byte{ + // 837 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0xd1, 0x6a, 0x13, 0x4d, + 0x14, 0xce, 0xa4, 0xff, 0x1f, 0xc8, 0xf4, 0xef, 0x8f, 0x4e, 0x8b, 0xc4, 0x52, 0xd2, 0x30, 0x05, + 0x0d, 0x29, 0xee, 0xda, 0x56, 0x11, 0x15, 0xd4, 0xd6, 0x36, 0xa5, 0xa8, 0xb4, 0xa6, 0x77, 0x8a, + 0x94, 0x4d, 0x32, 0x6e, 0x03, 0x9b, 0x9d, 0x6d, 0x66, 0x23, 0x8d, 0xa5, 0x37, 0x3e, 0x81, 0xe0, + 0x43, 0x58, 0xf0, 0xda, 0x3b, 0x1f, 0xa0, 0x82, 0x17, 0x05, 0x6f, 0xbc, 0x12, 0x69, 0xc5, 0x3b, + 0xf1, 0x15, 0x24, 0x3b, 0xb3, 0x93, 0xdd, 0x64, 0x93, 0xcd, 0x6e, 0x73, 0x37, 0x9d, 0x3d, 0xe7, + 0x3b, 0xe7, 0x3b, 0x73, 0xce, 0x77, 0x1a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 0x71, 0x0e, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1112,7 +1112,7 @@ var _Query_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "sequencer/query.proto", + Metadata: "dymension/sequencer/query.proto", } func (m *SequencerInfo) Marshal() (dAtA []byte, err error) { diff --git a/x/sequencer/types/query.pb.gw.go b/x/sequencer/types/query.pb.gw.go index d4bb46154..a33073b55 100644 --- a/x/sequencer/types/query.pb.gw.go +++ b/x/sequencer/types/query.pb.gw.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT. -// source: sequencer/query.proto +// source: dymension/sequencer/query.proto /* Package types is a reverse proxy. diff --git a/x/sequencer/types/scheduler.pb.go b/x/sequencer/types/scheduler.pb.go index 4ad7539c3..d88ddfeb5 100644 --- a/x/sequencer/types/scheduler.pb.go +++ b/x/sequencer/types/scheduler.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sequencer/scheduler.proto +// source: dymension/sequencer/scheduler.proto package types @@ -34,7 +34,7 @@ func (m *Scheduler) Reset() { *m = Scheduler{} } func (m *Scheduler) String() string { return proto.CompactTextString(m) } func (*Scheduler) ProtoMessage() {} func (*Scheduler) Descriptor() ([]byte, []int) { - return fileDescriptor_af79fb78d45fe3c2, []int{0} + return fileDescriptor_68e4ce79da53e96a, []int{0} } func (m *Scheduler) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -81,24 +81,26 @@ func init() { proto.RegisterType((*Scheduler)(nil), "dymensionxyz.dymension.sequencer.Scheduler") } -func init() { proto.RegisterFile("sequencer/scheduler.proto", fileDescriptor_af79fb78d45fe3c2) } +func init() { + proto.RegisterFile("dymension/sequencer/scheduler.proto", fileDescriptor_68e4ce79da53e96a) +} -var fileDescriptor_af79fb78d45fe3c2 = []byte{ - // 211 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0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, 0x4b, 0x2a, 0x0b, 0x52, 0x8b, - 0x93, 0xd8, 0xc0, 0x5e, 0x33, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x94, 0x90, 0xfa, 0x86, 0x3b, - 0x01, 0x00, 0x00, +var fileDescriptor_68e4ce79da53e96a = []byte{ + // 214 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4e, 0xa9, 0xcc, 0x4d, + 0xcd, 0x2b, 0xce, 0xcc, 0xcf, 0xd3, 0x2f, 0x4e, 0x2d, 0x2c, 0x4d, 0xcd, 0x4b, 0x4e, 0x2d, 0xd2, + 0x2f, 0x4e, 0xce, 0x48, 0x4d, 0x29, 0xcd, 0x49, 0x2d, 0xd2, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, + 0x52, 0x80, 0x2b, 0xaa, 0xa8, 0xac, 0xd2, 0x83, 0x73, 0xf4, 0xe0, 0x3a, 0xa4, 0xb4, 0xb0, 0x19, + 0x93, 0x5f, 0x90, 0x5a, 0x94, 0x58, 0x92, 0x99, 0x97, 0x1e, 0x5f, 0x5c, 0x92, 0x58, 0x52, 0x5a, + 0x0c, 0x31, 0x4d, 0xa9, 0x89, 0x91, 0x8b, 0x33, 0x18, 0x66, 0x83, 0x90, 0x16, 0x97, 0x00, 0x5c, + 0x87, 0x63, 0x4a, 0x4a, 0x51, 0x6a, 0x71, 0xb1, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0x67, 0x10, 0x86, + 0xb8, 0x90, 0x27, 0x17, 0x1b, 0xc4, 0x24, 0x09, 0x26, 0x05, 0x46, 0x0d, 0x3e, 0x23, 0x43, 0x3d, + 0x42, 0x0e, 0xd3, 0xf3, 0x87, 0xb9, 0x21, 0x18, 0xac, 0x31, 0x08, 0x6a, 0x80, 0x93, 0xef, 0x89, + 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, + 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0x19, 0xa7, 0x67, 0x96, 0x64, 0x94, 0x26, + 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x23, 0x1b, 0x8f, 0xe0, 0xe8, 0x57, 0x20, 0x79, 0xb2, 0xa4, 0xb2, + 0x20, 0xb5, 0x38, 0x89, 0x0d, 0xec, 0x35, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x78, 0x80, + 0x27, 0x35, 0x4f, 0x01, 0x00, 0x00, } func (m *Scheduler) Marshal() (dAtA []byte, err error) { diff --git a/x/sequencer/types/sequencer.pb.go b/x/sequencer/types/sequencer.pb.go index 28ecc66a8..a3c088c00 100644 --- a/x/sequencer/types/sequencer.pb.go +++ b/x/sequencer/types/sequencer.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sequencer/sequencer.proto +// source: dymension/sequencer/sequencer.proto package types @@ -42,7 +42,7 @@ func (m *Sequencer) Reset() { *m = Sequencer{} } func (m *Sequencer) String() string { return proto.CompactTextString(m) } func (*Sequencer) ProtoMessage() {} func (*Sequencer) Descriptor() ([]byte, []int) { - return fileDescriptor_f457cf8f37407dc7, []int{0} + return fileDescriptor_17d99b644bf09274, []int{0} } func (m *Sequencer) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -103,30 +103,32 @@ func init() { proto.RegisterType((*Sequencer)(nil), "dymensionxyz.dymension.sequencer.Sequencer") } -func init() { proto.RegisterFile("sequencer/sequencer.proto", fileDescriptor_f457cf8f37407dc7) } +func init() { + proto.RegisterFile("dymension/sequencer/sequencer.proto", fileDescriptor_17d99b644bf09274) +} -var fileDescriptor_f457cf8f37407dc7 = []byte{ - // 317 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00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44, 0x57, - 0x10, 0x8a, 0x19, 0x42, 0x32, 0x5c, 0x9c, 0x45, 0xf9, 0x39, 0x39, 0x89, 0x05, 0x05, 0x9e, 0x29, - 0x12, 0xcc, 0x60, 0x8b, 0x11, 0x02, 0x42, 0xa1, 0x5c, 0xdc, 0x48, 0x81, 0x21, 0xc1, 0x02, 0xb6, - 0x50, 0x57, 0x8f, 0x50, 0x60, 0xea, 0xb9, 0x20, 0x34, 0x39, 0xb1, 0x9c, 0xb8, 0x27, 0xcf, 0x10, - 0x84, 0x6c, 0x8e, 0x93, 0xef, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, - 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0x19, - 0xa7, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x23, 0xdb, 0x82, 0xe0, 0xe8, - 0x57, 0x20, 0x22, 0x57, 0xbf, 0xa4, 0xb2, 0x20, 0xb5, 0x38, 0x89, 0x0d, 0xec, 0x73, 0x63, 0x40, - 0x00, 0x00, 0x00, 0xff, 0xff, 0x0c, 0xfc, 0xb6, 0x5f, 0x00, 0x02, 0x00, 0x00, +var fileDescriptor_17d99b644bf09274 = []byte{ + // 318 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4e, 0xa9, 0xcc, 0x4d, + 0xcd, 0x2b, 0xce, 0xcc, 0xcf, 0xd3, 0x2f, 0x4e, 0x2d, 0x2c, 0x4d, 0xcd, 0x4b, 0x4e, 0x2d, 0x42, + 0xb0, 0xf4, 0x0a, 0x8a, 0xf2, 0x4b, 0xf2, 0x85, 0x14, 0xe0, 0x8a, 0x2a, 0x2a, 0xab, 0xf4, 0xe0, + 0x1c, 0x3d, 0xb8, 0x3a, 0x29, 0x55, 0x6c, 0xc6, 0xa4, 0xa4, 0x16, 0x27, 0x17, 0x65, 0x16, 0x94, + 0x80, 0x94, 0x82, 0x0d, 0x92, 0x92, 0x4c, 0xce, 0x2f, 0xce, 0xcd, 0x2f, 0x8e, 0x07, 0xf3, 0xf4, + 0x21, 0x1c, 0x98, 0x54, 0x7a, 0x7e, 0x7e, 0x7a, 0x4e, 0xaa, 0x3e, 0x98, 0x97, 0x54, 0x9a, 0xa6, + 0x9f, 0x98, 0x57, 0x09, 0x95, 0x12, 0x49, 0xcf, 0x4f, 0xcf, 0x87, 0x68, 0x01, 0xb1, 0x20, 0xa2, + 0x4a, 0x0d, 0x4c, 0x5c, 0x9c, 0xc1, 0x30, 0xbb, 0x84, 0xb4, 0xb8, 0x04, 0xe0, 0x16, 0x3b, 0xa6, + 0xa4, 0x14, 0xa5, 0x16, 0x17, 0x4b, 0x30, 0x2a, 0x30, 0x6a, 0x70, 0x06, 0x61, 0x88, 0x0b, 0x05, + 0x71, 0xf1, 0xa4, 0x54, 0xe6, 0x66, 0xe6, 0x95, 0x04, 0x94, 0x26, 0x79, 0xa7, 0x56, 0x4a, 0x30, + 0x29, 0x30, 0x6a, 0x70, 0x1b, 0x89, 0xe8, 0x41, 0x5c, 0xa0, 0x07, 0x73, 0x81, 0x9e, 0x63, 0x5e, + 0xa5, 0x93, 0xc4, 0xa9, 0x2d, 0xba, 0x22, 0x50, 0x87, 0x26, 0x17, 0x55, 0x16, 0x94, 0xe4, 0xeb, + 0x41, 0x74, 0x05, 0xa1, 0x98, 0x21, 0x24, 0xc3, 0xc5, 0x59, 0x94, 0x9f, 0x93, 0x93, 0x58, 0x50, + 0xe0, 0x99, 0x22, 0xc1, 0x0c, 0xb6, 0x18, 0x21, 0x20, 0x14, 0xca, 0xc5, 0x8d, 0x14, 0x18, 0x12, + 0x2c, 0x60, 0x0b, 0x75, 0xf5, 0x08, 0x05, 0xab, 0x9e, 0x0b, 0x42, 0x93, 0x13, 0xcb, 0x89, 0x7b, + 0xf2, 0x0c, 0x41, 0xc8, 0xe6, 0x38, 0xf9, 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, 0x71, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x3e, 0xb2, 0x2d, + 0x08, 0x8e, 0x7e, 0x05, 0x52, 0x4c, 0x95, 0x54, 0x16, 0xa4, 0x16, 0x27, 0xb1, 0x81, 0x7d, 0x6e, + 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x1a, 0xf4, 0xc3, 0x3b, 0x14, 0x02, 0x00, 0x00, } func (m *Sequencer) Marshal() (dAtA []byte, err error) { diff --git a/x/sequencer/types/sequencers_by_rollapp.pb.go b/x/sequencer/types/sequencers_by_rollapp.pb.go index dbc1d6128..8753c6870 100644 --- a/x/sequencer/types/sequencers_by_rollapp.pb.go +++ b/x/sequencer/types/sequencers_by_rollapp.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sequencer/sequencers_by_rollapp.proto +// source: dymension/sequencer/sequencers_by_rollapp.proto package types @@ -38,7 +38,7 @@ func (m *SequencersByRollapp) Reset() { *m = SequencersByRollapp{} } func (m *SequencersByRollapp) String() string { return proto.CompactTextString(m) } func (*SequencersByRollapp) ProtoMessage() {} func (*SequencersByRollapp) Descriptor() ([]byte, []int) { - return fileDescriptor_e660bdc020803b1f, []int{0} + return fileDescriptor_f5a5805ac29a8f67, []int{0} } func (m *SequencersByRollapp) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -86,25 +86,25 @@ func init() { } func init() { - proto.RegisterFile("sequencer/sequencers_by_rollapp.proto", fileDescriptor_e660bdc020803b1f) + proto.RegisterFile("dymension/sequencer/sequencers_by_rollapp.proto", fileDescriptor_f5a5805ac29a8f67) } -var fileDescriptor_e660bdc020803b1f = []byte{ - // 222 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x2d, 0x4e, 0x2d, 0x2c, - 0x4d, 0xcd, 0x4b, 0x4e, 0x2d, 0xd2, 0x87, 0xb3, 0x8a, 0xe3, 0x93, 0x2a, 0xe3, 0x8b, 0xf2, 0x73, - 0x72, 0x12, 0x0b, 0x0a, 0xf4, 0x0a, 0x8a, 0xf2, 0x4b, 0xf2, 0x85, 0x14, 0x52, 0x2a, 0x73, 0x53, - 0xf3, 0x8a, 0x33, 0xf3, 0xf3, 0x2a, 0x2a, 0xab, 0xf4, 0xe0, 0x1c, 0x3d, 0xb8, 0x1e, 0x29, 0xf1, - 0xe2, 0x8c, 0xc4, 0xa2, 0xd4, 0x14, 0x24, 0x53, 0x20, 0x5a, 0xa5, 0x44, 0xd2, 0xf3, 0xd3, 0xf3, - 0xc1, 0x4c, 0x7d, 0x10, 0x0b, 0x22, 0xaa, 0xd4, 0xc2, 0xc8, 0x25, 0x1c, 0x0c, 0x57, 0xea, 0x54, - 0x19, 0x04, 0xb1, 0x4e, 0x48, 0x86, 0x8b, 0x13, 0x6a, 0xb3, 0x67, 0x8a, 0x04, 0xa3, 0x02, 0xa3, - 0x06, 0x67, 0x10, 0x42, 0x40, 0xc8, 0x9f, 0x8b, 0x0b, 0x61, 0xbe, 0x04, 0x93, 0x02, 0xa3, 0x06, - 0xb7, 0x91, 0xa6, 0x1e, 0x2e, 0xb7, 0x81, 0x1d, 0xa4, 0x87, 0x64, 0x0b, 0xcb, 0x89, 0x7b, 0xf2, - 0x0c, 0x41, 0x48, 0x46, 0x38, 0xf9, 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, 0x71, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e, 0x72, 0x7e, 0xae, 0x3e, 0xb2, 0x05, 0x08, - 0x8e, 0x7e, 0x05, 0xc2, 0xb3, 0xfa, 0x25, 0x95, 0x05, 0xa9, 0xc5, 0x49, 0x6c, 0x60, 0xcf, 0x19, - 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x9f, 0xbd, 0xf5, 0x60, 0x56, 0x01, 0x00, 0x00, +var fileDescriptor_f5a5805ac29a8f67 = []byte{ + // 224 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4f, 0xa9, 0xcc, 0x4d, + 0xcd, 0x2b, 0xce, 0xcc, 0xcf, 0xd3, 0x2f, 0x4e, 0x2d, 0x2c, 0x4d, 0xcd, 0x4b, 0x4e, 0x2d, 0x42, + 0xb0, 0x8a, 0xe3, 0x93, 0x2a, 0xe3, 0x8b, 0xf2, 0x73, 0x72, 0x12, 0x0b, 0x0a, 0xf4, 0x0a, 0x8a, + 0xf2, 0x4b, 0xf2, 0x85, 0x14, 0xe0, 0x1a, 0x2a, 0x2a, 0xab, 0xf4, 0xe0, 0x1c, 0x3d, 0xb8, 0x1e, + 0x29, 0x45, 0x24, 0x23, 0x33, 0x12, 0x8b, 0x52, 0x53, 0x90, 0xcc, 0x83, 0x18, 0x22, 0x25, 0x92, + 0x9e, 0x9f, 0x9e, 0x0f, 0x66, 0xea, 0x83, 0x58, 0x10, 0x51, 0xa5, 0x16, 0x46, 0x2e, 0xe1, 0x60, + 0xb8, 0x52, 0xa7, 0xca, 0x20, 0x88, 0xc5, 0x42, 0x32, 0x5c, 0x9c, 0x50, 0x37, 0x78, 0xa6, 0x48, + 0x30, 0x2a, 0x30, 0x6a, 0x70, 0x06, 0x21, 0x04, 0x84, 0xfc, 0xb9, 0xb8, 0x10, 0xe6, 0x4b, 0x30, + 0x29, 0x30, 0x6a, 0x70, 0x1b, 0x69, 0xea, 0xe1, 0x72, 0x25, 0xd8, 0x41, 0x7a, 0x48, 0xb6, 0xb0, + 0x9c, 0xb8, 0x27, 0xcf, 0x10, 0x84, 0x64, 0x84, 0x93, 0xef, 0x89, 0x47, 0x72, 0x8c, 0x17, 0x1e, + 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, 0x85, 0xc7, 0x72, 0x0c, 0x37, + 0x1e, 0xcb, 0x31, 0x44, 0x19, 0xa7, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, + 0x23, 0x5b, 0x80, 0x14, 0x88, 0x15, 0x48, 0xc1, 0x58, 0x52, 0x59, 0x90, 0x5a, 0x9c, 0xc4, 0x06, + 0xf6, 0x9c, 0x31, 0x20, 0x00, 0x00, 0xff, 0xff, 0x82, 0xd8, 0x7f, 0x3d, 0x6a, 0x01, 0x00, 0x00, } func (m *SequencersByRollapp) Marshal() (dAtA []byte, err error) { diff --git a/x/sequencer/types/tx.pb.go b/x/sequencer/types/tx.pb.go index 6f1f29f8c..b3ff94833 100644 --- a/x/sequencer/types/tx.pb.go +++ b/x/sequencer/types/tx.pb.go @@ -1,5 +1,5 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. -// source: sequencer/tx.proto +// source: dymension/sequencer/tx.proto package types @@ -46,7 +46,7 @@ func (m *MsgCreateSequencer) Reset() { *m = MsgCreateSequencer{} } func (m *MsgCreateSequencer) String() string { return proto.CompactTextString(m) } func (*MsgCreateSequencer) ProtoMessage() {} func (*MsgCreateSequencer) Descriptor() ([]byte, []int) { - return fileDescriptor_b662d813c271a03f, []int{0} + return fileDescriptor_26d679aa996065f1, []int{0} } func (m *MsgCreateSequencer) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -110,7 +110,7 @@ func (m *MsgCreateSequencerResponse) Reset() { *m = MsgCreateSequencerRe func (m *MsgCreateSequencerResponse) String() string { return proto.CompactTextString(m) } func (*MsgCreateSequencerResponse) ProtoMessage() {} func (*MsgCreateSequencerResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b662d813c271a03f, []int{1} + return fileDescriptor_26d679aa996065f1, []int{1} } func (m *MsgCreateSequencerResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -144,33 +144,33 @@ func init() { proto.RegisterType((*MsgCreateSequencerResponse)(nil), "dymensionxyz.dymension.sequencer.MsgCreateSequencerResponse") } -func init() { proto.RegisterFile("sequencer/tx.proto", fileDescriptor_b662d813c271a03f) } - -var fileDescriptor_b662d813c271a03f = []byte{ - // 361 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x52, 0xb1, 0x4b, 0xfb, 0x40, - 0x14, 0xce, 0xfd, 0x5a, 0x7e, 0xd2, 0xab, 0x20, 0x1c, 0x1d, 0x62, 0x2c, 0xb1, 0x74, 0xea, 0xd2, - 0x0b, 0xb4, 0x8e, 0x2e, 0x56, 0x17, 0x91, 0x82, 0x44, 0x5c, 0x5c, 0xa4, 0x49, 0xce, 0x18, 0x68, - 0xf2, 0xe2, 0xdd, 0x05, 0x7a, 0xee, 0x8e, 0x82, 0x7f, 0x8c, 0x7f, 0x44, 0x71, 0xea, 0xe8, 0x24, - 0xd2, 0xfe, 0x11, 0xae, 0xd2, 0xa4, 0x69, 0xa2, 0x1d, 0x0a, 0x6e, 0xf7, 0x7d, 0xef, 0x7d, 0xef, - 0xfb, 0xee, 0xdd, 0x61, 0x22, 0xd8, 0x43, 0xc2, 0x22, 0x97, 0x71, 0x4b, 0x4e, 0x68, 0xcc, 0x41, - 0x02, 0x69, 0x79, 0x2a, 0x64, 0x91, 0x08, 0x20, 0x9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x72, 0x8e, 0xb6, 0x7b, 0x6f, 0x4e, 0x36, 0x8e, 0xff, 0xa2, 0xca, 0xf3, 0x0c, 0x86, 0xd3, 0xb9, - 0x89, 0x66, 0x73, 0x13, 0x7d, 0xce, 0x4d, 0xf4, 0xb2, 0x30, 0xb5, 0xd9, 0xc2, 0xd4, 0xde, 0x17, - 0xa6, 0x76, 0xd3, 0xf7, 0x03, 0x79, 0x9f, 0x38, 0xd4, 0x85, 0xd0, 0x2a, 0x3b, 0x14, 0xc0, 0x9a, - 0x58, 0xa5, 0x4f, 0xa8, 0x62, 0x26, 0x9c, 0xff, 0xe9, 0x3b, 0xf5, 0xbf, 0x03, 0x00, 0x00, 0xff, - 0xff, 0xae, 0x47, 0xc3, 0x1c, 0x9e, 0x02, 0x00, 0x00, +func init() { proto.RegisterFile("dymension/sequencer/tx.proto", fileDescriptor_26d679aa996065f1) } + +var fileDescriptor_26d679aa996065f1 = []byte{ + // 362 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x52, 0x3f, 0x4b, 0xc3, 0x40, + 0x14, 0xcf, 0xd9, 0xa2, 0xf4, 0x2a, 0x08, 0xa1, 0x43, 0x0c, 0x25, 0x96, 0x82, 0xd0, 0xa5, 0x17, + 0x68, 0x1d, 0x5d, 0xac, 0x2e, 0x22, 0x05, 0x89, 0xb8, 0xb8, 0x48, 0x93, 0x9c, 0x31, 0xd0, 0xe4, + 0x9d, 0x77, 0x17, 0xe8, 0xb9, 0x3b, 0x0a, 0x7e, 0x18, 0x3f, 0x44, 0x71, 0xea, 0xe8, 0x24, 0xd2, + 0x7e, 0x08, 0x57, 0x69, 0xd2, 0xb4, 0xd1, 0x0a, 0x05, 0xb7, 0xfc, 0x7e, 0xef, 0xfd, 0xfe, 0xe4, + 0x25, 0xb8, 0xee, 0xab, 0x88, 0xc6, 0x22, 0x84, 0xd8, 0x16, 0xf4, 0x21, 0xa1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, 0x41, 0x2c, 0x68, 0xe7, 0x19, 0xe1, 0x52, 0x5f, 0x04, 0xfa, 0x13, 0xc2, 0x7b, + 0xbf, 0x8f, 0x73, 0xb4, 0x39, 0x7b, 0xdd, 0xd9, 0x3c, 0xfe, 0x8f, 0x2a, 0xef, 0xd3, 0xeb, 0x8f, + 0xa7, 0x16, 0x9a, 0x4c, 0x2d, 0xf4, 0x39, 0xb5, 0xd0, 0xcb, 0xcc, 0xd2, 0x26, 0x33, 0x4b, 0x7b, + 0x9f, 0x59, 0xda, 0x4d, 0x37, 0x08, 0xe5, 0x7d, 0xe2, 0x12, 0x0f, 0x22, 0xbb, 0x98, 0xb0, 0x02, + 0xf6, 0xa8, 0xf8, 0x3b, 0x2a, 0x46, 0x85, 0xbb, 0x9d, 0x7e, 0xa7, 0xee, 0x77, 0x00, 0x00, 0x00, + 0xff, 0xff, 0x69, 0x74, 0xc3, 0x3a, 0xb2, 0x02, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -250,7 +250,7 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ }, }, Streams: []grpc.StreamDesc{}, - Metadata: "sequencer/tx.proto", + Metadata: "dymension/sequencer/tx.proto", } func (m *MsgCreateSequencer) Marshal() (dAtA []byte, err error) {