Skip to content

Commit 90c3895

Browse files
authored
Merge pull request #111 from cosmos/update-deps
Update types of comsos-sdk, wasmd and ibc-go
2 parents 7da1c3d + 946e505 commit 90c3895

File tree

121 files changed

+9392
-8354
lines changed

Some content is hidden

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

121 files changed

+9392
-8354
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ yarn.lock
33

44
node_modules/
55

6+
/protos/cosmos-sdk
67
/protos/ibc-go
78
/protos/wasmd
89

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[submodule "cosmos-sdk"]
2-
path = protos/cosmos-sdk
2+
path = protos/cosmos-sdk-src
33
url = https://github.com/cosmos/cosmos-sdk
44
[submodule "wasmd"]
55
path = protos/wasmd-src

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ and this project adheres to
2020

2121
- The TypeScript build `target` and `lib` is now ES2022,
2222
[analogue to CosmJS 0.35](https://github.com/cosmos/cosmjs/pull/1783).
23+
- Upgrade types
24+
- Cosmos SDK to 0.53.4
25+
- ibc-go to 0.10.3
26+
- wasmd 0.61.6
2327

2428
## [0.10.1] - 2025-07-29
2529

protos/cosmos-sdk

Lines changed: 0 additions & 1 deletion
This file was deleted.

protos/cosmos-sdk-src

Submodule cosmos-sdk-src added at 908df9d

protos/ibc-go-src

Submodule ibc-go-src updated 1904 files

protos/wasmd-src

Submodule wasmd-src updated 175 files

scripts/codegen.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,7 @@ const telescope = require("@hyperweb/telescope").default;
77
const outPath = join(__dirname, "/../src");
88

99
telescope({
10-
protoDirs: [
11-
"protos/cosmos-sdk/proto",
12-
"protos/cosmos-sdk/third_party/proto",
13-
"protos/wasmd",
14-
"protos/ibc-go",
15-
],
10+
protoDirs: ["protos/cosmos-sdk", "protos/wasmd", "protos/ibc-go"],
1611
outPath: outPath,
1712
options: {
1813
logLevel: 0,
@@ -81,6 +76,7 @@ telescope({
8176
useCosmosSDKDec: false,
8277
},
8378
num64: "bigint",
79+
autoFixUndefinedEnumDefault: true, // workaround for https://github.com/cosmos/cosmjs-types/issues/112
8480
},
8581
},
8682
lcdClients: {

scripts/exports_protos.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,13 @@
22
set -o errexit -o nounset -o pipefail
33
command -v shellcheck >/dev/null && shellcheck "$0"
44

5-
for dir in ibc-go wasmd ; do
5+
for dir in cosmos-sdk ibc-go wasmd; do
66
rm -rf "protos/$dir"
77
mkdir -p "protos/$dir"
8-
echo "Autogenerated folder, see export_protos.sh" > "protos/$dir/README.md"
8+
echo "Autogenerated folder, see export_protos.sh" >"protos/$dir/README.md"
99

1010
buf export "protos/$dir-src/" --output "protos/$dir"
1111
done
12+
13+
# Remove stray semicolons (see https://github.com/cosmos/cosmos-sdk/pull/24105)
14+
find protos/cosmos-sdk/ -type f -name "*.proto" -exec sed -i -e 's/^ ;//g' {} \;

src/capability/v1/capability.ts

Lines changed: 0 additions & 181 deletions
This file was deleted.

0 commit comments

Comments
 (0)