-
Notifications
You must be signed in to change notification settings - Fork 515
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use polkadot-sdk crates #1560
base: master
Are you sure you want to change the base?
Use polkadot-sdk crates #1560
Conversation
I suggest we create a dedicated branch for the crate.io version release for each version of polkadot-sdk to avoid breaking some downstream repos, as most of them are still using git dependencies, as far as I know. If you agree, I'll create a new branch called |
Agree. Let me know when you create the branch and I'llchange the target. |
I think anyone who is using frontier would pin their dependency to specific commits so this isn't neccessary. Rather than creating a new branch for crates.io. We should instead create a new branch for git following the naming convention for polkadot-sdk stable releases. Also i'd recommend versioning the crates using the "minor version" of polkadot-sdk releases as your major version. Eg I'm trying to set this as the standard for all polkadot-sdk crates so we can all escape versioning hell. This scheme allows you guys to make minor and patch releases. |
I agree with this as more and more repos choose to rely on the crates version. If so, we are going to review and merge this PR, then create another branch for Git. What do you think? @crystalin @conr2d
I really like this idea; have you proposed it on the polkadot-sdk side? I would like to support this. |
Yeah i've created an issue here: |
I also think that, in the long term, it makes sense to update the |
What's blocking this from being merged? Would be helpful to get to versioned release of Frontier asap. It currently prevents using Hyperbridge to bridge to solo chains w/ EVMs. |
I'm not sure if it's a good practice to use the versioned crates from the polkadot-sdk right now. There's been no further feedback from the community. Honestly, I don't like the current versioning style of the published crates from polkadot, as I wrote in the related issue raised above. I prefer the git dependencies. However, to address your problem, would you consider submitting a PR to replace the substrate-test-runtime crate reference in the master branch with a copied version like this PR? So, you can generate a versioned frontier in your repo. I believe this can solve your problem while keeping the master branch aligned with the git dependencies, and we can see if there are improvements on the polkadot-sdk side. |
Ok learned it might now not block hyperbridge. Is there a working group that meets regularly to discuss this topic? It seems like it could have its future more well defined. |
Based on my experiences over the past few days, it seems premature to rely on the Polkadot SDK crates published on Since the versioning history of the Polkadot SDK packages is currently messed up, I personally think it might be better to start from scratch. However, since that is an issue to be decided by upstream, we'll have to wait and see how they choose to resolve it. |
Polkadot-sdk core devs are holding a versioning poll. Let's all participate so we can clean up this mess. |
This PR builds upon @asiniscalchi previous work. Since Substrate does not plan to incorporate
substrate-test-runtime
, I have decided to include this crate at versionstable2409
directly into the frontier repository.