-
Notifications
You must be signed in to change notification settings - Fork 67
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
feat: Add infrastructure to run node #110
Conversation
6fa7a76
to
85c388e
Compare
3348331
to
cf99295
Compare
6be0791
to
c2d28d5
Compare
As cartesi-rollups-node gets built and new services are added, it becomes increasingly cumbersome to set up an environment to test it. The added docker-compose file is meant to simplify the process of manual testing for the time being
c2d28d5
to
bc856db
Compare
bc856db
to
d9d8cdb
Compare
build/anvil/docker-compose.yml
Outdated
context: ./anvil-base | ||
dockerfile: ./Dockerfile | ||
tags: | ||
- "cartesi/anvil:devel" |
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.
I think the name of the image should be cartesi/rollups-node-devnet:devel
.
build/anvil/devnet/docker-bake.hcl
Outdated
@@ -0,0 +1,6 @@ | |||
target "docker-metadata-action" {} |
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.
Do we need these bake files? Are they necessary when using docker-compose?
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.
Actually I left them as an Option to build them. But giving it a second thought It is cleaner to have them removed
build/README.md
Outdated
cast send $INPUT_BOX_ADDRESS "addInput(address,bytes)(bytes32)" $DAPP_ADDRESS $INPUT --mnemonic "test test test test test test test test test test test junk" --rpc-url "http://localhost:8545" | ||
``` | ||
|
||
## query input |
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.
## query input | |
## Query input |
build/README.md
Outdated
Access `http://localhost:4000/graphql` and execute query | ||
``` | ||
query{ | ||
notices {edges{node{index,payload,input{payload}}}} | ||
} |
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.
You can export a curl example in the GraphQL. It would be clearer instead of asking the person to open the browser.
build/anvil/anvil-base/Dockerfile
Outdated
@@ -0,0 +1,22 @@ | |||
# syntax=docker.io/docker/dockerfile:1.4 |
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.
Missing copyright.
@@ -0,0 +1,30 @@ | |||
# (c) Cartesi and individual authors (see AUTHORS) |
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.
This PR should be rebased on top of next
.
.gitignore
Outdated
build/deployments | ||
**/.idea/ | ||
build/anvil/anvil_state/state.json | ||
build/anvil/deployments/** |
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 do we need two deployment directories (one in build and another in anvil)?
d9d8cdb
to
a37cb20
Compare
a37cb20
to
01ca3da
Compare
No description provided.