GPT-5 finding
Abstract internal functions with declared return values but no returns in BaseDopplerHookInitializer and BaseDopplerHookMigrator
highbuild-releasehigh
- src/base/BaseDopplerHookInitializer.sol
- src/base/BaseDopplerHookMigrator.sol
In Solidity, functions with return values must either declare named return variables and leave them as defaults or explicitly return values. These functions declare return types without returning or declaring named outputs, leading to compile errors.
Recommendation
Either (a) make these functions abstract by removing the bodies, or (b) add named return variables or explicit revert statements, e.g. revert HookNotImplemented();, or (c) provide default returns if appropriate.