Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
* [Running an operator](operator_guides/0_running_an_operator.md)
* [Operator FAQ](operator_guides/1_operator_FAQ.md)
* [Troubleshooting](operator_guides/2_troubleshooting.md)
* Upgrading Guides
* [Upgrading to v0.9.2](operator_guides/upgrading_guides/v0_9_2.md)

## Useful links

Expand Down
59 changes: 59 additions & 0 deletions docs/operator_guides/upgrading_guides/v0_9_2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# Upgrading to v0.9.2

This guide will walk you through the process of upgrading your Aligned Operator to v0.9.2.

## Changes

### New Features

* fix: operator downtime by @MarcosNicolau in [#1073](https://github.com/yetanotherco/aligned_layer/pull/1073)
* fix: operator commands by @MarcosNicolau in [#1184](https://github.com/yetanotherco/aligned_layer/pull/1184)
* fix: operator resets channel when updating latest block file by @MarcosNicolau in [#1200](https://github.com/yetanotherco/aligned_layer/pull/1200)

## How to upgrade

### Step 1 - Update the configuration for your specific Operator

This version requires update the operator configuration file adding the following fields:

```yaml
## Operator Configurations
operator:
last_processed_batch_filepath: '<path to a file to store the last processed batch>'
```

{% hint style="warning" %}

Make sure the directory where the file is stored exists and the operator has write permissions to it.

We suggest to use absolute paths to avoid ambiguity.

{% endhint %}

### Step 2 - Update the Operator

Inside the Aligned repository, run:

```bash
make update_operator
```

This will recreate the binaries. You can then proceed to restart the operator.

### Step 3 - Check the Operator Version

To see the operator version, run:

```bash
./operator/build/aligned-operator --version
```

This will display the current version of the operator binary.

```
Aligned Layer Node Operator version v0.9.2
```

### Step 4 - Restart the Operator

Restart the operator based on your system config