Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update impl for writealloc size limits I'm not certain, but my hunch is that we need to add some margin to data_len to account for the AccountMeta we're passing into the instruction. We have 3 of them at 34 bytes ea (Pubkey + 2 bool) = 102 bytes above our limit. edit pretty sure this is the case. check out: https://github.com/solana-labs/solana/blob/15d18a03e5203aec6452605cf6381afca46983fa/programs/bpf_loader/src/syscalls.rs#L2750-L2763 (34 * ix.accounts.len() + ix.data.len() <= 1280) * chore: hardcode const * fix impl accounts_metas size * Update impls.rs * Update impls.rs
- Loading branch information