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

Legacymarket audit fixes #2133

Merged
merged 50 commits into from
Mar 5, 2024
Merged

Legacymarket audit fixes #2133

merged 50 commits into from
Mar 5, 2024

Conversation

dbeal-eth
Copy link
Contributor

some required fixes as part of the audit for the legacy market on the v3 side.

* fix critical `migrateOnBehalf` is broken because snx token does not approve the transfer. approval shuoldn't be necessary
* prevent escrow entries from being created by untrusted entities. otherwise escrow entries would be vulnerabile to a type of smashing attack
@dbeal-eth dbeal-eth self-assigned this Aug 11, 2023
Copy link
Member

@barrasso barrasso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

smart contract changes look good. Just a couple comments on publish/ related stuff

publish/deployed/local/deployment.json Outdated Show resolved Hide resolved
publish/src/commands/deploy/configure-reward-escrow.js Outdated Show resolved Hide resolved
Copy link

codecov bot commented Feb 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.48%. Comparing base (d656d51) to head (91b1962).

❗ Current head 91b1962 differs from pull request most recent head 4e144eb. Consider uploading reports for the commit 4e144eb to get more accurate results

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2133      +/-   ##
===========================================
- Coverage    92.48%   92.48%   -0.01%     
===========================================
  Files           91       91              
  Lines         2276     2274       -2     
  Branches       673      672       -1     
===========================================
- Hits          2105     2103       -2     
  Misses         171      171              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@barrasso barrasso merged commit 36e7a9b into develop Mar 5, 2024
12 of 16 checks passed
@barrasso barrasso deleted the legacymarket-audit-fixes branch March 5, 2024 20:58
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.

2 participants