MCPcopy Create free account
hub / github.com/consensus-shipyard/ipc / bytecode_missing_link

Function bytecode_missing_link

fendermint/eth/hardhat/src/lib.rs:325–340  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

323
324 #[test]
325 fn bytecode_missing_link() {
326 let hardhat = test_hardhat();
327
328 // Not giving any dependency should result in a failure.
329 let result = hardhat.prepare_deployment_artifact(
330 "SubnetActorDiamond.sol",
331 "SubnetActorDiamond",
332 &Default::default(),
333 );
334
335 assert!(result.is_err());
336 assert!(result
337 .unwrap_err()
338 .to_string()
339 .contains("failed to resolve library"));
340 }
341
342 #[test]
343 fn library_dependencies() {

Callers

nothing calls this directly

Calls 2

test_hardhatFunction · 0.85

Tested by

no test coverage detected