Skip to content

Commit e9c4dc2

Browse files
authored
Merge branch 'main' into develop
2 parents 3d35c3f + efd4121 commit e9c4dc2

File tree

456 files changed

+9316
-11080
lines changed

Some content is hidden

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

456 files changed

+9316
-11080
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ cca --example
100100
</p>
101101

102102
```
103-
cca --name exampleapp --example --template send-tokens
103+
cca --name cca-sendtokens --example --template send-tokens
104104
```
105105

106106
### Osmosis
@@ -118,7 +118,7 @@ cca --name myosmoapp --example --template osmosis
118118
or the cosmwsam example:
119119

120120
```
121-
cca --name myosmoapp --example --template osmosis-cosmwasm
121+
cca --name osmowasm --example --template osmosis-cosmwasm
122122
```
123123

124124
### Juno
@@ -149,7 +149,7 @@ cca --name mystarsapp --example --template stargaze
149149
### Tailwind
150150

151151
```
152-
cca --name exampleapp --example --template tailwindcss
152+
cca --name cca-tailwind --example --template tailwindcss
153153
```
154154

155155
## Credits

examples/contracts/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [1.0.2](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/[email protected]...@cosmonauts/[email protected]) (2022-10-15)
7+
8+
**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts
9+
10+
11+
12+
13+
614
## [1.0.1](https://github.com/cosmology-tech/create-cosmos-app/compare/@cosmonauts/[email protected]...@cosmonauts/[email protected]) (2022-10-03)
715

816
**Note:** Version bump only for package @cosmonauts/connect-chain-with-telescope-and-contracts

examples/contracts/codegen/JunoSwap.client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* This file was automatically generated by @cosmwasm/ts-codegen@0.16.1.
2+
* This file was automatically generated by @cosmwasm/ts-codegen@0.17.0.
33
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
44
* and run the @cosmwasm/ts-codegen generate command to regenerate this file.
55
*/

examples/contracts/codegen/JunoSwap.types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* This file was automatically generated by @cosmwasm/ts-codegen@0.16.1.
2+
* This file was automatically generated by @cosmwasm/ts-codegen@0.17.0.
33
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
44
* and run the @cosmwasm/ts-codegen generate command to regenerate this file.
55
*/

examples/contracts/codegen/confio/proofs.ts

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,9 @@ export function hashOpToJSON(object: HashOp): string {
7575
case HashOp.BITCOIN:
7676
return "BITCOIN";
7777

78+
case HashOp.UNRECOGNIZED:
7879
default:
79-
return "UNKNOWN";
80+
return "UNRECOGNIZED";
8081
}
8182
}
8283
/**
@@ -224,8 +225,9 @@ export function lengthOpToJSON(object: LengthOp): string {
224225
case LengthOp.REQUIRE_64_BYTES:
225226
return "REQUIRE_64_BYTES";
226227

228+
case LengthOp.UNRECOGNIZED:
227229
default:
228-
return "UNKNOWN";
230+
return "UNRECOGNIZED";
229231
}
230232
}
231233
/**
@@ -253,7 +255,7 @@ export function lengthOpToJSON(object: LengthOp): string {
253255
export interface ExistenceProof {
254256
key: Uint8Array;
255257
value: Uint8Array;
256-
leaf: LeafOp | undefined;
258+
leaf?: LeafOp | undefined;
257259
path: InnerOp[];
258260
}
259261
/**
@@ -281,7 +283,7 @@ export interface ExistenceProof {
281283
export interface ExistenceProofSDKType {
282284
key: Uint8Array;
283285
value: Uint8Array;
284-
leaf: LeafOpSDKType | undefined;
286+
leaf?: LeafOpSDKType | undefined;
285287
path: InnerOpSDKType[];
286288
}
287289
/**
@@ -293,8 +295,8 @@ export interface ExistenceProofSDKType {
293295
export interface NonExistenceProof {
294296
/** TODO: remove this as unnecessary??? we prove a range */
295297
key: Uint8Array;
296-
left: ExistenceProof | undefined;
297-
right: ExistenceProof | undefined;
298+
left?: ExistenceProof | undefined;
299+
right?: ExistenceProof | undefined;
298300
}
299301
/**
300302
* NonExistenceProof takes a proof of two neighbors, one left of the desired key,
@@ -305,8 +307,8 @@ export interface NonExistenceProof {
305307
export interface NonExistenceProofSDKType {
306308
/** TODO: remove this as unnecessary??? we prove a range */
307309
key: Uint8Array;
308-
left: ExistenceProofSDKType | undefined;
309-
right: ExistenceProofSDKType | undefined;
310+
left?: ExistenceProofSDKType | undefined;
311+
right?: ExistenceProofSDKType | undefined;
310312
}
311313
/** CommitmentProof is either an ExistenceProof or a NonExistenceProof, or a Batch of such messages */
312314

@@ -446,8 +448,8 @@ export interface ProofSpec {
446448
* any field in the ExistenceProof must be the same as in this spec.
447449
* except Prefix, which is just the first bytes of prefix (spec can be longer)
448450
*/
449-
leafSpec: LeafOp | undefined;
450-
innerSpec: InnerSpec | undefined;
451+
leafSpec?: LeafOp | undefined;
452+
innerSpec?: InnerSpec | undefined;
451453
/** max_depth (if > 0) is the maximum number of InnerOps allowed (mainly for fixed-depth tries) */
452454

453455
maxDepth: number;
@@ -473,8 +475,8 @@ export interface ProofSpecSDKType {
473475
* any field in the ExistenceProof must be the same as in this spec.
474476
* except Prefix, which is just the first bytes of prefix (spec can be longer)
475477
*/
476-
leaf_spec: LeafOpSDKType | undefined;
477-
inner_spec: InnerSpecSDKType | undefined;
478+
leaf_spec?: LeafOpSDKType | undefined;
479+
inner_spec?: InnerSpecSDKType | undefined;
478480
/** max_depth (if > 0) is the maximum number of InnerOps allowed (mainly for fixed-depth tries) */
479481

480482
max_depth: number;
@@ -583,30 +585,30 @@ export interface CompressedBatchEntrySDKType {
583585
export interface CompressedExistenceProof {
584586
key: Uint8Array;
585587
value: Uint8Array;
586-
leaf: LeafOp | undefined;
588+
leaf?: LeafOp | undefined;
587589
/** these are indexes into the lookup_inners table in CompressedBatchProof */
588590

589591
path: number[];
590592
}
591593
export interface CompressedExistenceProofSDKType {
592594
key: Uint8Array;
593595
value: Uint8Array;
594-
leaf: LeafOpSDKType | undefined;
596+
leaf?: LeafOpSDKType | undefined;
595597
/** these are indexes into the lookup_inners table in CompressedBatchProof */
596598

597599
path: number[];
598600
}
599601
export interface CompressedNonExistenceProof {
600602
/** TODO: remove this as unnecessary??? we prove a range */
601603
key: Uint8Array;
602-
left: CompressedExistenceProof | undefined;
603-
right: CompressedExistenceProof | undefined;
604+
left?: CompressedExistenceProof | undefined;
605+
right?: CompressedExistenceProof | undefined;
604606
}
605607
export interface CompressedNonExistenceProofSDKType {
606608
/** TODO: remove this as unnecessary??? we prove a range */
607609
key: Uint8Array;
608-
left: CompressedExistenceProofSDKType | undefined;
609-
right: CompressedExistenceProofSDKType | undefined;
610+
left?: CompressedExistenceProofSDKType | undefined;
611+
right?: CompressedExistenceProofSDKType | undefined;
610612
}
611613

612614
function createBaseExistenceProof(): ExistenceProof {

examples/contracts/codegen/contracts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* This file was automatically generated by @cosmwasm/ts-codegen@0.16.1.
2+
* This file was automatically generated by @cosmwasm/ts-codegen@0.17.0.
33
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
44
* and run the @cosmwasm/ts-codegen generate command to regenerate this file.
55
*/

examples/contracts/codegen/cosmos/app/v1alpha1/config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export interface ModuleConfig {
4949
* define a ModuleDescriptor using the cosmos.app.v1alpha1.is_module extension.
5050
*/
5151

52-
config: Any | undefined;
52+
config?: Any | undefined;
5353
}
5454
/** ModuleConfig is a module configuration for an app. */
5555

@@ -72,7 +72,7 @@ export interface ModuleConfigSDKType {
7272
* define a ModuleDescriptor using the cosmos.app.v1alpha1.is_module extension.
7373
*/
7474

75-
config: AnySDKType | undefined;
75+
config?: AnySDKType | undefined;
7676
}
7777

7878
function createBaseConfig(): Config {

examples/contracts/codegen/cosmos/app/v1alpha1/module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export interface PackageReference {
100100
* This behavior ensures that:
101101
* * pinned proto images are up-to-date
102102
* * protobuf files are carefully annotated with revision comments which
103-
* are important good client UX
103+
* are important good client UX
104104
* * protobuf files are changed in backwards and forwards compatible ways
105105
*/
106106

@@ -145,7 +145,7 @@ export interface PackageReferenceSDKType {
145145
* This behavior ensures that:
146146
* * pinned proto images are up-to-date
147147
* * protobuf files are carefully annotated with revision comments which
148-
* are important good client UX
148+
* are important good client UX
149149
* * protobuf files are changed in backwards and forwards compatible ways
150150
*/
151151

examples/contracts/codegen/cosmos/app/v1alpha1/query.rpc.query.ts

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
import { Rpc } from "@osmonauts/helpers";
1+
import { Rpc } from "../../../helpers";
22
import * as _m0 from "protobufjs/minimal";
33
import { QueryClient, createProtobufRpcClient } from "@cosmjs/stargate";
4-
import { QueryConfigRequest, QueryConfigResponse, QueryConfigResponseSDKType } from "./query";
5-
/** Query defines the RPC service */
4+
import { QueryConfigRequest, QueryConfigResponse } from "./query";
5+
/** Query is the app module query service. */
66

77
export interface Query {
8-
config(request?: QueryConfigRequest): Promise<QueryConfigResponseSDKType>;
9-
/*Config returns the current app config.*/
10-
8+
/** Config returns the current app config. */
9+
config(request?: QueryConfigRequest): Promise<QueryConfigResponse>;
1110
}
1211
export class QueryClientImpl implements Query {
1312
private readonly rpc: Rpc;
@@ -17,7 +16,7 @@ export class QueryClientImpl implements Query {
1716
this.config = this.config.bind(this);
1817
}
1918

20-
config(request: QueryConfigRequest = {}): Promise<QueryConfigResponseSDKType> {
19+
config(request: QueryConfigRequest = {}): Promise<QueryConfigResponse> {
2120
const data = QueryConfigRequest.encode(request).finish();
2221
const promise = this.rpc.request("cosmos.app.v1alpha1.Query", "Config", data);
2322
return promise.then(data => QueryConfigResponse.decode(new _m0.Reader(data)));
@@ -28,7 +27,7 @@ export const createRpcQueryExtension = (base: QueryClient) => {
2827
const rpc = createProtobufRpcClient(base);
2928
const queryService = new QueryClientImpl(rpc);
3029
return {
31-
config(request?: QueryConfigRequest): Promise<QueryConfigResponseSDKType> {
30+
config(request?: QueryConfigRequest): Promise<QueryConfigResponse> {
3231
return queryService.config(request);
3332
}
3433

examples/contracts/codegen/cosmos/app/v1alpha1/query.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ export interface QueryConfigRequestSDKType {}
1010

1111
export interface QueryConfigResponse {
1212
/** config is the current app config. */
13-
config: Config | undefined;
13+
config?: Config | undefined;
1414
}
1515
/** QueryConfigRequest is the Query/Config response type. */
1616

1717
export interface QueryConfigResponseSDKType {
1818
/** config is the current app config. */
19-
config: ConfigSDKType | undefined;
19+
config?: ConfigSDKType | undefined;
2020
}
2121

2222
function createBaseQueryConfigRequest(): QueryConfigRequest {
@@ -68,7 +68,7 @@ export const QueryConfigResponse = {
6868
return writer;
6969
},
7070

71-
decode(input: _m0.Reader | Uint8Array, length?: number): QueryConfigResponseSDKType {
71+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryConfigResponse {
7272
const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
7373
let end = length === undefined ? reader.len : reader.pos + length;
7474
const message = createBaseQueryConfigResponse();

0 commit comments

Comments
 (0)