A realistic network for more elaborate scenarios and better dapp testing

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. …

Farewell, node-gyp

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.

A new set of flexible possibilities is opening up in Buidler-land

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.

This new…

A local Ethereum network designed for development: stack traces and console.log

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.

Debugging Solidity is no longer a blind exercise

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.

A detailed explanation on how the Proxy pattern for smart contract upgradeability can be exploited.

We recently audited the initial release of ZeppelinOS and discovered a vulnerability in the Proxy Pattern, which is used to implement virtually all upgradeable smart contracts.

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.

Solidity function calls’ internals

Patricio Palladino

Nomic Labs co-founder. Voltaire member.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store