Skip to content

Commit bbf08f3

Browse files
authored
update to devnet that defaults to big sectors (textileio#458)
Signed-off-by: Aaron Sutula <hi@asutula.com>
1 parent 4852f30 commit bbf08f3

3 files changed

Lines changed: 10 additions & 2 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,12 +155,16 @@ make devnet
155155
```
156156
This will build Powergate `powd`, a Lotus devnet, a IPFS node and wire them correctly to be ready to use.
157157
158+
**Note**: There also exists a `make devnet-small` command that will create the Lotus devent using 2Kib sectors. This may be more appropriate for certain development or testing scenarios.
159+
158160
Here is a full example of using the devnet run:
159161
Terminal 1:
160162
```bash
161163
cd docker
162164
make devnet
163165
```
166+
167+
164168
Wait for seeing logs about the height of the chain increase in a regular cadence.
165169
166170
Terminal 2:

docker/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,7 @@ up: down
1010
devnet:
1111
docker-compose -p devnet -f docker-compose-devnet.yaml up --build -V
1212
.PHONY: devnet
13+
14+
devnet-small:
15+
BIGSECTORS=false docker-compose -p devnet -f docker-compose-devnet.yaml up --build -V
16+
.PHONY: devnet-small

docker/docker-compose-devnet.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ services:
2626
- 5001:5001
2727

2828
lotus:
29-
image: textile/lotus-devnet:sha-72026a2
29+
image: textile/lotus-devnet:sha-ff3d28e
3030
ports:
3131
- 7777:7777
3232
environment:
3333
- TEXLOTUSDEVNET_SPEED=1500
34-
- TEXLOTUSDEVNET_BIGSECTORS=true
34+
- TEXLOTUSDEVNET_BIGSECTORS=${BIGSECTORS}
3535
- TEXLOTUSDEVNET_IPFSADDR=/dns4/ipfs/tcp/5001

0 commit comments

Comments
 (0)