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
In the concordium-smart-contract-engine we provide a TestHost for running smart contracts locally. This is then used in cargo concordium test to run unit tests that are compiled to target WASM. Currently, these unit tests can only rely on host functions related to the contract state, so this task would be to expand this with the remaining host-functions (some might not make sense to implement) allowing the smart contract user to mock these in a unit test. This would probably also include adding a host function for setting a mocked environment.
The text was updated successfully, but these errors were encountered:
In the
concordium-smart-contract-engine
we provide aTestHost
for running smart contracts locally. This is then used incargo concordium test
to run unit tests that are compiled to target WASM.Currently, these unit tests can only rely on host functions related to the contract state, so this task would be to expand this with the remaining host-functions (some might not make sense to implement) allowing the smart contract user to mock these in a unit test.
This would probably also include adding a host function for setting a mocked environment.
The text was updated successfully, but these errors were encountered: