Skip to content

Commit

Permalink
Merge pull request #82 from confio/telescope-1.0.4
Browse files Browse the repository at this point in the history
Upgrade Telescope to 1.0.4
  • Loading branch information
webmaster128 authored Oct 17, 2023
2 parents 4bce108 + c21994f commit a74fcc1
Show file tree
Hide file tree
Showing 78 changed files with 697 additions and 704 deletions.
50 changes: 25 additions & 25 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"dependencies": {
},
"devDependencies": {
"@cosmology/telescope": "^1.0.3",
"@cosmology/telescope": "^1.0.4",
"@types/node": "^15.6.2",
"prettier": "^3.0.3",
"typescript": "~5.2"
Expand Down
2 changes: 1 addition & 1 deletion src/binary.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-disable */
/**
* This file and any referenced files were automatically generated by @cosmology/[email protected].3
* This file and any referenced files were automatically generated by @cosmology/[email protected].4
* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
* and run the transpile command or yarn proto command to regenerate this bundle.
*/
Expand Down
4 changes: 2 additions & 2 deletions src/cosmos/app/v1alpha1/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export interface ModuleConfig {
* config is the config object for the module. Module config messages should
* define a ModuleDescriptor using the cosmos.app.v1alpha1.is_module extension.
*/
config: Any;
config?: Any;
/**
* golang_bindings specifies explicit interface to implementation type bindings which
* depinject uses to resolve interface inputs to provider functions. The scope of this
Expand Down Expand Up @@ -125,7 +125,7 @@ export const Config = {
function createBaseModuleConfig(): ModuleConfig {
return {
name: "",
config: Any.fromPartial({}),
config: undefined,
golangBindings: [],
};
}
Expand Down
4 changes: 2 additions & 2 deletions src/cosmos/app/v1alpha1/query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export interface QueryConfigRequest {}
/** QueryConfigRequest is the Query/Config response type. */
export interface QueryConfigResponse {
/** config is the current app config. */
config: Config;
config?: Config;
}
function createBaseQueryConfigRequest(): QueryConfigRequest {
return {};
Expand Down Expand Up @@ -47,7 +47,7 @@ export const QueryConfigRequest = {
};
function createBaseQueryConfigResponse(): QueryConfigResponse {
return {
config: Config.fromPartial({}),
config: undefined,
};
}
export const QueryConfigResponse = {
Expand Down
8 changes: 4 additions & 4 deletions src/cosmos/auth/v1beta1/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ export const protobufPackage = "cosmos.auth.v1beta1";
*/
export interface BaseAccount {
address: string;
pubKey: Any;
pubKey?: Any;
accountNumber: bigint;
sequence: bigint;
}
/** ModuleAccount defines an account for modules that holds coins on a pool. */
export interface ModuleAccount {
baseAccount: BaseAccount;
baseAccount?: BaseAccount;
name: string;
permissions: string[];
}
Expand Down Expand Up @@ -45,7 +45,7 @@ export interface Params {
function createBaseBaseAccount(): BaseAccount {
return {
address: "",
pubKey: Any.fromPartial({}),
pubKey: undefined,
accountNumber: BigInt(0),
sequence: BigInt(0),
};
Expand Down Expand Up @@ -127,7 +127,7 @@ export const BaseAccount = {
};
function createBaseModuleAccount(): ModuleAccount {
return {
baseAccount: BaseAccount.fromPartial({}),
baseAccount: undefined,
name: "",
permissions: [],
};
Expand Down
20 changes: 10 additions & 10 deletions src/cosmos/auth/v1beta1/query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const protobufPackage = "cosmos.auth.v1beta1";
*/
export interface QueryAccountsRequest {
/** pagination defines an optional pagination for the request. */
pagination: PageRequest;
pagination?: PageRequest;
}
/**
* QueryAccountsResponse is the response type for the Query/Accounts RPC method.
Expand All @@ -23,7 +23,7 @@ export interface QueryAccountsResponse {
/** accounts are the existing accounts */
accounts: Any[];
/** pagination defines the pagination in the response. */
pagination: PageResponse;
pagination?: PageResponse;
}
/** QueryAccountRequest is the request type for the Query/Account RPC method. */
export interface QueryAccountRequest {
Expand All @@ -33,7 +33,7 @@ export interface QueryAccountRequest {
/** QueryAccountResponse is the response type for the Query/Account RPC method. */
export interface QueryAccountResponse {
/** account defines the account of the corresponding address. */
account: Any;
account?: Any;
}
/** QueryParamsRequest is the request type for the Query/Params RPC method. */
export interface QueryParamsRequest {}
Expand Down Expand Up @@ -62,7 +62,7 @@ export interface QueryModuleAccountByNameRequest {
}
/** QueryModuleAccountByNameResponse is the response type for the Query/ModuleAccountByName RPC method. */
export interface QueryModuleAccountByNameResponse {
account: Any;
account?: Any;
}
/**
* Bech32PrefixRequest is the request type for Bech32Prefix rpc method.
Expand Down Expand Up @@ -156,11 +156,11 @@ export interface QueryAccountInfoRequest {
*/
export interface QueryAccountInfoResponse {
/** info is the account info which is represented by BaseAccount. */
info: BaseAccount;
info?: BaseAccount;
}
function createBaseQueryAccountsRequest(): QueryAccountsRequest {
return {
pagination: PageRequest.fromPartial({}),
pagination: undefined,
};
}
export const QueryAccountsRequest = {
Expand Down Expand Up @@ -210,7 +210,7 @@ export const QueryAccountsRequest = {
function createBaseQueryAccountsResponse(): QueryAccountsResponse {
return {
accounts: [],
pagination: PageResponse.fromPartial({}),
pagination: undefined,
};
}
export const QueryAccountsResponse = {
Expand Down Expand Up @@ -318,7 +318,7 @@ export const QueryAccountRequest = {
};
function createBaseQueryAccountResponse(): QueryAccountResponse {
return {
account: Any.fromPartial({}),
account: undefined,
};
}
export const QueryAccountResponse = {
Expand Down Expand Up @@ -588,7 +588,7 @@ export const QueryModuleAccountByNameRequest = {
};
function createBaseQueryModuleAccountByNameResponse(): QueryModuleAccountByNameResponse {
return {
account: Any.fromPartial({}),
account: undefined,
};
}
export const QueryModuleAccountByNameResponse = {
Expand Down Expand Up @@ -1083,7 +1083,7 @@ export const QueryAccountInfoRequest = {
};
function createBaseQueryAccountInfoResponse(): QueryAccountInfoResponse {
return {
info: BaseAccount.fromPartial({}),
info: undefined,
};
}
export const QueryAccountInfoResponse = {
Expand Down
12 changes: 6 additions & 6 deletions src/cosmos/authz/v1beta1/authz.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export interface GenericAuthorization {
* the provide method with expiration time.
*/
export interface Grant {
authorization: Any;
authorization?: Any;
/**
* time when the grant will expire and will be pruned. If null, then the grant
* doesn't have a time expiration (other conditions in `authorization`
Expand All @@ -32,8 +32,8 @@ export interface Grant {
export interface GrantAuthorization {
granter: string;
grantee: string;
authorization: Any;
expiration: Timestamp;
authorization?: Any;
expiration?: Timestamp;
}
/** GrantQueueItem contains the list of TypeURL of a sdk.Msg. */
export interface GrantQueueItem {
Expand Down Expand Up @@ -88,7 +88,7 @@ export const GenericAuthorization = {
};
function createBaseGrant(): Grant {
return {
authorization: Any.fromPartial({}),
authorization: undefined,
expiration: undefined,
};
}
Expand Down Expand Up @@ -151,8 +151,8 @@ function createBaseGrantAuthorization(): GrantAuthorization {
return {
granter: "",
grantee: "",
authorization: Any.fromPartial({}),
expiration: Timestamp.fromPartial({}),
authorization: undefined,
expiration: undefined,
};
}
export const GrantAuthorization = {
Expand Down
Loading

0 comments on commit a74fcc1

Please sign in to comment.