diff --git a/core/lib/config/src/constants/crypto.rs b/core/lib/config/src/constants/crypto.rs index e9ed44ff308..aa520396773 100644 --- a/core/lib/config/src/constants/crypto.rs +++ b/core/lib/config/src/constants/crypto.rs @@ -19,7 +19,7 @@ pub const MAX_BYTES_PER_PACKED_SLOT: u64 = 65; pub static GAS_PER_SLOT: Lazy = Lazy::new(|| BigUint::from(MAX_BYTES_PER_PACKED_SLOT) * BigUint::from(GAS_PER_PUBDATA_BYTE)); -pub const MAX_TXS_IN_BLOCK: usize = 1024; +pub const MAX_TXS_IN_BLOCK: usize = 10000; pub const MAX_NEW_FACTORY_DEPS: usize = 32; @@ -28,5 +28,5 @@ pub const PAD_MSG_BEFORE_HASH_BITS_LEN: usize = 736; /// The size of the bootloader memory in bytes which is used by the protocol. /// While the maximal possible size is a lot higher, we restric ourselves to a certain limit to reduce /// the requirements on RAM. -pub const USED_BOOTLOADER_MEMORY_BYTES: usize = 1 << 24; +pub const USED_BOOTLOADER_MEMORY_BYTES: usize = 24000000; pub const USED_BOOTLOADER_MEMORY_WORDS: usize = USED_BOOTLOADER_MEMORY_BYTES / 32; diff --git a/core/lib/vm/src/constants.rs b/core/lib/vm/src/constants.rs index 7ebd13d1af2..1b9bde87087 100644 --- a/core/lib/vm/src/constants.rs +++ b/core/lib/vm/src/constants.rs @@ -100,7 +100,7 @@ pub const VM_HOOK_POSITION: u32 = RESULT_SUCCESS_FIRST_SLOT - 1; pub const VM_HOOK_PARAMS_COUNT: u32 = 2; pub const VM_HOOK_PARAMS_START_POSITION: u32 = VM_HOOK_POSITION - VM_HOOK_PARAMS_COUNT; -pub(crate) const MAX_MEM_SIZE_BYTES: u32 = 16777216; // 2^24 +pub(crate) const MAX_MEM_SIZE_BYTES: u32 = 24000000; /// Arbitrary space in memory closer to the end of the page pub const RESULT_SUCCESS_FIRST_SLOT: u32 =