mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-11 14:09:15 +00:00
Fix lint error
This commit is contained in:
parent
a2c14bb80b
commit
0f6721e5f4
@ -1,4 +1,4 @@
|
|||||||
import { Address, Algorithm, PubkeyBytes } from "@iov/bcp";
|
import { Algorithm, PubkeyBytes } from "@iov/bcp";
|
||||||
import { Encoding } from "@iov/encoding";
|
import { Encoding } from "@iov/encoding";
|
||||||
|
|
||||||
import { decodeCosmosPubkey, isValidAddress, pubkeyToAddress } from "./address";
|
import { decodeCosmosPubkey, isValidAddress, pubkeyToAddress } from "./address";
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
/* eslint-disable @typescript-eslint/camelcase */
|
/* eslint-disable @typescript-eslint/camelcase */
|
||||||
import { types } from "@cosmwasm/sdk";
|
import { types } from "@cosmwasm/sdk";
|
||||||
import { StdTx } from "@cosmwasm/sdk/types/types";
|
|
||||||
import { Address, Algorithm, TokenTicker } from "@iov/bcp";
|
import { Address, Algorithm, TokenTicker } from "@iov/bcp";
|
||||||
import { Encoding } from "@iov/encoding";
|
import { Encoding } from "@iov/encoding";
|
||||||
|
|
||||||
@ -158,7 +157,7 @@ describe("decode", () => {
|
|||||||
|
|
||||||
describe("parseTx", () => {
|
describe("parseTx", () => {
|
||||||
it("works", () => {
|
it("works", () => {
|
||||||
expect(parseTx(data.tx.value as StdTx, chainId, nonce, defaultTokens)).toEqual(signedTxJson);
|
expect(parseTx(data.tx.value as types.StdTx, chainId, nonce, defaultTokens)).toEqual(signedTxJson);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -119,7 +119,7 @@ export interface PubKeySr25519 {
|
|||||||
readonly value: string;
|
readonly value: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Bech32PubKey is bech32-encoded amino-binary encoded PubKey interface. oof.
|
// bech32-encoded amino-binary encoded PubKey interface. oof.
|
||||||
export type Bech32PubKey = string;
|
export type Bech32PubKey = string;
|
||||||
|
|
||||||
export interface BaseAccount {
|
export interface BaseAccount {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user