You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: For a workspace with many historical bookings, the availability check iterates every booking ID in WorkspaceBookings. This could hit Soroban instruction limits at scale. Consider pruning completed/cancelled bookings from the index or storing only active booking IDs.
Implementation & verification: Treat this as a protocol-safety change: check authorization, storage/ABI compatibility, ledger-time behavior, and emitted events before changing the implementation. Add a contract-level regression test for both the invalid and successful paths.
Work distribution: Implementation: contracts/workspace_booking/src/lib.rs. Integration: update the directly connected public interface only where required. Verification: contracts/workspace_booking/src/test.rs.
Area: Smart Contract
WorkspaceBookings. This could hit Soroban instruction limits at scale. Consider pruning completed/cancelled bookings from the index or storing only active booking IDs.contracts/workspace_booking/src/lib.rs,contracts/workspace_booking/src/test.rscontracts/workspace_booking/src/lib.rs,contracts/workspace_booking/src/test.rscontracts/workspace_booking/src/lib.rs. Integration: update the directly connected public interface only where required. Verification:contracts/workspace_booking/src/test.rs.