Skip to content

Commit

Permalink
build: bump up finschis-sdk from v0.49.0-rc5 to v0.49.0-rc6 (#378)
Browse files Browse the repository at this point in the history
* build: bump up finschis-sdk from v0.49.0-rc5 to v0.49.0-rc6

* chore: update changelog

* chore: update swagger

* chore: fix for missing dep for fswap keeper

* chore: update swagger

* chore: update changelog
  • Loading branch information
jaeseung-bae authored May 22, 2024
1 parent 5155c1d commit 5c3ba69
Show file tree
Hide file tree
Showing 6 changed files with 74 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
* (fswap, fbridge) [\#365](https://github.com/Finschia/finschia/pull/365) Load fbridge & fswap stores
* (fswap) [\#366](https://github.com/Finschia/finschia/pull/366) Bump github.com/Finschia/finschia-sdk from v0.49.0-rc3 to v0.49.0-rc4
* (fswap, fbridge) [\#373](https://github.com/Finschia/finschia/pull/373) Bump github.com/Finschia/finschia-sdk from v0.49.0-rc4 to v0.49.0-rc5
* (fswap) [\#378](https://github.com/Finschia/finschia/pull/378) Bump github.com/Finschia/finschia-sdk from v0.49.0-rc5 to v0.49.0-rc6

### Improvements

Expand Down
2 changes: 1 addition & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ func NewLinkApp(
)

fswapConfig := fswaptypes.DefaultConfig()
app.FswapKeeper = fswapkeeper.NewKeeper(appCodec, keys[fswaptypes.StoreKey], fswapConfig, fswaptypes.DefaultAuthority().String(), app.BankKeeper)
app.FswapKeeper = fswapkeeper.NewKeeper(appCodec, keys[fswaptypes.StoreKey], fswapConfig, fswaptypes.DefaultAuthority().String(), app.AccountKeeper, app.BankKeeper)
app.FbridgeKeeper = fbridgekeeper.NewKeeper(appCodec, keys[fbridgetypes.StoreKey], memKeys[fbridgetypes.MemStoreKey], app.AccountKeeper, app.BankKeeper, foundation.DefaultAuthority().String())

// register the proposal types
Expand Down
2 changes: 1 addition & 1 deletion client/docs/statik/statik.go

Large diffs are not rendered by default.

68 changes: 68 additions & 0 deletions client/docs/swagger-ui/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29259,6 +29259,60 @@ paths:
format: byte
tags:
- Service
/lbm/fswap/v1/swap:
get:
summary: Swap queries a swap
operationId: Swap
responses:
'200':
description: A successful response.
schema:
type: object
properties:
swap:
type: object
properties:
from_denom:
type: string
to_denom:
type: string
amount_cap_for_to_denom:
type: string
swap_rate:
type: string
default:
description: An unexpected error response.
schema:
type: object
properties:
error:
type: string
code:
type: integer
format: int32
message:
type: string
details:
type: array
items:
type: object
properties:
type_url:
type: string
value:
type: string
format: byte
parameters:
- name: fromDenom
in: query
required: false
type: string
- name: toDenom
in: query
required: false
type: string
tags:
- Query
/lbm/fswap/v1/swapped:
get:
summary: >-
Expand Down Expand Up @@ -66071,6 +66125,20 @@ definitions:
minimum_gas_price:
type: string
description: ConfigResponse defines the response structure for the Config gRPC query.
lbm.fswap.v1.QuerySwapResponse:
type: object
properties:
swap:
type: object
properties:
from_denom:
type: string
to_denom:
type: string
amount_cap_for_to_denom:
type: string
swap_rate:
type: string
lbm.fswap.v1.QuerySwappedResponse:
type: object
properties:
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/Finschia/finschia/v4
go 1.20

require (
github.com/Finschia/finschia-sdk v0.49.0-rc5
github.com/Finschia/finschia-sdk v0.49.0-rc6
github.com/Finschia/ostracon v1.1.3
github.com/Finschia/wasmd v0.3.0
github.com/Finschia/wasmvm v1.1.1-0.12.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym
github.com/ChainSafe/go-schnorrkel v0.0.0-20200405005733-88cbf1b4c40d h1:nalkkPQcITbvhmL4+C4cKA87NW0tfm3Kl9VXRoPywFg=
github.com/ChainSafe/go-schnorrkel v0.0.0-20200405005733-88cbf1b4c40d/go.mod h1:URdX5+vg25ts3aCh8H5IFZybJYKWhJHYMTnf+ULtoC4=
github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ=
github.com/Finschia/finschia-sdk v0.49.0-rc5 h1:syIrTYR9YAIekQVxIlP43rTYYjat2qrWutWcfpnOJsI=
github.com/Finschia/finschia-sdk v0.49.0-rc5/go.mod h1:bmPv3zWUAWmm+ZxLpUAK3NhURQ4l+3tg3Bw+WcinbmY=
github.com/Finschia/finschia-sdk v0.49.0-rc6 h1:cstv+/RU5Q4hU2KJDJkUAQ/k+QJFIGVvYkRn/hR1YUc=
github.com/Finschia/finschia-sdk v0.49.0-rc6/go.mod h1:bmPv3zWUAWmm+ZxLpUAK3NhURQ4l+3tg3Bw+WcinbmY=
github.com/Finschia/ibc-go/v4 v4.3.1 h1:pUKry0j+1/ypCC3X1TkEzoLrS1A/low/1PE2HZL+13k=
github.com/Finschia/ibc-go/v4 v4.3.1/go.mod h1:kFZgmXXT2pt9QL7Ngx/eA7lI9JlOMGRG/oU4RTDXKcg=
github.com/Finschia/ostracon v1.1.3 h1:GYPTc8et+sXEq9W2SUlYwvnImpZ4aG8hI2cIhyBWRSU=
Expand Down

0 comments on commit 5c3ba69

Please sign in to comment.