Skip to content

Grieffing attack when rounding seller/buyer offers #10

Description

@gd-colin
          When introducing shares here there is a tricky rounding consideration that does not exist in Morpho Blue for example. In Morpho Blue, every time a rounding occurs, it is at the expense of the user that is interacting with the protocol. It's different here because `MATCH` is applied also to the maker, and that user is not interacting directly with the protocol. 

With this specific line of code for example, it could be that the amount is chosen just so that an unfavorable rounding occurs for the seller. Done repeatedly this could be a serious griefing attack, depending on the particular decimals

Originally posted by @QGarchery in #3 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions