diff --git a/docker-compose.yml b/docker-compose.yml index 50b251bdeb10..34f92d521164 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,6 +10,7 @@ services: # Not mounting any volumes for now as this is a sample devnet so no need to persist data command: > --dev + --dev.period 1 --http --http.addr 0.0.0.0 --http.port 8545 diff --git a/entrypoint.sh b/entrypoint.sh index 79873af107f9..12689c167d2f 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -10,7 +10,4 @@ npm install echo "Compiling, testing and deploying the contract..." npx hardhat compile npx hardhat test -yes | npx hardhat ignition deploy ./ignition/modules/Lock.js --network local - -# Keep the container running -tail -f /dev/null +yes | npx hardhat ignition deploy ./ignition/modules/Lock.js --network local --verbose diff --git a/hardhat/hardhat.config.js b/hardhat/hardhat.config.js index 04cc2de60802..06b603d374dc 100644 --- a/hardhat/hardhat.config.js +++ b/hardhat/hardhat.config.js @@ -5,7 +5,10 @@ module.exports = { solidity: "0.8.24", networks: { local: { - url: "http://127.0.0.1:8545" + url: "http://127.0.0.1:8545", + ignition: { + requiredConfirmations: 1, + } } }, };