Skip to content

Remove unused Results in rust client - #3563

Closed
cryptopapi997 wants to merge 4 commits into
otter-sec:masterfrom
cryptopapi997:remove-unused-result
Closed

Remove unused Results in rust client#3563
cryptopapi997 wants to merge 4 commits into
otter-sec:masterfrom
cryptopapi997:remove-unused-result

Conversation

@cryptopapi997

Copy link
Copy Markdown
Contributor

Title says it all - a couple functions in the anchor rust client return Result even though they can never return an error, so this PR simplifies that.

@vercel

vercel Bot commented Feb 18, 2025

Copy link
Copy Markdown

@cryptopapi997 is attempting to deploy a commit to the coral-xyz Team on Vercel.

A member of the Team first needs to authorize it.

@acheroncrypto acheroncrypto left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks good, but since this is a breaking change, it's best to wait until the next breaking version is ready (most likely v1).

@cryptopapi997

cryptopapi997 commented Aug 6, 2025

Copy link
Copy Markdown
Contributor Author

Quick ping on this if it makes sense to include in 1.0 @jacobcreech

@vercel

vercel Bot commented Aug 7, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
anchor-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 7, 2025 2:05am

@jacobcreech

Copy link
Copy Markdown
Collaborator

@cryptopapi997 Appreciate the ping. We're considering 0.32 before 1.0 so let me get some other reviewers on this

@jacobcreech
jacobcreech requested a review from Aursen August 7, 2025 02:05
@jacobcreech jacobcreech added the Major Major breaking change label Aug 7, 2025
@jacobcreech jacobcreech moved this to Security Review Required in Anchor 1.0 Aug 7, 2025

@jamie-osec jamie-osec left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@jacobcreech

Copy link
Copy Markdown
Collaborator

Hey @cryptopapi997 could you combine this one with #3865 to make review easier?

@cryptopapi997

Copy link
Copy Markdown
Contributor Author

Sure, just moved the changes from this branch into #3865, so we can close this one.

@github-project-automation github-project-automation Bot moved this from Security Review Done to Done in Anchor 1.0 Oct 28, 2025
@cryptopapi997
cryptopapi997 deleted the remove-unused-result branch October 28, 2025 03:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants