Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
leovct committed Dec 4, 2023
1 parent 385cf55 commit bcef3c8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/setup/devnet/templates/docker/docker-ganache-start.sh.njk
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion src/setup/ganache/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export class Ganache {
blockGasLimit: '0xfffffffff'
},
chain: {
allowUnlimitedContractSize: 'true'
allowUnlimitedContractSize: true
},
database: {
dbPath: this.dbDir
Expand Down
4 changes: 2 additions & 2 deletions src/setup/ganache/templates/ganache-start.sh.njk
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit bcef3c8

Please sign in to comment.