Testing it on a mainnet fork gives me: Error: missing argument: in Contract constructor (count=0, expectedCount=1, code=MISSING_ARGUMENT, version=contracts/5.4.0) Not really sure what the problem is as I am passing in an argument to the constructor. If I need to initialise it how do I do so? Is the issue creating an instance that is connected to the one of the mainnet? I am testing mainnet fork. The code is in the guide, as I have it copied almost word for word.

  • Share the relevant part of your code, otherwise it's hard to figure out what could be the problem. Sep 16 at 14:25
  • INonfungiblePositionManager public immutable nM; constructor(INonfungiblePositionManager _nonfungiblePositionManager) { nM = _nonfungiblePositionManager; } This is on the liquidity uniswap tutorial. Everything else is copied. @FrancoVictorio Thanks
    – alex234
    Sep 19 at 12:57
  • Please update your question. Include this signature, but also the code that is deploying the contract. Try to make your question as complete and detailed as possible. 2 days ago

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.