OpenZeppelin / openzeppelin-test-environment

[Not actively maintained] One-line setup for blazing-fast smart contracts tests
https://docs.openzeppelin.com/test-environment
MIT License
90 stars 39 forks source link

Provide sync accounts for Hardhat #141

Closed abcoathup closed 3 years ago

abcoathup commented 3 years ago

Hardhat provides async accounts whilst OpenZeppelin Test Environment provides sync accounts

Reported by Anatol: https://t.me/BuidlerSupport/10401

frangio commented 3 years ago

This is not an issue in Test Env. Anatol was asking how to get Test Env's sync accounts behavior while using Hardhat.

Note that Hardhat Network and Test Env shouldn't be used together, because they spin up independent networks.