Skip to content

Commit

Permalink
increase tx size
Browse files Browse the repository at this point in the history
  • Loading branch information
Brechtpd committed Jan 23, 2025
1 parent 7ac1be0 commit 9543570
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/transaction-pool/src/validate/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ pub const TX_SLOT_BYTE_SIZE: usize = 32 * 1024;
/// more expensive to propagate; larger transactions also take more resources
/// to validate whether they fit into the pool or not. Default is 4 times [`TX_SLOT_BYTE_SIZE`],
/// which defaults to 32 KiB, so 128 KiB.
pub const DEFAULT_MAX_TX_INPUT_BYTES: usize = 4 * TX_SLOT_BYTE_SIZE; // 128KB
/// TODO(Brecht): revert back to 4 after optimizing state diff
pub const DEFAULT_MAX_TX_INPUT_BYTES: usize = 1024 * TX_SLOT_BYTE_SIZE; // 128KB

/// Maximum bytecode to permit for a contract.
pub const MAX_CODE_BYTE_SIZE: usize = 24576;
Expand Down

0 comments on commit 9543570

Please sign in to comment.