perun-network / erdstall-ts-sdk

TypeScript client SDK to interact with Erdstall.
Apache License 2.0
5 stars 2 forks source link

test/env: Decrease pollingInterval on Provider #125

Closed ndzik closed 2 years ago

ndzik commented 2 years ago

Speeds up tests from ~50s to ~17s.

I also tried using evm_mine calls like it is done in the testenv setup but this turned out to be highly inconsistent because any change to the tests (ordering, new testcases etc.) seemed to influence to minimum number of blocks needed for this hack to work. So I went with simply reducing the provider.pollingInterval.