Skip to content

Add proxy pallet - #5122

Merged
mnaamani merged 8 commits into
Joystream:luxorfrom
mnaamani:luxor-add-proxy-pallet
Apr 5, 2024
Merged

mnaamani merged 8 commits into
Joystream:luxorfrom
mnaamani:luxor-add-proxy-pallet

Conversation

@mnaamani

@mnaamani mnaamani commented Apr 1, 2024 •

Copy link
Copy Markdown
Member
  • 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

@kdembler kdembler left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

Comment thread runtime/src/lib.rs
}
impl InstanceFilter<RuntimeCall> for ProxyType {
fn filter(&self, c: &RuntimeCall) -> bool {
match self {

Copy link
Copy Markdown
Collaborator

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
Copy Markdown
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
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.

2 participants