diff --git a/README.md b/README.md index 888f0b6..74b2c8f 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,8 @@ l1_chain_id: "" l2_chain_id: "" ``` +Please refer to [External Node docs](https://github.com/matter-labs/zksync-era/tree/main/docs/guides/external-node/prepared_configs) to find values for different zkSync Era chains. + If you want to use monitoring (which we highly recommend), you have to change these variables: ```yaml @@ -84,12 +86,17 @@ Basic auth secret can be generated by `htpasswd` and `sed` for interpolation: 1. Install the ansible collection on your machine from where you will run ansible: `ansible-galaxy collection install community.general` -2. Prepare the latest database backup on your host. you can download it from our [public GCS bucket](https://storage.googleapis.com/zksync-era-mainnet-external-node-backups/external_node_latest.pgdump). -you should place it to `{{ storage_directory }}/pg_backups` directory. By default, `{{ storage_directory }}` is `/usr/src/en` +2. Prepare the latest database backup on your host. you can download it from our public GCS buckets: -3. **OPTIONAL**: If you already have external-node, you can copy tree directory to new host. Copy external-node database tree to `{{ storage_directory }}/db`. +* Era Mainnet: +* Era Sepolia Testnet: +* Era Goerli Testnet: -**Keep in mind, external-node tree should be older than PostgreSQL database backup.** +Downloaded dump file should be placed into `{{ storage_directory }}/pg_backups` directory. By default, `{{ storage_directory }}` is `/usr/src/en` + +3. **OPTIONAL**: If you already have running node, you can copy its tree and state directory to a new host's `{{ storage_directory }}/db`. + +**Keep in mind that tree and state should be older than PostgreSQL database backup.** 4. Run ansible-playbook using this role. We recommend encrypting next variables with ansible-vault or some another way: