diff --git a/.github/workflows/deployment_check.yml b/.github/workflows/deployment_check.yml index d5d7edd0..802ad352 100644 --- a/.github/workflows/deployment_check.yml +++ b/.github/workflows/deployment_check.yml @@ -53,4 +53,5 @@ jobs: [ -f "$HOME/.ocean/ocean-contracts/artifacts/ready" ] && break done ls -la "$HOME/.ocean/ocean-contracts/artifacts/" + - run: cat ${HOME}/.ocean/ocean-contracts/artifacts/address.json - run: node scripts/check_deployment.js \ No newline at end of file diff --git a/scripts/check_deployment.js b/scripts/check_deployment.js index dec25f71..a5a71b6f 100644 --- a/scripts/check_deployment.js +++ b/scripts/check_deployment.js @@ -4,6 +4,7 @@ const fs = require('fs') async function testDeployment() { // load addresses file first addresses = null + console.log("Loading "+process.env.ADDRESS_FILE) try { addresses = JSON.parse(fs.readFileSync(process.env.ADDRESS_FILE, 'utf8')) } @@ -11,6 +12,7 @@ async function testDeployment() { console.error("Could not load addreses files") process.exit(1) } + console.log(addresses) if (!('development' in addresses)) { console.error("Missing development network") process.exit(1)