Carter Appleton

Results 9 comments of Carter Appleton

I also get this occasionally on Mac (macOS 12.6) `forge 0.2.0 (c2816ca 2022-09-14T00:14:35.602522Z)` I've been running `forge test` with the `--force` flag and haven't run into it since, but if...

While running `forge test --watch` ``` ... (previous successful test runs) ... [⠑] Compiling... [⠘] Compiling 1 files with 0.8.16 [⠃] Compiling 16 files with 0.6.12 [⠰] Compiling 16 files...

tested in our 0.8.16 and 0.6.12 project, works great 👍 looking forward to this

@mattsse we're experiencing the same issue in our project. I've created a minimal repro here: https://github.com/CarterAppleton/forge-multi-version-compile-issue-repro lmk if there's other data I can produce to help

Another datapoint - the repro occurs if we have 6.12 and 8.12 (or various other 8 versions), but does not happen for 8.12 and 8.16

We're experiencing this same issue in our repo with multiple sol versions, is there any update on this?

I think this is fixed as of https://github.com/foundry-rs/foundry/pull/4330

Hi, thank you for making me aware of this issue, I'll look in to adding the fix.

We're also getting this bug when moving from typescript 5.2.2 -> 5.4.5 ``` ../../node_modules/permissionless/actions/smartAccount/signTypedData.ts:139:49 - error TS2322: Type '((TTypedData extends { [x: string]: readonly TypedDataParameter[]; [x: `string[${string}]`]: undefined; [x: `function[${string}]`]:...