Skip to main content
8 events
when toggle format what by license comment
Sep 24 at 18:52 comment added dev4all.sol Roger that! Thanks for sharing. @DenysRybkin. :)
Sep 24 at 10:26 comment added Denys Rybkin Thanks. However, after my research i found the answer here - solana.stackexchange.com/questions/6539/…
Sep 19 at 16:28 comment added dev4all.sol @DenysRybkin it was kinda' nightmare to me. I just counted it from the last given LOOKUP_TABLE_META_SIZE=56. 56 - 2 (u16) - 32 (Pubkey) = 22. ;) I think account discriminator took 4 bytes and 1 byte is for Option if you counted it from the beginning. Option<T> sizes 1 + size_of (T) in bytes.
Sep 18 at 14:16 comment added Denys Rybkin Here is what i've found out, but i still dont understand how u get offset 22. Slot takes 8 bytes, u8 takes 1 byte, and Option takes 8 byte. The offset should be 8 + 8 + 1 + 1 = 18 bytes. docs.rs/solana-address-lookup-table-program/1.14.17/…
Sep 18 at 14:13 comment added Denys Rybkin Actually, I am new to solana. Can u please give me the link to the source code? I'd be thankful for a brief exlpanations too. @dev4all.sol
Sep 18 at 13:28 comment added dev4all.sol Yes I have inspected and calculated it from the lookup table program's source code.
Sep 18 at 13:13 comment added Denys Rybkin How have u determined the offset for address lookup table program?
Jun 23 at 4:40 history answered dev4all.sol CC BY-SA 4.0