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

Transient Reentrancy Guard #115

Merged
merged 7 commits into from
Oct 15, 2024
Merged

Transient Reentrancy Guard #115

merged 7 commits into from
Oct 15, 2024

Conversation

syntrust
Copy link
Contributor

@syntrust syntrust commented Oct 14, 2024

Upgrade solidity to v0.8.28 as it fully supports transient state variables of value types. Thus we can get rid of the lengthy code of "@openzeppelin/contracts/utils/ReentrancyGuardTransient.sol" and its dependencies introduced in #108.

Reference:
https://docs.soliditylang.org/en/v0.8.28/contracts.html#transient-storage

@syntrust syntrust changed the title Transient ReentrancyGuard Transient Reentrancy Guard Oct 14, 2024
@syntrust syntrust marked this pull request as ready for review October 14, 2024 07:31
Copy link
Contributor

@qzhodl qzhodl left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@qizhou qizhou left a comment

Choose a reason for hiding this comment

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

I suggest no mixing the change of the code with coding style reformating.

package.json Outdated Show resolved Hide resolved
@syntrust syntrust requested a review from qizhou October 15, 2024 02:37
@syntrust syntrust merged commit 1b00c3c into main Oct 15, 2024
1 check passed
@qzhodl
Copy link
Contributor

qzhodl commented Oct 15, 2024

I suggest no mixing the change of the code with coding style reformating.

Yes, I think it is a good practice that we need to follow

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.

4 participants