Skip to content

Extract Internal Constants to Dedicated Module #500

@Yunusabdul38

Description

@Yunusabdul38

Extract Internal Constants to Dedicated Module

Description

Move constants like MAX_OPTIONS, MIN_RESOLUTION_WINDOW, and DEFAULT_FEES to a new file 'constants.rs'.

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

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions