Badger-Finance / Badger-Finance/python-keepers

Debug gas estimation convex setts

Open
#30 0 comments 0 reactions 1 assignee Claimed by @btcookies View on GitHub
techdebt
Dominant language
Python
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Harvest transactions are reverting with an out of gas error message because the estimated gasLimit from the node is too low. We're unsure if this is a quiknode issue or a web3py issue or if it's stemming from the number of calls within the harvest function to other contracts (apparently estimateGas sucks when contracts call other contracts).

Steps to debug:
- test using a non quiknode provider
- log estimated gas amount + actual gas used amount
- manually set gas to 4m

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.