-
Notifications
You must be signed in to change notification settings - Fork 17
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
chore(refactor): restructure project + upgrade dependencies/transitive-dependencies #614
Conversation
1203979
to
4499b8f
Compare
nevermind about rust-analyzer not working in root folder. Got it to work by including |
Audits will also continue to fail since I haven't completely upgraded everything yet. That will be left for the next PR |
.await | ||
.unwrap(); | ||
.map_err(|err| { | ||
tracing::error!(?err, "failed to join the participant set"); |
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.
nice.
@@ -43,7 +44,7 @@ jobs: | |||
- name: Pull Relayer & Sandbox Docker Images | |||
run: | | |||
docker pull ghcr.io/near/os-relayer:12ba6e35690df3979fce0b36a41d0ca0db9c0ab4 | |||
docker pull ghcr.io/near/near-lake-indexer:e6519c922435f3d18b5f2ddac5d1ec171ef4dd6b | |||
docker pull ghcr.io/near/near-lake-indexer:node-1.38 |
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.
why node-1.38?
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.
because node-1.39 doesn't work well with near-crypto 0.21
. I'll update to near-crypto 0.22
afterwards which does. Just didn't want to add more complexity to this PR
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.
Great work! Let's merge it ASAP.
Terraform Feature Environment Destroy (dev-614)Terraform Initialization ⚙️
|
…e-dependencies (#614) * Utilize near_account_id crate * Getting local deps to work with tests * Moved out chain-signatures integration tests into own package * Seperated fastauth integration tests into own directory * Fixing configs and GH actions workflows * Proper lake-indexer image and more reliable builds * No more local packages * Some doc fixes and workflow fixes * Added secret manager accounts artifacts to .gitignore * Make tests work again * Get rust-analyzer to work on project root * Fix test-oidc image build * Try and fix audit CI * Clippy
This upgrades all our near related dependencies to
0.21
to resolve security vulnerabilities. The project was restructured to facilitate this due to the fastauth project being in conflict with these dependencies. This is how our folder structure looks like now:Further restructuring will happen after this PR merges due to potential merge conflicts:
Note that we no longer have a top-level
Cargo.toml
, which means we can no longer use thecargo
command at the root of the project. We'll need tocd
directly into the folder to use the command,and also watch out potentially for rust-analyzer since it won't be watching our project anymore at the root.This also reduces our build times now since we have two distinct projects when going to run tests instead of compiling everything in
integration-tests
.Nix might also be failing since I didn't test that 🤷