From a99c60996d21ef2e5b498790bc95f44534c89cf8 Mon Sep 17 00:00:00 2001 From: Cory Dickson Date: Wed, 13 Mar 2024 22:04:53 -0400 Subject: [PATCH] Add logging for contract authors --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 8780c0a..07fd02e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -115,6 +115,7 @@ impl Contract { if is_contract { author = near_sdk::env::predecessor_account_id(); + log_str(&format!("Using contract as the author")); } if !self.packages.contains_key(&author) {