Skip to content

[Feat]: Share the pagination page-size limit across contracts #247

Description

@sphamjoli

Component

Other

Priority

P2

Summary

DotnsNameEscrow defines its own MAX_RELEASED_PAGE_SIZE and MAX_REFUND_PAGE_SIZE, both 200. DotnsConstants.MAX_PAGE_SIZE (200) now holds the shared page-size ceiling and backs the PoP controller's paginated reads. Point the escrow constants at DotnsConstants.MAX_PAGE_SIZE so the limit lives in one place rather than being repeated per contract.

Proposal

  • Replace DotnsNameEscrow.MAX_RELEASED_PAGE_SIZE and MAX_REFUND_PAGE_SIZE with DotnsConstants.MAX_PAGE_SIZE.
  • Keep the value at 200, so there is no change to the enforced page size.

Acceptance criteria

  • The escrow pagination bounds read from DotnsConstants.MAX_PAGE_SIZE.
  • The enforced page size is unchanged.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Tetiary Priority

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions