Description:
The Job Registry handles complex state manipulation involving nested maps and dynamic arrays of bids, which introduces unique challenges within the Soroban execution environment. This issue tasks the engineering team to deploy extensive test suites validating the board's mechanics. Tests must mock the creation of multiple jobs by various clients and simulate dozens of freelancers submitting bids concurrently. Critical assertions must verify that a freelancer cannot bid on a job that has already been closed or assigned, and that clients cannot arbitrarily accept multiple bids for a monolithic job. Furthermore, the test suite needs to benchmark the gas and compute costs associated with storing long lists of bids tracking exactly when pagination or off-chain indexers like stellar-horizon become strictly necessary.
Requirements:
- Create extensive mocked interactions tracking the lifecycle from job creation to bid acceptance.
- Write tests ensuring state validity (no bidding on closed jobs, only the owner accepts bids).
- Evaluate Soroban ledger limits regarding array sizes for freelancer proposals.
- Ensure the connection between Job ID and the finalized Escrow setup is rock solid.
Acceptance Criteria:
- 100% test coverage over the job posting and bidding module.
- All state-violation attempts gracefully return specific error enumerations.
- Storage efficiency validates that the platform can scale to thousands of simultaneous jobs.
Backend Infrastructure (Rust + Axum)
Description:
The Job Registry handles complex state manipulation involving nested maps and dynamic arrays of bids, which introduces unique challenges within the Soroban execution environment. This issue tasks the engineering team to deploy extensive test suites validating the board's mechanics. Tests must mock the creation of multiple jobs by various clients and simulate dozens of freelancers submitting bids concurrently. Critical assertions must verify that a freelancer cannot bid on a job that has already been closed or assigned, and that clients cannot arbitrarily accept multiple bids for a monolithic job. Furthermore, the test suite needs to benchmark the gas and compute costs associated with storing long lists of bids tracking exactly when pagination or off-chain indexers like stellar-horizon become strictly necessary.
Requirements:
Acceptance Criteria:
Backend Infrastructure (Rust + Axum)