-
Notifications
You must be signed in to change notification settings - Fork 60
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
Enhance the FPI tests. #918
Comments
Currently we have these FPI tests:
I think the basic capabilities of obtaining values and map values are tested, the only thing I can imagine is to make sure that the script that checks whether this foreign account was already loaded is working correctly by creating more complex test and using several different accounts (for now we used only one). But it should be fine too, since we check the basic case in the "memory" test. cc @bobbinth |
I would add a test which used two different accounts. The test could work like so:
This way we can check that handling of multiple accounts works correctly (and that we don't load |
Testing for error conditions would also be useful. For example, to test that if a foreign account attempts to write to the native account it would fail. I'm not sure how easy or hard this is to setup, but it seems important to ensure. |
What would also be nice to have is to setup a test with an account in which we insert a map item and then, in MASM, get that map item from the account via One way to do this might be to change |
Closed by #1128. @PhilippGackstatter - should we create more targeted issues for the points your brought up above? |
What should be done?
See #896 (comment)
How should it be done?
Create new tests which will test the required capabilities.
When is this task done?
The task is done when the tests will also check the correctness of the foreign procedure invocation from within another account as a part of a complete transaction.
Additional context
No response
The text was updated successfully, but these errors were encountered: