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

Store taker in transient storage to reduce attack surface for callbacks #114

Closed
wants to merge 3 commits into from

Conversation

duncancmt
Copy link
Collaborator

@duncancmt duncancmt commented May 7, 2024

Ugh. The taker-submitted gas is so much worse now

@duncancmt duncancmt requested a review from dekz May 7, 2024 21:22
@duncancmt duncancmt self-assigned this May 7, 2024
function _msgSender() internal view virtual override returns (address) {
return TransientStorage.getPayer();
}

/// @dev You must ensure that `target` is derived by hashing trusted initcode or another
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

need to revisit this comment now

@duncancmt
Copy link
Collaborator Author

merged to master

@duncancmt duncancmt closed this Jun 20, 2024
@duncancmt duncancmt deleted the dcmt/transient-taker branch June 20, 2024 13:59
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