Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

mark contract accounts as contracts when unit testing #310

Open
goastler opened this issue May 10, 2023 · 2 comments
Open

mark contract accounts as contracts when unit testing #310

goastler opened this issue May 10, 2023 · 2 comments
Labels
dev Product development testing

Comments

@goastler
Copy link
Member

No description provided.

@goastler
Copy link
Member Author

this isn't done in the new or old tests. new tests require 1 LOC, old require several

@goastler
Copy link
Member Author

these need to use set_callee and set_caller to correctly setup the contract accounts too. Unset these after construction of the contract account to avoid use elsewhere by accident

@goastler goastler added testing dev Product development labels May 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dev Product development testing
Projects
None yet
Development

No branches or pull requests

1 participant