sdk38: Use BlockHeader type from lcdapi base in staking extension
This commit is contained in:
@@ -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 {
|
||||
|
||||
+1
-1
@@ -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;
|
||||
|
||||
+1
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user