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
After #6164, we now have a serialization layout for COption<Pubkey>, where a None value is represented by a single 0, while Some(Pubkey) is represented by a 1 plus the public key bytes.
There are a handful more instructions in Token2022 that use COption<Pubkey>. Here are a few examples:
After #6164, we now have a serialization layout for
COption<Pubkey>
, where aNone
value is represented by a single0
, whileSome(Pubkey)
is represented by a1
plus the public key bytes.There are a handful more instructions in Token2022 that use
COption<Pubkey>
. Here are a few examples:solana-program-library/token/program-2022/src/instruction.rs
Lines 474 to 482 in 8b22d75
solana-program-library/token/program-2022/src/instruction.rs
Lines 549 to 553 in 8b22d75
Update their JavaScript instruction builders to use the new layout!
The text was updated successfully, but these errors were encountered: