Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

Commit

Permalink
feat: add 33 byte payload test
Browse files Browse the repository at this point in the history
  • Loading branch information
kratico committed Mar 16, 2023
1 parent 02bac1d commit 3fe6178
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions crypto/ss58.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,11 @@ for (
"PtpysyAc2jKD3ehyryi5dkj",
[42, Uint8Array.from([1, 2, 3, 4, 5, 6, 7, 8]), 8],
],
[
"substrate 33 byte payload",
"KVqMLDzVyHChtJ8imRTkP22Tuz8Yd7X9MABUhz1rHNpHny12V",
[42, new Uint8Array(33)],
],
] as const
) {
Deno.test(`ss58.encode ${networkName}`, () => {
Expand Down

0 comments on commit 3fe6178

Please sign in to comment.