Skip to content
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

[MTG-1007] Updated solana version to 2 #85

Merged
merged 2 commits into from
Jan 27, 2025

Conversation

kstepanovdev
Copy link
Contributor

The main reason for updating is to provide a possibility of running the Solana node with version 2.

  • Changed imports respectively
  • Updated Dockerfile and docs
  • Changed methods to match the required interface

Solana.Dockerfile Outdated Show resolved Hide resolved
@kstepanovdev kstepanovdev force-pushed the feature/update-solana-version branch from e650711 to 5e31e99 Compare December 2, 2024 17:27
@kstepanovdev kstepanovdev requested a review from StanChe December 2, 2024 17:27
@kstepanovdev kstepanovdev changed the title [MTG-1007] Updated solana version to 2.1.4 [MTG-1007] Updated solana version to 2 Dec 2, 2024
StanChe
StanChe previously approved these changes Dec 2, 2024
Copy link

@StanChe StanChe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks legit

@kstepanovdev kstepanovdev force-pushed the feature/update-solana-version branch 4 times, most recently from c7be7fe to b273824 Compare December 3, 2024 01:54
n00m4d
n00m4d previously approved these changes Dec 3, 2024
Changed imports respectively;
Updated Dockerfile and docs;
Changed methods to match the required interface;
@kstepanovdev kstepanovdev force-pushed the feature/update-solana-version branch from 494bbee to ba1dee8 Compare December 6, 2024 11:59
fi

if [[ -n $RUST_NIGHTLY_VERSION ]]; then
nightly_version="$RUST_NIGHTLY_VERSION"
else
nightly_version=2022-04-01
nightly_version=latest
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why latest for both cases?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not latest rather?

Copy link
Contributor

@danenbm danenbm Jan 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is latest a valid tag for rustup? Shouldn't these just be stable and nightly?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That tag is not for rustup. Both nightly and stable are indeed valid toolchain values for a "default" rustup, however, the repo uses images from solanalabs. Those images do not contain toolchains for both versions simultaneously. For instance, the image with nightly was updated one year ago. Therefore, the latest tag is used.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok sg

Copy link

@StanChe StanChe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not following why we use latest as both stable and nightly, otherwise, looks great

Copy link
Contributor

@danenbm danenbm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved with one comment to the rust version used in CI testing

@kstepanovdev kstepanovdev merged commit 48e3158 into main Jan 27, 2025
1 check passed
@kstepanovdev kstepanovdev deleted the feature/update-solana-version branch January 27, 2025 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants