Closed chadoh closed 1 month ago
I tried updating the root workspace's
soroban-sdk
version to21.4.0
and ended up with irresolvableed25519-dalek
dependency resolution 🤔
Cargo isn't always able to automatically resolve all dependencies when dependencies get updated. Running cargo update soroban-token-sdk
updates the dependencies appropriately and it builds fine.
What version are you using?
21.2.0
What did you do?
What did you expect to see?
all contracts build
What did you see instead?
Is there a workaround?
Downgrade token contract's
soroban-token-sdk
dependency to match workspacesoroban-sdk
version.ohno/contracts/token/Cargo.toml
=>soroban-token-sdk
has version"21.2.0"
ohno/Cargo.toml
=>soroban-sdk
has version"20.3.2"
The examples were updated to use
21.x
here:Now
contract init
uses an out-of-dateCargo.toml
.I tried updating the root workspace's
soroban-sdk
version to21.4.0
and ended up with irresolvableed25519-dalek
dependency resolution 🤔What should we do?
We could fix this the easy way, updating the
Cargo.toml
to use the updatedsoroban-sdk
version. I say this is easy in the hopes that I made some dumb mistake with thated25519-dalek
dependency resolution issue 😅I wonder if it would be better to also add
soroban-token-sdk
to the root workspace dependencies, so that we can update packages to usesoroban-token-sdk = { workspace = true }
, in addition to inheritingsoroban-sdk
from the workspace.