Skip to content

docs(user): command fails in setup-hardhat documentation #1012

@enitrat

Description

@enitrat

Category

  • docs(user) — user-facing content: guides, tutorials, concept explanations, etc.
  • docs(api) — interfaces: contracts, SDKs, plugin APIs, etc.
  • docs(code) — code examples, templates, scripts, tests, etc.
  • docs(misc) — structure, navigation, styling, feedback, housekeeping, etc.

Context / Background

The command to clean the hardhat project will fail, as the src directory does not exist in the FHE template repo.

There is no src directory; but there is a contracts directory. Perhaps the command can be updated to clean contracts/ instead.

Target Files/Pages

https://github.com/zama-ai/fhevm-hardhat-template

Reproduce:

  1. Follow doc instructions in page https://docs.zama.ai/protocol/solidity-guides/getting-started/setup, clone the template repo, and run
rm -rf test/* src/* tasks/* deploy ./fhevmTemp ./artifacts ./cache ./coverage ./types ./coverage.json ./dist

This command will fail as src/ does not exist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions