1.1.2 (Option) Remove Admin
Remove Admin Step-by-Step test guide
Removes an admin account. Ensures the caller has the configured whitelist origin, checks the account is currently registered, removes it from AdminAccounts storage, emits AdminRemoved event, and returns Ok.
Go to Developer → Extrinsics.
In “Account”, select your Sudo/Root account (e.g., Alice).
Under “submit the following extrinsic”, choose
sudo.Under “Call”, select
sudoUncheckedWeight.In the parameters, choose:
call: selectxcavateWhitelist → remove_admin.admin: type the account to add.weight: set as default or leave blank.
Click Submit Transaction → Sign and Submit.

Transaction approved

✅ Check result:
Go to Developer → (1) Chain State → (2)
xcavateWhitelist → adminAccounts(account)→ (3) Click + Query.Should return
None.

Return none after Alice is also removed

Last updated