Skip to content

Fix incomplete wallet creation example in testing documentation#1

Open
GeObts wants to merge 1 commit intomasterfrom
fix-wallet-testing-docs
Open

Fix incomplete wallet creation example in testing documentation#1
GeObts wants to merge 1 commit intomasterfrom
fix-wallet-testing-docs

Conversation

@GeObts
Copy link
Copy Markdown
Owner

@GeObts GeObts commented Feb 4, 2026

Problem

The testing documentation in contrib/TESTING.md shows an incomplete example of wallet creation that would cause errors for developers trying to follow it.

Fix

Updated the documentation to show the correct usage with required parameters.

Verification

Verified against actual test files in the codebase.

- Updated wallet creation example with required parameters
- Added explanatory comments about use_password and overwrite
- Fixed assertion to check actual wallet properties
- Updated explanation text for clarity

This fixes the documentation bug where create_new_coldkey() was shown
without required parameters, which would cause errors for developers
following the testing guide.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant