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

Function bytecode_linking

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

Source from the content-addressed store, hash-verified

303
304 #[test]
305 fn bytecode_linking() {
306 let hardhat = test_hardhat();
307
308 let mut libraries = HashMap::new();
309
310 for lib in IPC_DEPS {
311 libraries.insert(lib.to_owned(), et::Address::default());
312 }
313
314 // This one requires a subset of above libraries.
315 let _bytecode = hardhat
316 .prepare_deployment_artifact(
317 "GatewayManagerFacet.sol",
318 "GatewayManagerFacet",
319 &libraries,
320 )
321 .unwrap();
322 }
323
324 #[test]
325 fn bytecode_missing_link() {

Callers

nothing calls this directly

Calls 3

test_hardhatFunction · 0.85
insertMethod · 0.45

Tested by

no test coverage detected