Description
Both contractController.getContracts() and ContractUpgradeController.listContracts() return the full result set with no pagination. As the number of deployed contracts per organization grows, these endpoints will become slow and return increasingly large payloads.
Where
backend/src/controllers — contractController.getContracts, ContractUpgradeController.listContracts
Acceptance Criteria
Description
Both
contractController.getContracts()andContractUpgradeController.listContracts()return the full result set with no pagination. As the number of deployed contracts per organization grows, these endpoints will become slow and return increasingly large payloads.Where
backend/src/controllers— contractController.getContracts, ContractUpgradeController.listContractsAcceptance Criteria