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
contract_wrapper crate contains tests for dao_contract module, having MockContractWrapper struct, which contains an implementation of ContractWrapper trait there. The test data contains just some responses for some calls as a binary representation. To make tests more clean and improve it's readability, it's better to use some structs with pre-defined values and then serialize them to the expected format.
The text was updated successfully, but these errors were encountered:
contract_wrapper
crate contains tests fordao_contract
module, havingMockContractWrapper
struct, which contains an implementation ofContractWrapper
trait there. The test data contains just some responses for some calls as a binary representation. To make tests more clean and improve it's readability, it's better to use some structs with pre-defined values and then serialize them to the expected format.The text was updated successfully, but these errors were encountered: