-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make BytesData generic to support all multiples of 4 bytes (up to 16).
Removes Data- types and switches to Go's built-in type system. Modifies tests to allow for creation and interpretation of 8- and 12-byte data. Change became necessary when it was noticed that some nft binary operations allowed for 8-byte data. Previously believed data was restricted to 4 or 16 bytes, but turned out the restriction is for data to be given in multiples of 4 bytes. This change corrects that. PiperOrigin-RevId: 666542163
- Loading branch information
1 parent
16b019b
commit 452ecde
Showing
4 changed files
with
421 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.