MCPcopy Create free account
hub / github.com/ChainSafe/Delorean-Protocol / bytecode_missing_link

Function bytecode_missing_link

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

Source from the content-addressed store, hash-verified

312
313 #[test]
314 fn bytecode_missing_link() {
315 let hardhat = test_hardhat();
316
317 // Not giving any dependency should result in a failure.
318 let result = hardhat.bytecode(
319 "SubnetActorDiamond.sol",
320 "SubnetActorDiamond",
321 &Default::default(),
322 );
323
324 assert!(result.is_err());
325 assert!(result
326 .unwrap_err()
327 .to_string()
328 .contains("failed to resolve library"));
329 }
330
331 #[test]
332 fn library_dependencies() {

Callers

nothing calls this directly

Calls 2

test_hardhatFunction · 0.85
bytecodeMethod · 0.80

Tested by

no test coverage detected