Fix CI: sender/recipient hex fixtures in Solana transaction tests were 1 hex digit short

Both SolanaTransactionTest and RealSolanaTransactionServiceTest carried
a transcription error from the earlier solders cross-validation: the
sender/recipient pubkey hex strings (and one of expectedMessageHex's
concatenated chunks) were each missing their trailing hex digit,
producing odd-length hex that BouncyCastle's decoder throws on
(StringIndexOutOfBoundsException) - all 5 SolanaTransactionTest cases
failed at field-init time as a result. Re-derived every fixture
programmatically from the same solders-verified reference message
(rather than hand-splitting the hex string again) and confirmed the
full round trip (build -> compare) matches byte-for-byte.
This commit is contained in:
2026-07-16 20:54:39 -07:00
parent 086812345e
commit 71e4c8dc7a
2 changed files with 8 additions and 8 deletions
@@ -72,8 +72,8 @@ class RealSolanaTransactionServiceTest {
private lateinit var subject: RealSolanaTransactionService
private val senderPublicKey = "8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5".fromHex()
private val recipientPublicKey = "c8139770ea87d175f56a35466c34c7ecccb8d8a91b4ee37a25df60f5b8fc9b3".fromHex()
private val senderPublicKey = "8a88e3dd7409f195fd52db2d3cba5d72ca6709bf1d94121bf3748801b40f6f5c".fromHex()
private val recipientPublicKey = "8139770ea87d175f56a35466c34c7ecccb8d8a91b4ee37a25df60f5b8fc9b394".fromHex()
private val recipientAddress = Base58.encode(recipientPublicKey)
private val recentBlockhash = ByteArray(32)
private val lamports = 123456789L