Skip to content

Commit

Permalink
patch(cmd): fix halt-height param
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-Ixo committed Oct 11, 2023
1 parent c4be3cb commit 545ae69
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 17 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ coverage.out
dist

.DS_STORE

# docker-compose volume mapping for chain config and data
.data
2 changes: 1 addition & 1 deletion cmd/ixod/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ func (a appCreator) newApp(logger log.Logger, db dbm.DB, traceStore io.Writer, a
wasmOpts,
baseapp.SetPruning(pruningOpts),
baseapp.SetMinGasPrices(cast.ToString(appOpts.Get(server.FlagMinGasPrices))),
baseapp.SetHaltHeight(cast.ToUint64(appOpts.Get(server.FlagHaltTime))),
baseapp.SetHaltHeight(cast.ToUint64(appOpts.Get(server.FlagHaltHeight))),
baseapp.SetHaltTime(cast.ToUint64(appOpts.Get(server.FlagHaltTime))),
baseapp.SetMinRetainBlocks(cast.ToUint64(appOpts.Get(server.FlagMinRetainBlocks))),
baseapp.SetInterBlockCache(cache),
Expand Down
33 changes: 17 additions & 16 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
version: "3.7"
version: '3.7'
services:
# nginx:
# image: nginx
# container_name: ixo_nginx
# restart: unless-stopped
# ports:
# - "80:8081"
# volumes:
# - .infra/nginx/devel.conf:/etc/nginx/conf.d/devel.conf
# links:
# - ixo-blockchain
# - ixo-swagger
# image: nginx
# container_name: ixo_nginx
# restart: unless-stopped
# ports:
# - "80:8081"
# volumes:
# - .infra/nginx/devel.conf:/etc/nginx/conf.d/devel.conf
# links:
# - ixo-blockchain
# - ixo-swagger

# ixo-swagger:
# container_name: ixo_swagger
Expand All @@ -19,8 +19,8 @@ services:
# environment:
# - BASE_URL=/swagger
# - SWAGGER_JSON=/api-docs/swagger.yaml
# ports:
# - "8090:8080"
# ports:
# - "8090:8080"
# volumes:
# - "./docs/static/openapi.yml:/api-docs/swagger.yaml"

Expand All @@ -35,7 +35,8 @@ services:
image: ixo-chain:devel
restart: unless-stopped
volumes:
- "./:/app"
- './:/app'
- '.data/:/root/.ixod'
ports:
- "1317:1317" # API
- "26658:26657" #
- '1317:1317' # API
- '26658:26657' #

0 comments on commit 545ae69

Please sign in to comment.