pub async fn load_linked_bytecode<P: Provider>(
provider: &P,
artifacts: &Artifacts,
file: &str,
contract: &str,
sender: Option<Address>,
) -> Result<Bytes>Expand description
Load a contract’s creation bytecode, deploying and linking any external
libraries it references. Mirrors what forge does automatically. For
artifacts with no linkReferences this behaves like
Artifacts::bytecode_named and sends nothing.
Kept although nothing covered today links a library: the bb-generated
UltraHonk verifiers link ZKTranscriptLib, and the ones the ceremony
circuits release will deploy through this path when they land.