Skip to content

Commit

Permalink
test(fixture): declare test fn as hdk_extern
Browse files Browse the repository at this point in the history
  • Loading branch information
jost-s committed Feb 23, 2024
1 parent 5422107 commit fa35a44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/e2e/fixture/zomes/foo/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ pub fn decode_as_dnahash(bytes: Vec<u8>) -> ExternResult<DnaHash> {
DnaHash::from_raw_39(bytes).map_err(|e| wasm_error!(WasmErrorInner::Guest(format!("{}", e))))
}

#[hdk_extern]
pub fn create_and_get_link(tag: Vec<u8>) -> ExternResult<Link> {
let link_base = agent_info()?.agent_latest_pubkey;
let link_target = link_base.clone();
Expand Down

0 comments on commit fa35a44

Please sign in to comment.