frequency-chain / frequency

Frequency: A Polkadot Parachain
https://www.frequency.xyz
Apache License 2.0
49 stars 18 forks source link

passkey: nonce check #2039

Closed aramikm closed 3 months ago

aramikm commented 3 months ago

Goal

The goal of this PR is to verify that the nonce is correct for the account_id and increase the nonce. And to restrict the transactions that can be called inside a passkey

Closes #2030

Checklist

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 98.07692% with 1 line in your changes missing coverage. Please review.

Files Coverage Δ
pallets/passkey/src/lib.rs 85.36% <98.07%> (+16.13%) :arrow_up:

... and 1 file with indirect coverage changes