-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add encoding / decoding for
bytes[CompactBytesArray]
(#261)
* feat: add encoding / decoding for `bytes[CompactBytesArray]` Co-authored-by: b00ste.lyx <[email protected]> * chore: fix linter errors * test: add test for empty elements * refactor: array filter/reduce + simplify large values in tests * test: put back the `0x` prefix * chore: fix linter error * refactor: return empty string when decoding CompactBytesArray * test: re-organise unit tests * chore: fix linter error * chore: `let` > `const` Co-authored-by: b00ste.lyx <[email protected]>
- Loading branch information
Showing
2 changed files
with
156 additions
and
0 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
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