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

feat: Genesis vs State management #1569

Open
MSevey opened this issue Feb 27, 2024 · 0 comments
Open

feat: Genesis vs State management #1569

MSevey opened this issue Feb 27, 2024 · 0 comments

Comments

@MSevey
Copy link
Contributor

MSevey commented Feb 27, 2024

          [Follow Up]

Should we be referencing the genesis after we initialize the state? Or should we only be referencing the state after load.

imo we should not reference input variables once they have been loaded into some other struct (i.e. state). This could lead to weird edge cases in the future if the state as some custom logic that transforms the genesis information.

We should consider whether we should be keeping the genesis in memory based on this too.

Originally posted by @MSevey in #1555 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant