sdk38: Specify MsgDelegate type in distribution module test

This commit is contained in:
willclarktech 2020-07-16 11:12:37 +02:00
parent 7fd8355d33
commit ebb1526ca6
No known key found for this signature in database
GPG Key ID: 551A86E2E398ADF7

View File

@ -5,6 +5,7 @@ import { assert, sleep } from "@cosmjs/utils";
import { coin, coins } from "../coins";
import { isPostTxFailure } from "../cosmosclient";
import { makeSignBytes } from "../encoding";
import { MsgDelegate } from "../msgs";
import { SigningCosmosClient } from "../signingcosmosclient";
import {
bigDecimalMatcher,
@ -35,7 +36,7 @@ describe("DistributionExtension", () => {
const client = new SigningCosmosClient(wasmd.endpoint, faucet.address, wallet, {});
const chainId = await client.getChainId();
const msg = {
const msg: MsgDelegate = {
type: "cosmos-sdk/MsgDelegate",
value: {
delegator_address: faucet.address,