diff --git a/CHANGELOG.md b/CHANGELOG.md index a07064dbb0..d630cd899f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,7 @@ The minor version will be incremented upon a breaking change and the patch versi - ts: Packages no longer depend on `assert` ([#2535](https://github.com/coral-xyz/anchor/pull/2535)). - lang: Support for `const` in the `InitSpace` macro ([#2555](https://github.com/coral-xyz/anchor/pull/2555)). - cli: Support workspace inheritence ([#2570](https://github.com/coral-xyz/anchor/pull/2570)). +- client: Compile with Solana `1.14`([#2572](https://github.com/coral-xyz/anchor/pull/2572)). ### Breaking diff --git a/client/src/lib.rs b/client/src/lib.rs index 2b8e52fb40..6f5e90a4a9 100644 --- a/client/src/lib.rs +++ b/client/src/lib.rs @@ -279,9 +279,10 @@ impl + Clone> Program { client.logs_subscribe(filter, config).await?; tx.send(unsubscribe).map_err(|e| { - ClientError::SolanaClientPubsubError(PubsubClientError::UnexpectedMessageError( - e.to_string(), - )) + ClientError::SolanaClientPubsubError(PubsubClientError::RequestFailed { + message: "Unsubscribe failed".to_string(), + reason: e.to_string(), + }) })?; while let Some(logs) = notifications.next().await {