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

Add proxy pallet #5122

Merged
merged 8 commits into from
Apr 5, 2024
Merged

Add proxy pallet #5122

merged 8 commits into from
Apr 5, 2024

Conversation

mnaamani
Copy link
Member

@mnaamani mnaamani commented Apr 1, 2024

  • Add the substrate proxy pallet to joystream runtime
  • Temporary weight generation for pallet
  • Generate chain metadata

@mnaamani mnaamani marked this pull request as ready for review April 2, 2024 09:33
Copy link
Member

@kdembler kdembler left a comment

Choose a reason for hiding this comment

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

LGTM

}
impl InstanceFilter<RuntimeCall> for ProxyType {
fn filter(&self, c: &RuntimeCall) -> bool {
match self {
Copy link
Member

Choose a reason for hiding this comment

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

Could we add a Referendum proxy type?
It would allow calling only:

  • referendum.vote
  • referendum.revealVote
  • referendum.releaseVoteStake
    The Governance type is a bit more extensive

Copy link
Member Author

Choose a reason for hiding this comment

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

Added in 2a2304b

@mnaamani mnaamani merged commit dc6d1a7 into Joystream:luxor Apr 5, 2024
23 of 24 checks passed
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.

None yet

2 participants