Skip to content

Commit

Permalink
Test empty ByteListType (#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
dapplion authored Apr 8, 2022
1 parent 5c706b4 commit b8f7e7c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/ssz/test/unit/byType/byteList/valid.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ runTypeTestValid({

function getValues(hexToJson: (hex: string) => unknown): TypeTestValid[] {
return [
{
id: "empty",
serialized: "0x",
json: hexToJson("0x"),
root: "0xe8e527e84f666163a90ef900e013f56b0a4d020148b2224057b719f351b003a6",
},
{
id: "4 bytes zero",
serialized: "0x00000000",
Expand Down

0 comments on commit b8f7e7c

Please sign in to comment.