FilOzone / pdp

Smart contracts and utilities for Proof of Data Possession
Other
2 stars 2 forks source link

Pin solc version in foundry.toml #68

Closed Schwartz10 closed 1 month ago

Schwartz10 commented 1 month ago

For whatever reason, when running solidity 0.8.20, we get a visibility error in the tests:

Error (9582): Member "FaultRecord" not found or not visible after argument-dependent lookup in type(contract SimplePDPService).
   --> test/SimplePDPService.t.sol:188:14:
    |
188 |         emit SimplePDPService.FaultRecord(SimplePDPService.FaultType.LATE, 3);
    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^