Skip to content

Commit

Permalink
[geth] improve check-readiness script
Browse files Browse the repository at this point in the history
  • Loading branch information
VladStarr committed Sep 27, 2023
1 parent def5779 commit bf76b0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dysnix/geth/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: geth
description: Go-ethereum blockchain node Helm Chart

version: 1.0.3
version: 1.0.4
appVersion: v1.13.1

keywords:
Expand Down
2 changes: 1 addition & 1 deletion dysnix/geth/templates/scripts/_check-readiness.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -e

# Retrieving latest block timestamp
get_block_timestamp() {
geth attach --exec "eth.getBlock(eth.blockNumber).timestamp"
geth --{{ .Values.config.eth.network }} --exec "eth.getBlock(eth.blockNumber).timestamp" 2>/dev/null
}

if [ -z $1 ]; then
Expand Down

0 comments on commit bf76b0e

Please sign in to comment.