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

Function bytecode_linking

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

Source from the content-addressed store, hash-verified

296
297 #[test]
298 fn bytecode_linking() {
299 let hardhat = test_hardhat();
300
301 let mut libraries = HashMap::new();
302
303 for lib in IPC_DEPS {
304 libraries.insert(lib.to_owned(), et::Address::default());
305 }
306
307 // This one requires a subset of above libraries.
308 let _bytecode = hardhat
309 .bytecode("GatewayManagerFacet.sol", "GatewayManagerFacet", &libraries)
310 .unwrap();
311 }
312
313 #[test]
314 fn bytecode_missing_link() {

Callers

nothing calls this directly

Calls 3

test_hardhatFunction · 0.85
bytecodeMethod · 0.80
insertMethod · 0.45

Tested by

no test coverage detected