Remove SearchBySentFromOrToQuery and SearchByHeightQuery

This commit is contained in:
Simon Warta 2023-11-07 11:44:40 +01:00
parent dd0d69d6ca
commit 30d6c076a8
3 changed files with 4 additions and 9 deletions

View File

@ -43,6 +43,9 @@ and this project adheres to
supports CometBFT 0.38. Rename
`CosmWasmClient.getTmClient`/`.forceGetTmClient` to
`.getCometClient`/`.forceGetCometClient`.
- @cosmjs/stargate: Remove interfaces `SearchBySentFromOrToQuery` and
`SearchByHeightQuery` which became obsolete with the `searchTx` change in
0.31.0.
[#1421]: https://github.com/cosmos/cosmjs/issues/1421
[#1465]: https://github.com/cosmos/cosmjs/issues/1465

View File

@ -113,7 +113,7 @@ export {
QueryClient,
QueryStoreResponse,
} from "./queryclient";
export { SearchByHeightQuery, SearchBySentFromOrToQuery, SearchTxQuery } from "./search";
export { SearchTxQuery } from "./search";
export {
createDefaultAminoConverters,
defaultRegistryTypes,

View File

@ -1,11 +1,3 @@
export interface SearchByHeightQuery {
readonly height: number;
}
export interface SearchBySentFromOrToQuery {
readonly sentFromOrTo: string;
}
/**
* This query type allows you to pass arbitrary key/value pairs to the backend.
*/