From 3158025a9a3bf652e2a700db8c8075e99a23e4e7 Mon Sep 17 00:00:00 2001
From: Your Name <you@example.com>
Date: Mon, 21 Oct 2024 16:41:32 +0800
Subject: [PATCH] Optimize store_slice function to reduce gas consumption

---
 crypto/smartcont/stdlib.fc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crypto/smartcont/stdlib.fc b/crypto/smartcont/stdlib.fc
index 8fb27a7ea..c6a2fe4cb 100644
--- a/crypto/smartcont/stdlib.fc
+++ b/crypto/smartcont/stdlib.fc
@@ -439,7 +439,7 @@ builder store_ref(builder b, cell c) asm(c b) "STREF";
 
 
 ;;; Stores `slice` [s] into `builder` [b]
-builder store_slice(builder b, slice s) asm "STSLICER";
+builder store_slice(builder b, slice s) asm(s b) "STSLICE";
 
 ;;; Stores (serializes) an integer [x] in the range `0..2^120 − 1` into `builder` [b].
 ;;; The serialization of [x] consists of a 4-bit unsigned big-endian integer `l`,