Skip to content

Commit

Permalink
Adopt Encointer Runtime (#22)
Browse files Browse the repository at this point in the history
* init new RFC

* first version written

* add more detail

* Update text/0022-adopt-encointer-runtime.md

Co-authored-by: Oliver Tale-Yazdi <[email protected]>

* Update text/0022-adopt-encointer-runtime.md

Co-authored-by: Oliver Tale-Yazdi <[email protected]>

* Update text/0022-adopt-encointer-runtime.md

Co-authored-by: Oliver Tale-Yazdi <[email protected]>

* Update text/0022-adopt-encointer-runtime.md

Co-authored-by: Oliver Tale-Yazdi <[email protected]>

* Update text/0022-adopt-encointer-runtime.md

Co-authored-by: Oliver Tale-Yazdi <[email protected]>

* Update text/0022-adopt-encointer-runtime.md

Co-authored-by: Oliver Tale-Yazdi <[email protected]>

* add legal entity with author

* More precise stakeholder description for fellowship

* extend description about updates, reviews and audits

* Typo

* crates must be on crates.io

---------

Co-authored-by: Oliver Tale-Yazdi <[email protected]>
  • Loading branch information
brenzi and ggwpez authored Oct 9, 2023
1 parent cc9a16f commit 6be0336
Showing 1 changed file with 60 additions and 0 deletions.
60 changes: 60 additions & 0 deletions text/0022-adopt-encointer-runtime.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# RFC-0022: Adopt Encointer Runtime

| | |
| --------------- |---------------------------------------------------------------------------|
| **Start Date** | Aug 22nd 2023 |
| **Description** | Permanently move the Encointer runtime into the Fellowship runtimes repo. |
| **Authors** | @brenzi for Encointer Association, 8000 Zurich, Switzerland |

## Summary

Encointer is a system chain on Kusama since Jan 2022 and has been developed and maintained by the Encointer association. This RFC proposes to treat Encointer like any other system chain and include it in the fellowship repo with [this PR](https://github.com/polkadot-fellows/runtimes/pull/17).

## Motivation

Encointer does not seek to be in control of its runtime repository. As a decentralized system, the fellowship has a more suitable structure to maintain a system chain runtime repo than the Encointer association does.

Also, Encointer aims to update its runtime in batches with other system chains in order to have consistency for interoperability across system chains.

## Stakeholders

* Fellowship: Will continue to take upon them the review and auditing work for the Encointer runtime, but the process is streamlined with other system chains and therefore less time-consuming compared to the separate repo and CI process we currently have.
* Kusama Network: Tokenholders can easily see the changes of all system chains in one place.
* Encointer Association: Further decentralization of the Encointer Network necessities like devops.
* Encointer devs: Being able to work directly in the Fellowship runtimes repo to streamline and synergize with other developers.

## Explanation

[Our PR](https://github.com/polkadot-fellows/runtimes/pull/17) has all details about our runtime and how we would move it into the fellowship repo.

Noteworthy: All Encointer-specific pallets will still be located in encointer's repo for the time being: https://github.com/encointer/pallets

It will still be the duty of the Encointer team to keep its runtime up to date and provide adequate test fixtures. Frequent dependency bumps with Polkadot releases would be beneficial for interoperability and could be streamlined with other system chains but that will not be a duty of fellowship. Whenever possible, all system chains could be upgraded jointly (including Encointer) with a batch referendum.

Further notes:
* Encointer will publish all its crates crates.io
* Encointer does not carry out external auditing of its runtime nor pallets. It would be beneficial but not a requirement from our side if Encointer could join the auditing process of other system chains.

## Drawbacks

Other than all other system chains, development and maintenance of the Encointer Network is mainly financed by the KSM Treasury and possibly the DOT Treasury in the future. Encointer is dedicated to maintaining its network and runtime code for as long as possible, but there is a dependency on funding which is not in the hands of the fellowship. The only risk in the context of funding, however, is that the Encointer runtime will see less frequent updates if there's less funding.

## Testing, Security, and Privacy

No changes to the existing system are proposed. Only changes to how maintenance is organized.

## Performance, Ergonomics, and Compatibility

No changes

## Prior Art and References

[Existing Encointer runtime repo](https://github.com/encointer/encointer-parachain/tree/master/polkadot-parachains/encointer-runtime)

## Unresolved Questions

None identified

## Future Directions and Related Material

More info on Encointer: [encointer.org](https://encointer.org)

0 comments on commit 6be0336

Please sign in to comment.