mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-11 14:09:15 +00:00
sdk38: Use BlockHeader type from lcdapi base in staking extension
This commit is contained in:
parent
a4187591ca
commit
88a2fd1a88
@ -63,7 +63,7 @@ interface BlockId {
|
||||
// }
|
||||
}
|
||||
|
||||
interface BlockHeader {
|
||||
export interface BlockHeader {
|
||||
readonly version: {
|
||||
readonly block: string;
|
||||
readonly app: string;
|
||||
|
@ -1,7 +1,6 @@
|
||||
/* eslint-disable @typescript-eslint/naming-convention */
|
||||
import { Coin } from "../coins";
|
||||
import { BlockHeader } from "../cosmosclient";
|
||||
import { SearchTxsResponse } from "./base";
|
||||
import { BlockHeader, SearchTxsResponse } from "./base";
|
||||
import { LcdClient } from "./lcdclient";
|
||||
|
||||
interface Validator {
|
||||
|
2
packages/sdk38/types/lcdapi/base.d.ts
vendored
2
packages/sdk38/types/lcdapi/base.d.ts
vendored
@ -50,7 +50,7 @@ export interface NodeInfoResponse {
|
||||
interface BlockId {
|
||||
readonly hash: string;
|
||||
}
|
||||
interface BlockHeader {
|
||||
export interface BlockHeader {
|
||||
readonly version: {
|
||||
readonly block: string;
|
||||
readonly app: string;
|
||||
|
3
packages/sdk38/types/lcdapi/staking.d.ts
vendored
3
packages/sdk38/types/lcdapi/staking.d.ts
vendored
@ -1,6 +1,5 @@
|
||||
import { Coin } from "../coins";
|
||||
import { BlockHeader } from "../cosmosclient";
|
||||
import { SearchTxsResponse } from "./base";
|
||||
import { BlockHeader, SearchTxsResponse } from "./base";
|
||||
import { LcdClient } from "./lcdclient";
|
||||
interface Validator {
|
||||
readonly operator_address: string;
|
||||
|
Loading…
x
Reference in New Issue
Block a user