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

v2.1: make new_from_bank to be only for tests (backport of #3455) #3484

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Nov 5, 2024

Problem

There is a comment that it is useful for tests, instead I added #[cfg(test)].

Summary of Changes


This is an automatic backport of pull request #3455 done by [Mergify](https://mergify.com).

* make new_from_bank to be only for tests

* moved unnecessary use to cfg(test)

* remove new line which breaks checks

(cherry picked from commit 4e7f7f7)
@mergify mergify bot requested a review from a team as a code owner November 5, 2024 15:56
Copy link
Author

mergify bot commented Nov 5, 2024

If this PR represents a change to the public RPC API:

  1. Make sure it includes a complementary update to rpc-client/ (example)
  2. Open a follow-up PR to update the JavaScript client @solana/web3.js (example)

Thank you for keeping the RPC clients in sync with the server API @mergify[bot].

@KirillLykov
Copy link

These changes are back-ported because they are harmless and because they simplify development on the rpc/send-transaction-service which is needed to add choice of client version to those crates.

Copy link

@bw-solana bw-solana left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

@steviez steviez left a comment

Choose a reason for hiding this comment

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

LGTM

@KirillLykov KirillLykov merged commit c1bddce into v2.1 Nov 7, 2024
39 checks passed
@KirillLykov KirillLykov deleted the mergify/bp/v2.1/pr-3455 branch November 7, 2024 14:48
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.

3 participants