-
Notifications
You must be signed in to change notification settings - Fork 13
feat: add kmd tests #498
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: decoupling
Are you sure you want to change the base?
feat: add kmd tests #498
Conversation
|
@lempira I think it would be good to have this as a npm script and integrated into the |
c376002 to
3049301
Compare
I added a target at the top-level package.json and at in client package.json. The client script targets have relative paths right now, but I plan to move the |
1d85543 to
62de8cf
Compare
Add localnet config and fixture helpers for wallet/key management
- Add localnetConfig and test constants to config.ts - Create fixtures.ts with wallet/key helper functions - Implement GET versions and wallets tests - Implement POST wallet create/init/info/release/rename/renew tests - Disable globalSetup for localnet testing
- post_v1_key.test.ts - post_v1_key_list.test.ts - post_v1_key_export.test.ts - post_v1_key_import.test.ts - delete_v1_key.test.ts - post_v1_master_key_export.test.ts (skipped: Uint8Array vs number[] type mismatch)
- post_v1_multisig_import.test.ts - post_v1_multisig_list.test.ts - post_v1_multisig_export.test.ts (skipped: Uint8Array[] vs number[][] type mismatch) - delete_v1_multisig.test.ts - post_v1_multisig_sign.test.ts - post_v1_multisig_signprogram.test.ts Added algod-client and transact as devDependencies for signing tests..
- post_v1_transaction_sign.test.ts - post_v1_program_sign.test.ts
62de8cf to
6cc6303
Compare
Implements KMD client tests for localnet integration testing. Tests cover wallet management, key management, multisig operations, and transaction/program signing.
Skipped tests (2) due to Zod schema type mismatches:
post_v1_master_key_export- Client returnsmasterDerivationKeyasUint8Array, schema expectsnumber[]post_v1_multisig_export- Client returnspublicKeysasUint8Array[], schema expectsnumber[][]