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

prevent accidental changes to storage structs #533

Merged
merged 30 commits into from
Jul 8, 2024
Merged

Conversation

sam0x17
Copy link
Contributor

@sam0x17 sam0x17 commented Jun 13, 2024

Fixes #513

devnet companion: #550, #554

@sam0x17 sam0x17 self-assigned this Jun 13, 2024
@sam0x17 sam0x17 changed the title Sam add freeze layout prevent accidental changes to storage structs Jun 13, 2024
camfairchild
camfairchild previously approved these changes Jun 17, 2024
@open-junius
Copy link
Contributor

Look good! I have a question, how to get the hash value in freeze_struct()?

@sam0x17
Copy link
Contributor Author

sam0x17 commented Jun 18, 2024

Look good! I have a question, how to get the hash value in freeze_struct()?

from the compile error

@sam0x17 sam0x17 requested a review from a team June 18, 2024 20:58
open-junius
open-junius previously approved these changes Jun 19, 2024
@sam0x17 sam0x17 added blue team defensive programming, CI, etc devnet-pass PR has been tested on devnet on-devnet PR has been deployed to devnet and removed devnet-ready PR's companion has been merged into devnet-ready labels Jun 21, 2024
@sam0x17 sam0x17 removed the request for review from orriin June 26, 2024 13:26
@sam0x17 sam0x17 requested review from a team, JohnReedV, gztensor and orriin July 2, 2024 14:19
@sam0x17 sam0x17 added the testnet-pass PR was successfully tested on testnet label Jul 2, 2024
runtime/src/lib.rs Outdated Show resolved Hide resolved
@sam0x17 sam0x17 merged commit 6b9801f into main Jul 8, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blue team defensive programming, CI, etc devnet-pass PR has been tested on devnet on-devnet PR has been deployed to devnet testnet-pass PR was successfully tested on testnet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

prevent accidental changes to storage structs
8 participants