Skip to content

Commit

Permalink
update execution time part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
evelinemolnar committed Sep 17, 2024
1 parent 878dbbe commit c325b44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/ERC20Safe.sol
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ contract ERC20Safe is Initializable, BridgeRole, Pausable {
batchBlockLimit = 40;
batchSettleLimit = 40;
numBuckets = 24;
blocksInBucket = 240; // 240 blocks = 3600 seconds/15 seconds per block
blocksInBucket = 300; // 300 blocks = 3600 seconds/12 seconds per block
defaultSingleTransactionThreshold = 1000; //to be set correctly
defaultAggregateValueThreshold = 10000; //to be set correctly
}
Expand Down Expand Up @@ -360,7 +360,7 @@ contract ERC20Safe is Initializable, BridgeRole, Pausable {

function _canProcessDelayedTransaction(DelayedTransaction storage dt) internal returns (bool) {
uint256 currentBlock = block.number;
uint256 averageBlockTime = 15;
uint256 averageBlockTime = 12;

if (dt.isLarge) {
uint256 blocksIn24Hours = (24 * 60 * 60) / averageBlockTime;
Expand Down

0 comments on commit c325b44

Please sign in to comment.