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

pallet-fellowship 2 #203

Merged
merged 12 commits into from
Sep 12, 2023
Merged

pallet-fellowship 2 #203

merged 12 commits into from
Sep 12, 2023

Conversation

f-gate
Copy link
Member

@f-gate f-gate commented Aug 29, 2023

Superseding #179
Ripping the fellowship pallet into its own branch as a couple features that are on the main fellowship branch were there for testing.
Issue: #151

@f-gate
Copy link
Member Author

f-gate commented Aug 30, 2023

btw This isnt put into the runtime yet, just the pallet has been made.

Copy link
Contributor

@mshankarrao mshankarrao left a comment

Choose a reason for hiding this comment

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

Looks good

}
Ok(())
}
fn ensure_role_in(
Copy link
Contributor

Choose a reason for hiding this comment

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

cant we use one function

seems both are similar except one checks a vec?

Are you concerned about the potential compute/block time?

Copy link
Member Author

Choose a reason for hiding this comment

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

The idea behind this was so we can just use an ensure_role_in instead of doing multiple ensure_role
As for compute time i guess its the developers responsibility to ensure the input isn't from the user and isn't over bounds.

Copy link
Contributor

Choose a reason for hiding this comment

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

Got it, thanks. LGTM!

Copy link
Contributor

@samelamin samelamin left a comment

Choose a reason for hiding this comment

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

Looks really good, we can deploy to rococo to test

@f-gate f-gate merged commit 0eda934 into main Sep 12, 2023
3 checks passed
@samelamin samelamin deleted the only-pallet-fellowship branch November 16, 2023 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants