Skip to content

Validate investor investment limit updates impact on new bids #594

@Baskarayelu

Description

@Baskarayelu

Description

Develop tests ensuring updated investor limits are enforced immediately for subsequent bid placements.

Requirements and context

  • Must be secure, tested, and documented
  • Should be efficient and easy to review
  • Preserve existing bids while enforcing future constraints

Suggested execution

  • Fork the repo and create a branch
  • git checkout -b feature/investor-limit-update-enforcement
  • Implement changes
  • Write contract: src/verification.rs and src/bid.rs
  • Write comprehensive tests: src/test_investor_kyc.rs and src/test_bid.rs
  • Add documentation: docs/contracts/investor-kyc.md
  • Include NatSpec-style comments
  • Validate security assumptions

Test and commit

  • Run tests
  • Cover edge cases
  • Include test output and security notes

Example commit message

feat: enforce updated investor limits on new bids

Guidelines

  • Minimum 95 percent test coverage
  • Clear documentation
  • Timeframe: 96 hours

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programbiddingDesign / UX backlog: biddinginvestor-kycAuto label for contract issues: investor-kycpriority-mediumAuto label for contract issues: priority-mediumsmart-contractsAuto label for contract issues: smart-contractstestingAuto label for contract issues: testing

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions