Jon C
Jon C
#### Problem Token-2022 has a generic function for checking that a pubkey matches `spl_token_2022::id()`. It's typically meant for checking the owner of accounts, but it's also used to make sure...
#### Description The amount_to_ui_amount and ui_amount_to_amount instructions take an u64 amount and f64 amount, do some arithmetic operations and cast the result to f64 and u64 respectively. When converting/casting between...
#### Problem Token and Token-2022 are important programs, but they are not fuzzed from the top-level, similar to how token-swap works. #### Solution Add a fuzz configuration with honggfuzz which...
#### Problem In order to pack things efficiently and properly use the bytemuck `Zeroable` and `Pod` traits, the extensions use `OptionalNonZeroPubkey`, which maps to `None` if the pubkey is all...
#### Problem With the interest-bearing mint extension in token-2022, it's possible to create tokens that accrue interest. Since the whole thing revolves around frontend magic to convert token amounts into...
#### Problem The single pool js package has been fixed to a certain version of the new web3.js library. Now that the RC has been tagged, let's update it! ####...
#### Problem It's possible to write a perfectly good transfer hook without the extra account metas, and just the transfer hook program. For example, if you add a field to...
Copied from https://github.com/anza-xyz/agave/issues/2224 cc @tapirtoken #### Problem If you look at this transaction: 4N1GvNc27DFhKK7Y8dcjMhrDuze4LMfM1qhoG6nkFG2EWTMPEcuevXVGEXmwt6gR55VEskQ9X37Z8RKkP1HhgL8i You'll notice that instruction #5 (on Solscan) is HarvestWithheldTokensToMint. However, the Withdraw Authority is Null so...
### SIMD https://github.com/solana-foundation/solana-improvement-documents/pull/79 ### Description See #33843 for a longer description of the problem and solution. Essentially, the feature in #29361 to prohibit commission changes in the second half of...