- always regenarate the mappings via
forge remappings > remappings.txt
Run command below to generate the interfaces
forge build && \
cast interface -n IInventoryController -o ./src/interfaces/IInventoryController.sol ./out/InventoryController.sol/InventoryController.json && \
cast interface -n IInventoryRegistry -o ./src/interfaces/IInventoryRegistry.sol ./out/InventoryRegistry.sol/InventoryRegistry.json && \
cast interface -n IInventoryBehavior -o ./src/interfaces/IInventoryBehavior.sol ./out/InventoryBehavior.sol/InventoryBehavior.json