@@ -559,6 +559,9 @@ export const QueryAccountsRequest = {
559
559
} ;
560
560
} ,
561
561
registerTypeUrl ( ) {
562
+ if ( ! GlobalDecoderRegistry . registerExistingTypeUrl ( QueryAccountsRequest . typeUrl ) ) {
563
+ return ;
564
+ }
562
565
PageRequest . registerTypeUrl ( ) ;
563
566
}
564
567
} ;
@@ -652,6 +655,9 @@ export const QueryAccountsResponse = {
652
655
} ;
653
656
} ,
654
657
registerTypeUrl ( ) {
658
+ if ( ! GlobalDecoderRegistry . registerExistingTypeUrl ( QueryAccountsResponse . typeUrl ) ) {
659
+ return ;
660
+ }
655
661
BaseAccount . registerTypeUrl ( ) ;
656
662
EthAccount . registerTypeUrl ( ) ;
657
663
PageResponse . registerTypeUrl ( ) ;
@@ -810,6 +816,9 @@ export const QueryAccountResponse = {
810
816
} ;
811
817
} ,
812
818
registerTypeUrl ( ) {
819
+ if ( ! GlobalDecoderRegistry . registerExistingTypeUrl ( QueryAccountResponse . typeUrl ) ) {
820
+ return ;
821
+ }
813
822
BaseAccount . registerTypeUrl ( ) ;
814
823
EthAccount . registerTypeUrl ( ) ;
815
824
}
@@ -954,6 +963,9 @@ export const QueryParamsResponse = {
954
963
} ;
955
964
} ,
956
965
registerTypeUrl ( ) {
966
+ if ( ! GlobalDecoderRegistry . registerExistingTypeUrl ( QueryParamsResponse . typeUrl ) ) {
967
+ return ;
968
+ }
957
969
Params . registerTypeUrl ( ) ;
958
970
}
959
971
} ;
@@ -1099,6 +1111,9 @@ export const QueryModuleAccountsResponse = {
1099
1111
} ;
1100
1112
} ,
1101
1113
registerTypeUrl ( ) {
1114
+ if ( ! GlobalDecoderRegistry . registerExistingTypeUrl ( QueryModuleAccountsResponse . typeUrl ) ) {
1115
+ return ;
1116
+ }
1102
1117
ModuleAccount . registerTypeUrl ( ) ;
1103
1118
}
1104
1119
} ;
@@ -1255,6 +1270,9 @@ export const QueryModuleAccountByNameResponse = {
1255
1270
} ;
1256
1271
} ,
1257
1272
registerTypeUrl ( ) {
1273
+ if ( ! GlobalDecoderRegistry . registerExistingTypeUrl ( QueryModuleAccountByNameResponse . typeUrl ) ) {
1274
+ return ;
1275
+ }
1258
1276
ModuleAccount . registerTypeUrl ( ) ;
1259
1277
}
1260
1278
} ;
@@ -2026,6 +2044,9 @@ export const QueryAccountInfoResponse = {
2026
2044
} ;
2027
2045
} ,
2028
2046
registerTypeUrl ( ) {
2047
+ if ( ! GlobalDecoderRegistry . registerExistingTypeUrl ( QueryAccountInfoResponse . typeUrl ) ) {
2048
+ return ;
2049
+ }
2029
2050
BaseAccount . registerTypeUrl ( ) ;
2030
2051
}
2031
2052
} ;
0 commit comments