Skip to content

Commit

Permalink
test: add tests to verify key/addr format and derivation
Browse files Browse the repository at this point in the history
adds two tests that derives keys and addresses respectively
and compares each set against a corresponding set of hard-coded
keys or addresses.

The hard-coded sets were generated from the alphanet tag.

The tests will fail if the key or address format ever changes
or the derivation scheme, or the bech32m address encoding.

-----

these tests are cherry-picked from branch
alphanet-with-generation-derive-test.

The tests presently fail on master.
They will be updated so they pass in the next commit.
  • Loading branch information
dan-da committed Jan 7, 2025
1 parent 7383c88 commit 8447875
Showing 1 changed file with 181 additions and 0 deletions.
Loading

0 comments on commit 8447875

Please sign in to comment.