You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Combination of VersionedTransaction.deserialize and TransactionMessage.decompile produces different result from the legacy Transaction.from API when deserializing the same exact transaction.
Reproduction below (note the difference in the isWritable flag of the last key)
Problem
Version:
@solana/[email protected]
Combination of
VersionedTransaction.deserialize
andTransactionMessage.decompile
produces different result from the legacyTransaction.from
API when deserializing the same exact transaction.Reproduction below (note the difference in the
isWritable
flag of the lastkey
)https://codesandbox.io/p/sandbox/funny-ride-1zmikd
While not 100% sure, I believe the legacy API produces the correct result and the new API is being wrong.
Serialized transaction
The text was updated successfully, but these errors were encountered: