Force Remove Bucket

Force Remover Bucket user flow testing

  1. Ensure that bucket has been created in the chain storage.

To view the storage of bucket, 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 buckets function using the dropdown input field.

  • Make sure to select namespace ID and bucket id in the input field.

  • Click the ⊕ plus button on the right side.

  • You will see 'PalletBucketBucket'; this means bucket has been created.

  1. Open the Developer tab, then click Sudo.

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

  1. Select the 'force remove bucket' extrinsic function.

  1. Select namespace id and bucket id.

  2. Click submit sudo transaction

  1. On success, it emits the BucketDeleted event.

  1. To view the storage changes of a bucket deleted, 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 buckets from the dropdown input field.

  • Choose namespace id and bucket id then click the ⊕ plus button on the right side.

You will see 'None', which means no bucket has been created.

Last updated