Skip to content

Commit

Permalink
Comment check on operator overhead
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Litteri authored and Ivan Litteri committed Jan 15, 2024
1 parent c1ecf8a commit 648773e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions system-contracts/bootloader/bootloader.yul
Original file line number Diff line number Diff line change
Expand Up @@ -1652,11 +1652,11 @@ object "Bootloader" {
debugLog("requiredOverhead", requiredOverhead)
debugLog("operatorOverheadForTransaction", operatorOverheadForTransaction)

// The required overhead is less than the overhead that the operator
// has requested from the user, meaning that the operator tried to overcharge the user
if lt(requiredOverhead, operatorOverheadForTransaction) {
assertionError("Operator's overhead too high")
}
// // The required overhead is less than the overhead that the operator
// // has requested from the user, meaning that the operator tried to overcharge the user
// if lt(requiredOverhead, operatorOverheadForTransaction) {
// assertionError("Operator's overhead too high")
// }

ret := operatorOverheadForTransaction
}
Expand Down

0 comments on commit 648773e

Please sign in to comment.