ScopeLift / scopelint

An opinionated formatting and linting tool for foundry projects
78 stars 5 forks source link

bug: interfaces in scripts are considered external #11

Open mds1 opened 1 year ago

mds1 commented 1 year ago

If a script has something like this:

interface IMultiSendCallOnly {
  function multiSend(bytes memory transactions) external payable;
}

The external multiSend method declared there causes the "one public run method" check to fail