Skip to content

Commit

Permalink
chore: satisfy markdownlint
Browse files Browse the repository at this point in the history
  • Loading branch information
conorsch committed Nov 12, 2024
1 parent e9c393b commit 1b6cf05
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion uips/uip-6.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
| consensus | No |
| created | 2024-11-12 |


## Abstract

This proposal describes a simple, backwards-compatible mechanism to safeguard node operators
Expand Down Expand Up @@ -44,6 +43,7 @@ to store a u64 version value, as 8 little endian bytes.
### Starting

When starting, PD SHOULD check that the app version safeguard is either:

- not present,
- or equal to the APP_VERSION constant in the app crate.

Expand All @@ -52,6 +52,7 @@ Then, PD SHOULD write the APP_VERSION constant into the `app_version_safeguard`
### Migrating

When migrating, PD SHOULD, in the context of an atomic migration transaction,

- check that app version safeguard is absent, or equal to the APP_VERSION constant of the *pre-migration* version of the app crate
- write the APP_VERSION constant of the *post-migration* version of the app crate into the `app_version_safeguard` slot.

Expand Down

0 comments on commit 1b6cf05

Please sign in to comment.