Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[ENHANCEMENT][RELAY SIZE] Implement configurable relay data size limit on PATH

Open
#320 0 comments 2 reactions 1 assignee View on GitHub

@commoddity is already working on this.

Since Jun 30, 2025.

Assessment

This issue has not been assessed yet.

Description

potential community

Objective

Users are always hungry for data but RPC calls are not always best serviced at humongous data sizes. We should implement a configurable data size limit on PATH with a reasonable default.

Origin Document

Discord discussion

Goals

  • Implement new environment variables with reasonable defaults
  • Return an easy-to understand error when users exceed these limits

Deliverables

  • Implement a new PATH environment variable relay_request_size_limit (in bytes). Return HTTP 413 if the request exceeds this limit
  • Implement a new PATH environment variable relay_response_size_limit (in bytes). Return HTTP 413 if the response exceeds this limit
  • Default both variables in config/config.shannon_example.yaml to 10000000 (10MB)

Non-goals / Non-deliverables

  • Any other environment variables

General deliverables

  • Comments: Add/update TODOs and comments alongside the source code so it is easier to follow.
  • Testing: Add new tests (unit and/or E2E) to the test suite.
  • Makefile: Add new targets to the Makefile to make the new functionality easier to use.
  • Documentation: Update architectural or development READMEs; use mermaid diagrams where appropriate.

Creator: @fredteumer
Co-Owners: @jorgecuesta

Dominant language
Go
Stars
12
Forks
8
PR merge metrics
No merged PRs in 30d

Getting set up

We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from pokt-network/path

All issues in pokt-network/path

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.