Discrepency between logic for calculating sha gas cost lead to either to overchargin or underchaning users.
Lets compare how two funcitons calculate number of rounds
As we can see padLen := sub(BLOCK_SIZE(), mod(extendBytesLen, BLOCK_SIZE()))
is not in a formula inside l1messagner.
Incorrect gas cost would be charged in l1messager
Align cost in l1messager with precompile formula
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.