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

Feat/eliminate use of bytes in function interfaces #97

Merged
merged 8 commits into from
Dec 16, 2024

Conversation

mevtxn
Copy link
Collaborator

@mevtxn mevtxn commented Nov 21, 2024

No description provided.

@mevtxn mevtxn force-pushed the feat/eliminate-use-of-bytes-in-function-interfaces branch from 61685ec to 0a7be28 Compare November 25, 2024 09:18
Copy link

@eugene-eko2000 eugene-eko2000 left a comment

Choose a reason for hiding this comment

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

You are dropping hintdices from the executeAndVerify calls. Is it intended?

@TokenTitan
Copy link
Contributor

You are dropping hintdices from the executeAndVerify calls. Is it intended?

@eugene-eko2000 yes I mentioned the same in the call as well and asked @mevtxn to do this. By eliminating this parameter all together we make execute and verify simpler and avoid chances of any discrepancies. It is safer to just calculated it and store within the contract itself.

@mevtxn mevtxn marked this pull request as ready for review November 27, 2024 09:14
src/timetravel/CallBreaker.sol Show resolved Hide resolved
src/timetravel/CallBreaker.sol Outdated Show resolved Hide resolved
test/examples/DeFi/MockFlashLoan.sol Outdated Show resolved Hide resolved
test/examples/DeFi/MockFlashLoan.sol Outdated Show resolved Hide resolved
test/examples/DeFi/MockFlashLoan.sol Outdated Show resolved Hide resolved
Copy link

@eugene-eko2000 eugene-eko2000 left a comment

Choose a reason for hiding this comment

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

Looks good for me, I didn't look deeply into the implementation i.e. how new hintdices work, etc.

@TokenTitan TokenTitan merged commit e869ae7 into main Dec 16, 2024
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.

3 participants