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

Passkey miscellaneous checks part 1 #2060

Merged
merged 57 commits into from
Jul 10, 2024
Merged

Conversation

saraswatpuneet
Copy link
Collaborator

@saraswatpuneet saraswatpuneet commented Jul 6, 2024

Goal

The goal of this PR is to incorporate more checks for passkey extrinsic inline with other SignedExtras

  • Non Zero Sender Check
  • Spec Check
  • Tx version check
  • Era check
  • Genesis check

Closes #2031

Discussion

Checklist

  • Chain spec updated
  • Custom RPC OR Runtime API added/changed? Updated js/api-augment.
  • Design doc(s) updated
  • Tests added
  • Benchmarks added
  • Weights updated

@saraswatpuneet saraswatpuneet requested review from a team, shannonwells, mattheworris, enddynayn, aramikm, claireolmstead and JoeCap08055 and removed request for a team July 8, 2024 19:00
@github-actions github-actions bot added the metadata-changed Metadata has changed since the latest full release label Jul 8, 2024
pallets/passkey/src/lib.rs Outdated Show resolved Hide resolved
pallets/passkey/src/lib.rs Outdated Show resolved Hide resolved
@github-actions github-actions bot added metadata-changed Metadata has changed since the latest full release and removed metadata-changed Metadata has changed since the latest full release labels Jul 8, 2024
@github-actions github-actions bot added metadata-changed Metadata has changed since the latest full release and removed metadata-changed Metadata has changed since the latest full release labels Jul 8, 2024
@github-actions github-actions bot added metadata-changed Metadata has changed since the latest full release and removed metadata-changed Metadata has changed since the latest full release labels Jul 9, 2024
Copy link
Collaborator

@enddynayn enddynayn left a comment

Choose a reason for hiding this comment

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

👍 great!

@enddynayn
Copy link
Collaborator

This is great. I wonder if we need to add some test here?

@github-actions github-actions bot added metadata-changed Metadata has changed since the latest full release and removed metadata-changed Metadata has changed since the latest full release labels Jul 10, 2024
@saraswatpuneet saraswatpuneet enabled auto-merge (squash) July 10, 2024 14:03
Copy link
Collaborator

@mattheworris mattheworris left a comment

Choose a reason for hiding this comment

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

Looks good!
🚢 it!

@saraswatpuneet saraswatpuneet merged commit 1b583a7 into main Jul 10, 2024
27 checks passed
@saraswatpuneet saraswatpuneet deleted the passkey_miscellaneous_1 branch July 10, 2024 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
metadata-changed Metadata has changed since the latest full release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature]: Passkey- implement misc validations
4 participants