Skip to content

Commit 571b680

Browse files
committed
redefine AminoMsg type
1 parent 012bbd6 commit 571b680

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/amino/src/signdoc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { Coin } from "./coins";
66

77
export interface AminoMsg {
88
readonly type: string;
9-
readonly value: any;
9+
readonly value: Record<string, any>;
1010
}
1111

1212
export interface StdFee {

packages/amino/src/stdtx.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ describe("makeStdTx", () => {
5454
describe("isStdTx", () => {
5555
const validTx: StdTx = {
5656
memo: "memoe",
57-
msg: [{ type: "test", value: "Test Value" }],
57+
msg: [{ type: "test", value: { test: "Value" } }],
5858
fee: { amount: [{ denom: "ATOM", amount: "10" }], gas: "100000" },
5959
signatures: [{ signature: "signature", pub_key: { type: "type", value: "value" } }],
6060
};

0 commit comments

Comments
 (0)