paritytech / substrate

Substrate: The platform for blockchain innovators
Apache License 2.0
8.39k stars 2.65k forks source link

Staking Proxy can't register account as validator #14781

Closed nicolasochem closed 1 year ago

nicolasochem commented 1 year ago

Is there an existing issue?

Experiencing problems? Have you tried our Stack Exchange first?

Description of bug

Controller accounts are being deprecated. I want to use a proxy account to declare intent to validate, just like I would previously have used a separate controller.

I have a bonded account not currently registered as validator.

When using the staking/validate extrinsic by proxy, I get a "NotController" error.

Previously, this action was allowed when the controller was separate from the stash. Therefore, it should also be allowed here.

I have verified that the account has the proxy set as "Staking Proxy".

Steps to reproduce

On kusama, run the 'staking/validate' extrincic for an account with the staking proxy. It fails with "Error: NotController"

nicolasochem commented 1 year ago

my bad. actually, I had to set the existing controller back to the stash and then it started working.