Skip to content

Commit

Permalink
fixtures and yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
pyramation committed Dec 17, 2022
1 parent 1293e6e commit 1611617
Show file tree
Hide file tree
Showing 5 changed files with 742 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ message Pool {
option (gogoproto.goproto_getters) = false;
option (gogoproto.goproto_stringer) = false;
option (cosmos_proto.implements_interface) = "PoolI";
option (amino.name) = "osmosis-sdk/StablePool";

string address = 1 [ (gogoproto.moretags) = "yaml:\"address\"" ];
uint64 id = 2;
Expand Down
1 change: 0 additions & 1 deletion __fixtures__/chain1/osmosis/gamm/v1beta1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ service Msg {
// ===================== MsgJoinPool
// This is really MsgJoinPoolNoSwap
message MsgJoinPool {
option (amino.name) = "osmosis-sdk/JoinPool";

string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ];
uint64 pool_id = 2 [ (gogoproto.moretags) = "yaml:\"pool_id\"" ];
Expand Down
4 changes: 2 additions & 2 deletions __fixtures__/output1/osmosis/gamm/v1beta1/tx.amino.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { AminoMsg } from "@cosmjs/amino";
import { Long } from "../../../helpers";
import { SwapAmountInRoute, SwapAmountInRouteSDKType, SwapAmountOutRoute, SwapAmountOutRouteSDKType, MsgJoinPool, MsgJoinPoolSDKType, MsgExitPool, MsgExitPoolSDKType, MsgSwapExactAmountIn, MsgSwapExactAmountInSDKType, MsgSwapExactAmountOut, MsgSwapExactAmountOutSDKType, MsgJoinSwapExternAmountIn, MsgJoinSwapExternAmountInSDKType, MsgJoinSwapShareAmountOut, MsgJoinSwapShareAmountOutSDKType, MsgExitSwapExternAmountOut, MsgExitSwapExternAmountOutSDKType, MsgExitSwapShareAmountIn, MsgExitSwapShareAmountInSDKType } from "./tx";
export interface AminoMsgJoinPool extends AminoMsg {
type: "osmosis-sdk/JoinPool";
type: "osmosis/gamm/join-pool";
value: {
sender: string;
pool_id: string;
Expand Down Expand Up @@ -103,7 +103,7 @@ export interface AminoMsgExitSwapShareAmountIn extends AminoMsg {
}
export const AminoConverter = {
"/osmosis.gamm.v1beta1.MsgJoinPool": {
aminoType: "osmosis-sdk/JoinPool",
aminoType: "osmosis/gamm/join-pool",
toAmino: ({
sender,
poolId,
Expand Down
8 changes: 4 additions & 4 deletions __fixtures__/output1/osmosis/lockup/tx.amino.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ export interface AminoMsgLockTokens extends AminoMsg {
};
}
export interface AminoMsgBeginUnlockingAll extends AminoMsg {
type: "osmosis/lockup/begin-unlocking-all";
type: "osmosis/lockup/begin-unlock-tokens";
value: {
owner: string;
};
}
export interface AminoMsgBeginUnlocking extends AminoMsg {
type: "osmosis/lockup/begin-unlocking";
type: "osmosis/lockup/begin-unlock-period-lock";
value: {
owner: string;
ID: string;
Expand Down Expand Up @@ -94,7 +94,7 @@ export const AminoConverter = {
}
},
"/osmosis.lockup.MsgBeginUnlockingAll": {
aminoType: "osmosis/lockup/begin-unlocking-all",
aminoType: "osmosis/lockup/begin-unlock-tokens",
toAmino: ({
owner
}: MsgBeginUnlockingAll): AminoMsgBeginUnlockingAll["value"] => {
Expand All @@ -111,7 +111,7 @@ export const AminoConverter = {
}
},
"/osmosis.lockup.MsgBeginUnlocking": {
aminoType: "osmosis/lockup/begin-unlocking",
aminoType: "osmosis/lockup/begin-unlock-period-lock",
toAmino: ({
owner,
ID,
Expand Down
Loading

0 comments on commit 1611617

Please sign in to comment.