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

Non-functional refactoring and improvements #179

Merged
merged 5 commits into from
Mar 14, 2024
Merged

Conversation

kevincheng96
Copy link
Collaborator

@kevincheng96 kevincheng96 commented Mar 13, 2024

Continuing to address some of the minor ABDK audit issues I think are worth addressing. Though tedious, I think these changes help to clean up our code a bit to improve readability and organization.

Changes:

  • Move interfaces out into their own separate files
  • Rename IExecutor to IQuarkWallet
  • Add one line documentation to receive() fallbacks
  • Small optimizations for UniswapFlashLoan.sol

I also changed a few of our tests to use the QuarkMinimalProxy instead of the QuarkWalletStandalone. This may require us to run the gas snapshot again because it will surely bump up some of the gas costs in our tests.

Copy link
Collaborator

@fluffywaffles fluffywaffles left a comment

Choose a reason for hiding this comment

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

🤷

test/quark-core/periphery/BatchExecutor.t.sol Show resolved Hide resolved
@kevincheng96 kevincheng96 merged commit b7ed989 into main Mar 14, 2024
4 checks passed
@kevincheng96 kevincheng96 deleted the kevin/moar-2 branch March 14, 2024 18:35
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