Develop integration test process for provwasm smart contracts #392
Labels
CI
Continuous Integration and release process
enhancement
New feature or request
simulation
Issues related to simulation testing
Milestone
Summary
Develop simulation support for wasm module using provwasm wrapper
Problem Definition
Currently during the provenanced simulation tests the wasm module is largely left untested. This presents a risk to the platform. Basic smart contract execution, export/import, and management features should be exercised during simulation testing of the chain.
Proposal
Update the provwasm internal wrapper with genesis and operation simulation testing integration. This integration should be connected using a wrapper that is provided in the app.go simulation manager module registration.
provenance/app/app.go
Line 615 in 8d33087
The smart contract(s) used should be as simple as possible. Basic invocation, loading, and management tests are the overall goal. Testing/querying against the module (for example transfers using marker) could be added as a future item if required but for now should remain part of a separate integration testing process.
For examples of contracts that can be used for testing see the wasmit repository.
CC: @dpederson-figure and @ktalley-figure as provwasm code owners.
For Admin Use
The text was updated successfully, but these errors were encountered: