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

More restrictions on validation #61

Merged
merged 3 commits into from
Jul 5, 2024
Merged

Conversation

sgc-code
Copy link
Contributor

@sgc-code sgc-code commented Jul 4, 2024

We prefer to be more cautious and add more restrictions to the transactions accepted by the account.

  • Regarding the tx_info.paymaster_data: today, this field is always empty, as paymasters are not implemented yet on Starknet. But we are worried that later it might break the contract logic, as we are not fully convinced that the token used for the fee on v3 will always be STRK.
  • tx_info.account_deployment_data, to ensure correctness, and because we have no motivation to allow different values, we are asserting it's also empty

@sgc-code sgc-code requested a review from gaetbout July 4, 2024 11:29
Copy link
Contributor

@Leonard-Pat Leonard-Pat left a comment

Choose a reason for hiding this comment

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

to be tested later *

@sgc-code sgc-code merged commit 20e0348 into develop Jul 5, 2024
6 checks passed
@sgc-code sgc-code deleted the more-restrictions-on-validation branch July 5, 2024 14:16
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.

3 participants