Skip to content
#

smart-contracts

Here are 3,794 public repositories matching this topic...

haltman-at
haltman-at commented Nov 8, 2021

Issue

Suppose you have a migrations file, but no actual migrations occur in it. When you run truffle migrate, the total cost is printed as 0 undefined, rather than 0 wei or 0 ether or just 0.

Steps to Reproduce

Create a new Truffle project, edit 1_initial_migrations.js by removing the deployer.deploy line, then try migrating your project.

Expected Behavior

Th

wolflo
wolflo commented Jul 28, 2021

Testing methods like evm_mine and evm_increaseTime expect integer parameters. Unlike other methods, they reject these parameters if they are not decimal-encoded.

To reproduce

npx hardhat --version -> 2.5.0

Run npx hardhat node and make the following rpc calls:

> curl -H "Content-Type: application/json" -X POST --data \
        '{"id":1337,"jsonrpc":"2.0","method":"evm

Improve this page

Add a description, image, and links to the smart-contracts topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the smart-contracts topic, visit your repo's landing page and select "manage topics."

Learn more