Skip to content

Conversation

@SucharMistrz
Copy link
Collaborator

The purpose of this branch is to introduce a proper method of validating mnemonics, discarded in previous versions.

List of changes:

  • updated mnemonic.dart with a new isValidMnemonic() method of validating mnemonics without creating a Mnemonic object. Previously implemented validation in Mnemonic object constructor has been updated to work with the converted static methods but otherwise remained unchanged as it might later be used for displaying more specific reasons on why a mnemonic is invalid.
  • updated mnemonic_test.dart to include tests for the new isValidMnemonic() method

The purpose of this branch is to introduce a proper method of validating mnemonics, discarded in previous versions.

List of changes:
- updated mnemonic.dart with a new isValidMnemonic() method of validating mnemonics without creating a Mnemonic object. Previously implemented validation in Mnemonic object constructor has been updated to work with the converted static methods but otherwise remained unchanged as it might later be used for displaying more specific reasons on why a mnemonic is invalid.
- updated mnemonic_test.dart to include tests for the new isValidMnemonic() method
@kronikarz kronikarz merged commit 3c31865 into master Mar 18, 2025
2 checks passed
@kronikarz kronikarz deleted the ks-feature/reimplement-mnemonic-validation branch March 18, 2025 12:02
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.

4 participants