PatrickAlphaC / hardhat-smartcontract-lottery-fcc

MIT License
117 stars 182 forks source link

invalid BigNumber value #131

Closed bugradursun closed 1 year ago

bugradursun commented 1 year ago

Is anyone getting bignumber value?My constructor and deployment script's parameters are in the same order.

Im-Soumya commented 1 year ago

Yes I am also getting the same error.

Error: incorrect data length (argument="gasLane", value={"type":"BigNumber","hex":"0x2386f26fc10000"}, code=INVALID_ARGUMENT, version=abi/5.7.0)
Im-Soumya commented 1 year ago

This error got fixed after matching the order of the constructor arguments in the contract and deploy script while deploying the contract.