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

Refactor state update in entry and exit checks #127

Merged
merged 5 commits into from
Mar 13, 2023

Conversation

fyakubov
Copy link
Contributor

@fyakubov fyakubov commented Mar 13, 2023

Encapsulates state update into modifiers.
Adds missing state updates.
Moves state update from entry and exit to calling methods, and makes entry and exit private to PoolContext.

Reference: Fix-review WP-M3, WP-G8

# Conflicts:
#	contracts/context/SaplingPoolContext.sol
* remove state update modifiers from enter and exit
* make enter and exit private (from internal)
@fyakubov fyakubov merged commit 6718b7f into main Mar 13, 2023
@fyakubov fyakubov deleted the hotfix-entry-exit-checks branch March 13, 2023 15:14
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.

None yet

1 participant