Skip to content

Comments

Feat: Account Throttling#770

Open
NachoPal wants to merge 10 commits intomainfrom
nacho/throttling-mechanism
Open

Feat: Account Throttling#770
NachoPal wants to merge 10 commits intomainfrom
nacho/throttling-mechanism

Conversation

@NachoPal
Copy link
Contributor

@NachoPal NachoPal commented Feb 24, 2026

Overview

Add throttling mechanism to prevent governance member abuse. Adds a new pallet-throttle with a CheckThrottle transaction extension that limits per-account byte usage within a rolling block window.

Each account is allowed up to 10 MB of transaction data per day (14400 blocks at 6s/block). Usage resets automatically once the window expires.

🗹 TODO before merging

  • Ready

📌 Submission Checklist

  • Changes are backward-compatible (or flagged if breaking)
  • Pull request description explains why the change is needed
  • Self-reviewed the diff
  • I have included a change file, or skipped for this reason:
  • If the changes introduce a new feature, I have bumped the node minor version
  • Update documentation (if relevant)
  • Updated AGENTS.md if build commands, architecture, or workflows changed
  • No new todos introduced

🧪 Testing Evidence

Please describe any additional testing aside from CI:

  • Additional tests are provided (if possible)

🔱 Fork Strategy

  • Node Runtime Update
  • Node Client Update
  • Other:
  • N/A

Links

@NachoPal NachoPal requested a review from a team as a code owner February 24, 2026 12:01
@github-actions
Copy link
Contributor

github-actions bot commented Feb 24, 2026

kics-logo

KICS version: v2.1.16

Category Results
CRITICAL CRITICAL 0
HIGH HIGH 0
MEDIUM MEDIUM 96
LOW LOW 12
INFO INFO 83
TRACE TRACE 0
TOTAL TOTAL 191
Metric Values
Files scanned placeholder 31
Files parsed placeholder 31
Files failed to scan placeholder 0
Total executed queries placeholder 73
Queries failed to execute placeholder 0
Execution time placeholder 9

@NachoPal
Copy link
Contributor Author

/bot rebuild-metadata

@github-actions
Copy link
Contributor

✅ Metadata rebuild complete! Changes have been committed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant