Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
Merge pull request #492 from maticnetwork/mardizzone/fix-contract
Browse files Browse the repository at this point in the history
chg: do not deploy StakeManagerTest
  • Loading branch information
marcello33 authored Dec 5, 2023
2 parents 4291b97 + c03d174 commit 933c552
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion migrations/2_deploy_root_contracts.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 933c552

Please sign in to comment.