Skip to content

Commit

Permalink
Add comment to update ValueID when SlabID is changed
Browse files Browse the repository at this point in the history
  • Loading branch information
fxamacker committed Sep 21, 2023
1 parent 0d57f80 commit 1643589
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ func (vid ValueID) String() string {
)
}

// WARNING: Any changes to SlabID or its components (Address and SlabIndex)
// require updates to ValueID definition and functions.
type (
Address [8]byte
SlabIndex [8]byte
Expand Down

0 comments on commit 1643589

Please sign in to comment.