Skip to content

Commit

Permalink
ci: update the rskj node version and configuration (#252)
Browse files Browse the repository at this point in the history
  • Loading branch information
antomor committed Jan 3, 2024
1 parent 711afee commit dc62eca
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
run: npm run lint

- name: Run docker image
run: docker run -d -p 127.0.0.1:4444:4444 -p 127.0.0.1:4445:4445 --name enveloping-rskj -it -v $PWD/docker/logback.xml:/etc/rsk/logback.xml -v $PWD/docker/node.conf:/etc/rsk/node.conf rsksmart/rskj:HOP-4.1.1 --regtest
run: docker run -d -p 127.0.0.1:4444:4444 -p 127.0.0.1:4445:4445 --name enveloping-rskj -it -v $PWD/docker/logback.xml:/etc/rsk/logback.xml -v $PWD/docker/node.conf:/etc/rsk/node.conf rsksmart/rskj:FINGERROOT-5.0.0 --regtest

- name: Run tests
run: npm run test -- --network regtest
2 changes: 1 addition & 1 deletion docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
To run the RSKj container please use the following command:

```bash
docker run -d -p 127.0.0.1:4444:4444 -p 127.0.0.1:4445:4445 --name enveloping-rskj-hop-4.1.1 -it -v $PWD/docker/logback.xml:/etc/rsk/logback.xml -v $PWD/docker/node.conf:/etc/rsk/node.conf rsksmart/rskj:HOP-4.1.1 --regtest
docker run -d -p 127.0.0.1:4444:4444 -p 127.0.0.1:4445:4445 --name relay-rskj-fingerroot-5.0.0 -it -v $PWD/docker/logback.xml:/etc/rsk/logback.xml -v $PWD/docker/node.conf:/etc/rsk/node.conf rsksmart/rskj:FINGERROOT-5.0.0 --regtest
```

You could also use docker-compose:
Expand Down
2 changes: 1 addition & 1 deletion docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3"
services:
rskj:
container_name: rsk-node
image: rsksmart/rskj:HOP-4.1.1
image: rsksmart/rskj:FINGERROOT-5.0.0
ports:
- "127.0.0.1:4444:4444"
- "127.0.0.1:4445:4445"
Expand Down
4 changes: 4 additions & 0 deletions docker/node.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ miner {
minGasPrice = 1
}

# Disable account tx rate limit to avoid deploy errors
transaction.accountTxRateLimit.enabled = false

# structured trace is the trace being collected in the form of objects and exposed to the user in json or any other convenient form
vm {
executionStackSize = 4M
Expand Down Expand Up @@ -120,6 +123,7 @@ blockchain.config {
},
consensusRules = {
rskip97 = -1 # disable orchid difficulty drop
rskip252 = -1 # disable [transaction gas price cap](https://github.com/rsksmart/RSKIPs/blob/master/IPs/RSKIP252.md)
}
}

Expand Down

0 comments on commit dc62eca

Please sign in to comment.