Skip to content

contract_wrapper: tests refactoring #806

Description

@sept-en

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions