From c46f1c25450184595c0d0c450137aacb8df7647c Mon Sep 17 00:00:00 2001 From: kevinheavey Date: Thu, 28 Nov 2024 01:46:32 +0400 Subject: [PATCH] update expected error --- rpc/src/rpc.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rpc/src/rpc.rs b/rpc/src/rpc.rs index 52cf1023ec65a8..7e07d0262728df 100644 --- a/rpc/src/rpc.rs +++ b/rpc/src/rpc.rs @@ -8554,7 +8554,7 @@ pub mod tests { decode_and_deserialize::(tx58, TransactionBinaryEncoding::Base58) .unwrap_err(), Error::invalid_params(format!( - "decoded solana_sdk::transaction::Transaction too large: {too_big} bytes (max: {PACKET_DATA_SIZE} bytes)" + "decoded solana_transaction::Transaction too large: {too_big} bytes (max: {PACKET_DATA_SIZE} bytes)" )) ); @@ -8563,7 +8563,7 @@ pub mod tests { decode_and_deserialize::(tx64, TransactionBinaryEncoding::Base64) .unwrap_err(), Error::invalid_params(format!( - "decoded solana_sdk::transaction::Transaction too large: {too_big} bytes (max: {PACKET_DATA_SIZE} bytes)" + "decoded solana_transaction::Transaction too large: {too_big} bytes (max: {PACKET_DATA_SIZE} bytes)" )) ); @@ -8573,7 +8573,7 @@ pub mod tests { decode_and_deserialize::(tx64.clone(), TransactionBinaryEncoding::Base64) .unwrap_err(), Error::invalid_params( - "failed to deserialize solana_sdk::transaction::Transaction: invalid value: \ + "failed to deserialize solana_transaction::Transaction: invalid value: \ continue signal on byte-three, expected a terminal signal on or before byte-three" .to_string() ) @@ -8591,7 +8591,7 @@ pub mod tests { decode_and_deserialize::(tx58.clone(), TransactionBinaryEncoding::Base58) .unwrap_err(), Error::invalid_params( - "failed to deserialize solana_sdk::transaction::Transaction: invalid value: \ + "failed to deserialize solana_transaction::Transaction: invalid value: \ continue signal on byte-three, expected a terminal signal on or before byte-three" .to_string() )