From cb40a6482ab1ada0ee5d8c22ca428c2cb7fd7e81 Mon Sep 17 00:00:00 2001 From: Mohammed Sohail Date: Sun, 23 Feb 2025 10:16:08 +0300 Subject: [PATCH] hotfix: gas refill trigger --- internal/tasker/task/utils.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/internal/tasker/task/utils.go b/internal/tasker/task/utils.go index 649ecd0..bf9cb48 100644 --- a/internal/tasker/task/utils.go +++ b/internal/tasker/task/utils.go @@ -19,7 +19,9 @@ var ( // minGasBalanceRequired is optimistic that the immidiate next transfer request will be successful // but the subsequent one could fail (though low probability), therefore we can trigger a gas lock. // Therefore our system wide threshold is 0.01 CELO or 10000000000000000 gas units - minGasBalanceRequired = big.NewInt(20000000000 * 250000 * 2) + // UPDATE: Feb 2025 + // 0.04455 CELO + minGasBalanceRequired = big.NewInt(27000000000 * 550000 * 3) ) // lockRetry will at most try to obtain the lock 20 times within ~0.5s.