Skip to content

Commit

Permalink
[RFC] Mention compatibility issues between mainnet & berkeley.
Browse files Browse the repository at this point in the history
- Epoch seeds' encoding is incompatible
- Some Runtime_config fields have been renamed
  • Loading branch information
Sventimir committed Oct 2, 2023
1 parent 2788c34 commit 85f1515
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions rfcs/0050-genesis-ledger-export.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ needed and fed directly into a new node, running a different protocol
version, using `--config-file` flag. As of the moment of writing this,
`compatible` and `berkeley` branches' configuration files are
compatible with each other (see: [PR #13768](https://github.com/MinaProtocol/mina/pull/13768)).
Sadly since then that compatibility has been broken by [PR #14014](https://github.com/MinaProtocol/mina/pull/14014).
We need to either port this change back to `compatible` or create a
migration script which will adapt a `mainnet` config file to the
format required by `berkeley`. The former solution would probably
be better.

The `fork_config` field has been added to GraphQL in [PR #13787](https://github.com/MinaProtocol/mina/pull/13787).

Expand Down Expand Up @@ -116,3 +121,10 @@ for some time still) unknown. This makes it hard to put it into the
configuration in any automated fashion. Relying on personnel
performing the hard fork to update it is far from ideal, but there
seems to be no better solution available at the moment.

Also epoch seeds from mainnet are incompatible with those on berkeley.
When epoch ledgers are being exported from a compatible node and
transferred into a berkeley node, the latter cannot load them, because
Base58check fails to decode them. This is a problem we need to overcome
or decide that we won't export the epoch ledgers and assume they're
the same as the genesis ledger for the purpose of hard fork.

0 comments on commit 85f1515

Please sign in to comment.