Rotate Key
Rotate Key user flow testing
Ensure that key hasn't been rotated in the chain storage.
To view the storage of rotate key, 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 'PaletbucketBucket'; without rotate key

Open the Developer tab, then click Extrinsics.

Select the buckets pallet from the dropdown input field.

Select the 'rotate key' extrinsic function.

Select namespace id, bucket id, and newEncryptionKey as shown below.

Click on “Submit Transaction.”

On success, it emits the BucketWritableWithKey event.

To view the storage changes of a bucket rotate key, 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 'PalletBucketBucket', with new rotate key

Last updated