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

feat(devnet): makes nonL1 conts start #6

Open
wants to merge 18 commits into
base: rsk/poc-v0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 11 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ build/_workspace
build/bin
build/_bin
tests/testdata

!rskj.logback.xml
!rskj.node.conf
!rskj.genesis.json
12 changes: 5 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ mod-tidy:
# can take a while to index new versions.
#
# See https://proxy.golang.org/ for more info.
export GOPRIVATE="github.com/ethereum-optimism" && go mod tidy
export GOPRIVATE="github.com/rsksmart" && go mod tidy
.PHONY: mod-tidy

clean:
Expand All @@ -110,7 +110,7 @@ nuke: clean devnet-clean
git clean -Xdf
.PHONY: nuke

pre-devnet: submodules
pre-devnet: submodules update-op-geth
illuque marked this conversation as resolved.
Show resolved Hide resolved
jurajpiar marked this conversation as resolved.
Show resolved Hide resolved
@if ! [ -x "$(command -v geth)" ]; then \
make install-geth; \
fi
Expand All @@ -137,7 +137,7 @@ devnet-down:
.PHONY: devnet-down

devnet-clean:
rm -rf ./packages/contracts-bedrock/deployments/devnetL1
rm -rf ./packages/contracts-bedrock/deployments/regtest
rm -rf ./.devnet
cd ./ops-bedrock && docker compose down
docker image ls 'ops-bedrock*' --format='{{.Repository}}' | xargs -r docker rmi
Expand All @@ -161,7 +161,7 @@ test-unit:

test-integration:
bash ./ops-bedrock/test-integration.sh \
./packages/contracts-bedrock/deployments/devnetL1
./packages/contracts-bedrock/deployments/regtest
.PHONY: test-integration

# Remove the baseline-commit to generate a base reading & show all issues
Expand Down Expand Up @@ -234,9 +234,7 @@ rsk-regtest-delete:

rsk-regtest-start:
docker run --name rsk_regtest -d -it \
-p 5050:5050 -p 4444:4444 -p 4445:4445 \
-v $(PATH_OPSTACK)/rskj.logback.xml:/etc/rsk/logback.xml \
-v $(PATH_OPSTACK)/rskj.node.conf:/etc/rsk/node.conf \
-p 6060:5050 -p 8545:4444 -p 8546:4445 \
illuque marked this conversation as resolved.
Show resolved Hide resolved
franciscotobar/rskj:optimism-6.1.0 --regtest --reset
.PHONY: rsk-regtest-start

Expand Down
Loading