Skip to content

Implement proper project name validation in register_project #88

@Naomi-Gift

Description

@Naomi-Gift

Priority: Medium
Type: Enhancement
Description: The register_project function only checks if name is empty, but the test module in project_registry.rs has a validate_project_data function that validates:
Max length (50 chars)
Alphanumeric + underscore + hyphen only
No whitespace-only names
This validation logic should be moved from tests to the actual contract function

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions