prosopo / protocol

GNU General Public License v3.0
3 stars 4 forks source link

mark contract accounts as contracts when unit testing #310

Open goastler opened 1 year ago

goastler commented 1 year ago

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

goastler commented 1 year ago

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