mirror of
https://github.com/grassrootseconomics/cic-custodial.git
synced 2025-04-01 16:49:33 +02:00
hotfix: gas refill trigger
This commit is contained in:
parent
b244fc7dca
commit
cb40a6482a
@ -19,7 +19,9 @@ var (
|
|||||||
// minGasBalanceRequired is optimistic that the immidiate next transfer request will be successful
|
// 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.
|
// 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
|
// 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.
|
// lockRetry will at most try to obtain the lock 20 times within ~0.5s.
|
||||||
|
Loading…
Reference in New Issue
Block a user