Create Tag
Create Tag user flow testing
Ensure that tag hasn't been created in the chain storage.
To view the storage of tag, 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 tags function using the dropdown input field.

Make sure to select tag ID in the input field.
Click the ⊕ plus button on the right side.
You will see '[]'; this means no tag has been created yet.

Open the Developer tab, then click Extrinsics.

Select the buckets pallet from the dropdown input field.

Select the 'create tag' extrinsic function.

Select bucket id and new tag as shown below.

Click on “Submit Transaction.”

On success, it emits the NewTag event.

To view the storage changes of a tag created, 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 tags from the dropdown input field.

Choose tag id then click the ⊕ plus button on the right side.
You will see 'TagInfo', which means the tag has been created.

Last updated