From 7131dc2337e2c8444f4ae931f8477c0f1040f12e Mon Sep 17 00:00:00 2001 From: josojo Date: Mon, 22 Jan 2024 09:42:14 +0100 Subject: [PATCH] Fix deposit into bridge (#196) --- src/scripts/depositForkonomicTokenIntoBridge.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/depositForkonomicTokenIntoBridge.js b/src/scripts/depositForkonomicTokenIntoBridge.js index 86f676bd..22502cdf 100644 --- a/src/scripts/depositForkonomicTokenIntoBridge.js +++ b/src/scripts/depositForkonomicTokenIntoBridge.js @@ -80,12 +80,12 @@ async function main() { } const bridge = await ethers.getContractAt( - 'ForkableBridge', + 'contracts/ForkableBridge.sol:ForkableBridge', polygonZkEVMBridgeAddress, ); const forkonomicToken = await ethers.getContractAt( - 'ForkonomicToken', + 'contracts/ForkonomicToken.sol:ForkonomicToken', forkonomicTokenAddress, ); const depositAmount = ethers.utils.parseEther('10');