Skip to content

Commit

Permalink
modify: max transaction_buffer size
Browse files Browse the repository at this point in the history
  • Loading branch information
0xRigel committed Nov 19, 2024
1 parent 39c92c1 commit 2c4d169
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ use anchor_lang::solana_program::hash::hash;

use crate::errors::MultisigError;

pub const MAX_BUFFER_SIZE: usize = 4000;
// Maximum PDA allocation size in an inner ix is 10240 bytes.
// 10240 - account contents = 10128 bytes
pub const MAX_BUFFER_SIZE: usize = 10128 ;

#[account]
#[derive(Default, Debug)]
Expand Down

0 comments on commit 2c4d169

Please sign in to comment.