From 09b1b0392e7362356cf554053f19fca9a52270ea Mon Sep 17 00:00:00 2001 From: Aleksandr Kuperman Date: Wed, 30 Oct 2024 12:46:29 +0000 Subject: [PATCH] chore: code adjustment --- ...eploy_12_contributors_proxy_set_contribute_agent_statuses.js | 2 +- scripts/deployment/deploy_13_contributors_proxy_change_owner.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/deployment/deploy_12_contributors_proxy_set_contribute_agent_statuses.js b/scripts/deployment/deploy_12_contributors_proxy_set_contribute_agent_statuses.js index 336b285..46d2cca 100644 --- a/scripts/deployment/deploy_12_contributors_proxy_set_contribute_agent_statuses.js +++ b/scripts/deployment/deploy_12_contributors_proxy_set_contribute_agent_statuses.js @@ -50,7 +50,7 @@ async function main() { // Transaction signing and execution console.log("12. EOA to set contribute agent statuses in ContributorsProxy"); console.log("You are signing the following transaction: ContributorsProxy.connect(EOA).setContributeAgentStatuses()"); - const result = await contributorsProxy.setContributeAgentStatuses([contributeAgentAddress], [true], { gasPrice }); + const result = await contributorsProxy.connect(EOA).setContributeAgentStatuses([contributeAgentAddress], [true], { gasPrice }); // Transaction details console.log("Contract deployment: ContributorsProxy"); diff --git a/scripts/deployment/deploy_13_contributors_proxy_change_owner.js b/scripts/deployment/deploy_13_contributors_proxy_change_owner.js index 72cbdfa..1fa969d 100644 --- a/scripts/deployment/deploy_13_contributors_proxy_change_owner.js +++ b/scripts/deployment/deploy_13_contributors_proxy_change_owner.js @@ -50,7 +50,7 @@ async function main() { // Transaction signing and execution console.log("13. EOA to change owner in ContributorsProxy"); console.log("You are signing the following transaction: ContributorsProxy.connect(EOA).changeOwner()"); - const result = await contributorsProxy.changeOwner(bridgeMediatorAddress, { gasPrice }); + const result = await contributorsProxy.connect(EOA).changeOwner(bridgeMediatorAddress, { gasPrice }); // Transaction details console.log("Contract deployment: ContributorsProxy");