Closed c4-submissions closed 1 year ago
bytes032 marked the issue as low quality report
By design.
miladpiri (sponsor) disputed
GalloDaSballo marked the issue as unsatisfactory: Insufficient proof
Would like to at least see the math to get to 100k gwei
Lines of code
https://github.com/code-423n4/2023-10-zksync/blob/1fb4649b612fac7b4ee613df6f6b7d921ddd6b0d/code/system-contracts/bootloader/bootloader.yul#L12, https://github.com/code-423n4/2023-10-zksync/blob/1fb4649b612fac7b4ee613df6f6b7d921ddd6b0d/code/system-contracts/bootloader/bootloader.yul#L19
Vulnerability details
Impact
Hardcoded
MAX_ALLOWED_L1_GAS_PRICE
andMAX_ALLOWED_FAIR_L2_GAS_PRICE
is not flexible and unable to cater should any scenario or needs arise that require a higher maximum gas.Proof of Concept
Tools Used
Manual analysis
Recommended Mitigation Steps
Instead of hardcoding, make it configurable via admin access.
Assessed type
Other