metacontract/mc

Clean install and errors: "this.setImplementation"

Closed this issue · 1 comments

When I tried a clean installation of TextDAO:4b1083d and then I got error below.

this.setImplementation solved this compilation error.

P.S. ofc if we have CI flow and better specs, those errors would be detected beforehand tho.

$ forge test
[⠆] Compiling...
[⠒] Compiling 110 files with 0.8.25
[⠑] Solc 0.8.25 finished in 221.25ms
Error: 
Compiler run failed:
Error (7576): Undeclared identifier.
  --> lib/mc/devkit/test/MockDictionary.sol:15:13:
   |
15 |             setImplementation(functionInfos[i].selector, functionInfos[i].implementation);
   |             ^^^^^^^^^^^^^^^^^

I'll close this issue as it seems to be resolved. Please reopen if the problem persists.