Replies: 1 comment
-
Example repo: https://github.com/zie1ony/cspr-deps-clash |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For Odra developers moving from 1.5 to 2.0 should be smooth process. We already developed integration with new EE crates. Now we are focusing on how testing how smart contracts goes through the upgrade. We already have developed 2.0 integration on a separate branch feature/casper-2.0. Yet it's not very handy to work with both 1.5 and 2.0 when testing migration via switching branches. We can do much better. We could allow developers to specify the correct target via CLI flag
--condor
. Eg. building wasms would becargo odra build --condor
.To do that in Odra, we can introduce new Rust feature
condor
, that would switch underlaying crates to 2.0. Like this:Unfortunately this is not possible due to "too restrictive" dependencies. Above gives this error:
I propose to make it possible to include old and new crates in the same project. Crates that need to work:
This way we will be able to provide much better 2.0 support and potentially detect errors.
Beta Was this translation helpful? Give feedback.
All reactions