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

solana-rpc-client` (lib) due to 2 previous errors #34308

Closed
airdro153 opened this issue Dec 3, 2023 · 1 comment
Closed

solana-rpc-client` (lib) due to 2 previous errors #34308

airdro153 opened this issue Dec 3, 2023 · 1 comment
Labels
community Community contribution stale [bot only] Added to stale content; results in auto-close after a week.

Comments

@airdro153
Copy link

Problem

error[E0599]: no method named send_and_confirm_transaction_with_spinner found for reference &nonblocking::rpc_client::RpcClient in the current scope
--> C:\Users\haikal.cargo\registry\src\index.crates.io-6f17d22bba15001f\solana-rpc-client-1.17.7\src\rpc_client.rs:681:40
|
681 | (self.rpc_client.as_ref()).send_and_confirm_transaction_with_spinner(transaction),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: there is a method with a similar name: confirm_transaction_with_spinner

error[E0599]: no method named send_and_confirm_transaction_with_spinner_and_commitment found for reference &nonblocking::rpc_client::RpcClient in the current scope
--> C:\Users\haikal.cargo\registry\src\index.crates.io-6f17d22bba15001f\solana-rpc-client-1.17.7\src\rpc_client.rs:693:18
|
692 | / (self.rpc_client.as_ref())
693 | | .send_and_confirm_transaction_with_spinner_and_commitment(transaction, commitm...
| | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: there is a method with a similar name: confirm_transaction_with_commitment
| |_________________|
|

For more information about this error, try rustc --explain E0599.
error: could not compile solana-rpc-client (lib) due to 2 previous errors

  • The terminal process "C:\Users\haikal.cargo\bin\cargo.exe 'run', '--package', 'botUnmintGst', '--bin', 'botUnmintGst'" terminated with exit code: 101.
  • Terminal will be reused by tasks, press any key to close it.

Proposed Solution

lib error

@airdro153 airdro153 added the community Community contribution label Dec 3, 2023
@buffalojoec
Copy link
Contributor

buffalojoec commented Dec 4, 2023

Hey there, could you possibly provide some more context around this issue? Are you insinuating this is a bug in the library?

At first glance, the requested function appears to be there in v1.17.7. Maybe try the spinner feature?
https://docs.rs/solana-rpc-client/1.17.7/src/solana_rpc_client/nonblocking/rpc_client.rs.html#721-724

@github-actions github-actions bot added the stale [bot only] Added to stale content; results in auto-close after a week. label Dec 4, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Community contribution stale [bot only] Added to stale content; results in auto-close after a week.
Projects
None yet
Development

No branches or pull requests

2 participants