Skip to content

feat: add and sub traits for StorageKey#163

Open
greged93 wants to merge 3 commits intostarkware-libs:mainfrom
greged93:feat/add-trait-storage-key
Open

feat: add and sub traits for StorageKey#163
greged93 wants to merge 3 commits intostarkware-libs:mainfrom
greged93:feat/add-trait-storage-key

Conversation

@greged93
Copy link
Copy Markdown

@greged93 greged93 commented Dec 13, 2023

Implement the Add and Sub traits for StorageKey in order to easily offset a StorageKey instance. The addition or subtraction will panic in case of a underflow/overflow.


This change is Reviewable

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