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

More state refactoring #6

Merged
merged 4 commits into from
Dec 9, 2024
Merged

More state refactoring #6

merged 4 commits into from
Dec 9, 2024

Conversation

jbrower95
Copy link
Contributor

No description provided.

@@ -212,4 +231,42 @@ library ZEnvHelpers {
string memory envvar = string.concat(ENV_PREFIX, key);
return vm.envBool(envvar);
}

function __markDirty(State storage s, string memory key) internal {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

__markDirty is only internal vs. private because the state updating logic is still in ZeusScript for some reason

Copy link
Contributor Author

Choose a reason for hiding this comment

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

maybe we'll move that too in the future

@jbrower95 jbrower95 changed the base branch from alex/refactor-state to master December 9, 2024 22:40
@jbrower95 jbrower95 merged commit cc3b1b8 into master Dec 9, 2024
2 of 4 checks passed
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.

1 participant