Skip to content

Commit 9cb5de4

Browse files
committed
rename getTx getTxsEvent getBlockWithTxs
1 parent 90c24cd commit 9cb5de4

File tree

12 files changed

+63
-50
lines changed

12 files changed

+63
-50
lines changed

libs/cosmos-types/src/cosmos/tx/v1beta1/service.rpc.func.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export const getSimulate = buildQuery<SimulateRequest, SimulateResponse>({
66
service: "cosmos.tx.v1beta1.Service",
77
method: "Simulate"
88
});
9-
export const getGetTx = buildQuery<GetTxRequest, GetTxResponse>({
9+
export const getTx = buildQuery<GetTxRequest, GetTxResponse>({
1010
encode: GetTxRequest.encode,
1111
decode: GetTxResponse.decode,
1212
service: "cosmos.tx.v1beta1.Service",
@@ -18,13 +18,13 @@ export const getBroadcastTx = buildQuery<BroadcastTxRequest, BroadcastTxResponse
1818
service: "cosmos.tx.v1beta1.Service",
1919
method: "BroadcastTx"
2020
});
21-
export const getGetTxsEvent = buildQuery<GetTxsEventRequest, GetTxsEventResponse>({
21+
export const getTxsEvent = buildQuery<GetTxsEventRequest, GetTxsEventResponse>({
2222
encode: GetTxsEventRequest.encode,
2323
decode: GetTxsEventResponse.decode,
2424
service: "cosmos.tx.v1beta1.Service",
2525
method: "GetTxsEvent"
2626
});
27-
export const getGetBlockWithTxs = buildQuery<GetBlockWithTxsRequest, GetBlockWithTxsResponse>({
27+
export const getBlockWithTxs = buildQuery<GetBlockWithTxsRequest, GetBlockWithTxsResponse>({
2828
encode: GetBlockWithTxsRequest.encode,
2929
decode: GetBlockWithTxsResponse.decode,
3030
service: "cosmos.tx.v1beta1.Service",

libs/injective-react/src/cosmos/tx/v1beta1/service.rpc.func.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const getSimulate = buildQuery<SimulateRequest, SimulateResponse>({
77
method: "Simulate",
88
deps: [SimulateRequest, SimulateResponse]
99
});
10-
export const getGetTx = buildQuery<GetTxRequest, GetTxResponse>({
10+
export const getTx = buildQuery<GetTxRequest, GetTxResponse>({
1111
encode: GetTxRequest.encode,
1212
decode: GetTxResponse.decode,
1313
service: "cosmos.tx.v1beta1.Service",
@@ -21,14 +21,14 @@ export const getBroadcastTx = buildQuery<BroadcastTxRequest, BroadcastTxResponse
2121
method: "BroadcastTx",
2222
deps: [BroadcastTxRequest, BroadcastTxResponse]
2323
});
24-
export const getGetTxsEvent = buildQuery<GetTxsEventRequest, GetTxsEventResponse>({
24+
export const getTxsEvent = buildQuery<GetTxsEventRequest, GetTxsEventResponse>({
2525
encode: GetTxsEventRequest.encode,
2626
decode: GetTxsEventResponse.decode,
2727
service: "cosmos.tx.v1beta1.Service",
2828
method: "GetTxsEvent",
2929
deps: [GetTxsEventRequest, GetTxsEventResponse]
3030
});
31-
export const getGetBlockWithTxs = buildQuery<GetBlockWithTxsRequest, GetBlockWithTxsResponse>({
31+
export const getBlockWithTxs = buildQuery<GetBlockWithTxsRequest, GetBlockWithTxsResponse>({
3232
encode: GetBlockWithTxsRequest.encode,
3333
decode: GetBlockWithTxsResponse.decode,
3434
service: "cosmos.tx.v1beta1.Service",

libs/injective-react/src/cosmos/tx/v1beta1/service.rpc.react.ts

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
import { buildUseQuery } from "../../../react-query";
22
import { SimulateRequest, SimulateResponse, GetTxRequest, GetTxResponse, BroadcastTxRequest, BroadcastTxResponse, GetTxsEventRequest, GetTxsEventResponse, GetBlockWithTxsRequest, GetBlockWithTxsResponse, TxDecodeRequest, TxDecodeResponse, TxEncodeRequest, TxEncodeResponse, TxEncodeAminoRequest, TxEncodeAminoResponse, TxDecodeAminoRequest, TxDecodeAminoResponse } from "./service";
3-
import { getSimulate, getGetTx, getBroadcastTx, getGetTxsEvent, getGetBlockWithTxs, getTxDecode, getTxEncode, getTxEncodeAmino, getTxDecodeAmino } from "./service.rpc.func";
3+
import { getSimulate, getTx, getBroadcastTx, getTxsEvent, getBlockWithTxs, getTxDecode, getTxEncode, getTxEncodeAmino, getTxDecodeAmino } from "./service.rpc.func";
44
export const useGetSimulate = buildUseQuery<SimulateRequest, SimulateResponse>({
55
builderQueryFn: getSimulate,
66
queryKeyPrefix: "SimulateQuery"
77
});
8-
export const useGetGetTx = buildUseQuery<GetTxRequest, GetTxResponse>({
9-
builderQueryFn: getGetTx,
8+
export const useGetTx = buildUseQuery<GetTxRequest, GetTxResponse>({
9+
builderQueryFn: getTx,
1010
queryKeyPrefix: "GetTxQuery"
1111
});
1212
export const useGetBroadcastTx = buildUseQuery<BroadcastTxRequest, BroadcastTxResponse>({
1313
builderQueryFn: getBroadcastTx,
1414
queryKeyPrefix: "BroadcastTxQuery"
1515
});
16-
export const useGetGetTxsEvent = buildUseQuery<GetTxsEventRequest, GetTxsEventResponse>({
17-
builderQueryFn: getGetTxsEvent,
16+
export const useGetTxsEvent = buildUseQuery<GetTxsEventRequest, GetTxsEventResponse>({
17+
builderQueryFn: getTxsEvent,
1818
queryKeyPrefix: "GetTxsEventQuery"
1919
});
20-
export const useGetGetBlockWithTxs = buildUseQuery<GetBlockWithTxsRequest, GetBlockWithTxsResponse>({
21-
builderQueryFn: getGetBlockWithTxs,
20+
export const useGetBlockWithTxs = buildUseQuery<GetBlockWithTxsRequest, GetBlockWithTxsResponse>({
21+
builderQueryFn: getBlockWithTxs,
2222
queryKeyPrefix: "GetBlockWithTxsQuery"
2323
});
2424
export const useGetTxDecode = buildUseQuery<TxDecodeRequest, TxDecodeResponse>({

libs/injective-vue/src/cosmos/tx/v1beta1/service.rpc.func.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const getSimulate = buildQuery<SimulateRequest, SimulateResponse>({
77
method: "Simulate",
88
deps: [SimulateRequest, SimulateResponse]
99
});
10-
export const getGetTx = buildQuery<GetTxRequest, GetTxResponse>({
10+
export const getTx = buildQuery<GetTxRequest, GetTxResponse>({
1111
encode: GetTxRequest.encode,
1212
decode: GetTxResponse.decode,
1313
service: "cosmos.tx.v1beta1.Service",
@@ -21,14 +21,14 @@ export const getBroadcastTx = buildQuery<BroadcastTxRequest, BroadcastTxResponse
2121
method: "BroadcastTx",
2222
deps: [BroadcastTxRequest, BroadcastTxResponse]
2323
});
24-
export const getGetTxsEvent = buildQuery<GetTxsEventRequest, GetTxsEventResponse>({
24+
export const getTxsEvent = buildQuery<GetTxsEventRequest, GetTxsEventResponse>({
2525
encode: GetTxsEventRequest.encode,
2626
decode: GetTxsEventResponse.decode,
2727
service: "cosmos.tx.v1beta1.Service",
2828
method: "GetTxsEvent",
2929
deps: [GetTxsEventRequest, GetTxsEventResponse]
3030
});
31-
export const getGetBlockWithTxs = buildQuery<GetBlockWithTxsRequest, GetBlockWithTxsResponse>({
31+
export const getBlockWithTxs = buildQuery<GetBlockWithTxsRequest, GetBlockWithTxsResponse>({
3232
encode: GetBlockWithTxsRequest.encode,
3333
decode: GetBlockWithTxsResponse.decode,
3434
service: "cosmos.tx.v1beta1.Service",

libs/injective-vue/src/cosmos/tx/v1beta1/service.rpc.vue.ts

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
import { buildUseVueQuery } from "../../../vue-query";
22
import { SimulateRequest, SimulateResponse, GetTxRequest, GetTxResponse, BroadcastTxRequest, BroadcastTxResponse, GetTxsEventRequest, GetTxsEventResponse, GetBlockWithTxsRequest, GetBlockWithTxsResponse, TxDecodeRequest, TxDecodeResponse, TxEncodeRequest, TxEncodeResponse, TxEncodeAminoRequest, TxEncodeAminoResponse, TxDecodeAminoRequest, TxDecodeAminoResponse } from "./service";
3-
import { getSimulate, getGetTx, getBroadcastTx, getGetTxsEvent, getGetBlockWithTxs, getTxDecode, getTxEncode, getTxEncodeAmino, getTxDecodeAmino } from "./service.rpc.func";
3+
import { getSimulate, getTx, getBroadcastTx, getTxsEvent, getBlockWithTxs, getTxDecode, getTxEncode, getTxEncodeAmino, getTxDecodeAmino } from "./service.rpc.func";
44
export const useGetSimulate = buildUseVueQuery<SimulateRequest, SimulateResponse>({
55
builderQueryFn: getSimulate,
66
queryKeyPrefix: "SimulateQuery"
77
});
8-
export const useGetGetTx = buildUseVueQuery<GetTxRequest, GetTxResponse>({
9-
builderQueryFn: getGetTx,
8+
export const useGetTx = buildUseVueQuery<GetTxRequest, GetTxResponse>({
9+
builderQueryFn: getTx,
1010
queryKeyPrefix: "GetTxQuery"
1111
});
1212
export const useGetBroadcastTx = buildUseVueQuery<BroadcastTxRequest, BroadcastTxResponse>({
1313
builderQueryFn: getBroadcastTx,
1414
queryKeyPrefix: "BroadcastTxQuery"
1515
});
16-
export const useGetGetTxsEvent = buildUseVueQuery<GetTxsEventRequest, GetTxsEventResponse>({
17-
builderQueryFn: getGetTxsEvent,
16+
export const useGetTxsEvent = buildUseVueQuery<GetTxsEventRequest, GetTxsEventResponse>({
17+
builderQueryFn: getTxsEvent,
1818
queryKeyPrefix: "GetTxsEventQuery"
1919
});
20-
export const useGetGetBlockWithTxs = buildUseVueQuery<GetBlockWithTxsRequest, GetBlockWithTxsResponse>({
21-
builderQueryFn: getGetBlockWithTxs,
20+
export const useGetBlockWithTxs = buildUseVueQuery<GetBlockWithTxsRequest, GetBlockWithTxsResponse>({
21+
builderQueryFn: getBlockWithTxs,
2222
queryKeyPrefix: "GetBlockWithTxsQuery"
2323
});
2424
export const useGetTxDecode = buildUseVueQuery<TxDecodeRequest, TxDecodeResponse>({

libs/injectivejs/src/cosmos/tx/v1beta1/service.rpc.func.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const getSimulate = buildQuery<SimulateRequest, SimulateResponse>({
77
method: "Simulate",
88
deps: [SimulateRequest, SimulateResponse]
99
});
10-
export const getGetTx = buildQuery<GetTxRequest, GetTxResponse>({
10+
export const getTx = buildQuery<GetTxRequest, GetTxResponse>({
1111
encode: GetTxRequest.encode,
1212
decode: GetTxResponse.decode,
1313
service: "cosmos.tx.v1beta1.Service",
@@ -21,14 +21,14 @@ export const getBroadcastTx = buildQuery<BroadcastTxRequest, BroadcastTxResponse
2121
method: "BroadcastTx",
2222
deps: [BroadcastTxRequest, BroadcastTxResponse]
2323
});
24-
export const getGetTxsEvent = buildQuery<GetTxsEventRequest, GetTxsEventResponse>({
24+
export const getTxsEvent = buildQuery<GetTxsEventRequest, GetTxsEventResponse>({
2525
encode: GetTxsEventRequest.encode,
2626
decode: GetTxsEventResponse.decode,
2727
service: "cosmos.tx.v1beta1.Service",
2828
method: "GetTxsEvent",
2929
deps: [GetTxsEventRequest, GetTxsEventResponse]
3030
});
31-
export const getGetBlockWithTxs = buildQuery<GetBlockWithTxsRequest, GetBlockWithTxsResponse>({
31+
export const getBlockWithTxs = buildQuery<GetBlockWithTxsRequest, GetBlockWithTxsResponse>({
3232
encode: GetBlockWithTxsRequest.encode,
3333
decode: GetBlockWithTxsResponse.decode,
3434
service: "cosmos.tx.v1beta1.Service",

libs/interchain-react/src/cosmos/tx/v1beta1/service.rpc.func.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const getSimulate = buildQuery<SimulateRequest, SimulateResponse>({
77
method: "Simulate",
88
deps: [SimulateRequest, SimulateResponse]
99
});
10-
export const getGetTx = buildQuery<GetTxRequest, GetTxResponse>({
10+
export const getTx = buildQuery<GetTxRequest, GetTxResponse>({
1111
encode: GetTxRequest.encode,
1212
decode: GetTxResponse.decode,
1313
service: "cosmos.tx.v1beta1.Service",
@@ -21,14 +21,14 @@ export const getBroadcastTx = buildQuery<BroadcastTxRequest, BroadcastTxResponse
2121
method: "BroadcastTx",
2222
deps: [BroadcastTxRequest, BroadcastTxResponse]
2323
});
24-
export const getGetTxsEvent = buildQuery<GetTxsEventRequest, GetTxsEventResponse>({
24+
export const getTxsEvent = buildQuery<GetTxsEventRequest, GetTxsEventResponse>({
2525
encode: GetTxsEventRequest.encode,
2626
decode: GetTxsEventResponse.decode,
2727
service: "cosmos.tx.v1beta1.Service",
2828
method: "GetTxsEvent",
2929
deps: [GetTxsEventRequest, GetTxsEventResponse]
3030
});
31-
export const getGetBlockWithTxs = buildQuery<GetBlockWithTxsRequest, GetBlockWithTxsResponse>({
31+
export const getBlockWithTxs = buildQuery<GetBlockWithTxsRequest, GetBlockWithTxsResponse>({
3232
encode: GetBlockWithTxsRequest.encode,
3333
decode: GetBlockWithTxsResponse.decode,
3434
service: "cosmos.tx.v1beta1.Service",

libs/interchain-react/src/cosmos/tx/v1beta1/service.rpc.react.ts

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
import { buildUseQuery } from "../../../react-query";
22
import { SimulateRequest, SimulateResponse, GetTxRequest, GetTxResponse, BroadcastTxRequest, BroadcastTxResponse, GetTxsEventRequest, GetTxsEventResponse, GetBlockWithTxsRequest, GetBlockWithTxsResponse, TxDecodeRequest, TxDecodeResponse, TxEncodeRequest, TxEncodeResponse, TxEncodeAminoRequest, TxEncodeAminoResponse, TxDecodeAminoRequest, TxDecodeAminoResponse } from "./service";
3-
import { getSimulate, getGetTx, getBroadcastTx, getGetTxsEvent, getGetBlockWithTxs, getTxDecode, getTxEncode, getTxEncodeAmino, getTxDecodeAmino } from "./service.rpc.func";
3+
import { getSimulate, getTx, getBroadcastTx, getTxsEvent, getBlockWithTxs, getTxDecode, getTxEncode, getTxEncodeAmino, getTxDecodeAmino } from "./service.rpc.func";
44
export const useGetSimulate = buildUseQuery<SimulateRequest, SimulateResponse>({
55
builderQueryFn: getSimulate,
66
queryKeyPrefix: "SimulateQuery"
77
});
8-
export const useGetGetTx = buildUseQuery<GetTxRequest, GetTxResponse>({
9-
builderQueryFn: getGetTx,
8+
export const useGetTx = buildUseQuery<GetTxRequest, GetTxResponse>({
9+
builderQueryFn: getTx,
1010
queryKeyPrefix: "GetTxQuery"
1111
});
1212
export const useGetBroadcastTx = buildUseQuery<BroadcastTxRequest, BroadcastTxResponse>({
1313
builderQueryFn: getBroadcastTx,
1414
queryKeyPrefix: "BroadcastTxQuery"
1515
});
16-
export const useGetGetTxsEvent = buildUseQuery<GetTxsEventRequest, GetTxsEventResponse>({
17-
builderQueryFn: getGetTxsEvent,
16+
export const useGetTxsEvent = buildUseQuery<GetTxsEventRequest, GetTxsEventResponse>({
17+
builderQueryFn: getTxsEvent,
1818
queryKeyPrefix: "GetTxsEventQuery"
1919
});
20-
export const useGetGetBlockWithTxs = buildUseQuery<GetBlockWithTxsRequest, GetBlockWithTxsResponse>({
21-
builderQueryFn: getGetBlockWithTxs,
20+
export const useGetBlockWithTxs = buildUseQuery<GetBlockWithTxsRequest, GetBlockWithTxsResponse>({
21+
builderQueryFn: getBlockWithTxs,
2222
queryKeyPrefix: "GetBlockWithTxsQuery"
2323
});
2424
export const useGetTxDecode = buildUseQuery<TxDecodeRequest, TxDecodeResponse>({

libs/interchain-vue/src/cosmos/tx/v1beta1/service.rpc.func.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const getSimulate = buildQuery<SimulateRequest, SimulateResponse>({
77
method: "Simulate",
88
deps: [SimulateRequest, SimulateResponse]
99
});
10-
export const getGetTx = buildQuery<GetTxRequest, GetTxResponse>({
10+
export const getTx = buildQuery<GetTxRequest, GetTxResponse>({
1111
encode: GetTxRequest.encode,
1212
decode: GetTxResponse.decode,
1313
service: "cosmos.tx.v1beta1.Service",
@@ -21,14 +21,14 @@ export const getBroadcastTx = buildQuery<BroadcastTxRequest, BroadcastTxResponse
2121
method: "BroadcastTx",
2222
deps: [BroadcastTxRequest, BroadcastTxResponse]
2323
});
24-
export const getGetTxsEvent = buildQuery<GetTxsEventRequest, GetTxsEventResponse>({
24+
export const getTxsEvent = buildQuery<GetTxsEventRequest, GetTxsEventResponse>({
2525
encode: GetTxsEventRequest.encode,
2626
decode: GetTxsEventResponse.decode,
2727
service: "cosmos.tx.v1beta1.Service",
2828
method: "GetTxsEvent",
2929
deps: [GetTxsEventRequest, GetTxsEventResponse]
3030
});
31-
export const getGetBlockWithTxs = buildQuery<GetBlockWithTxsRequest, GetBlockWithTxsResponse>({
31+
export const getBlockWithTxs = buildQuery<GetBlockWithTxsRequest, GetBlockWithTxsResponse>({
3232
encode: GetBlockWithTxsRequest.encode,
3333
decode: GetBlockWithTxsResponse.decode,
3434
service: "cosmos.tx.v1beta1.Service",

libs/interchain-vue/src/cosmos/tx/v1beta1/service.rpc.vue.ts

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
import { buildUseVueQuery } from "../../../vue-query";
22
import { SimulateRequest, SimulateResponse, GetTxRequest, GetTxResponse, BroadcastTxRequest, BroadcastTxResponse, GetTxsEventRequest, GetTxsEventResponse, GetBlockWithTxsRequest, GetBlockWithTxsResponse, TxDecodeRequest, TxDecodeResponse, TxEncodeRequest, TxEncodeResponse, TxEncodeAminoRequest, TxEncodeAminoResponse, TxDecodeAminoRequest, TxDecodeAminoResponse } from "./service";
3-
import { getSimulate, getGetTx, getBroadcastTx, getGetTxsEvent, getGetBlockWithTxs, getTxDecode, getTxEncode, getTxEncodeAmino, getTxDecodeAmino } from "./service.rpc.func";
3+
import { getSimulate, getTx, getBroadcastTx, getTxsEvent, getBlockWithTxs, getTxDecode, getTxEncode, getTxEncodeAmino, getTxDecodeAmino } from "./service.rpc.func";
44
export const useGetSimulate = buildUseVueQuery<SimulateRequest, SimulateResponse>({
55
builderQueryFn: getSimulate,
66
queryKeyPrefix: "SimulateQuery"
77
});
8-
export const useGetGetTx = buildUseVueQuery<GetTxRequest, GetTxResponse>({
9-
builderQueryFn: getGetTx,
8+
export const useGetTx = buildUseVueQuery<GetTxRequest, GetTxResponse>({
9+
builderQueryFn: getTx,
1010
queryKeyPrefix: "GetTxQuery"
1111
});
1212
export const useGetBroadcastTx = buildUseVueQuery<BroadcastTxRequest, BroadcastTxResponse>({
1313
builderQueryFn: getBroadcastTx,
1414
queryKeyPrefix: "BroadcastTxQuery"
1515
});
16-
export const useGetGetTxsEvent = buildUseVueQuery<GetTxsEventRequest, GetTxsEventResponse>({
17-
builderQueryFn: getGetTxsEvent,
16+
export const useGetTxsEvent = buildUseVueQuery<GetTxsEventRequest, GetTxsEventResponse>({
17+
builderQueryFn: getTxsEvent,
1818
queryKeyPrefix: "GetTxsEventQuery"
1919
});
20-
export const useGetGetBlockWithTxs = buildUseVueQuery<GetBlockWithTxsRequest, GetBlockWithTxsResponse>({
21-
builderQueryFn: getGetBlockWithTxs,
20+
export const useGetBlockWithTxs = buildUseVueQuery<GetBlockWithTxsRequest, GetBlockWithTxsResponse>({
21+
builderQueryFn: getBlockWithTxs,
2222
queryKeyPrefix: "GetBlockWithTxsQuery"
2323
});
2424
export const useGetTxDecode = buildUseVueQuery<TxDecodeRequest, TxDecodeResponse>({

libs/interchainjs/src/cosmos/tx/v1beta1/service.rpc.func.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const getSimulate = buildQuery<SimulateRequest, SimulateResponse>({
77
method: "Simulate",
88
deps: [SimulateRequest, SimulateResponse]
99
});
10-
export const getGetTx = buildQuery<GetTxRequest, GetTxResponse>({
10+
export const getTx = buildQuery<GetTxRequest, GetTxResponse>({
1111
encode: GetTxRequest.encode,
1212
decode: GetTxResponse.decode,
1313
service: "cosmos.tx.v1beta1.Service",
@@ -21,14 +21,14 @@ export const getBroadcastTx = buildQuery<BroadcastTxRequest, BroadcastTxResponse
2121
method: "BroadcastTx",
2222
deps: [BroadcastTxRequest, BroadcastTxResponse]
2323
});
24-
export const getGetTxsEvent = buildQuery<GetTxsEventRequest, GetTxsEventResponse>({
24+
export const getTxsEvent = buildQuery<GetTxsEventRequest, GetTxsEventResponse>({
2525
encode: GetTxsEventRequest.encode,
2626
decode: GetTxsEventResponse.decode,
2727
service: "cosmos.tx.v1beta1.Service",
2828
method: "GetTxsEvent",
2929
deps: [GetTxsEventRequest, GetTxsEventResponse]
3030
});
31-
export const getGetBlockWithTxs = buildQuery<GetBlockWithTxsRequest, GetBlockWithTxsResponse>({
31+
export const getBlockWithTxs = buildQuery<GetBlockWithTxsRequest, GetBlockWithTxsResponse>({
3232
encode: GetBlockWithTxsRequest.encode,
3333
decode: GetBlockWithTxsResponse.decode,
3434
service: "cosmos.tx.v1beta1.Service",

scripts/codegen.ts

+14-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,20 @@ export const options: TelescopeInput = {
6565
"hooks": {
6666
"react": false,
6767
"vue": false
68-
}
68+
},
69+
nameMappers: {
70+
Query: {
71+
"cosmos.tx.v1beta1.GetTx": {
72+
funcBody: "unchanged"
73+
},
74+
"cosmos.tx.v1beta1.GetTxsEvent": {
75+
funcBody: "unchanged"
76+
},
77+
"cosmos.tx.v1beta1.GetBlockWithTxs": {
78+
funcBody: "unchanged"
79+
},
80+
},
81+
},
6982
},
7083
"interfaces": {
7184
"enabled": true,

0 commit comments

Comments
 (0)