subtensor
subtensor copied to clipboard
Automatically fail a registration request if the attempt spans an adjustment interval
Is your feature request related to a problem? Please describe.
When registering, it is possible for the cost to register recycle to change in the middle of registration: if the adjustment interval happens after the registration reports "The cost to register by recycle is τx.xxxxxxxxx", then when the registrant (or their script) enters "y" in response to "Do you want to continue? [y/n] (n):", then they will be charged the new amount, not the amount reported.
Describe the solution you'd like
I would like the script to store the cost it has reported, then when attempting to execute the actual recycle, if the amount is > that reported amount, fail the transaction. (I imagine that most people would be fine with the transaction going through if the new cost is less than the reported cost)
Describe alternatives you've considered
No response
Additional context
No response