Skip to content

Conversation

@ntn-x2
Copy link
Contributor

@ntn-x2 ntn-x2 commented Nov 17, 2023

Ensuring the origin is a DID origin for the implementor of the provider pallet might not be enough. They need to check that the origin indeed matches the identifier being acted upon. Replacing EnsureOrigin with EnsureOriginWithArg gives access to that information.

Tests will ALL be implemented in a different PR 😄

@ntn-x2 ntn-x2 self-assigned this Nov 17, 2023
@ntn-x2 ntn-x2 merged commit 10385bb into aa/dip Nov 21, 2023
@ntn-x2 ntn-x2 deleted the aa/dip-provider-origin-check-fix branch November 21, 2023 11:06
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.

4 participants