The 2.1.0 release of Hardhat Network now includes a full mempool implementation that mimics geth behavior.
The previous automine mode is still available and remains the default, so for those users who are happy with their current setup nothing will change.
For those who are testing dapps, backend services, or more elaborate scenarios that require multiple transactions per block, the interval mining mode can be enabled.
The interval can be set through the config to be fixed or random within a specified range. Additionally, both mining modes can now be fully disabled for block mining to be controlled programmatically. …
If you’ve written software for Ethereum, it’s very likely at some point during your journey you’ve faced the dreadful beast, aka node-gyp. Somewhat Ethereum-aligned in values, node-gyp has been very democratic in the way it targets its victims. A nightmare for beginners, and a frustrating productivity sink for advanced developers.
Up until now, Buidler has focused on improving the development workflow for smart contracts, and we’ve been looking forward to expanding the scope to dapp development for a while.
Today we’re releasing a JSON-RPC interface to connect to Buidler EVM from dapp front-ends, MetaMask and any other wallets of your choosing 🥳.
In case it’s the first time you hear about it, Buidler EVM is a local Ethereum network designed for development. It allows you to deploy your contracts, run your tests and debug your code — and it was architectured as a platform to enable advanced tooling.
It’s happening. Building smart contracts on Ethereum is slowly distancing itself from being a task better suited for Elon Musk’s friends on Mars, and looking more and more like something maybe doable by human beings.
Back in October, we launched Buidler EVM: a
ganache-cli alternative that includes a fully featured Solidity-aware stack traces implementation. This was a big step towards a better developer experience, and now we’re releasing another highly anticipated Buidler EVM feature:
console.log for Solidity.
We’ve all been there. Write some Solidity, run your tests and
Transaction reverted. Head scratching ensues, followed by frustration and filling everything up with
console.log, commenting out lines of Solidity code and pulling your hair until something starts to make sense.
This vulnerability lets an attacker conceal malicious code that can be very difficult to spot without a deep understanding of how Solidity and the Proxy Pattern work. This has already been fixed on ZeppelinOS.
Nomic Labs co-founder. Voltaire member.