Skip to content

Add ensureDelegationExist and ensureDelegationNotExist to the tests of staking compound #109

@chrisli30

Description

@chrisli30

In the tests of #103, a pre-requisite function is missing from the tests,

  • In compound tests, delegations need to exist before running
  • In delegation tests, there should be no delegation set up before running

We need to create common functions, ensureDelegationExist and ensureDelegationNotExist for the above purposes.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions