Skip to content

Commit

Permalink
feat: add new query to get a swap (backport #1387) (#1389)
Browse files Browse the repository at this point in the history
* feat: add new query to get a swap (#1387)

* feat: add new query to get a swap

* chore: update changelog

* fix: add missing pagination param in cli client

* chore: lint fix

* chore: add grpc-query test

* chore: add descriptive message for invalid QuerySwapRequest

* chore: add CLI to query swap

(cherry picked from commit 92ad675)

# Conflicts:
#	client/docs/swagger-ui/swagger.yaml

* chore: fix conflict

---------

Co-authored-by: jaeseung-bae <[email protected]>
  • Loading branch information
mergify[bot] and jaeseung-bae authored May 21, 2024
1 parent 27c7599 commit 95ac830
Show file tree
Hide file tree
Showing 13 changed files with 1,299 additions and 55 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
* (x/fbridge) [\#1366](https://github.com/Finschia/finschia-sdk/pull/1366) Set target denom as module parameters
* (x/fbridge) [\#1369](https://github.com/Finschia/finschia-sdk/pull/1369) Add the event of `SetBridgeStatus`
* (x/fswap) [\#1372](https://github.com/Finschia/finschia-sdk/pull/1372) support message based proposals
* (x/fswap) [\#1387](https://github.com/Finschia/finschia-sdk/pull/1387) add new Swap query to get a single swap

### Bug Fixes
* (x/auth) [#1281](https://github.com/Finschia/finschia-sdk/pull/1281) `ModuleAccount.Validate` now reports a nil `.BaseAccount` instead of panicking. (backport #1274)
Expand Down
3 changes: 3 additions & 0 deletions client/docs/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,9 @@
"Vote": "FBridgeVote"
}
}
},
{
"url": "./tmp-swagger-gen/lbm/fswap/v1/query.swagger.json"
}
]
}
Loading

0 comments on commit 95ac830

Please sign in to comment.