-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
I'm not authorized to modify the code during the judging session.
When you are using the client, if the invoke functions fails (eg: commit = update_prediction)
It's because you need to adjust manually the gas fee limits in : oracle_client/contract.py
28: # LINE TO ADJUST
29: RESSOURCE_BOUND_COMMON = ResourceBounds(329806, 60932837875699)
30: # try to increase with : ResourceBounds(329806, 90932837875699)
Be careful, if the maximum gas value allowed is too high, the transaction will be reverted on Sepolia.
I didn't find during the project a way to automatically use the maximum amount possible.
And because the fees vary a lot between day and hours, It's hard to estimate a proper bound without overshooting (a bound too high also implies a rejection on etherum).
Metadata
Metadata
Assignees
Labels
No labels