hashgraph / hashgraph/hedera-docs

clarify system contracts usage and dependency remapping in forge

Open
#36 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
MDX
Stars
10
Forks
49
Avg merge
19h 49m
Merged PRs (30d)
17

Description

### Problem

documentation needs clear guidance on how system contracts are handled when importing Hedera smart contracts via forge's dependency tool, and how dependency remapping works, especially for mock contracts in tests versus deployment.

devs experience confusion when importing via git submodules works in tests but deploying mocks outside a broadcast block or not having system contracts available during deployment leads to errors

### Solution

add a section explaining system contracts' expected addresses, dependency remapping techniques, and best practices for creating and deploying mocks, with code examples for both testing and production scenarios.

### Alternatives

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.