Skip to content

Conversation

@tlacloc
Copy link
Contributor

@tlacloc tlacloc commented Dec 19, 2023

No description provided.

@tlacloc tlacloc self-assigned this Dec 19, 2023
)?;
Self::remove_from_afloat_marketplace(account_id.clone())?;
UserInfo::<T>::remove(account_id);
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GPT summary of 6a0c05 - fc976d:

  • Added a call to Rbac::remove_pallet_storage at the end of the Pallet::uninstall function.

@github-actions
Copy link

GPT summary of cb5f262:

PR summary so far:

  • Removed pallet storage from the 'Pallet' module.
  • Updated the Pallet::uninstall function to include a call to Rbac::remove_pallet_storage.

T::RemoveOrigin::ensure_origin(origin.clone()).is_ok(),
Error::<T>::NotAuthorized
);
Self::do_remove_permission_from_pallet(pallet, permission_id)?;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GPT summary of d8dcfd - 04c864:

  • Added a new call index 6 for the remove_pallet_permissions function
  • Added weight to the remove_pallet_permissions function
  • Added a check to ensure that the origin is authorized for the remove_pallet_permissions function
  • Added functionality to the remove_pallet_permissions function to remove pallet storage

@github-actions
Copy link

GPT summary of a35edbe:

  • Added a call index for remove_pallet_permissions lib.rs
  • Added weight for remove_pallet_permissions lib.rs
  • Added origin check for remove_pallet_permissions lib.rs
  • Added logic for remove_pallet_permissions lib.rs

PR summary so far:

  • Removed pallet storage from the Pallet::uninstall function
  • Added a new call index, weight, origin check, and functionality for the remove_pallet_permissions function

@tlacloc tlacloc merged commit 5cc43e4 into main Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants