Remove Manager

Remove Manager user testing flow

  1. Ensure that manager hasn been created in the chain storage.

To view the storage of manager, follow the steps below.

  • Go to the Developer tab in menu bar.

  • Select Chain State from Developer menu list.

  • Select a pallet buckets from the dropdown menu.

  • Select the managers function using the dropdown input field.

  • Make sure to select manager ID and manager account in the input field.

  • Click the ⊕ plus button on the right side.

  • You will see 'null'; this means manager has been created.

  1. Open the Developer tab, then click Extrinsics.

  1. Select the buckets pallet from the dropdown input field.

  1. Select the 'remove manager' extrinsic function.

  1. Select namespace id, and manager as shown below.

  1. Click on “Submit Transaction.”

  1. On success, it emits the ManagerRemoved event.

  1. To view the storage changes of a manager removed, follow the steps below.

  • Go to the Developer tab in menu bar.

  • Select Chain State from Developer menu list.

  • Select the buckets pallet from the state query dropdown input field.

  • Select the managers from the dropdown input field.

  • Choose manager id and account then click the ⊕ plus button on the right side.

You will see 'none', which means the manager has been removed.

Last updated