I'm working with brownie, and I'm trying to deploy a pretty large smart contract, and I keep running into this:
ValueError: Transaction gasPrice (0) is too low for the next block, which has a baseFeePerGas of 1
What gives?
This means 1 of 2 things:
some_gas_price = 100000
contract.deploy({"from": from_account, "gas_price": some_gas_price})
or you could use a gas strategy:
from brownie.network.gas.strategies import GasNowStrategy
.
.
.
contract.deploy({"from": from_account,"gas_price": GasNowStrategy("fast")})
Or
If this is the case, you'll have to reduce the size of your contract.