Skip to content

Hardcoded 5%/105% delivery tolerance window \ #317

Description

@nahimterrazas

The hardcoded 5%/105% delivery tolerance window could match unrelated Transfer events sent to the solver address with a similar amount. For a 1,000,000 transfer this accepts anything between 950,000 and 1,050,000.

Maybe you should make the tolerance configurable via RebalanceConfig or extract as a named constant with documentation explaining the trade-off.

Originally posted by @shahnami in #316 (comment)

Metadata

Metadata

Assignees

No one assigned

    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