subtensor icon indicating copy to clipboard operation
subtensor copied to clipboard

Automatically fail a registration request if the attempt spans an adjustment interval

Open Jackalgirl opened this issue 10 months ago • 0 comments

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

Jackalgirl avatar Apr 02 '24 18:04 Jackalgirl