FuelLabs/forc

forc call support empty `--external-contracts` flag

Aperta

#166 aperta il 1 set 2025

 (0 commenti) (0 reazioni) (1 assegnatario)Rust (0 fork)auto 404
forc-callgood first issueteam:tooling

Metriche repository

Star
 (0 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Currently, there is no way to explicitly pass in empty external contracts.

Context

This causes the forc call functionality to always run determine_missing_contracts (which makes RPC calls). In some scenarios, users may not want to explicitly make RPC calls (reduce latency) and/or may already know that the contract does not integrate with any other contracts.

Hence, forc-call CLI should allow one to explicitly specify no external contract calls are needed.

Guida contributor