From 2d379db8311cd713ebb0c3d01e2fa6eda7a2750b Mon Sep 17 00:00:00 2001 From: saurabhburade Date: Fri, 1 Mar 2024 00:54:42 +0530 Subject: [PATCH] fix: update setTrustedRemote to setTrustedRemoteAddress --- tasks/pingPongSetTrustedRemote.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/pingPongSetTrustedRemote.js b/tasks/pingPongSetTrustedRemote.js index a45c1243..8dad898c 100644 --- a/tasks/pingPongSetTrustedRemote.js +++ b/tasks/pingPongSetTrustedRemote.js @@ -8,7 +8,7 @@ module.exports = async function (taskArgs, hre) { const pingPong = await ethers.getContract("PingPong") console.log(`[source] pingPong.address: ${pingPong.address}`) - let tx = await (await pingPong.setTrustedRemote(dstChainId, dstPingPongAddr)).wait() + let tx = await (await pingPong.setTrustedRemoteAddress(dstChainId, dstPingPongAddr)).wait() console.log(`✅ [${hre.network.name}] PingPong.setTrustedRemote( ${dstChainId}, ${dstPingPongAddr} )`) console.log(`...tx: ${tx.transactionHash}`) }