PartyDAO / partybid

PartyBid contracts
MIT License
246 stars 63 forks source link

Trouble getting tests to Pass #44

Closed crazyrabbitLTC closed 3 years ago

crazyrabbitLTC commented 3 years ago

Hello Folks!

I'm trying to run the tests to try and contribute some code. I wanted to ask, out-of-the-box my tests aren't passing, the error is always the same:


       ZORA
         "before all" hook for "Has correct balances before contribute":
     InvalidInputError: Transaction gasPrice (0) is too low for the next block, which has a baseFeePerGas of 875000000
      at HardhatNode._validateAutominedTx (node_modules/hardhat/src/internal/hardhat-network/provider/node.ts:1520:17)
      at runMicrotasks (<anonymous>)
      at processTicksAndRejections (internal/process/task_queues.js:95:5)
      at runNextTicks (internal/process/task_queues.js:64:3)
      at listOnTimeout (internal/timers.js:526:9)
      at processTimers (internal/timers.js:500:7)
      at HardhatNode.sendTransaction (node_modules/hardhat/src/internal/hardhat-network/provider/node.ts:415:5)
      at EthModule._sendTransactionAndReturnHash (node_modules/hardhat/src/internal/hardhat-network/provider/modules/eth.ts:1500:18)
      at HardhatNetworkProvider.request (node_modules/hardhat/src/internal/hardhat-network/provider/provider.ts:106:18)
      at EthersProviderWrapper.send (node_modules/@nomiclabs/hardhat-ethers/src/internal/ethers-provider-wrapper.ts:13:20)```

I assume this is a problem with the `london` fork and I've seen some issues in the Nomic Labs [Github](https://github.com/nomiclabs/hardhat/issues/1766) but I wanted to ask: What is your setup that I can replicate and have the tests pass? 
crazyrabbitLTC commented 3 years ago

OMG I'm an idiot. I have it working. Will make a PR on the readme to save dolts like myself in the future.