-
Notifications
You must be signed in to change notification settings - Fork 11.9k
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
Transient version of ReentrancyGuard #4988
Transient version of ReentrancyGuard #4988
Conversation
🦋 Changeset detectedLatest commit: 0b73212 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Apologies if this has already been brought up elsewhere, but is anyone else getting: Warning: Unreachable code. Weirdly I only started seeing this today, it's balking at the modifier; gotta be the IDE just trippin. Respectfully, |
@fuelfoundry there has been no change to the non-transient reentrancy guard in this PR. Could you make a minimal reproductible example and open an issue ? |
Thank you for reaching out, turns out it's a non-issue. Upon review, it appears during a previous code reorganization I implemented a unnecessarily overly secure fallback function, more out of an abundance of caution, as shown below: fallback() external payable nonReentrant { revert("tisk, tisk..."); } |
Fixes #4205
Fixes #4888
Replace #4955
PR Checklist
npx changeset add
)