Skip to content

feat: Allow solvers to set a custom gas fees in their solution #4297

@bram-vdberg

Description

@bram-vdberg

Problem

The reference driver currently uses a standard hardcoded priority fee and tip for all solvers. By allowing a solver to provide a custom priority fee or tip we can allow solvers more flexibility to have their solutions included when fees are high or to lower these fees to provide better prices to the users when fees are low.

Suggested solution

The driver would continue to use default gas fees for all solvers. The solver's would have the option of including custom priority fees or tips that would override these when specified.

Alternatives considered

No alternatives have been considered yet.

Additional context

Currently we have received requests from solvers to either increase or lower these fees.

Acceptance criteria

  • Backwards compatible with solvers who do not want to implement this change (and using the default values)
  • Solvers can add custom priority fees to their solution
  • Solvers can add custom tips to their solution

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions