Skip to content

Commit 7a05119

Browse files
authored
fix: broken ci
The tokenmania CI job is failing on master because a new version of icrc-ledger-types, 0.1.12 has been pushed that has breaking changes. Because these breaking changes were pushed as a patch in the version upgrade, cargo upgraded automatically and now the CI job fails. This commit explicitly upgrades all dependencies on icrc-ledger-types to 0.1.12 and fixes the backward compatibility issues.
2 parents e3195eb + 38a5df8 commit 7a05119

File tree

9 files changed

+913
-8
lines changed

9 files changed

+913
-8
lines changed

rust/sns-adaptor/sns-kongswap-adaptor/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ ic-cdk-macros = "0.8"
2020
ic-ledger-types = "0.14.0"
2121
ic-management-canister-types = "0.3.0"
2222
ic-stable-structures = "0.6.8"
23-
icrc-ledger-types = "0.1.9"
23+
icrc-ledger-types = "0.1.12"
2424
serde = "1.0.188"
2525
pocket-ic = "9.0.2"

rust/token_transfer/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ crate-type = ["cdylib"]
188188
candid = "0.10"
189189
ic-cdk = "0.12"
190190
ic-cdk-timers = "0.6" # Feel free to remove this dependency if you don't need timers
191-
icrc-ledger-types = "0.1.5"
191+
icrc-ledger-types = "0.1.12"
192192
serde = "1.0.197"
193193
serde_derive = "1.0.197"
194194
```

rust/token_transfer/src/token_transfer_backend/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ crate-type = ["cdylib"]
1212
candid = "0.10.14"
1313
ic-cdk = "0.18.3"
1414
serde = "1.0.219"
15-
icrc-ledger-types = "0.1.5"
15+
icrc-ledger-types = "0.1.12"
1616
icrc-ledger-client-cdk = "0.1.3"

rust/token_transfer_from/Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/token_transfer_from/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ crate-type = ["cdylib"]
178178
candid = "0.10"
179179
ic-cdk = "0.12"
180180
ic-cdk-timers = "0.6" # Feel free to remove this dependency if you don't need timers
181-
icrc-ledger-types = "0.1.5"
181+
icrc-ledger-types = "0.1.12"
182182
serde = "1.0.197"
183183
```
184184

rust/token_transfer_from/src/token_transfer_from_backend/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ crate-type = ["cdylib"]
1212
candid = "0.10.14"
1313
ic-cdk = "0.18.3"
1414
serde = "1.0.219"
15-
icrc-ledger-types = "0.1.5"
15+
icrc-ledger-types = "0.1.12"
1616
icrc-ledger-client-cdk = "0.1.3"

0 commit comments

Comments
 (0)