mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-10 13:47:12 +00:00
Make TxProof.proof.leafHash non-optional
This commit is contained in:
parent
3dd5994de5
commit
5ad2ee894f
@ -50,6 +50,8 @@
|
||||
and `LaunchpadLedger` for more fine-grained access.
|
||||
- @cosmjs/math: Add `.multiply` method to `Decimal` class.
|
||||
- @cosmjs/tendermint-rpc: Make `BroadcastTxCommitResponse.height` non-optional.
|
||||
- @cosmjs/tendermint-rpc: Make `TxProof.proof.leafHash` non-optional because it
|
||||
is always set.
|
||||
- @cosmjs/tendermint-rpc: Change type of `GenesisResponse.appState` to
|
||||
`Record<string, unknown> | undefined`.
|
||||
- @cosmjs/utils: Add `assertDefined`.
|
||||
|
@ -188,8 +188,7 @@ export interface TxProof {
|
||||
readonly proof: {
|
||||
readonly total: number;
|
||||
readonly index: number;
|
||||
/** Optional because does not exist in Tendermint 0.25.x */
|
||||
readonly leafHash?: Uint8Array;
|
||||
readonly leafHash: Uint8Array;
|
||||
readonly aunts: readonly Uint8Array[];
|
||||
};
|
||||
}
|
||||
|
3
packages/tendermint-rpc/types/responses.d.ts
vendored
3
packages/tendermint-rpc/types/responses.d.ts
vendored
@ -147,8 +147,7 @@ export interface TxProof {
|
||||
readonly proof: {
|
||||
readonly total: number;
|
||||
readonly index: number;
|
||||
/** Optional because does not exist in Tendermint 0.25.x */
|
||||
readonly leafHash?: Uint8Array;
|
||||
readonly leafHash: Uint8Array;
|
||||
readonly aunts: readonly Uint8Array[];
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user