From 335a3467b074e3914eaea4662088b348fa2efa0d Mon Sep 17 00:00:00 2001 From: gcranju <134275268+gcranju@users.noreply.github.com> Date: Mon, 12 Aug 2024 15:41:24 +0545 Subject: [PATCH] fix: adding store to cap for transferrable (#349) Co-authored-by: gcranju <075bct064.ranju@pcampus.edu.np> --- contracts/sui/xcall/sources/states/xcall_state.move | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/sui/xcall/sources/states/xcall_state.move b/contracts/sui/xcall/sources/states/xcall_state.move index 54abe027..481f8be0 100644 --- a/contracts/sui/xcall/sources/states/xcall_state.move +++ b/contracts/sui/xcall/sources/states/xcall_state.move @@ -31,11 +31,11 @@ module xcall::xcall_state { public fun get_id_cap_xcall(cap:&IDCap):ID { cap.xcall_id } - public struct AdminCap has key { + public struct AdminCap has key,store { id: UID } - public struct ConnCap has key { + public struct ConnCap has key,store { id:UID, xcall_id:ID, connection_id:String,