Skip to content

Commit

Permalink
Bump bytecode length limit
Browse files Browse the repository at this point in the history
  • Loading branch information
fkrause98 committed May 16, 2024
1 parent 4d29430 commit c223988
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system-contracts/contracts/libraries/Utils.sol
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ library Utils {
}

// the real max supported number is 2^16, but we'll stick to evm convention
uint256 constant MAX_EVM_BYTECODE_LENGTH = 24576;
uint256 constant MAX_EVM_BYTECODE_LENGTH = 65000;

function hashEVMBytecode(bytes memory _bytecode) internal view returns (bytes32 hashedEVMBytecode) {
require(_bytecode.length <= MAX_EVM_BYTECODE_LENGTH, "po");
Expand Down

0 comments on commit c223988

Please sign in to comment.