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

Addressed a front-running vulnerability in the matching engine #1228

Open
wants to merge 1 commit into
base: jalextowle/fix/on-morpho-callback-caller
Choose a base branch
from

Conversation

jalextowle
Copy link
Contributor

Description

This PR allows traders to set a counterparty and fee recipient for their trade. This prevents front-running that could violate the trader's intentions. These parameters are optional and will be ignored if they are set to address(0).

@jalextowle jalextowle changed the base branch from main to jalextowle/fix/on-morpho-callback-caller December 16, 2024 21:48
@coveralls
Copy link
Collaborator

Pull Request Test Coverage Report for Build 12361837408

Details

  • 6 of 6 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.02%) to 89.29%

Totals Coverage Status
Change from base Build 12360140555: 0.02%
Covered Lines: 2868
Relevant Lines: 3212

💛 - Coveralls

@Sean329
Copy link

Sean329 commented Dec 17, 2024

Talked to Alex offline for some questions wrt this change. The PR looks good

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.

4 participants