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
You can disable the transfer hook extension by setting its programId to None. This should cause any subsequent transfers to ignore it. However, the Raydium CPAMM implementation only checks for the existence of extensions other than the permitted ones, without considering that extensions with programId set to None are ignored by the SPL token program.
Proposed Solution:
Update the is_supported_mint method to account for extensions with programId set to None, aligning its behavior with the SPL token program's handling of such cases.
The text was updated successfully, but these errors were encountered:
You can disable the transfer hook extension by setting its
programId
toNone
. This should cause any subsequent transfers to ignore it. However, the Raydium CPAMM implementation only checks for the existence of extensions other than the permitted ones, without considering that extensions withprogramId
set toNone
are ignored by the SPL token program.The relevant code can be found in the
is_supported_mint
method:Raydium CPAMM token.rs Line 176
Proposed Solution:
Update the
is_supported_mint
method to account for extensions withprogramId
set toNone
, aligning its behavior with the SPL token program's handling of such cases.The text was updated successfully, but these errors were encountered: