MCPcopy Create free account
hub / github.com/ddimaria/rust-blockchain-tutorial / it_loads_a_contract

Function it_loads_a_contract

runtime/src/contract.rs:83–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81
82 #[test]
83 fn it_loads_a_contract() {
84 let bytes = include_bytes!("./../../target/wasm32-unknown-unknown/release/erc20_wit.wasm");
85 let _loaded = load_contract(bytes).unwrap();
86 }
87
88 #[test]
89 fn it_calls_contract_functions() {

Callers

nothing calls this directly

Calls 1

load_contractFunction · 0.85

Tested by

no test coverage detected