Skip to content

Commit

Permalink
decrease the fee because of increased number of transactions
Browse files Browse the repository at this point in the history
  • Loading branch information
StanislavBreadless committed Dec 20, 2023
1 parent 2e0734b commit b7f8ed3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions SystemConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"L1_GAS_PER_PUBDATA_BYTE": 17,
"BATCH_OVERHEAD_L2_GAS": 1200000,
"BATCH_OVERHEAD_L1_GAS": 1000000,
"MAX_TRANSACTIONS_IN_BATCH": 1024,
"BOOTLOADER_TX_ENCODING_SPACE": 8740224,
"MAX_TRANSACTIONS_IN_BATCH": 10000,
"BOOTLOADER_TX_ENCODING_SPACE": 9090400,
"L1_TX_INTRINSIC_L2_GAS": 167157,
"L1_TX_INTRINSIC_PUBDATA": 88,
"L1_TX_MIN_L2_GAS_BASE": 173484,
Expand Down
2 changes: 1 addition & 1 deletion ethereum/contracts/zksync/Config.sol
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ uint256 constant PACKED_L2_BLOCK_TIMESTAMP_MASK = 0xffffffffffffffffffffffffffff
/// need to pay to compensate for the batch being closed.
/// @dev It is expected that the L1 contracts will enforce that the L2 gas price will be high enough to compensate
/// the operator in case the batch is closed because of tx slots filling up.
uint256 constant TX_SLOT_OVERHEAD_L2_GAS = 80000;
uint256 constant TX_SLOT_OVERHEAD_L2_GAS = 10000;

/// @dev The overhead for each byte of the bootloader memory that the encoding of the transaction.
/// It is roughly equal to 80kk/BOOTLOADER_MEMORY_FOR_TXS, i.e. how many gas would an L1->L2 transaction
Expand Down

0 comments on commit b7f8ed3

Please sign in to comment.