Skip to content

Implement get_version Query Function #499

@Yunusabdul38

Description

@Yunusabdul38

Implement get_version Query Function

Description

Create a public getter that returns the current version number (e.g., Symbol::new(e, '0.1.0')) stored in the contract.

Requirements

  • Simple implementation with clear documentation.
  • Follow Soroban/Rust best practices.
  • Ensure CI checks pass.

Task for Contributor

  • Implement the requested change.
  • Add a unit test verifying the fix.
  • Ensure code is well-formatted.

Verification

  • Run 'cargo test' and ensure it passes.
  • Verify locally with Soroban CLI if applicable.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions