Skip to content

Commit

Permalink
update to octez 9.4, remove --block from snap import
Browse files Browse the repository at this point in the history
Switch default import url to xtz-shots
  • Loading branch information
jevonearth committed Jul 3, 2021
1 parent 8565dcd commit cbde500
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
9 changes: 2 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ The location on the host where the Tezos client configuration will reside. This

The tezos docker image to use.

tezos_docker_image: tezos/tezos:v8.2
tezos_docker_image: tezos/tezos:v9.4

The history mode you wish to operate your node in. Options are full, archive or snapshot (currently only tested using `full`)

Expand All @@ -58,10 +58,6 @@ The path or URL to the snapshot file that will be used for the initial import of

snapshot_tmp_file: /tmp/snapshot

The block hash of the _last_ block in the snapshot file. The import process uses this value to verify that the latest hash of the provided import file is the one you are expecting.

snapshot_block_hash: BLu7qmWnrQT8SoMMzTnieBjsPGnt4xdYR2vtmxwiXAG2HWSb8D1

Dependencies
------------

Expand All @@ -76,9 +72,8 @@ For mainnet:
roles:
- role: ecadlabs.tezos_node
bootstrap_strategy: snapshot
snapshot_url: https://storage.googleapis.com/tezos-snapshots/snapshot_mainnet_BLu7qmWnrQT8SoMMzTnieBjsPGnt4xdYR2vtmxwiXAG2HWSb8D1.full
snapshot_url: https://mainnet.xtz-shots.io/full # See https://xtz-shots.io/
tezos_network: mainnet
snapshot_block_hash: BLu7qmWnrQT8SoMMzTnieBjsPGnt4xdYR2vtmxwiXAG2HWSb8D1
snapshot_tmp_file: /tmp/snapshot

License
Expand Down
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# defaults file for roles/tezos_node_envoy_proxy

tezos_docker_image: tezos/tezos:v9.0
tezos_docker_image: tezos/tezos:v9.4

node_data_dir: "/srv/tezos/{{ tezos_network }}_node"
client_data_dir: "/srv/tezos/{{ tezos_network }}_client"
Expand Down
1 change: 0 additions & 1 deletion tasks/snapshot_import.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
command: >
snapshot import /data/snapshot
--network {{ tezos_network }}
--block {{ snapshot_block_hash }}
--data-dir=/data/node/
register: import_out
- debug:
Expand Down

0 comments on commit cbde500

Please sign in to comment.