From cbde500b78b6ec86d1a125fe7caa2cbeb928c283 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jev=20Bj=C3=B6rsell?= Date: Sat, 3 Jul 2021 12:20:53 -0700 Subject: [PATCH] update to octez 9.4, remove --block from snap import Switch default import url to xtz-shots --- README.md | 9 ++------- defaults/main.yml | 2 +- tasks/snapshot_import.yml | 1 - 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 148331f..2120f1f 100644 --- a/README.md +++ b/README.md @@ -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`) @@ -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 ------------ @@ -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 diff --git a/defaults/main.yml b/defaults/main.yml index ac745d7..b2eae88 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -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" diff --git a/tasks/snapshot_import.yml b/tasks/snapshot_import.yml index b8138d0..44343ef 100644 --- a/tasks/snapshot_import.yml +++ b/tasks/snapshot_import.yml @@ -41,7 +41,6 @@ command: > snapshot import /data/snapshot --network {{ tezos_network }} - --block {{ snapshot_block_hash }} --data-dir=/data/node/ register: import_out - debug: