Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contract address missing #14

Open
imarkus8787 opened this issue May 3, 2023 · 0 comments
Open

Contract address missing #14

imarkus8787 opened this issue May 3, 2023 · 0 comments

Comments

@imarkus8787
Copy link

When running run.sh get this errors after passing multiple ansible Task

TASK [edge : Execute deploy and run script on the first validator] ******************************************************************
skipping: [i-029da648f72eca49e]
skipping: [i-05c1dc647f0ab13ca]
skipping: [i-07cc225ea7b1f8cfd]
fatal: [i-0c21d328536a23815]: FAILED! => {"changed": true, "cmd": "cd /var/lib/bootstrap\nexport PRIVATE_KEY=$(cat rootchain-wallet.json | jq -r '.HexPrivateKey')\nexport NATIVE_ERC20_ADDR=$(cat genesis.json | jq -r '.params.engine.polybft.bridge.nativeERC20Address') \nnpm install\nnode /var/lib/bootstrap/deploy-and-run.js > /var/lib/bootstrap/run-deploy-output.txt\n", "delta": "0:00:01.575812", "end": "2023-05-03 20:40:24.947238", "msg": "non-zero return code", "rc": 1, "start": "2023-05-03 20:40:23.371426", "stderr": "cat: genesis.json: No such file or directory\n/var/lib/bootstrap/node_modules/web3-core-helpers/lib/errors.js:125\n return new Error('This contract object doesn't have address set yet, please set an address first.');\n ^\n\nError: This contract object doesn't have address set yet, please set an address first.\n at Object.ContractNoAddressDefinedError (/var/lib/bootstrap/node_modules/web3-core-helpers/lib/errors.js:125:16)\n at Object._processExecuteArguments (/var/lib/bootstrap/node_modules/web3-eth-contract/lib/index.js:729:22)\n at Object._executeMethod (/var/lib/bootstrap/node_modules/web3-eth-contract/lib/index.js:745:68)\n at file:///var/lib/bootstrap/deploy-and-run.js:19:102\n\nNode.js v18.16.0", "stderr_lines": ["cat: genesis.json: No such file or directory", "/var/lib/bootstrap/node_modules/web3-core-helpers/lib/errors.js:125", " return new Error('This contract object doesn't have address set yet, please set an address first.');", " ^", "", "Error: This contract object doesn't have address set yet, please set an address first.", " at Object.ContractNoAddressDefinedError (/var/lib/bootstrap/node_modules/web3-core-helpers/lib/errors.js:125:16)", " at Object._processExecuteArguments (/var/lib/bootstrap/node_modules/web3-eth-contract/lib/index.js:729:22)", " at Object._executeMethod (/var/lib/bootstrap/node_modules/web3-eth-contract/lib/index.js:745:68)", " at file:///var/lib/bootstrap/deploy-and-run.js:19:102", "", "Node.js v18.16.0"], "stdout": "\nup to date, audited 335 packages in 854ms\n\n52 packages are looking for funding\n run npm fund for details\n\n6 moderate severity vulnerabilities\n\nTo address all issues (including breaking changes), run:\n npm audit fix --force\n\nRun npm audit for details.", "stdout_lines": ["", "up to date, audited 335 packages in 854ms", "", "52 packages are looking for funding", " run npm fund for details", "", "6 moderate severity vulnerabilities", "", "To address all issues (including breaking changes), run:", " npm audit fix --force", "", "Run npm audit for details."]}

@imarkus8787 imarkus8787 changed the title Contract Contract address missing May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant