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)
With this specific line of code for example, it could be that the
amountis chosen just so that an unfavorable rounding occurs for theseller. Done repeatedly this could be a serious griefing attack, depending on the particular decimalsOriginally posted by @QGarchery in #3 (comment)