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

fix(dependencies): Update dependency versions in Cargo.toml to resolve conflicts #56

Merged
merged 1 commit into from
Jun 28, 2024

Conversation

fraggdiller
Copy link
Contributor

Description

This Pull Request updates the dependency versions in the Cargo.toml file to resolve conflicts between the spl-token and solana-account-decoder packages. Previous dependency versions caused a version selection error for spl-token, preventing the project from building.

Changes

  • Updated dependency versions in Cargo.toml to resolve the version conflict.

Reason for Changes

An error occurred during the project build process:

error: failed to select a version for `spl-token`.
    ... required by package `solana-account-decoder v1.18.12`
    ... which satisfies dependency `solana-account-decoder = "^1.18.12"` of package `helius v0.2.1`
    ... which satisfies dependency `helius = "^0.2.1"` of package `project-name v0.1.0 (/Users/fraggdiller/prog/RustProjects/project-name)`
versions that meet the requirements `=4.0.0` are: 4.0.0

all possible versions conflict with previously selected packages.

  previously selected package `spl-token v4.0.1`
    ... which satisfies dependency `spl-token = "=4.0.1"` of package `solana-account-decoder v2.0.1`
    ... which satisfies dependency `solana-account-decoder = "^2.0.1"` of package `project-name v0.1.0 (/Users/fraggdiller/prog/RustProjects/project-name)`

failed to select a version for `spl-token` which could resolve this conflict

This error indicated a conflict between the versions of the spl-token and solana-account-decoder packages. Updating the dependencies resolved this conflict.

Tests

All tests passed successfully after making these changes. The tests were run using the cargo test command.

Documentation

This Pull Request does not require any documentation updates, as the changes are limited to dependency versions and do not affect the API functionality or user documentation.

Please consider merging this Pull Request into the main branch. Thank you!

Copy link
Collaborator

@0xIchigo 0xIchigo left a comment

Choose a reason for hiding this comment

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

LGTM 🔥

@0xIchigo 0xIchigo merged commit 5bc648f into helius-labs:dev Jun 28, 2024
1 check passed
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.

2 participants