File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
waku/waku_rln_relay/group_manager/on_chain Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -230,14 +230,15 @@ method register*(
230230 var gasPrice: int
231231 g.retryWrapper (gasPrice, " Failed to get gas price" ):
232232 let fetchedGasPrice = uint64 (await ethRpc.provider.eth_gasPrice ())
233- # Check for overflow when multiplying by 2
233+ # # Multiply by 2 to speed up the transaction
234+ # # Check for overflow when casting to int
234235 if fetchedGasPrice > uint64 (high (int ) div 2 ):
235- debug " Gas price overflow detected, capping at maximum int value" ,
236+ trace " Gas price overflow detected, capping at maximum int value" ,
236237 fetchedGasPrice = fetchedGasPrice, maxInt = high (int )
237238 high (int )
238239 else :
239240 let calculatedGasPrice = int (fetchedGasPrice) * 2
240- debug " Gas price calculated" ,
241+ trace " Gas price calculated" ,
241242 fetchedGasPrice = fetchedGasPrice, gasPrice = calculatedGasPrice
242243 calculatedGasPrice
243244 let idCommitmentHex = identityCredential.idCommitment.inHex ()
You can’t perform that action at this time.
0 commit comments