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

1471 check shielding key inside pallet #1479

Merged
merged 13 commits into from
Mar 19, 2023

Conversation

BillyWooo
Copy link
Collaborator

as title, move the shielding key checking inside pallet extrinsics. Otherwise it would be a bug to check shielding key after extrinsic executed.

resolved #1471

tee-worker/app-libs/stf/src/trusted_call.rs Outdated Show resolved Hide resolved
tee-worker/ts-tests/identity.test.ts Show resolved Hide resolved
Copy link
Collaborator

@Kailai-Wang Kailai-Wang left a comment

Choose a reason for hiding this comment

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

A few small complaints :(

Copy link
Collaborator

@Kailai-Wang Kailai-Wang left a comment

Choose a reason for hiding this comment

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

Thanks, a small thing tho

@BillyWooo BillyWooo merged commit 97e9576 into dev Mar 19, 2023
@BillyWooo BillyWooo deleted the 1471_check_shielding_key_inside_pallet branch March 19, 2023 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move the check logic of user-shielding-key-set into pallet
2 participants