You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a consumer is using a different version of the IC ledger types, such as the latest v0.14.0, they cannot declare an ObtainCyclesOptions because the required from_subaccount must match the type defined by this crate's dependency, which is currently v0.12.0.
Solution
Always update IC dependencies within the crate to align with the IC's versioning pace, assuming that developers also keep up with these updates. Alternatively, re-export the type to avoid conflicts.
Workaround
Consumers can pin and import multiple times the ledger types in their projects.
Motivation
If a consumer is using a different version of the IC ledger types, such as the latest
v0.14.0
, they cannot declare anObtainCyclesOptions
because the requiredfrom_subaccount
must match the type defined by this crate's dependency, which is currentlyv0.12.0
.Solution
Always update IC dependencies within the crate to align with the IC's versioning pace, assuming that developers also keep up with these updates. Alternatively, re-export the type to avoid conflicts.
Workaround
Consumers can pin and import multiple times the ledger types in their projects.
The text was updated successfully, but these errors were encountered: