Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Configure Gas Tank for Memberships #437

Merged
merged 22 commits into from
Jan 7, 2025

Conversation

pandres95
Copy link
Member

This Pull Request configures pallet-communities-manager to set gas tanks on new and existing memberships.

@pandres95 pandres95 force-pushed the feat/configure-gas-tanks-on-memberships branch from 55f8c30 to 00a0ba0 Compare December 16, 2024 01:51
@pandres95 pandres95 force-pushed the feat/configure-gas-tanks-on-memberships branch from dee90d5 to ebd262e Compare December 19, 2024 03:53
@pandres95 pandres95 force-pushed the feat/configure-gas-tanks-on-memberships branch from ebd262e to 0cdbe14 Compare December 19, 2024 03:54
Copy link
Member

@olanod olanod left a comment

Choose a reason for hiding this comment

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

I'd suggest moving the KreivoMemberships in a more generic form to frame contrib where the non fungibles implementation is applied to a struct (instead of T), that accepts a configurable list of system attributes that should be copied from the manager collection to the new collection.

runtime/kreivo/src/configuration/system_support.rs Outdated Show resolved Hide resolved
pallets/communities-manager/src/lib.rs Outdated Show resolved Hide resolved
@pandres95 pandres95 force-pushed the feat/configure-gas-tanks-on-memberships branch 3 times, most recently from 7535c70 to e3b1600 Compare January 5, 2025 23:17
@pandres95 pandres95 force-pushed the feat/configure-gas-tanks-on-memberships branch from e3b1600 to 9d1ee48 Compare January 5, 2025 23:34
@pandres95 pandres95 requested a review from olanod January 5, 2025 23:35
@pandres95 pandres95 requested a review from olanod January 7, 2025 16:06
@pandres95 pandres95 merged commit 9eee9a3 into master Jan 7, 2025
2 checks passed
@pandres95 pandres95 deleted the feat/configure-gas-tanks-on-memberships branch January 7, 2025 16:49
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.

2 participants