0

I was looking through a way where there a possibility of implementing a custom root origin in substrate.

2
  • 1
    What are you trying to archive? Why do you think another root origin will help? Commented Aug 11, 2022 at 12:09
  • Well I was exploring stuffs and I came to realise that it can be used to have authorization checks inside priviledged functions and custom access logic.
    – kroos47
    Commented Aug 16, 2022 at 8:39

1 Answer 1

2

Some references that you can walk through:

https://paritytech.github.io/substrate/master/src/frame_system/lib.rs.html#788

https://github.com/paritytech/substrate/blob/master/frame/collective/src/lib.rs#L1032

1
  • Thanks a lot this might help with that
    – kroos47
    Commented Aug 16, 2022 at 8:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.