You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As already pointed out in #511, expireDisputeBatch calls expireDispute in every loop iteration, therefore it checks if dispute region is paused every time. There are also other examples of the same issue:
extendOfferBatch
voidOfferBatch
completeExchangeBatch
Fixing this requires a bit of refactoring and perhaps a different approach to how internal functions work in this cases.
The text was updated successfully, but these errors were encountered:
zajck
changed the title
Batch method gas optimization
Batch methods gas optimization
Jan 9, 2023
Description:
As already pointed out in #511,
expireDisputeBatch
callsexpireDispute
in every loop iteration, therefore it checks if dispute region is paused every time. There are also other examples of the same issue:extendOfferBatch
voidOfferBatch
completeExchangeBatch
Fixing this requires a bit of refactoring and perhaps a different approach to how internal functions work in this cases.
The text was updated successfully, but these errors were encountered: