Skip to content

Commit

Permalink
[stacks-blockchain-api]: add missing period to fix event replays (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlieC3 authored Aug 29, 2022
1 parent c07810c commit ffcf308
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hirosystems/stacks-blockchain-api/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ sources:
- https://github.com/hirosystems/stacks-blockchain-api
- https://docs.hiro.so/api
- https://docs.hiro.so/get-started/stacks-blockchain-api
version: 1.0.2
version: 1.0.3
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ spec:
- sh
- -c
- |
node /lib/index.js import-events --file ${STACKS_EXPORT_EVENTS_FILE} --wipe-db --force
node ./lib/index.js import-events --file ${STACKS_EXPORT_EVENTS_FILE} --wipe-db --force --mode pruned
{{- if .Values.apiWriter.containerSecurityContext.enabled }}
securityContext: {{- omit .Values.apiWriter.containerSecurityContext "enabled" | toYaml | nindent 12 }}
{{- end }}
Expand Down
4 changes: 3 additions & 1 deletion hirosystems/stacks-blockchain-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ apiWriter:
## @param dataArchiveUrl Specify a URL from which to download a tar.gz archive of the stacks-blockchain-api TSV file before launching the server
##
dataArchiveUrl: ""
# dataArchiveUrl: https://storage.googleapis.com/blockstack-publish/archiver-main/follower/mainnet-follower-latest.tar.gz
# dataArchiveUrl: https://storage.googleapis.com/blockstack-publish/mainnet/api/mainnet-blockchain-api-4.0.3-latest.tar.gz
# Replay events from the API's TSV file into the Postgres database
# CAUTION: THIS WILL WIPE YOUR CURRENT DATABASE
replayEvents: false
exportEvents: false
enableFtMetadata: true
Expand Down

0 comments on commit ffcf308

Please sign in to comment.