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

Test foreign accounts can't write to the native account #1135

Open
PhilippGackstatter opened this issue Feb 10, 2025 · 0 comments
Open

Test foreign accounts can't write to the native account #1135

PhilippGackstatter opened this issue Feb 10, 2025 · 0 comments
Labels
tests Improvements to testing

Comments

@PhilippGackstatter
Copy link
Contributor

PhilippGackstatter commented Feb 10, 2025

What should be done?

Afaict, we don't have a test that ensures that foreign accounts can't write to the native account the transaction is executed against. We should consider adding a test to make sure the kernel aborts if an attempt is made.

How should it be done?

Add a new FPI test. Details tbd.

When is this task done?

When a test with the above scenario results in the expected error during tx execution.

Additional context

Follow-up from #918.

@bobbinth bobbinth added the tests Improvements to testing label Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Improvements to testing
Projects
None yet
Development

No branches or pull requests

2 participants