From c03d1745e4d1959b1edbe51fab4369e2095d6f93 Mon Sep 17 00:00:00 2001 From: marcello33 Date: Tue, 5 Dec 2023 10:34:30 +0100 Subject: [PATCH] chg: do not deploy StakeManagerTest --- migrations/2_deploy_root_contracts.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/migrations/2_deploy_root_contracts.js b/migrations/2_deploy_root_contracts.js index a485d550..10444703 100644 --- a/migrations/2_deploy_root_contracts.js +++ b/migrations/2_deploy_root_contracts.js @@ -190,7 +190,12 @@ module.exports = async function(deployer, network, accounts) { await deployer.deploy(RootChain) await deployer.deploy(RootChainProxy, RootChain.address, Registry.address, process.env.HEIMDALL_ID) await deployer.deploy(StateSender) - await deployer.deploy(StakeManagerTestable) + /* StakeManagerTest is only used in tests. + We avoid to deploy it in devnets as it requires huge amount of gas. + This is possible by using ganache `--chain.allowUnlimitedContractSize true` + but we're facing issues bumping ganache to v7.7.0 to allow that + */ + // await deployer.deploy(StakeManagerTestable) await deployer.deploy(StakeManagerTest) await deployer.deploy(DepositManager)