Skip to content

Commit 590f105

Browse files
authored
docs: guide for operators to upgrado to v0.9.2 (#1235)
1 parent fbe9c83 commit 590f105

File tree

2 files changed

+61
-0
lines changed

2 files changed

+61
-0
lines changed

docs/SUMMARY.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@
3939
* [Running an operator](operator_guides/0_running_an_operator.md)
4040
* [Operator FAQ](operator_guides/1_operator_FAQ.md)
4141
* [Troubleshooting](operator_guides/2_troubleshooting.md)
42+
* Upgrading Guides
43+
* [Upgrading to v0.9.2](operator_guides/upgrading_guides/v0_9_2.md)
4244

4345
## Useful links
4446

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# Upgrading to v0.9.2
2+
3+
This guide will walk you through the process of upgrading your Aligned Operator to v0.9.2.
4+
5+
## Changes
6+
7+
### New Features
8+
9+
* fix: operator downtime by @MarcosNicolau in [#1073](https://github.com/yetanotherco/aligned_layer/pull/1073)
10+
* fix: operator commands by @MarcosNicolau in [#1184](https://github.com/yetanotherco/aligned_layer/pull/1184)
11+
* fix: operator resets channel when updating latest block file by @MarcosNicolau in [#1200](https://github.com/yetanotherco/aligned_layer/pull/1200)
12+
13+
## How to upgrade
14+
15+
### Step 1 - Update the configuration for your specific Operator
16+
17+
This version requires update the operator configuration file adding the following fields:
18+
19+
```yaml
20+
## Operator Configurations
21+
operator:
22+
last_processed_batch_filepath: '<path to a file to store the last processed batch>'
23+
```
24+
25+
{% hint style="warning" %}
26+
27+
Make sure the directory where the file is stored exists and the operator has write permissions to it.
28+
29+
We suggest to use absolute paths to avoid ambiguity.
30+
31+
{% endhint %}
32+
33+
### Step 2 - Update the Operator
34+
35+
Inside the Aligned repository, run:
36+
37+
```bash
38+
make update_operator
39+
```
40+
41+
This will recreate the binaries. You can then proceed to restart the operator.
42+
43+
### Step 3 - Check the Operator Version
44+
45+
To see the operator version, run:
46+
47+
```bash
48+
./operator/build/aligned-operator --version
49+
```
50+
51+
This will display the current version of the operator binary.
52+
53+
```
54+
Aligned Layer Node Operator version v0.9.2
55+
```
56+
57+
### Step 4 - Restart the Operator
58+
59+
Restart the operator based on your system config

0 commit comments

Comments
 (0)