From 0b34bf3115c05411d46439bfab2fd72e277846c9 Mon Sep 17 00:00:00 2001
From: Stanley Szeto <gw.stanley.szeto@gmail.com>
Date: Wed, 18 Sep 2024 13:47:44 -0700
Subject: [PATCH] updated to use memory (#171)

---
 src/module/token/crosschain/CrossChain.sol | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/module/token/crosschain/CrossChain.sol b/src/module/token/crosschain/CrossChain.sol
index a4af05d5..29b5890f 100644
--- a/src/module/token/crosschain/CrossChain.sol
+++ b/src/module/token/crosschain/CrossChain.sol
@@ -55,8 +55,8 @@ abstract contract CrossChain {
     function onCrossChainTransactionReceived(
         uint64 _sourceChain,
         address _sourceAddress,
-        bytes calldata _payload,
-        bytes calldata _extraArgs
+        bytes memory _payload,
+        bytes memory _extraArgs
     ) internal virtual {
         revert OnCrossChainTransactionReceivedNotImplemented();
     }