Skip to content

Commit 37e9715

Browse files
authored
Merge pull request #125 from hyperweb-io/upgrade-telescope-1.12.9
upgrade telescope to 1.12.12
2 parents 57a2855 + b169424 commit 37e9715

File tree

808 files changed

+11841
-405
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

808 files changed

+11841
-405
lines changed

libs/cosmos-types/src/binary.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* This file and any referenced files were automatically generated by @cosmology/[email protected].9
2+
* This file and any referenced files were automatically generated by @cosmology/[email protected].12
33
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
44
* and run the transpile command or npm scripts command that is used to regenerate this bundle.
55
*/

libs/cosmos-types/src/extern.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* This file and any referenced files were automatically generated by @cosmology/[email protected].9
2+
* This file and any referenced files were automatically generated by @cosmology/[email protected].12
33
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
44
* and run the transpile command or npm scripts command that is used to regenerate this bundle.
55
*/

libs/cosmos-types/src/helper-func-types.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* This file and any referenced files were automatically generated by @cosmology/[email protected].9
2+
* This file and any referenced files were automatically generated by @cosmology/[email protected].12
33
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
44
* and run the transpile command or npm scripts command that is used to regenerate this bundle.
55
*/

libs/cosmos-types/src/helpers.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* This file and any referenced files were automatically generated by @cosmology/[email protected].9
2+
* This file and any referenced files were automatically generated by @cosmology/[email protected].12
33
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
44
* and run the transpile command or npm scripts command that is used to regenerate this bundle.
55
*/

libs/cosmos-types/src/types.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* This file and any referenced files were automatically generated by @cosmology/[email protected].9
2+
* This file and any referenced files were automatically generated by @cosmology/[email protected].12
33
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
44
* and run the transpile command or npm scripts command that is used to regenerate this bundle.
55
*/

libs/cosmos-types/src/utf8.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* This file and any referenced files were automatically generated by @cosmology/[email protected].9
2+
* This file and any referenced files were automatically generated by @cosmology/[email protected].12
33
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
44
* and run the transpile command or npm scripts command that is used to regenerate this bundle.
55
*/

libs/cosmos-types/src/varint.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* This file and any referenced files were automatically generated by @cosmology/[email protected].9
2+
* This file and any referenced files were automatically generated by @cosmology/[email protected].12
33
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
44
* and run the transpile command or npm scripts command that is used to regenerate this bundle.
55
*/

libs/injective-react/src/binary.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* This file and any referenced files were automatically generated by @cosmology/[email protected].9
2+
* This file and any referenced files were automatically generated by @cosmology/[email protected].12
33
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
44
* and run the transpile command or npm scripts command that is used to regenerate this bundle.
55
*/

libs/injective-react/src/cosmos/auth/v1beta1/auth.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ export const BaseAccount = {
224224
};
225225
},
226226
registerTypeUrl() {
227-
if (GlobalDecoderRegistry.getDecoder(BaseAccount.typeUrl)) {
227+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(BaseAccount.typeUrl)) {
228228
return;
229229
}
230230
GlobalDecoderRegistry.register(BaseAccount.typeUrl, BaseAccount);
@@ -333,7 +333,7 @@ export const ModuleAccount = {
333333
};
334334
},
335335
registerTypeUrl() {
336-
if (GlobalDecoderRegistry.getDecoder(ModuleAccount.typeUrl)) {
336+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(ModuleAccount.typeUrl)) {
337337
return;
338338
}
339339
GlobalDecoderRegistry.register(ModuleAccount.typeUrl, ModuleAccount);

libs/injective-react/src/cosmos/auth/v1beta1/query.ts

+21
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,9 @@ export const QueryAccountsRequest = {
559559
};
560560
},
561561
registerTypeUrl() {
562+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(QueryAccountsRequest.typeUrl)) {
563+
return;
564+
}
562565
PageRequest.registerTypeUrl();
563566
}
564567
};
@@ -652,6 +655,9 @@ export const QueryAccountsResponse = {
652655
};
653656
},
654657
registerTypeUrl() {
658+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(QueryAccountsResponse.typeUrl)) {
659+
return;
660+
}
655661
BaseAccount.registerTypeUrl();
656662
EthAccount.registerTypeUrl();
657663
PageResponse.registerTypeUrl();
@@ -810,6 +816,9 @@ export const QueryAccountResponse = {
810816
};
811817
},
812818
registerTypeUrl() {
819+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(QueryAccountResponse.typeUrl)) {
820+
return;
821+
}
813822
BaseAccount.registerTypeUrl();
814823
EthAccount.registerTypeUrl();
815824
}
@@ -954,6 +963,9 @@ export const QueryParamsResponse = {
954963
};
955964
},
956965
registerTypeUrl() {
966+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(QueryParamsResponse.typeUrl)) {
967+
return;
968+
}
957969
Params.registerTypeUrl();
958970
}
959971
};
@@ -1099,6 +1111,9 @@ export const QueryModuleAccountsResponse = {
10991111
};
11001112
},
11011113
registerTypeUrl() {
1114+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(QueryModuleAccountsResponse.typeUrl)) {
1115+
return;
1116+
}
11021117
ModuleAccount.registerTypeUrl();
11031118
}
11041119
};
@@ -1255,6 +1270,9 @@ export const QueryModuleAccountByNameResponse = {
12551270
};
12561271
},
12571272
registerTypeUrl() {
1273+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(QueryModuleAccountByNameResponse.typeUrl)) {
1274+
return;
1275+
}
12581276
ModuleAccount.registerTypeUrl();
12591277
}
12601278
};
@@ -2026,6 +2044,9 @@ export const QueryAccountInfoResponse = {
20262044
};
20272045
},
20282046
registerTypeUrl() {
2047+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(QueryAccountInfoResponse.typeUrl)) {
2048+
return;
2049+
}
20292050
BaseAccount.registerTypeUrl();
20302051
}
20312052
};

libs/injective-react/src/cosmos/authz/v1beta1/authz.ts

+7-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ export const GenericAuthorization = {
189189
};
190190
},
191191
registerTypeUrl() {
192-
if (GlobalDecoderRegistry.getDecoder(GenericAuthorization.typeUrl)) {
192+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(GenericAuthorization.typeUrl)) {
193193
return;
194194
}
195195
GlobalDecoderRegistry.register(GenericAuthorization.typeUrl, GenericAuthorization);
@@ -284,6 +284,9 @@ export const Grant = {
284284
};
285285
},
286286
registerTypeUrl() {
287+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(Grant.typeUrl)) {
288+
return;
289+
}
287290
GenericAuthorization.registerTypeUrl();
288291
}
289292
};
@@ -399,6 +402,9 @@ export const GrantAuthorization = {
399402
};
400403
},
401404
registerTypeUrl() {
405+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(GrantAuthorization.typeUrl)) {
406+
return;
407+
}
402408
GenericAuthorization.registerTypeUrl();
403409
}
404410
};

libs/injective-react/src/cosmos/authz/v1beta1/tx.ts

+3
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,9 @@ export const MsgGrant = {
239239
};
240240
},
241241
registerTypeUrl() {
242+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(MsgGrant.typeUrl)) {
243+
return;
244+
}
242245
Grant.registerTypeUrl();
243246
}
244247
};

libs/injective-react/src/cosmos/bank/v1beta1/bank.ts

+13-1
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,9 @@ export const Params = {
348348
};
349349
},
350350
registerTypeUrl() {
351+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(Params.typeUrl)) {
352+
return;
353+
}
351354
SendEnabled.registerTypeUrl();
352355
}
353356
};
@@ -530,6 +533,9 @@ export const Input = {
530533
};
531534
},
532535
registerTypeUrl() {
536+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(Input.typeUrl)) {
537+
return;
538+
}
533539
Coin.registerTypeUrl();
534540
}
535541
};
@@ -623,6 +629,9 @@ export const Output = {
623629
};
624630
},
625631
registerTypeUrl() {
632+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(Output.typeUrl)) {
633+
return;
634+
}
626635
Coin.registerTypeUrl();
627636
}
628637
};
@@ -704,7 +713,7 @@ export const Supply = {
704713
};
705714
},
706715
registerTypeUrl() {
707-
if (GlobalDecoderRegistry.getDecoder(Supply.typeUrl)) {
716+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(Supply.typeUrl)) {
708717
return;
709718
}
710719
GlobalDecoderRegistry.register(Supply.typeUrl, Supply);
@@ -977,6 +986,9 @@ export const Metadata = {
977986
};
978987
},
979988
registerTypeUrl() {
989+
if (!GlobalDecoderRegistry.registerExistingTypeUrl(Metadata.typeUrl)) {
990+
return;
991+
}
980992
DenomUnit.registerTypeUrl();
981993
}
982994
};

0 commit comments

Comments
 (0)