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(support): storage value #137

Merged
merged 1 commit into from
Jul 24, 2023
Merged

feat(support): storage value #137

merged 1 commit into from
Jul 24, 2023

Conversation

failfmi
Copy link
Collaborator

@failfmi failfmi commented Jul 24, 2023

Detailed description:

  • Generic storage type that has exists, get, put and take methods
  • Example:
storageCurrentSlot := support.NewStorageValue(constants.KeyAura, constants.KeyCurrentSlot, sc.DecodeU64)

Which issue(s) this PR fixes:
Fixes #132

Special notes for your reviewer:

Checklist

  • Documentation added
  • Tests updated

@failfmi failfmi requested a review from radkomih July 24, 2023 10:17
@failfmi failfmi self-assigned this Jul 24, 2023
@failfmi failfmi merged commit cdcc391 into master Jul 24, 2023
1 check passed
@failfmi failfmi deleted the feat/storage-value branch July 24, 2023 11:33
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.

Generic storage type
2 participants