You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
"Memory" test, which checks the memory layout of the foreign account. It has three subtests which check:
Obtaining the storage item (checks the item value)
Obtaining the storage map item (checks the item value)
Obtaining the storage item twice (checks that we reused the account data which was loaded during the first item obtaining, asserting that the next account slot was uninitialized).
"Integration" test, which gets the storage item and storage map item, checking their correctness. As opposed to the "memory" test, it uses TransactionExecutor instead of TransactionContext to execute the transaction script.
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.
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: