From dbe1060976b054e73669de063b798c3d057ef162 Mon Sep 17 00:00:00 2001 From: Norman Meier Date: Fri, 4 Oct 2024 18:38:23 +0200 Subject: [PATCH] chore: deprecate std.GetOrigCaller Signed-off-by: Norman Meier --- gnovm/stdlibs/std/native.gno | 1 + 1 file changed, 1 insertion(+) diff --git a/gnovm/stdlibs/std/native.gno b/gnovm/stdlibs/std/native.gno index 22a16fc18d1..656308345ac 100644 --- a/gnovm/stdlibs/std/native.gno +++ b/gnovm/stdlibs/std/native.gno @@ -22,6 +22,7 @@ func GetOrigSend() Coins { return coins } +// Deprecated: Unsecure and limiting pattern func GetOrigCaller() Address { return Address(origCaller()) }