Skip to content

Refuse no-op operator settings and limit them per hour - #25

Merged
jim-toth merged 1 commit into
masterfrom
gateway-settings-changes
Nov 8, 2026
Merged

jim-toth merged 1 commit into
masterfrom
gateway-settings-changes

Conversation

@jim-toth

@jim-toth jim-toth commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

Summary

Set-Delegate and Set-Share messages that would change nothing, or that the contract would refuse, no longer reach the node, and each action is limited per operator per hour.

Changes

  • Set-Delegate takes address and share together, or neither to reset. The contract ignores an address without a share and resets on a share without an address.
  • 409 without reaching the node for a change to the current delegate and share, a reset with no delegate, and a share equal to the current one or the pending one.
  • 403 for Set-Share while staking-rewards has shares or operator share setting turned off.
  • SETTINGS_CHANGES_PER_SIGNER_PER_HOUR (6) per signer and action, counted only once the signer passes the operator check.
  • Service README.

Verified

…at staking-rewards would refuse, and limits each per operator per hour.
@jim-toth
jim-toth changed the base branch from gateway-new-signer-checks to master November 8, 2026 19:14
@jim-toth
jim-toth merged commit 8a4c009 into master Nov 8, 2026
6 checks passed
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