Skip to content

Commit

Permalink
chore: add enabling debug mode on icon node
Browse files Browse the repository at this point in the history
  • Loading branch information
robcxyz committed Nov 15, 2023
1 parent b72f62d commit 8ec3413
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ down-stack: ## Bring down the stack without deleting volumes
-f docker-compose.frontend.yml \
down

enable-debug:
@docker-compose -f docker-compose.icon-chain.yml exec icon goloop system config rpcIncludeDebug true

install-goloop: ## Install goloop
cd goloop && $(MAKE) goloop

Expand All @@ -50,7 +53,7 @@ wait-for-stack:
echo Waiting for stack to come up
sleep 15

all: clone-dependencies install-goloop up-stack wait-for-stack create-wallet fund-wallet ## All the things
all: clone-dependencies install-goloop up-stack wait-for-stack enable-debug create-wallet fund-wallet ## All the things

help:
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-16s\033[0m %s\n", $$1, $$2}'
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Individual steps:
make # Shows help screen
make clone-dependencies
make up-stack
make enable-debug
make install-goloop
make create-wallet
make fund-wallet
Expand Down Expand Up @@ -64,6 +65,11 @@ up -d

To take it down subsitute `up -d` with `down` or to remove the volumes `down -v`.

Enable debug mode on ICON node
```shell
docker-compose -f docker-compose.icon-chain.yml exec icon goloop system config rpcIncludeDebug true
```

Installing goloop
```shell
git clone https://github.com/icon-project/goloop
Expand All @@ -72,8 +78,7 @@ make goloop
cd ..
```

Creating wallet

Creating wallet
```shell
./goloop/bin/goloop ks gen -o your_wallet_name.json -p yoursupersecret
```
Expand Down

0 comments on commit 8ec3413

Please sign in to comment.