We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Example tx: 2LQT3oZSoAyrzAC59wfMfbiZtF74YPcw5rQuaAmBu1FhuVe1f3CZoms8wKETJYVx8q9Bi8wT8v337iMDg4PJysF2
2LQT3oZSoAyrzAC59wfMfbiZtF74YPcw5rQuaAmBu1FhuVe1f3CZoms8wKETJYVx8q9Bi8wT8v337iMDg4PJysF2
The problem is caused by exact span check here
Proposed solution: check if length of the data is equal to 35 (data with empty freeze authority) or 67 (freeze authority exists) bytes
The text was updated successfully, but these errors were encountered:
Thanks for reporting! This is indeed an issue, and your proposed solution makes sense.
Sorry, something went wrong.
+1!
This occurs also with InitializeMint2. Example tx: 5VTAodQ23NbVBL4BzQfbsSW7VcCa4h2wuW9eo2ACxhbr2pA4PAUM6Q4ffhH5qgm6xxZGp8c1CruvEgQGR2qecqdK.
InitializeMint2
5VTAodQ23NbVBL4BzQfbsSW7VcCa4h2wuW9eo2ACxhbr2pA4PAUM6Q4ffhH5qgm6xxZGp8c1CruvEgQGR2qecqdK
The length of data is 35, but the decoding function expects 67.
Fix solana-labs#7549
58907e8
Same applies in decodeSetAuthorityInstruction. Expected 35, actual 3. And everywhere else here: https://github.com/search?q=repo%3Asolana-labs%2Fsolana-program-library%20COptionPublicKeyLayout&type=code.
decodeSetAuthorityInstruction
PR #7627 should now fix everything
No branches or pull requests
Example tx:
2LQT3oZSoAyrzAC59wfMfbiZtF74YPcw5rQuaAmBu1FhuVe1f3CZoms8wKETJYVx8q9Bi8wT8v337iMDg4PJysF2
The problem is caused by exact span check here
Proposed solution: check if length of the data is equal to 35 (data with empty freeze authority) or 67 (freeze authority exists) bytes
The text was updated successfully, but these errors were encountered: