Skip to content

Commit

Permalink
bump kvindexer and update swagger (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vritra4 authored May 2, 2024
1 parent 0143afd commit 8a44f85
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 24 deletions.
2 changes: 1 addition & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ import (
indexerconfig "github.com/initia-labs/kvindexer/config"
blocksubmodule "github.com/initia-labs/kvindexer/submodules/block"
nft "github.com/initia-labs/kvindexer/submodules/move-nft"
pair "github.com/initia-labs/kvindexer/submodules/move-pair"
"github.com/initia-labs/kvindexer/submodules/pair"
tx "github.com/initia-labs/kvindexer/submodules/tx"
indexermodule "github.com/initia-labs/kvindexer/x/kvindexer"
indexerkeeper "github.com/initia-labs/kvindexer/x/kvindexer/keeper"
Expand Down
2 changes: 1 addition & 1 deletion client/docs/statik/statik.go

Large diffs are not rendered by default.

27 changes: 14 additions & 13 deletions client/docs/swagger-ui/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39564,7 +39564,7 @@ paths:
- Query
/indexer/version:
get:
summary: Version queries all the collections of an account
summary: Version queries all the versions of the submodules
operationId: Versions
responses:
'200':
Expand Down Expand Up @@ -39611,6 +39611,7 @@ paths:
- Query
/indexer/vmtype:
get:
summary: VMType queries the type of the Minitia's VM
operationId: VMType
responses:
'200':
Expand Down Expand Up @@ -39759,7 +39760,7 @@ paths:
type: string
title: >-
Proposer represents the proposer of a block: for
minitia, its the L2 operator
minitia, it is the L2 operator
title: Block represents a indexed block in a blockchain
pagination:
description: pagination defines the pagination in the response.
Expand Down Expand Up @@ -39931,9 +39932,9 @@ paths:
type: string
title: >-
Proposer represents the proposer of a block: for minitia,
its the L2 operator
it is the L2 operator
title: Block represents a indexed block in a blockchain
description: BlockResponse defines the response for the Blocks RPC.
description: BlockResponse defines the response for the Block RPC.
default:
description: An unexpected error response.
schema:
Expand Down Expand Up @@ -40474,7 +40475,7 @@ paths:
- Query
/indexer/tx/v1/txs/by_account/{account}:
get:
summary: TxsByAccount queries all the collections of given account
summary: TxsByAccount queries all transactions of given account
operationId: TxsByAccount
responses:
'200':
Expand Down Expand Up @@ -40987,7 +40988,7 @@ paths:
- Query
/indexer/tx/v1/txs/by_height/{height}:
get:
summary: TxsByHeight queries all the collections of given height
summary: TxsByHeight queries all transactions of given height
operationId: TxsByHeight
responses:
'200':
Expand Down Expand Up @@ -42487,7 +42488,7 @@ paths:
- Query
/indexer/pair/v1/pairs:
get:
summary: Pairs queries all the collections of an account
summary: Pairs queries all the pairs of L1 and L2
operationId: Pairs
responses:
'200':
Expand Down Expand Up @@ -68455,7 +68456,7 @@ definitions:
operator_address:
type: string
title: >-
Proposer represents the proposer of a block: for minitia, its the L2
Proposer represents the proposer of a block: for minitia, it is the L2
operator
title: Block represents a indexed block in a blockchain
indexer.block.v1.BlockResponse:
Expand Down Expand Up @@ -68518,10 +68519,10 @@ definitions:
operator_address:
type: string
title: >-
Proposer represents the proposer of a block: for minitia, its the
L2 operator
Proposer represents the proposer of a block: for minitia, it is
the L2 operator
title: Block represents a indexed block in a blockchain
description: BlockResponse defines the response for the Blocks RPC.
description: BlockResponse defines the response for the Block RPC.
indexer.block.v1.BlocksResponse:
type: object
properties:
Expand Down Expand Up @@ -68584,7 +68585,7 @@ definitions:
operator_address:
type: string
title: >-
Proposer represents the proposer of a block: for minitia, its
Proposer represents the proposer of a block: for minitia, it is
the L2 operator
title: Block represents a indexed block in a blockchain
pagination:
Expand Down Expand Up @@ -68622,7 +68623,7 @@ definitions:
operator_address:
type: string
title: >-
Proposer represents the proposer of a block: for minitia, its the L2
Proposer represents the proposer of a block: for minitia, it is the L2
operator
indexer.tx.v1.QueryTxResponse:
type: object
Expand Down
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ require (
github.com/gorilla/mux v1.8.1
github.com/initia-labs/OPinit v0.2.6
github.com/initia-labs/initia v0.2.7
github.com/initia-labs/kvindexer v0.1.2
github.com/initia-labs/kvindexer v0.1.3
github.com/initia-labs/kvindexer/submodules/block v0.1.0
github.com/initia-labs/kvindexer/submodules/move-nft v0.1.1
github.com/initia-labs/kvindexer/submodules/move-pair v0.1.0
github.com/initia-labs/kvindexer/submodules/move-nft v0.1.2
github.com/initia-labs/kvindexer/submodules/pair v0.1.1
github.com/initia-labs/kvindexer/submodules/tx v0.1.0
// we also need to update `LIBMOVEVM_VERSION` of images/private/Dockerfile#5
github.com/initia-labs/movevm v0.2.7
Expand Down
12 changes: 6 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -737,14 +737,14 @@ github.com/initia-labs/ibc-go/v8 v8.0.0-20240419124350-4275a05abe2c h1:FDwh5zZbm
github.com/initia-labs/ibc-go/v8 v8.0.0-20240419124350-4275a05abe2c/go.mod h1:wj3qx75iC/XNnsMqbPDCIGs0G6Y3E/lo3bdqCyoCy+8=
github.com/initia-labs/initia v0.2.7 h1:avSfEh+nheYC7gFxnfHaXSHRBZYWHI19vn/T0luI4y8=
github.com/initia-labs/initia v0.2.7/go.mod h1:PFWX4I983j462shp3a1lLRheBiIfZrRoF/MQI/CsL9o=
github.com/initia-labs/kvindexer v0.1.2 h1:P7wATqtLtz4wwmahrf+zO0Z+DY3NIGfvVUyT/g3VM3M=
github.com/initia-labs/kvindexer v0.1.2/go.mod h1:+2hInhMys7TFlGsAey2bFH4tA9fu+5/W17Ttecf1NHc=
github.com/initia-labs/kvindexer v0.1.3 h1:TLkgJjp5TiPnH+OzYfk7ZKQTKqGOfSte59Y3gasob+o=
github.com/initia-labs/kvindexer v0.1.3/go.mod h1:rvAmgCAmEs4KM8sRRPcyTqNNwi8s2JiHybiFkYfp4KE=
github.com/initia-labs/kvindexer/submodules/block v0.1.0 h1:y+EXnksd/I2F96mzIoQA64nZUZON2P+99YrSzeLCLoY=
github.com/initia-labs/kvindexer/submodules/block v0.1.0/go.mod h1:4c+c59wVAnjuaJv/pcDYaUkeVmOqVV+orqEjya/RIjo=
github.com/initia-labs/kvindexer/submodules/move-nft v0.1.1 h1:jhWMmdQu9TL8gr/NAJt/mB4P0j1mNYHh3LD6MCo/HXY=
github.com/initia-labs/kvindexer/submodules/move-nft v0.1.1/go.mod h1:E75HJBUPG2y3gBGQ45ot9NgPbSRf6yMhtMwXp2SuAuE=
github.com/initia-labs/kvindexer/submodules/move-pair v0.1.0 h1:hIa8G1VWUDS+ljFN24Y+wxSdyRR4D4eBJi2Yoy1HyG4=
github.com/initia-labs/kvindexer/submodules/move-pair v0.1.0/go.mod h1:oGpwOkEjnSMHRV0IxkJSILIkY2ajBr6YjsUqSYjSF5Y=
github.com/initia-labs/kvindexer/submodules/move-nft v0.1.2 h1:2HayFAq85buvM7THvNr6ZkcUyF6ar8esVvRiiqug5SE=
github.com/initia-labs/kvindexer/submodules/move-nft v0.1.2/go.mod h1:cMkE+Wu9sd8DLMXI/kDA9JjmmTBTnlKSQhLfnvKE1Fk=
github.com/initia-labs/kvindexer/submodules/pair v0.1.1 h1:o151gA4jIbqEl+pWTOCizkiOPgkA5ANuNbHfqAQijoE=
github.com/initia-labs/kvindexer/submodules/pair v0.1.1/go.mod h1:8X1GE1ZLkH7z8TKb5MUh7UClTkcqVFIwXIIRdsqeUZY=
github.com/initia-labs/kvindexer/submodules/tx v0.1.0 h1:6kbf6wmzXPN0XCQLasiFgq1AlZHkt5K3/ZG+IWw1nNs=
github.com/initia-labs/kvindexer/submodules/tx v0.1.0/go.mod h1:i0XeLbLa6xdgTR01WF8kaAO50vMmwxbeq0fKexwpFHU=
github.com/initia-labs/movevm v0.2.7 h1:6UM35Cp6XQ1LgM7gnaSYouc7osSwxSQJsZgQdpXnBM4=
Expand Down

0 comments on commit 8a44f85

Please sign in to comment.