-
Notifications
You must be signed in to change notification settings - Fork 81
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
Move node crate to its own folder #1406
Conversation
The compilation issue is because of this: mcginty/snow#146 Note that the |
@lemunozm I would try two things:
|
Thanks @NunoAlexandre, |
Nice. yeah that is weird indeed. Sometimes cargo deals with dependencies differently when they are set in the root |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for doing this :) it was in the back of my mind for over a year.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks mostly good.
Two things:
- Pipeline is failing. Space in runner I guess and somehow we are missing an impl, I guess this is a feature flag issue, now that the node was moved to a non top level crate
- Why the
cargo update
?
I'm pretty sure the current |
I'll recheck the features! Thanks for the suggestion Regarding why the |
You can try and run this #!/usr/bin/env bash
# Find all child directories containing Cargo.toml files
dirs=$(find . -name Cargo.toml -print0 | xargs -0 -n1 dirname | sort -u)
# Execute the command "subalfred check" on each directory
for dir in $dirs; do
echo $dir;
subalfred check features $dir
done |
|
I can take a look later today / tomorrow morning, I have experienced s.o. m.a.n.y. cargo issues updating our chain to newer versions of polkadot in the last 1.5 years that I don't feel the pain anymore 😆 |
Hahaha, I appreciate it a lot @NunoAlexandre. Hope your experienced eye finds something |
Couldn't find anything obvious as well comparing it with another parachain. So I agree it might be a feature flag issue. Please note that subalfred only checks |
Thanks @wischli for taking the time to look into it. I didn't know about |
I wasn't fully sure if this is correct as I remembered it from looking through the Subalfred repo but the documentation states the same unfortunately: https://subalfred.hack.ink/user/cli/check.html#episode-2 |
I just spent 2 hours hitting my head against a wall with this one 🙃 I actually faced the same issue when updating the chain to Polkadot 0.9.37 and I fixed it then by forking I tried doing the same now, fetching the latest 0.9.38 revision of PureStake/frontier and adding all the missing cargo features (see https://github.com/NunoAlexandre/frontier/commits/moonbeam-polkadot-v0.9.38) and update a derived version of this branch ( I also tried to add patch rules to make sure any reference to frontier would be using my fork but that didn't cut it either. Je ne sais pas 😢 |
Thanks a lot @NunoAlexandre for your research on this!! 🙌🏻 I'll give it another try with more time. |
I still don't know what the bug is, but at least I know why it's falling now and not before. Any command with the form By now I think we can get this working by modifying the jobs to run the node instead of all workspace. |
A little digging:
The issue comes from compiling the workspace (not the node) with |
And surprisingly, the issue is fixed if we add try-runtime along with
|
I think all issues are solved. CI is now failing because we have reached the max size limit |
No idea here why jobs are failing because of storage limits. Changes I did should not add extra storage, or at least I'm not able to see why |
Maybe @gpmayorga can enlighten us CI noops here ^^ |
I do not now what have been changed in our CI config but it seems like this finally passes the CI jobs 😭 |
I wonder if some external dependency fixed some missing feature which fixed it for us 🤔 |
The last CI errors were about space/memory. All "code" issues were already fixed before. Maybe the doc CI job that was fixed generated a lot of artifacts in the docker, and made other CI jobs fail because of the available space. 🤔 |
I'm going to fix the conflict and maybe we can this finally merged 🎉 |
Closed in favor of: #1632 |
Description
Fixes #1278
connectors
rust edition to2021
@NunoAlexandre