-
Notifications
You must be signed in to change notification settings - Fork 214
Stake operation limits #1766
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: devnet-ready
Are you sure you want to change the base?
Stake operation limits #1766
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, comments are about superficial things.
@opentensor/cerebrum / @opentensor/gyrus / @opentensor/cortex breaking change detected! Please prepare accordingly! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small changes needed
This PR introduces staking operation rate limits. All operations that 'add stake' including moving stake operations set a "this block limit". It prevents any 'remove stake' operations including moving stake operations until the next block. The exception is transfer_stake that doesn't set the destination limit. All limits will be removed on each block. We're limiting the triplet (hot, cold, subnet).