* perf: add inline for invoke_signed in memo and ata programs * fix: revert version bump
@@ -36,6 +36,7 @@ impl Create<'_> {
self.invoke_signed(&[])
}
+ #[inline(always)]
pub fn invoke_signed(&self, signers: &[Signer]) -> ProgramResult {
// account metadata
let account_metas: [AccountMeta; 6] = [
@@ -37,6 +37,7 @@ impl CreateIdempotent<'_> {
@@ -47,6 +47,7 @@ impl RecoverNested<'_> {
let account_metas: [AccountMeta; 7] = [
@@ -25,6 +25,7 @@ impl Memo<'_, '_, '_> {
pub fn invoke_signed(&self, signers_seeds: &[Signer]) -> ProgramResult {
const UNINIT_META: MaybeUninit<AccountMeta> = MaybeUninit::<AccountMeta>::uninit();