Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Truffle compatibility #6

Closed
alcuadrado opened this issue May 28, 2018 · 0 comments
Closed

Truffle compatibility #6

alcuadrado opened this issue May 28, 2018 · 0 comments

Comments

@alcuadrado
Copy link
Member

alcuadrado commented May 28, 2018

We should decide which parts of buidler will be compatible with truffle, and why.

My current idea is that buidler should only be compatible enough to make migration from Truffle very easy. I think this is specially important for contracts' tests, which nobody will want to rewrite just to use another tool.

buidler test now runs truffle-compatible tests, but that ties us to Truffle-contracts, or at least to its APIs. We should consider making explicit what's truffle-compatibility and whats native in buidler, like making those tests runnable with buidler truffle-test, or even create a buidler-truffle plugin.

We also implemented their networks configuration system, which is very focused on web3. Specially the provider field is normally used along web3-provider-engine, which we want to avoid and may block #5.

fvictorio pushed a commit that referenced this issue Dec 10, 2020
After the change that moved MiningTimer to HardhatNetworkProvider, interval mining acquires the mutex in require method. As a result, it's sufficient to call and await on any provider method after ticking the sinon clock. They will simply wait on mutex for the mine function to finish.
alcuadrado pushed a commit that referenced this issue May 27, 2022
feat: add WhyHardhatBlock
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant