-
Notifications
You must be signed in to change notification settings - Fork 5
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
Making start-docker
Contract-Agnostic
#93
base: main
Are you sure you want to change the base?
Conversation
start-docker
Contract-Agnostic --WIP--
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion:
Instead of running a container within a container (which further reduces the resources available to the child container), why don't we run two parallel docker containers and use a network bridge to communicate between them?
make_ports_public.sh
Outdated
@@ -0,0 +1,19 @@ | |||
#!/bin/bash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is there code related to codespaces here? That should be in a different PR to make sure that we have a shorter PR to review here.
ec15741
to
1b21a98
Compare
start-docker
Contract-Agnostic --WIP--start-docker
Contract-Agnostic
Asking users to install |
I am removing myself from the review. I think @Jovonni or @mujahidkay are best suited to review and help make progress in this area. |
This is a twin of a PR in dapp-agoric-basics repo.
Goal of this PR is to (maybe partially) close #92. Currently running of
agoriclocal
chain and deploying and starting contract are intertwined in this dapp. This is somewhat unnatural as chain should not depend on the files of any specific contract - apart from the ones that designated essential for its running.Further, running a chain independent of a specific contract will allow testing of multiple dapp simultaneously running and interacting with each other which may unlock several scenarios that a developer may want to test for.
As per discussion with @toliaqat, here is a plan:
run-chain.sh
) that necessary tasks for running of chain independently.yarn start:contract
should handle most of the heavy work including:ws-offer-up
here)copy tools needed for building, i.e.,Makefile
copy scripts and tools needed for required for makinginstall-bundle
,submit-proposal
,vote
etc. calls.create contract bundles on host machine, and then copy them to the workspace in docker container.build-proposal
,install-bundle
,submit-proposal
,vote
etc. calls needed to deploy and run the contract using scripts as before.update relevant docs. In particular, add guides to installagoric
andagd
CLI.Link to IBIS document.