Skip to content

Commit

Permalink
fix inline logic for instant methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Zetazzz committed Dec 1, 2023
1 parent ba8cfe2 commit f6adc99
Show file tree
Hide file tree
Showing 162 changed files with 168 additions and 168 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ export class MsgClientImpl implements Msg {
}));
};
}
export const createMsgClientImpl = (rpc: TxRpc) => {
export const createClientImpl = (rpc: TxRpc) => {
return new MsgClientImpl(rpc);
};
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ export class MsgClientImpl implements Msg {
}));
};
}
export const createMsgClientImpl = (rpc: TxRpc) => {
export const createClientImpl = (rpc: TxRpc) => {
return new MsgClientImpl(rpc);
};
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ export class MsgClientImpl implements Msg {
}));
};
}
export const createMsgClientImpl = (rpc: TxRpc) => {
export const createClientImpl = (rpc: TxRpc) => {
return new MsgClientImpl(rpc);
};
Original file line number Diff line number Diff line change
Expand Up @@ -1454,6 +1454,6 @@ export class MsgClientImpl implements Msg {
}));
};
}
export const createMsgClientImpl = (rpc: TxRpc) => {
export const createClientImpl = (rpc: TxRpc) => {
return new MsgClientImpl(rpc);
};
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,6 @@ export class MsgClientImpl implements Msg {
}));
};
}
export const createMsgClientImpl = (rpc: TxRpc) => {
export const createClientImpl = (rpc: TxRpc) => {
return new MsgClientImpl(rpc);
};
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,6 @@ export class MsgClientImpl implements Msg {
}));
};
}
export const createMsgClientImpl = (rpc: TxRpc) => {
export const createClientImpl = (rpc: TxRpc) => {
return new MsgClientImpl(rpc);
};
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ export class MsgClientImpl implements Msg {
}));
};
}
export const createMsgClientImpl = (rpc: TxRpc) => {
export const createClientImpl = (rpc: TxRpc) => {
return new MsgClientImpl(rpc);
};
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ export class MsgClientImpl implements Msg {
}));
};
}
export const createMsgClientImpl = (rpc: TxRpc) => {
export const createClientImpl = (rpc: TxRpc) => {
return new MsgClientImpl(rpc);
};
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,6 @@ export class MsgClientImpl implements Msg {
}));
};
}
export const createMsgClientImpl = (rpc: TxRpc) => {
export const createClientImpl = (rpc: TxRpc) => {
return new MsgClientImpl(rpc);
};
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ export class MsgClientImpl implements Msg {
}));
};
}
export const createMsgClientImpl = (rpc: TxRpc) => {
export const createClientImpl = (rpc: TxRpc) => {
return new MsgClientImpl(rpc);
};
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ export class MsgClientImpl implements Msg {
}));
};
}
export const createMsgClientImpl = (rpc: TxRpc) => {
export const createClientImpl = (rpc: TxRpc) => {
return new MsgClientImpl(rpc);
};
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,6 @@ export class MsgClientImpl implements Msg {
}));
};
}
export const createMsgClientImpl = (rpc: TxRpc) => {
export const createClientImpl = (rpc: TxRpc) => {
return new MsgClientImpl(rpc);
};
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ export class MsgClientImpl implements Msg {
}));
};
}
export const createMsgClientImpl = (rpc: TxRpc) => {
export const createClientImpl = (rpc: TxRpc) => {
return new MsgClientImpl(rpc);
};
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ export class MsgClientImpl implements Msg {
}));
};
}
export const createMsgClientImpl = (rpc: TxRpc) => {
export const createClientImpl = (rpc: TxRpc) => {
return new MsgClientImpl(rpc);
};
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,6 @@ export class MsgClientImpl implements Msg {
}));
};
}
export const createMsgClientImpl = (rpc: TxRpc) => {
export const createClientImpl = (rpc: TxRpc) => {
return new MsgClientImpl(rpc);
};
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,6 @@ export class MsgClientImpl implements Msg {
}));
};
}
export const createMsgClientImpl = (rpc: TxRpc) => {
export const createClientImpl = (rpc: TxRpc) => {
return new MsgClientImpl(rpc);
};
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,6 @@ export class MsgClientImpl implements Msg {
}));
};
}
export const createMsgClientImpl = (rpc: TxRpc) => {
export const createClientImpl = (rpc: TxRpc) => {
return new MsgClientImpl(rpc);
};
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ export class MsgClientImpl implements Msg {
}));
};
}
export const createMsgClientImpl = (rpc: TxRpc) => {
export const createClientImpl = (rpc: TxRpc) => {
return new MsgClientImpl(rpc);
};
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ export class MsgClientImpl implements Msg {
}));
};
}
export const createMsgClientImpl = (rpc: TxRpc) => {
export const createClientImpl = (rpc: TxRpc) => {
return new MsgClientImpl(rpc);
};
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,6 @@ export class MsgClientImpl implements Msg {
}));
};
}
export const createMsgClientImpl = (rpc: TxRpc) => {
export const createClientImpl = (rpc: TxRpc) => {
return new MsgClientImpl(rpc);
};
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ export class MsgClientImpl implements Msg {
}));
};
}
export const createMsgClientImpl = (rpc: TxRpc) => {
export const createClientImpl = (rpc: TxRpc) => {
return new MsgClientImpl(rpc);
};
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@ export class MsgClientImpl implements Msg {
}));
};
}
export const createMsgClientImpl = (rpc: TxRpc) => {
export const createClientImpl = (rpc: TxRpc) => {
return new MsgClientImpl(rpc);
};
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,6 @@ export class MsgClientImpl implements Msg {
}));
};
}
export const createMsgClientImpl = (rpc: TxRpc) => {
export const createClientImpl = (rpc: TxRpc) => {
return new MsgClientImpl(rpc);
};
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ export class MsgClientImpl implements Msg {
}));
};
}
export const createMsgClientImpl = (rpc: TxRpc) => {
export const createClientImpl = (rpc: TxRpc) => {
return new MsgClientImpl(rpc);
};
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@ export class MsgClientImpl implements Msg {
}));
};
}
export const createMsgClientImpl = (rpc: TxRpc) => {
export const createClientImpl = (rpc: TxRpc) => {
return new MsgClientImpl(rpc);
};
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ export class MsgClientImpl implements Msg {
}));
};
}
export const createMsgClientImpl = (rpc: TxRpc) => {
export const createClientImpl = (rpc: TxRpc) => {
return new MsgClientImpl(rpc);
};
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ export class MsgClientImpl implements Msg {
}));
};
}
export const createMsgClientImpl = (rpc: TxRpc) => {
export const createClientImpl = (rpc: TxRpc) => {
return new MsgClientImpl(rpc);
};
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,6 @@ export class MsgClientImpl implements Msg {
}));
};
}
export const createMsgClientImpl = (rpc: TxRpc) => {
export const createClientImpl = (rpc: TxRpc) => {
return new MsgClientImpl(rpc);
};
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,6 @@ export class MsgClientImpl implements Msg {
}));
};
}
export const createMsgClientImpl = (rpc: TxRpc) => {
export const createClientImpl = (rpc: TxRpc) => {
return new MsgClientImpl(rpc);
};
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,6 @@ export class MsgClientImpl implements Msg {
}));
};
}
export const createMsgClientImpl = (rpc: TxRpc) => {
export const createClientImpl = (rpc: TxRpc) => {
return new MsgClientImpl(rpc);
};
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ export class MsgClientImpl implements Msg {
}));
};
}
export const createMsgClientImpl = (rpc: TxRpc) => {
export const createClientImpl = (rpc: TxRpc) => {
return new MsgClientImpl(rpc);
};
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ export class MsgClientImpl implements Msg {
}));
};
}
export const createMsgClientImpl = (rpc: TxRpc) => {
export const createClientImpl = (rpc: TxRpc) => {
return new MsgClientImpl(rpc);
};
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,6 @@ export class MsgClientImpl implements Msg {
}));
};
}
export const createMsgClientImpl = (rpc: TxRpc) => {
export const createClientImpl = (rpc: TxRpc) => {
return new MsgClientImpl(rpc);
};
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ export class MsgClientImpl implements Msg {
}));
};
}
export const createMsgClientImpl = (rpc: TxRpc) => {
export const createClientImpl = (rpc: TxRpc) => {
return new MsgClientImpl(rpc);
};
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,6 @@ export class MsgClientImpl implements Msg {
}));
};
}
export const createMsgClientImpl = (rpc: TxRpc) => {
export const createClientImpl = (rpc: TxRpc) => {
return new MsgClientImpl(rpc);
};
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,6 @@ export class MsgClientImpl implements Msg {
}));
};
}
export const createMsgClientImpl = (rpc: TxRpc) => {
export const createClientImpl = (rpc: TxRpc) => {
return new MsgClientImpl(rpc);
};
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,6 @@ export class MsgClientImpl implements Msg {
}));
};
}
export const createMsgClientImpl = (rpc: TxRpc) => {
export const createClientImpl = (rpc: TxRpc) => {
return new MsgClientImpl(rpc);
};
8 changes: 4 additions & 4 deletions __fixtures__/v-next/outputinstantrpc/service-ops.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ export class CosmosAuthAccount {
this.deposit = _CosmosGovV1beta1Queryrpc.createClientImpl(rpc).deposit;
this.deposits = _CosmosGovV1beta1Queryrpc.createClientImpl(rpc).deposits;
this.tallyResult = _CosmosGovV1beta1Queryrpc.createClientImpl(rpc).tallyResult;
this.submitProposal = _CosmosGovV1beta1Txrpc.createMsgClientImpl(rpc).submitProposal;
this.txVote = _CosmosGovV1beta1Txrpc.createMsgClientImpl(rpc).vote;
this.voteWeighted = _CosmosGovV1beta1Txrpc.createMsgClientImpl(rpc).voteWeighted;
this.txDeposit = _CosmosGovV1beta1Txrpc.createMsgClientImpl(rpc).deposit;
this.submitProposal = _CosmosGovV1beta1Txrpc.createClientImpl(rpc).submitProposal;
this.txVote = _CosmosGovV1beta1Txrpc.createClientImpl(rpc).vote;
this.voteWeighted = _CosmosGovV1beta1Txrpc.createClientImpl(rpc).voteWeighted;
this.txDeposit = _CosmosGovV1beta1Txrpc.createClientImpl(rpc).deposit;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ export class MsgClientImpl implements Msg {
return promise.then(data => MsgDeleteProviderAttributesResponse.decode(new BinaryReader(data)));
};
}
export const createMsgClientImpl = (rpc: Rpc) => {
export const createClientImpl = (rpc: Rpc) => {
return new MsgClientImpl(rpc);
};
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ export class MsgClientImpl implements Msg {
return promise.then(data => MsgDeleteProviderAttributesResponse.decode(new BinaryReader(data)));
};
}
export const createMsgClientImpl = (rpc: Rpc) => {
export const createClientImpl = (rpc: Rpc) => {
return new MsgClientImpl(rpc);
};
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ export class MsgClientImpl implements Msg {
return promise.then(data => MsgRevokeCertificateResponse.decode(new BinaryReader(data)));
};
}
export const createMsgClientImpl = (rpc: Rpc) => {
export const createClientImpl = (rpc: Rpc) => {
return new MsgClientImpl(rpc);
};
Original file line number Diff line number Diff line change
Expand Up @@ -1387,6 +1387,6 @@ export class MsgClientImpl implements Msg {
return promise.then(data => MsgStartGroupResponse.decode(new BinaryReader(data)));
};
}
export const createMsgClientImpl = (rpc: Rpc) => {
export const createClientImpl = (rpc: Rpc) => {
return new MsgClientImpl(rpc);
};
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,6 @@ export class MsgClientImpl implements Msg {
return promise.then(data => MsgStartGroupResponse.decode(new BinaryReader(data)));
};
}
export const createMsgClientImpl = (rpc: Rpc) => {
export const createClientImpl = (rpc: Rpc) => {
return new MsgClientImpl(rpc);
};
Loading

0 comments on commit f6adc99

Please sign in to comment.