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/freeze removal #105

Merged
merged 2 commits into from
Jun 1, 2022
Merged

feat/freeze removal #105

merged 2 commits into from
Jun 1, 2022

Conversation

fish-sammy
Copy link
Contributor

No description provided.

bytes32 internal constant PREFIX_COMMAND_EXECUTED = keccak256('command-executed');
bytes32 internal constant PREFIX_TOKEN_ADDRESS = keccak256('token-address');
bytes32 internal constant PREFIX_TOKEN_TYPE = keccak256('token-type');
bytes32 internal constant PREFIX_TOKEN_FROZEN = keccak256('token-frozen');
Copy link
Member

Choose a reason for hiding this comment

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

Can we keep the prefixes either commented out or some other way so we don't have prefix collisions in the future?

Copy link
Contributor

Choose a reason for hiding this comment

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

I think commenting them out is a good idea in general, but in this case none of the storage slots are used as we don't have any tokens frozen

Copy link
Member

Choose a reason for hiding this comment

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

We could potentially have some frozen at the time of deployment, so it's usually safest to avoid making assumptions on the future state.

@fish-sammy fish-sammy merged commit f1a542a into main Jun 1, 2022
@fish-sammy fish-sammy deleted the feat/freeze-removal branch June 1, 2022 21:04
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.

3 participants