Skip to content

smart-contract tests fail subsequent runs #1037

Description

@MantisClone

The smart-contract tests pass on the first run but fail on subsequent runs. This is because they don't reset the aggregator state on the ChainlinkConversionPath contract.

2nd Run:

 1 failing 1) contract: ChainlinkConversionPath admin tasks can updateAggregator and updateAggregatorsList: AssertionError: expected '0x3333333333333333333333333333333333333333' to equal '0x0000000000000000000000000000000000000000' + expected - actual -0x3333333333333333333333333333333333333333 +0x0000000000000000000000000000000000000000 at /home/mantisclone/projects/requestNetwork/packages/smart-contracts/test/contracts/ChainlinkConversionPath.test.ts:35:33 at Generator.next (<anonymous>) at fulfilled (node_modules/tslib/tslib.js:114:62) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5)info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.lerna ERR! yarn run test stderr:error Command failed with exit code 1.error Command failed with exit code 1.lerna ERR! yarn run test exited 1 in '@requestnetwork/smart-contracts'error Command failed with exit code 1.info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions