Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor Fixed Price estimator #13834

Draft
wants to merge 20 commits into
base: develop
Choose a base branch
from
Draft

Conversation

dimriou
Copy link
Collaborator

@dimriou dimriou commented Jul 11, 2024

BCI-3751

Refactors Fixed Price estimator to work in a similar manner as Universal Estimator.

Requires Dependencies

@dimriou dimriou changed the base branch from develop to universal_estimator July 11, 2024 21:03
@dimriou dimriou changed the title Introduce universal estimator Refactor Fixed Price estimator Jul 11, 2024
if f.config.FeeCapDefault().Cmp(f.config.PriceMax()) != 0 {
f.lggr.Infof("You are using FixedPrice estimator with gas bumping disabled. EVM.GasEstimator.PriceMax (value: %s) will be used as the FeeCap for transactions", f.config.PriceMax())
}
func (f *FixedPriceEstimator) Start(context.Context) error {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: add a check to prevent tip being higher than max fee

Base automatically changed from universal_estimator to develop September 4, 2024 02:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant