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

local deployment using deploy-contract.js no longer works #77

Closed
Jovonni opened this issue Oct 1, 2024 · 18 comments · Fixed by #78
Closed

local deployment using deploy-contract.js no longer works #77

Jovonni opened this issue Oct 1, 2024 · 18 comments · Fixed by #78
Labels
bug Something isn't working

Comments

@Jovonni
Copy link
Contributor

Jovonni commented Oct 1, 2024

The changes referenced in #54, and implemented in #37 (comment) might have been reverted during a recent merge:

Evidence:

yarn node scripts/deploy-contract.js --install ${PWD}/src/orca.contract.js,${PWD}/src/orca.proposal.js --eval /root/src/orca.proposal.js
installing bundle from deploy-contract.js ....
fullPaths E2E [
  '/Users/jovonni/Documents/projects/devtes/tmp/dapp-orchestration-basics/contract/src/orca.contract.js,/Users/jovonni/Documents/projects/devtes/tmp/dapp-orchestration-basics/contract/src/orca.proposal.js'
]
getBundleId(bundle)
+fullPath
/Users/jovonni/Documents/projects/devtes/tmp/dapp-orchestration-basics/contract/src/orca.contract.js,/Users/jovonni/Documents/projects/devtes/tmp/dapp-orchestration-basics/contract/src/orca.proposal.js
contractPath
/Users/jovonni/Documents/projects/devtes/tmp/dapp-orchestration-basics/contract/src/orca.contract.js
proposalPath
/Users/jovonni/Documents/projects/devtes/tmp/dapp-orchestration-basics/contract/src/orca.proposal.js
containerPath
/root/src/orca.contract.js
(Error#1)
Error#1: bundle orca was for /Users/jovonni/Documents/projects/devtes/tmp/dapp-orchestration-basics/contract/src/orca.proposal.js , not /Users/jovonni/Documents/projects/devtes/tmp/dapp-orchestration-basics/contract/src/orca.contract.js

  at async Object.installBundlesE2E (file:///Users/jovonni/Documents/projects/devtes/tmp/dapp-orchestration-basics/contract/tools/e2e-tools.js:535:22)
  at async main (file:///Users/jovonni/Documents/projects/devtes/tmp/dapp-orchestration-basics/contract/scripts/deploy-contract.js:117:5)

bundles add: orca from /Users/jovonni/Documents/projects/devtes/tmp/dapp-orchestration-basics/contract/src/orca.contract.js
bundles bundled 280 files in bundle-orca.js at 2024-10-01T20:38:22.915Z with transforms with format endoZipBase64 and conditions []
(Error#2)
Error#2: bundle orca was for /Users/jovonni/Documents/projects/devtes/tmp/dapp-orchestration-basics/contract/src/orca.contract.js , not /Users/jovonni/Documents/projects/devtes/tmp/dapp-orchestration-basics/contract/src/orca.proposal.js

  at async Object.installBundlesE2E (file:///Users/jovonni/Documents/projects/devtes/tmp/dapp-orchestration-basics/contract/tools/e2e-tools.js:536:31)
  at async main (file:///Users/jovonni/Documents/projects/devtes/tmp/dapp-orchestration-basics/contract/scripts/deploy-contract.js:117:5)

bundles add: orca from /Users/jovonni/Documents/projects/devtes/tmp/dapp-orchestration-basics/contract/src/orca.proposal.js
bundles bundled 41 files in bundle-orca.js at 2024-10-01T20:38:23.232Z with transforms with format endoZipBase64 and conditions []
bundle
{
  moduleFormat: 'endoZipBase64',
  endoZipBase64: 'UEsDBAoAAAAAAAAAAABnZQItWOgCAFjoAgAUAAAAY29tcGFydG1lbnQtbWFwLmpzb257CiAgInRhZ3MiOiBbXSwKICAiZW50cnkiOiB7CiAgICAiY29tcGFydG1lbnQiOiAiZGFwcC1hZ29yaWMtb3JjYS1jb250cmFjdC12MC4xLjAiLAogICAgIm1vZHVsZSI6ICIuL3NyYy9vcmNhLmNvbnRyYWN0LmpzIgogIH0sCiAgImNvbXBhcnRtZW50cyI6IHsKICAgICJAYWdvcmljL2FzeW5jLWZsb3ctdjAuMS4xLXVwZ3JhZGUtMTctZGV2LWVjNDQ4YjAuMCtlYzQ0OGIwIjogewogICAgICAibmFtZSI6ICJAYWdvcmljL2FzeW5jLWZsb3ciLAogICAgICAibGFiZWwiOiAiQGFnb3JpYy9hc3luYy1mbG93LXYwLjEuMS11cGdyYWRlLTE3LWRldi1lYzQ0OGIwLjArZWM0NDhiMCIsCiAgICAgICJsb2NhdGlvbiI6ICJAYWdvcmljL2F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YjAuMCtlYzQ0OGIwIiwKICAgICAgICAgICJtb2R1bGUiOiAiLi9zcmMvdm93LXV0aWxzLmpzIgogICAgICAgIH0sCiAgICAgICAgIkBhZ29yaWMvdm93L3ZhdC5qcyI6IHsKICAgICAgICAgICJjb21wYXJ0bWVudCI6ICJAYWdvcmljL3Zvdy12MC4yLjAtdXBncmFkZS0xNy1kZXYtZWM0NDhiMC4wK2VjNDQ4YjAiLAogICAgICAgICAgIm1vZHVsZSI6ICIuL3ZhdC5qcyIKICAgICAgICB9LAogICAgICAgICJAZW5kby9jb21tb24vYXBwbHktbGFiZWxpbmctZXJyb3IuanMiOiB7CiAgICAgICAgICAiY29tcGFydG1lbnQiOiAiQGVuZG8vY29tbW9uLXYxLjIuNSIsCiAgICAgICAgICAibW9kdWxlIjogIi4vYXBwbHktbGFiZWxpbmctZXJyb3IuanMiCiAgICAgICAgfSwKICAgICAgICAiQGVuZG8vY29tbW9uL2Zyb20tdW5pcXVlLWVudHJpZXMuanMiOiB7CiAgICAgICAgICAiY29tcGFydG1lbnQiOiAiQGVuZG8vY29tbW9uLXYxLjIuNSIsCiAgICAgICAgICAibW9kdWxlIjogIi4vZnJvbS11bmlxdWUtZW50cmllcy5qcyIKICAgICAgICB9LAogICAgICAgICJAZW5kby9jb21tb24vaWRlbnQtY2hlY2tlci5qcyI6IHsKICAgICAgICAgICJjb21wYXJ0bWVudCI6ICJAZW5kby9jb21tb24tdjEuMi41IiwKICAgICAgICAgICJtb2R1bGUiOiAiLi9pZGVudC1jaGVja2VyLmpzIgogICAgICAgIH0sCiAgICAgICAgIkBlbmRvL2NvbW1vbi9saXN0LWRpZmZlcmVuY2UuanMiOiB7CiAgICAgICAgICAiY29tcGFydG1lbnQiOiAiQGVuZG8vY29tbW9uLXYxLjIuNSIsCiAgICAgICAgICAibW9kdWxlIjogIi4vbGlzdC1kaWZmZXJlbmNlLmpzIgogICAgICAgIH0sCiAgICAgICAgIkBlbmRvL2NvbW1vbi9tYWtlLWFycmF5LWl0ZXJhdG9yLmpzIjogewogICAgICAgICAgImNvbXBhcnRtZW50IjogIkBlbmRvL2NvbW1vbi12MS4yLjUiLAogICAgICAgICAgIm1vZHVsZSI6ICIuL21ha2UtYXJyYXktaXRlcmF0b3IuanMiCiAgICAgICAgfSwKICAgICAgICAiQGVuZG8vY29tbW9uL21ha2UtaXRlcmF0b3IuanMiOiB7CiAgICAgICAgICAiY29tcGFydG1lbnQiOiAiQGVuZG8vY29tbW9uLXYxLjIuNSIsCiAgICAgICAgICAibW9kdWxlIjogIi4vbWFrZS1pdGVyYXRvci5qcyIKICAgICAgICB9LAogICAgICAgICJAZW5kby9jb21tb24vb2JqZWN0LW1hcC5qcyI6IHsKICAgICAgICAgICJjb21wYXJ0bWVudCI6ICJAZW5kby9jb21tb24tdjEuMi41IiwKICAgICAgICAgICJtb2R1bGUiOiAiLi9vYmplY3QtbWFwLmpzIgogICAgICAgIH0sCiAgICAgICAgIkBlbmRvL2NvbW1vbi9vYmplY3QtbWV0YS1hc3NpZ24uanMiOiB7CiAgICAgICAgICAiY29tcGFydG1lbnQiOiAiQGVuZG8vY29tbW9uLXYxLjIuNSIsCiAgICAgICAgICAibW9kdWxlIjogIi4vb2JqZWN0LW1ldGEtYXNzaWduLmpzIgogICAgICAgIH0sCiAgICAgICAgIkBlbmRvL2NvbW1vbi9vYmplY3QtbWV0YS1tYXAuanMiOiB7CiAgICAgICAgICAiY29tcGFydG1lbnQiOiAiQGVuZG8vY29tbW9uLXYxLjIuNSIsCiAgICAgICAgICAibW9kdWxlIjogIi4vb2JqZWN0LW1ldGEtbWFwLmpzIgogICAgICAgIH0sCiAgICAgICAgIkBlbmRvL2NvbW1vbi9wYWNrYWdlLmpzb24iOiB7CiAgICAgICAgICAiY29tcGFydG1lbnQiOiAiQGVuZG8vY29tbW9uLXYxLjIuNSIsCiAgICAgICAgICAibW9kdWxlIjogIi4vcGFja2FnZS5qc29uIgogICAgICAgIH0sCiAgICAgICAgIkBlbmRvL2NvbW1vbi90aHJvdy1sYWJlbGVkLmpzIjogewogICAgICAgICAgImNvbXBhcnRtZW50IjogIkBlbmRvL2NvbW1vbi12MS4yLjUiLAogICAgICAgICAgIm1vZHVsZSI6ICIuL3Rocm93LWxhYmVsZWQuanMiCiAgICAgICAgfSwKICAgICAgICAiQGVuZG8vZXJyb3JzIjogewogICAgICAgICAgImNvbXBhcnRtZW50IjogIkBlbmRvL2Vycm9ycy12MS4yLjUiLAogICAgICAgICAgIm1vZHVsZSI6ICIuL2luZGV4LmpzIgogICAgICAgIH0sCiAgICAgICAgIkBlbmRvL2Vycm9ycy9wYWNrYWdlLmpzb24iOiB7CiAgICAgICAgICAiY29tcGFydG1lbnQiOiAiQGVuZG8vZXJyb3JzLXYxLjIuNSIsCiAgICAgICAgICAibW9kdWxlIjogIi4vcGFja2FnZS5qc29uIgogICAgICAgIH0sCiAgICAgICAgIkBlbmRvL2V2ZW50dWFsLXNlbmQiOiB7CiAgICAgICAgICAiY29tcGFydG1lbnQiOiAiQGVuZG8vZXZlbnR1YWwtc2VuZC12MS4yLjUtbjE0IiwKICAgICAgICAgICJtb2R1bGUiOiAiLi9zcmMvbm8tc2hpbS5qcyIKICAgICAgICB9LAogICAgICAgICJAZW5kby9ldmVudHVhbC1zZW5kL3BhY2thZ2UuanNvbiI6IHsKICAgICAgICAgICJjb21wYXJ0bWVudCI6ICJAZW5kby9ldmVudHVhbC1zZW5kLXYxLjIuNS1uMTQiLAogICAgICAgICAgIm1vZHVsZSI6ICIuL3BhY2thZ2UuanNvbiIKICAgICAgICB9LAogICAgICAgICJAZW5kby9ldmVudHVhbC1zZW5kL3NoaW0uanMiOiB7CiAgICAgICAgICAiY29tcGFydG1lbnQiOiAiQGVuZG8vZXZlbnR1YWwtc2VuZC12MS4yLjUtbjE0IiwKICAgICAgICAgICJtb2R1bGUiOiAiLi9zaGltLmpzIgogICAgICAgIH0sCiAgICAgICAgIkBlbmRvL2V2ZW50dWFsLXNlbmQvdXRpbHMuanMiOiB7CiAgICAgICAgICAiY29tcGFydG1lbnQiOiAiQGVuZG8vZXZlbnR1YWwtc2VuZC12MS4yLjUtbjE0IiwKICAgICAgICAgICJtb2R1bGUiOiAiLi91dGlscy5qcyIKICAgICAgICB9LAogICAgICAgICJAZW5kby9tYXJzaGFsIjogewogICAgICAgICAgImNvbXBhcnRtZW50IjogIkBlbmRvL21hcnNoYWwtdjEuNS4zIiwKICAgICAgICAgICJtb2R1bGUiOiAiLi9pbmRleC5qcyIKICAgICAgICB9LAogICAgICAgICJAZW5kby9tYXJzaGFsL3BhY2thZ2UuanNvbiI6IHsKICAgICAgICAgICJjb21wYXJ0bWVudCI6ICJAZW5kby9tYXJzaGFsLXYxLjUuMyIsCiAgICAgICAgICAibW9kdWxlIjogIi4vcGFja2FnZS5qc29uIgogICAgICAgIH0sCiAgICAgICAgIkBlbmRvL3Bhc3Mtc3R5bGUiOiB7CiAgICAgICAgICAiY29tcGFydG1lbnQiOiAiQGVuZG8vcGFzcy1zdHlsZS12MS40LjMiLAogICAgICAgICAgIm1vZHVsZSI6ICIuL2luZGV4LmpzIgogICAgICAgIH0sCiAgICAgICAgIkBlbmRvL3Bhc3Mtc3R5bGUvZW5kb3cuanMiOiB7CiAgICAgICAgICAiY29tcGFydG1lbnQiOiAiQGVuZG8vcGFzcy1zdHlsZS12MS40LjMiLAogICAgICAgICAgIm1vZHVsZSI6ICIuL2VuZG93LmpzIgogICAgICAgIH0sCiAgICAgICAgIkBlbmRvL3Bhc3Mtc3R5bGUvcGFja2FnZS5qc29uIjogewogICAgICAgICAgImNvbXBhcnRtZW50IjogIkBlbmRvL3Bhc3Mtc3R5bGUtdjEuNC4zIiwKICAgICAgICAgICJtb2R1bGUiOiAiLi9wYWNrYWdlLmpzb24iCiAgICAgICAgfSwKICAgICAgICAiQGVuZG8vcGFzcy1zdHlsZS90b29scy5qcyI6IHsKICAgICAgICAgICJjb21wYXJ0bWVudCI6ICJAZW5kby9wYXNzLXN0eWxlLXYxLjQuMyIsCiAgICAgICAgICAibW9kdWxlIjogIi4vdG9vbHMuanMiCiAgICAgICAgfSwKICAgICAgICAiQGVuZG8vcGF0dGVybnMiOiB7CiAgICAgICAgICAiY29tcGFydG1lbnQiOiAiQGVuZG8vcGF0dGVybnMtdjEuNC4zIiwKICAgICAgICAgICJtb2R1bGUiOiAiLi9pbmRleC5qcyIKICAgICAgICB9LAogICAgICAgICJAZW5kby9wYXR0ZXJucy9wYWNrYWdlLmpzb24iOiB7CiAgICAgICAgICAiY29tcGFydG1lbnQiOiAiQGVuZG8vcGF0dGVybnMtdjEuNC4zIiwKICAgICAgICAgICJtb2R1bGUiOiAiLi9wYWNrYWdlLmpzb24iCiAgICAgICAgfSwKICAgICAgICAiQGVuZG8vcHJvbWlzZS1raXQiOiB7CiAgICAgICAgICAiY29tcGFydG1lbnQiOiAiQGVuZG8vcHJvbWlzZS1raXQtdjEuMS41IiwKICAgICAgICAgICJtb2R1bGUiOiAiLi9pbmRleC5qcyIKICAgICAgICB9LAogICAgICAgICJAZW5kby9wcm9taXNlLWtpdC9wYWNrYWdlLmpzb24iOiB7CiAgICAgICAgICAiY29tcGFydG1lbnQiOiAiQGVuZG8vcHJvbWlzZS1raXQtdjEuMS41IiwKICAgICAgICAgICJtb2R1bGUiOiAiLi9wYWNrYWdlLmpzb24iCiAgICAgICAgfSwKICAgICAgICAiQGVuZG8vcHJvbWlzZS1raXQvc2hpbS5qcyI6IHsKICAgICAgICAgICJjb21wYXJ0bWVudCI6ICJAZW5kby9wcm9taXNlLWtpdC12MS4xLjUiLAogICAgICAgICAgIm1vZHVsZSI6ICIuL3NoaW0uanMiCiAgICAgICAgfSwKICAgICAgICAiLi9pbmRleC5qcyI6IHsKICAgICAgICAgICJsb2NhdGlvbiI6ICJpbmRleC5qcyIsCiAgICAgICAgICAicGFyc2VyIjogInByZS1tanMtanNvbiIsCiAgICAgICAgICAic2hhNTEyIjogIjJjNmE2ZWVkNzQwMzQ0OGYyNmQ1MzU4MTIwN2M5YzgxYzk0ZTY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WZjYzkyODhhZWYwNjAyY2MyOGUwZGNhM2FjMzM3NDA3MTVhMjk0YWJjZWI5YWY5YmNiYmE5OWJlMzZmMzQyMzczYzI3YTI4ZjBhNzE5OWIzOGVjOGZkZiIKICAgICAgICB9LAogICAgICAgICIuL3NyYy9lbmRvd21lbnRzLmpzIjogewogICAgICAgICAgImxvY2F0aW9uIjogInNyYy9lbmRvd21lbnRzLmpzIiwKICAgICAgICAgICJwYXJzZXIiOiAicHJlLW1qcy1qc29uIiwKICAgICAgICAgICJzaGE1MTIiOiAiMTAxYzFlNWViN2FmOTRmYzI3YzZhMDNiOTA2YWQ3OWI2NjBjZDVkMDFmYTViMDNiZmE2NTM1YzlkZjMzNmFiOGU2'... 2682228 more characters,
  endoZipBase64Sha512: '311c6c19e4ad00606887e97a9be6e342d091bb1f60f9d3a3e11c19b740fdda956069077aea6be273661595c79b4779af9ffe119bb4532c9de5a8269fe86983e6'
}
{
  moduleFormat: 'endoZipBase64',
  endoZipBase64: 'UEsDBAoAAAAAAAAAAABnZQItWOgCAFjoAgAUAAAAY29tcGFydG1lbnQtbWFwLmpzb257CiAgInRhZ3MiOiBbXSwKICAiZW50cnkiOiB7CiAgICAiY29tcGFydG1lbnQiOiAiZGFwcC1hZ29yaWMtb3JjYS1jb250cmFjdC12MC4xLjAiLAogICAgIm1vZHVsZSI6ICIuL3NyYy9vcmNhLmNvbnRyYWN0LmpzIgogIH0sCiAgImNvbXBhcnRtZW50cyI6IHsKICAgICJAYWdvcmljL2FzeW5jLWZsb3ctdjAuMS4xLXVwZ3JhZGUtMTctZGV2LWVjNDQ4YjAuMCtlYzQ0OGIwIjogewogICAgICAibmFtZSI6ICJAYWdvcmljL2FzeW5jLWZsb3ciLAogICAgICAibGFiZWwiOiAiQGFnb3JpYy9hc3luYy1mbG93LXYwLjEuMS11cGdyYWRlLTE3LWRldi1lYzQ0OGIwLjArZWM0NDhiMCIsCiAgICAgICJsb2NhdGlvbiI6ICJAYWdvcmljL2FzeW5jLWZ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YzQ0OGIwIiwKICAgICAgICAgICJtb2R1bGUiOiAiLi9zcmMvdm93LXV0aWxzLmpzIgogICAgICAgIH0sCiAgICAgICAgIkBhZ29yaWMvdm93L3ZhdC5qcyI6IHsKICAgICAgICAgICJjb21wYXJ0bWVudCI6ICJAYWdvcmljL3Zvdy12MC4yLjAtdXBncmFkZS0xNy1kZXYtZWM0NDhiMC4wK2VjNDQ4YjAiLAogICAgICAgICAgIm1vZHVsZSI6ICIuL3ZhdC5qcyIKICAgICAgICB9LAogICAgICAgICJAZW5kby9jb21tb24vYXBwbHktbGFiZWxpbmctZXJyb3IuanMiOiB7CiAgICAgICAgICAiY29tcGFydG1lbnQiOiAiQGVuZG8vY29tbW9uLXYxLjIuNSIsCiAgICAgICAgICAibW9kdWxlIjogIi4vYXBwbHktbGFiZWxpbmctZXJyb3IuanMiCiAgICAgICAgfSwKICAgICAgICAiQGVuZG8vY29tbW9uL2Zyb20tdW5pcXVlLWVudHJpZXMuanMiOiB7CiAgICAgICAgICAiY29tcGFydG1lbnQiOiAiQGVuZG8vY29tbW9uLXYxLjIuNSIsCiAgICAgICAgICAibW9kdWxlIjogIi4vZnJvbS11bmlxdWUtZW50cmllcy5qcyIKICAgICAgICB9LAogICAgICAgICJAZW5kby9jb21tb24vaWRlbnQtY2hlY2tlci5qcyI6IHsKICAgICAgICAgICJjb21wYXJ0bWVudCI6ICJAZW5kby9jb21tb24tdjEuMi41IiwKICAgICAgICAgICJtb2R1bGUiOiAiLi9pZGVudC1jaGVja2VyLmpzIgogICAgICAgIH0sCiAgICAgICAgIkBlbmRvL2NvbW1vbi9saXN0LWRpZmZlcmVuY2UuanMiOiB7CiAgICAgICAgICAiY29tcGFydG1lbnQiOiAiQGVuZG8vY29tbW9uLXYxLjIuNSIsCiAgICAgICAgICAibW9kdWxlIjogIi4vbGlzdC1kaWZmZXJlbmNlLmpzIgogICAgICAgIH0sCiAgICAgICAgIkBlbmRvL2NvbW1vbi9tYWtlLWFycmF5LWl0ZXJhdG9yLmpzIjogewogICAgICAgICAgImNvbXBhcnRtZW50IjogIkBlbmRvL2NvbW1vbi12MS4yLjUiLAogICAgICAgICAgIm1vZHVsZSI6ICIuL21ha2UtYXJyYXktaXRlcmF0b3IuanMiCiAgICAgICAgfSwKICAgICAgICAiQGVuZG8vY29tbW9uL21ha2UtaXRlcmF0b3IuanMiOiB7CiAgICAgICAgICAiY29tcGFydG1lbnQiOiAiQGVuZG8vY29tbW9uLXYxLjIuNSIsCiAgICAgICAgICAibW9kdWxlIjogIi4vbWFrZS1pdGVyYXRvci5qcyIKICAgICAgICB9LAogICAgICAgICJAZW5kby9jb21tb24vb2JqZWN0LW1hcC5qcyI6IHsKICAgICAgICAgICJjb21wYXJ0bWVudCI6ICJAZW5kby9jb21tb24tdjEuMi41IiwKICAgICAgICAgICJtb2R1bGUiOiAiLi9vYmplY3QtbWFwLmpzIgogICAgICAgIH0sCiAgICAgICAgIkBlbmRvL2NvbW1vbi9vYmplY3QtbWV0YS1hc3NpZ24uanMiOiB7CiAgICAgICAgICAiY29tcGFydG1lbnQiOiAiQGVuZG8vY29tbW9uLXYxLjIuNSIsCiAgICAgICAgICAibW9kdWxlIjogIi4vb2JqZWN0LW1ldGEtYXNzaWduLmpzIgogICAgICAgIH0sCiAgICAgICAgIkBlbmRvL2NvbW1vbi9vYmplY3QtbWV0YS1tYXAuanMiOiB7CiAgICAgICAgICAiY29tcGFydG1lbnQiOiAiQGVuZG8vY29tbW9uLXYxLjIuNSIsCiAgICAgICAgICAibW9kdWxlIjogIi4vb2JqZWN0LW1ldGEtbWFwLmpzIgogICAgICAgIH0sCiAgICAgICAgIkBlbmRvL2NvbW1vbi9wYWNrYWdlLmpzb24iOiB7CiAgICAgICAgICAiY29tcGFydG1lbnQiOiAiQGVuZG8vY29tbW9uLXYxLjIuNSIsCiAgICAgICAgICAibW9kdWxlIjogIi4vcGFja2FnZS5qc29uIgogICAgICAgIH0sCiAgICAgICAgIkBlbmRvL2NvbW1vbi90aHJvdy1sYWJlbGVkLmpzIjogewogICAgICAgICAgImNvbXBhcnRtZW50IjogIkBlbmRvL2NvbW1vbi12MS4yLjUiLAogICAgICAgICAgIm1vZHVsZSI6ICIuL3Rocm93LWxhYmVsZWQuanMiCiAgICAgICAgfSwKICAgICAgICAiQGVuZG8vZXJyb3JzIjogewogICAgICAgICAgImNvbXBhcnRtZW50IjogIkBlbmRvL2Vycm9ycy12MS4yLjUiLAogICAgICAgICAgIm1vZHVsZSI6ICIuL2luZGV4LmpzIgogICAgICAgIH0sCiAgICAgICAgIkBlbmRvL2Vycm9ycy9wYWNrYWdlLmpzb24iOiB7CiAgICAgICAgICAiY29tcGFydG1lbnQiOiAiQGVuZG8vZXJyb3JzLXYxLjIuNSIsCiAgICAgICAgICAibW9kdWxlIjogIi4vcGFja2FnZS5qc29uIgogICAgICAgIH0sCiAgICAgICAgIkBlbmRvL2V2ZW50dWFsLXNlbmQiOiB7CiAgICAgICAgICAiY29tcGFydG1lbnQiOiAiQGVuZG8vZXZlbnR1YWwtc2VuZC12MS4yLjUtbjE0IiwKICAgICAgICAgICJtb2R1bGUiOiAiLi9zcmMvbm8tc2hpbS5qcyIKICAgICAgICB9LAogICAgICAgICJAZW5kby9ldmVudHVhbC1zZW5kL3BhY2thZ2UuanNvbiI6IHsKICAgICAgICAgICJjb21wYXJ0bWVudCI6ICJAZW5kby9ldmVudHVhbC1zZW5kLXYxLjIuNS1uMTQiLAogICAgICAgICAgIm1vZHVsZSI6ICIuL3BhY2thZ2UuanNvbiIKICAgICAgICB9LAogICAgICAgICJAZW5kby9ldmVudHVhbC1zZW5kL3NoaW0uanMiOiB7CiAgICAgICAgICAiY29tcGFydG1lbnQiOiAiQGVuZG8vZXZlbnR1YWwtc2VuZC12MS4yLjUtbjE0IiwKICAgICAgICAgICJtb2R1bGUiOiAiLi9zaGltLmpzIgogICAgICAgIH0sCiAgICAgICAgIkBlbmRvL2V2ZW50dWFsLXNlbmQvdXRpbHMuanMiOiB7CiAgICAgICAgICAiY29tcGFydG1lbnQiOiAiQGVuZG8vZXZlbnR1YWwtc2VuZC12MS4yLjUtbjE0IiwKICAgICAgICAgICJtb2R1bGUiOiAiLi91dGlscy5qcyIKICAgICAgICB9LAogICAgICAgICJAZW5kby9tYXJzaGFsIjogewogICAgICAgICAgImNvbXBhcnRtZW50IjogIkBlbmRvL21hcnNoYWwtdjEuNS4zIiwKICAgICAgICAgICJtb2R1bGUiOiAiLi9pbmRleC5qcyIKICAgICAgICB9LAogICAgICAgICJAZW5kby9tYXJzaGFsL3BhY2thZ2UuanNvbiI6IHsKICAgICAgICAgICJjb21wYXJ0bWVudCI6ICJAZW5kby9tYXJzaGFsLXYxLjUuMyIsCiAgICAgICAgICAibW9kdWxlIjogIi4vcGFja2FnZS5qc29uIgogICAgICAgIH0sCiAgICAgICAgIkBlbmRvL3Bhc3Mtc3R5bGUiOiB7CiAgICAgICAgICAiY29tcGFydG1lbnQiOiAiQGVuZG8vcGFzcy1zdHlsZS12MS40LjMiLAogICAgICAgICAgIm1vZHVsZSI6ICIuL2luZGV4LmpzIgogICAgICAgIH0sCiAgICAgICAgIkBlbmRvL3Bhc3Mtc3R5bGUvZW5kb3cuanMiOiB7CiAgICAgICAgICAiY29tcGFydG1lbnQiOiAiQGVuZG8vcGFzcy1zdHlsZS12MS40LjMiLAogICAgICAgICAgIm1vZHVsZSI6ICIuL2VuZG93LmpzIgogICAgICAgIH0sCiAgICAgICAgIkBlbmRvL3Bhc3Mtc3R5bGUvcGFja2FnZS5qc29uIjogewogICAgICAgICAgImNvbXBhcnRtZW50IjogIkBlbmRvL3Bhc3Mtc3R5bGUtdjEuNC4zIiwKICAgICAgICAgICJtb2R1bGUiOiAiLi9wYWNrYWdlLmpzb24iCiAgICAgICAgfSwKICAgICAgICAiQGVuZG8vcGFzcy1zdHlsZS90b29scy5qcyI6IHsKICAgICAgICAgICJjb21wYXJ0bWVudCI6ICJAZW5kby9wYXNzLXN0eWxlLXYxLjQuMyIsCiAgICAgICAgICAibW9kdWxlIjogIi4vdG9vbHMuanMiCiAgICAgICAgfSwKICAgICAgICAiQGVuZG8vcGF0dGVybnMiOiB7CiAgICAgICAgICAiY29tcGFydG1lbnQiOiAiQGVuZG8vcGF0dGVybnMtdjEuNC4zIiwKICAgICAgICAgICJtb2R1bGUiOiAiLi9pbmRleC5qcyIKICAgICAgICB9LAogICAgICAgICJAZW5kby9wYXR0ZXJucy9wYWNrYWdlLmpzb24iOiB7CiAgICAgICAgICAiY29tcGFydG1lbnQiOiAiQGVuZG8vcGF0dGVybnMtdjEuNC4zIiwKICAgICAgICAgICJtb2R1bGUiOiAiLi9wYWNrYWdlLmpzb24iCiAgICAgICAgfSwKICAgICAgICAiQGVuZG8vcHJvbWlzZS1raXQiOiB7CiAgICAgICAgICAiY29tcGFydG1lbnQiOiAiQGVuZG8vcHJvbWlzZS1raXQtdjEuMS41IiwKICAgICAgICAgICJtb2R1bGUiOiAiLi9pbmRleC5qcyIKICAgICAgICB9LAogICAgICAgICJAZW5kby9wcm9taXNlLWtpdC9wYWNrYWdlLmpzb24iOiB7CiAgICAgICAgICAiY29tcGFydG1lbnQiOiAiQGVuZG8vcHJvbWlzZS1raXQtdjEuMS41IiwKICAgICAgICAgICJtb2R1bGUiOiAiLi9wYWNrYWdlLmpzb24iCiAgICAgICAgfSwKICAgICAgICAiQGVuZG8vcHJvbWlzZS1raXQvc2hpbS5qcyI6IHsKICAgICAgICAgICJjb21wYXJ0bWVudCI6ICJAZW5kby9wcm9taXNlLWtpdC12MS4xLjUiLAogICAgICAgICAgIm1vZHVsZSI6ICIuL3NoaW0uanMiCiAgICAgICAgfSwKICAgICAgICAiLi9pbmRleC5qcyI6IHsKICAgICAgICAgICJsb2NhdGlvbiI6ICJpbmRleC5qcyIsCiAgICAgICAgICAicGFyc2VyIjogInByZS1tanMtanNvbiIsCiAgICAgICAgICAic2hhNTEyIjogIjJjNmE2ZWVkNzQwMzQ0OGYyNmQ1MzU4MTIwN2M5YzgxYzk0ZTY4YzhiNzV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hhZWYwNjAyY2MyOGUwZGNhM2FjMzM3NDA3MTVhMjk0YWJjZWI5YWY5YmNiYmE5OWJlMzZmMzQyMzczYzI3YTI4ZjBhNzE5OWIzOGVjOGZkZiIKICAgICAgICB9LAogICAgICAgICIuL3NyYy9lbmRvd21lbnRzLmpzIjogewogICAgICAgICAgImxvY2F0aW9uIjogInNyYy9lbmRvd21lbnRzLmpzIiwKICAgICAgICAgICJwYXJzZXIiOiAicHJlLW1qcy1qc29uIiwKICAgICAgICAgICJzaGE1MTIiOiAiMTAxYzFlNWViN2FmOTRmYzI3YzZhMDNiOTA2YWQ3OWI2NjBjZDVkMDFmYTViMDNiZmE2NTM1YzlkZjMzNmFiOGU2'... 2682228 more characters,
  endoZipBase64Sha512: '311c6c19e4ad00606887e97a9be6e342d091bb1f60f9d3a3e11c19b740fdda956069077aea6be273661595c79b4779af9ffe119bb4532c9de5a8269fe86983e6'
}
bundleFileName
/Users/jovonni/.agoric/cache/b1-311c6c19e4ad00606887e97a9be6e342d091bb1f60f9d3a3e11c19b740fdda956069077aea6be273661595c79b4779af9ffe119bb4532c9de5a8269fe86983e6.json
bundle file /Users/jovonni/.agoric/cache/b1-311c6c19e4ad00606887e97a9be6e342d091bb1f60f9d3a3e11c19b740fdda956069077aea6be273661595c79b4779af9ffe119bb4532c9de5a8269fe86983e6.json does not exist!
{
  name: 'startOrcaContract',
  script: 'startOrcaContract.js',
  permit: 'startOrcaContract-permit.json',
  bundles: [
    {
      entrypoint: '../../src/orca.contract.js',
      bundleID: 'b1-c1751df4fae592823c8ea3bef44855e1f4ce857d5a390bc1f03b234a6877a3cbd0f787894125bbdbb0395db541d517b2095d26c09132f5fcdd3f75f6d25c6292',
      fileName: '/Users/jovonni/.agoric/cache/b1-c1751df4fae592823c8ea3bef44855e1f4ce857d5a390bc1f03b234a6877a3cbd0f787894125bbdbb0395db541d517b2095d26c09132f5fcdd3f75f6d25c6292.json'
    },
    {
      entrypoint: '../../src/orca.proposal.js',
      bundleID: 'b1-d041456972ed56f130a9eecabe194e9f32e23a257dab667ab90fe3bcf8c16b296b108060f01b58d22f18e88a41689bae6e88f0a32ce35070dd899ec56078990e',
      fileName: '/Users/jovonni/.agoric/cache/b1-d041456972ed56f130a9eecabe194e9f32e23a257dab667ab90fe3bcf8c16b296b108060f01b58d22f18e88a41689bae6e88f0a32ce35070dd899ec56078990e.json'
    }
  ]
}
copying files to containr
(TypeError#3)
TypeError#3: copyFiles is not a function

  at Object.installBundlesE2E (file:///Users/jovonni/Documents/projects/devtes/tmp/dapp-orchestration-basics/contract/tools/e2e-tools.js:588:7)
  at async main (file:///Users/jovonni/Documents/projects/devtes/tmp/dapp-orchestration-basics/contract/scripts/deploy-contract.js:117:5)

@Jovonni Jovonni added the bug Something isn't working label Oct 1, 2024
@Jovonni
Copy link
Contributor Author

Jovonni commented Oct 1, 2024

Might have been this commit here:
38a4bee

@Jovonni
Copy link
Contributor Author

Jovonni commented Oct 1, 2024

@mujahidkay had a good idea, he suggested we consider deploy-contract.js to be a part of our CI/CD to avoid this.

I support it, as it seems easy to accidentally break if its not a part of our pipelines.

Would love team thoughts

@mujahidkay
Copy link
Member

@mujahidkay had a good idea, he suggested we consider deploy-contract.js to be a part of our CI/CD to avoid this.

I support it, as it seems easy to accidentally break if its not a part of our pipelines.

Would love team thoughts

The integration workflow in both dapp-offer-up and dapp-agoric-basics already integrates this for those dapps

@dckc
Copy link
Member

dckc commented Oct 2, 2024

he suggested we consider deploy-contract.js to be a part of our CI/CD to avoid this.

absolutely.

As I am fond of saying: you don't have to test everything. Just the stuff you want to work. :)

And ci is all about testing to avoid regressions.

In my work on #61, each time I found a problem with deployment to a chain, I reduced it to an ava unit test before fixing it. That makes for much faster iteration time.

We have a docs issue to encourage smart contract devs to do likewise:

Reducing to an ava test requires factoring out ambient authority--that is, applying the OCap Discipline part of our style guide, which is one of my favorite things to do. :)

In brief:

  • modules should not export powerful objects (for example, objects that close over fs or process.env) (#2160)

  • program scripts are indicated with #!/usr/bin/env node at the top (and +x file permissions). They are free to import all the authority they need and then delegate it.

  • Note that tests don't export anything.

So I moved several bits of code out of the deploy-cli.js program script to modules that use explicit authority (aka injection). Then I made a deploy-cli style usage test that injects mocks.

Dan Connolly on X: "The industry consensus on memory safety looks like it's over the hump. But the battle against excess authority is just beginning. ..."

@dckc
Copy link
Member

dckc commented Oct 2, 2024

Wait... now I'm confused. Isn't deploy-contract.js subsumed by deploy-cli.js?

When I worked on #61, I didn't see any use of deploy-contract.js in ci or anything else.

@amessbee
Copy link
Contributor

amessbee commented Oct 2, 2024

Agreed 100% - let's do it.

@amessbee
Copy link
Contributor

amessbee commented Oct 2, 2024

@Jovonni also can we please merge #64 to rid us of confusion regarding definition of e2e.

@Jovonni
Copy link
Contributor Author

Jovonni commented Oct 2, 2024

@dckc the command to run deploy-contract.js is this here:

yarn node scripts/deploy-contract.js --install ${PWD}/src/orca.contract.js,${PWD}/src/orca.proposal.js --eval /root/src/orca.proposal.js

This command has always been the make e2e command to deploy the orca contract in this repo.

The inspiration came from this command in dapp-agoric-basics:

https://github.com/Agoric/dapp-agoric-basics/blob/005b33905ac8409452bb69dcdc5c69bd33be15a1/contract/Makefile#L65-L69

It's also never been in CI, hence why we are suggesting to include it

@Jovonni
Copy link
Contributor Author

Jovonni commented Oct 2, 2024

@amessbee I'm not sure what you're confused by on this, can you be more specific?

@dckc
Copy link
Member

dckc commented Oct 2, 2024

@dckc the command to run deploy-contract.js is ...

This command has always been the make e2e command to deploy the orca contract in this repo.

Yes, but for what purpose? Why deploy the contract to a local chain that doesn't have IBC connections to other chains?

@amessbee
Copy link
Contributor

amessbee commented Oct 2, 2024

@Jovonni below is the definition of e2e in Makefile - this includes the command you mentioned but it contains whole lot of other stuff too. IMO that is confusing. In your #64 you cleared this confusion but it's not merged yet.

e2e:
	make clean
	make cleanc
	yarn cache clean
	kubectl exec -i agoriclocal-genesis-0 -c validator -- bash -c "yarn cache clean"
	kubectl exec -i agoriclocal-genesis-0 -c validator -- bash -c "rm -rf -v /root/*"
# yarn run build:deployer
	make copy-project  
	kubectl exec -i agoriclocal-genesis-0 -c validator -- bash -c "cd /root/ ; yarn install"
	kubectl exec -i agoriclocal-genesis-0 -c validator -- bash -c "cd /root/ ; yarn add @endo/[email protected]"
#kubectl exec -i agoriclocal-genesis-0 -c validator -- bash -c "cd /root/ ; yarn add @agoric/[email protected]"
	kubectl exec -i agoriclocal-genesis-0 -c validator -- bash -c "cd /root/ ; yarn add @agoric/[email protected]"
	kubectl exec -i agoriclocal-genesis-0 -c validator -- bash -c "cd /root/ ; yarn add @agoric/[email protected]"
	kubectl exec -i agoriclocal-genesis-0 -c validator -- bash -c "cd /root/ ; yarn build:deployer"

# yarn node scripts/deploy-contract.js --install /root/src/orca.contract.js --eval /root/src/orca.proposal.js
	yarn node scripts/deploy-contract.js --install ${PWD}/src/orca.contract.js,${PWD}/src/orca.proposal.js --eval /root/src/orca.proposal.js

# todo: figure out why this sequence # is always off by 1 forcing a retry
# yarn node script/deploy-contract.js

@amessbee
Copy link
Contributor

amessbee commented Oct 2, 2024

@dckc the command to run deploy-contract.js is ...
This command has always been the make e2e command to deploy the orca contract in this repo.

Yes, but for what purpose? Why deploy the contract to a local chain that doesn't have IBC connections to other chains?

I thought this was being deployed to a kube pod with IBC connection to osmosis and cosmoshub?

@dckc
Copy link
Member

dckc commented Oct 2, 2024

@dckc the command to run deploy-contract.js is ...
This command has always been the make e2e command to deploy the orca contract in this repo.

Yes, but for what purpose? Why deploy the contract to a local chain that doesn't have IBC connections to other chains?

I thought this was being deployed to a kube pod with IBC connection to osmosis and cosmoshub?

The way we do that in CI is with yarn integration-test, which uses deploy-cli.js, not deploy-contract.js.

Again, I ask: Isn't deploy-contract.js subsumed by deploy-cli.js?

@Jovonni
Copy link
Contributor Author

Jovonni commented Oct 2, 2024

@dckc the command to run deploy-contract.js is ...
This command has always been the make e2e command to deploy the orca contract in this repo.

Yes, but for what purpose? Why deploy the contract to a local chain that doesn't have IBC connections to other chains?

The local chain does have IBC connections to other chains.

@Jovonni
Copy link
Contributor Author

Jovonni commented Oct 2, 2024

@dckc the command to run deploy-contract.js is ...
This command has always been the make e2e command to deploy the orca contract in this repo.

Yes, but for what purpose? Why deploy the contract to a local chain that doesn't have IBC connections to other chains?

I thought this was being deployed to a kube pod with IBC connection to osmosis and cosmoshub?

The way we do that in CI is with yarn integration-test, which uses deploy-cli.js, not deploy-contract.js.

Again, I ask: Isn't deploy-contract.js subsumed by deploy-cli.js?

If it is "subsumed", that is news to me, we originally grabbed it from here:
https://github.com/Agoric/dapp-agoric-basics/blob/005b33905ac8409452bb69dcdc5c69bd33be15a1/contract/Makefile#L65-L69

start-contract-mint:
	yarn node scripts/deploy-contract.js \
		--install src/sell-concert-tickets.contract.js \
		--eval src/platform-goals/board-aux.core.js \
		--eval src/sell-concert-tickets.proposal.js

By this, I would assume its not subsumed by deploy-cli.js @dckc, but maybe you are referring to a recent change in this repo.

@dckc
Copy link
Member

dckc commented Oct 2, 2024

If the local chain stuff does have IBC to other chains, what distinguishes it from the yarn integration-test mechanism?

What are we trying to do with deploy-contract.js that isn't handled by deploy-cli.js?

Is there some important feature that depends on deploy-contract.js that is not handled by deploy-cli.js?

What bad thing happens if we just get rid of deploy-contract.js?

@Jovonni
Copy link
Contributor Author

Jovonni commented Oct 3, 2024

will study deploy-cli.js today, haven't really looked since it was merged to master. Will also look at e2e-testing as a whole. It seems deploy-contract.js isn't needed anymore from what I am seeing/hearing 😂

@Jovonni
Copy link
Contributor Author

Jovonni commented Oct 3, 2024

@dckc kudos, you were right on track! 😂

Thank you and @0xpatrickdev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
4 participants