diff --git a/src/setup/devnet/templates/docker/docker-ganache-start.sh.njk b/src/setup/devnet/templates/docker/docker-ganache-start.sh.njk index 6d875de8..86461a1e 100644 --- a/src/setup/devnet/templates/docker/docker-ganache-start.sh.njk +++ b/src/setup/devnet/templates/docker/docker-ganache-start.sh.njk @@ -8,9 +8,9 @@ docker compose run -d --service-ports --name ganache ganache \ --chain.hardfork istanbul \ --miner.blockTime 1 \ --database.dbPath /root/data/$DATA_DIR \ - {% for acc in obj.config.accounts %}--wallet.accounts {{ acc.privateKey }},1000000000000000000000 {% endfor %}\ + {% for acc in obj.config.accounts %}--wallet.accounts {{ acc.privateKey }},1000000000000000000000 {% endfor %} \ --miner.blockGasLimit 0xfffffffff \ --miner.defaultGasPrice 0x1 \ - --chain.allowUnlimitedContractSize=true \ + --chain.allowUnlimitedContractSize \ --server.port 9545 \ --server.host 0.0.0.0 diff --git a/src/setup/ganache/index.js b/src/setup/ganache/index.js index e3b22ef1..990479b7 100644 --- a/src/setup/ganache/index.js +++ b/src/setup/ganache/index.js @@ -92,7 +92,7 @@ export class Ganache { blockGasLimit: '0xfffffffff' }, chain: { - allowUnlimitedContractSize: 'true' + allowUnlimitedContractSize: true }, database: { dbPath: this.dbDir diff --git a/src/setup/ganache/templates/ganache-start.sh.njk b/src/setup/ganache/templates/ganache-start.sh.njk index b9e0bbb2..460e030a 100644 --- a/src/setup/ganache/templates/ganache-start.sh.njk +++ b/src/setup/ganache/templates/ganache-start.sh.njk @@ -8,9 +8,9 @@ ganache \ --chain.hardfork istanbul \ --miner.blockTime 1 \ --database.dbPath $DATA_DIR \ - {% for acc in obj.config.accounts %}--wallet.accounts {{ acc.privateKey }},1000000000000000000000 {% endfor %}\ + {% for acc in obj.config.accounts %}--wallet.accounts {{ acc.privateKey }},1000000000000000000000 {% endfor %} \ --miner.blockGasLimit 8000000 \ --miner.defaultGasPrice 0 \ - --chain.allowUnlimitedContractSize=true \ + --chain.allowUnlimitedContractSize \ --server.port 9545 \ --server.host 0.0.0.0