feat: initialize Kurdistan SDK - independent fork of Polkadot SDK
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
|
||||
{# This file uses the Markdown format with additional templating such as this comment. -#}
|
||||
{# Such a comment will not show up in the rendered release notes. -#}
|
||||
{# The content of this file (if any) will be inserted at the top of the release notes -#}
|
||||
{# and generated for each new release candidate. -#}
|
||||
{# Ensure you leave an empty line at both top and bottom of this file. -#}
|
||||
|
||||
<!-- Such a comment will be rendered but remain invisible in the rendered markdown -->
|
||||
<!-- Edit below this line -->
|
||||
<!-- Edit above this line -->
|
||||
@@ -0,0 +1,13 @@
|
||||
### Changelog for `{{ env.TARGET_AUDIENCE }}`
|
||||
|
||||
{{ env.AUDIENCE_DESC }}
|
||||
|
||||
{% for file in prdoc -%}
|
||||
{% for doc_item in file.content.doc %}
|
||||
{%- if doc_item.audience is containing(env.TARGET_AUDIENCE) %}
|
||||
#### [#{{file.doc_filename.number}}]: {{ file.content.title }}
|
||||
{{ doc_item.description }}
|
||||
{% endif -%}
|
||||
|
||||
{%- endfor %}
|
||||
{%- endfor %}
|
||||
@@ -0,0 +1,7 @@
|
||||
## Changelog for `{{ env.PRODUCT | capitalize }} {{ env.VERSION }}`
|
||||
|
||||
{% for file in prdoc | sort(attribute="doc_filename.number") -%}
|
||||
{%- set author= file.content.author | default(value="n/a") -%}
|
||||
{%- set topic= file.content.topic | default(value="n/a") -%}
|
||||
- #{{file.doc_filename.number}}: {{ file.content.title }} (@{{ author }}) [{{ topic | capitalize }}]
|
||||
{% endfor -%}
|
||||
@@ -0,0 +1,4 @@
|
||||
{# This include generates the section showing the changes #}
|
||||
## Changelog
|
||||
|
||||
{% include "changelog.md" -%}
|
||||
@@ -0,0 +1,6 @@
|
||||
## Rust compiler versions
|
||||
|
||||
This release was built and tested against the following versions of `rustc`.
|
||||
Other versions may work.
|
||||
|
||||
- Rust Stable: `{{ env.RUSTC_STABLE }}`
|
||||
@@ -0,0 +1,19 @@
|
||||
|
||||
## Docker images
|
||||
|
||||
The docker images for the `polkadot` node binary and the `polkadot-parachain` binary can be found at Docker hub (will be available a few minutes after the release has been published):
|
||||
- [Polkadot image](https://hub.docker.com/r/parity/polkadot/tags?page=1&ordering=last_updated)
|
||||
- [Polkadot-Parachain image](https://hub.docker.com/r/parity/polkadot-parachain/tags?page=1&ordering=last_updated)
|
||||
|
||||
|
||||
You may also pull it with:
|
||||
|
||||
```
|
||||
docker pull parity/polkadot:{{ env.VERSION }}
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
```
|
||||
docker pull parity/polkadot-parachain:{{ env.VERSION }}
|
||||
```
|
||||
@@ -0,0 +1,26 @@
|
||||
{# This macro shows one runtime #}
|
||||
{%- macro runtime(runtime) -%}
|
||||
|
||||
### {{ runtime.name | title }}
|
||||
|
||||
{%- if runtime.data.runtimes.compressed.subwasm.compression.compressed %}
|
||||
{%- set compressed = "Yes" %}
|
||||
{%- else %}
|
||||
{%- set compressed = "No" %}
|
||||
{%- endif %}
|
||||
|
||||
{%- set comp_ratio = 100 - (runtime.data.runtimes.compressed.subwasm.compression.size_compressed /
|
||||
runtime.data.runtimes.compressed.subwasm.compression.size_decompressed *100) %}
|
||||
|
||||
```
|
||||
🏋️ Runtime Size: {{ runtime.data.runtimes.compressed.subwasm.size | filesizeformat }} ({{
|
||||
runtime.data.runtimes.compressed.subwasm.size }} bytes)
|
||||
🔥 Core Version: {{ runtime.data.runtimes.compressed.subwasm.core_version.specName }}-{{runtime.data.runtimes.compressed.subwasm.core_version.specVersion }} ({{runtime.data.runtimes.compressed.subwasm.core_version.implName }}-{{runtime.data.runtimes.compressed.subwasm.core_version.implVersion }}.tx{{runtime.data.runtimes.compressed.subwasm.core_version.transactionVersion }}.au{{runtime.data.runtimes.compressed.subwasm.core_version.authoringVersion }})
|
||||
🗜 Compressed: {{ compressed }}: {{ comp_ratio | round(method="ceil", precision=2) }}%
|
||||
🎁 Metadata version: V{{ runtime.data.runtimes.compressed.subwasm.metadata_version }}
|
||||
🗳️ system.setCode hash: {{ runtime.data.runtimes.compressed.subwasm.proposal_hash }}
|
||||
🗳️ authorizeUpgrade hash: {{ runtime.data.runtimes.compressed.subwasm.parachain_authorize_upgrade_hash }}
|
||||
🗳️ Blake2-256 hash: {{ runtime.data.runtimes.compressed.subwasm.blake2_256 }}
|
||||
📦 IPFS: {{ runtime.data.runtimes.compressed.subwasm.ipfs_hash }}
|
||||
```
|
||||
{%- endmacro runtime %}
|
||||
@@ -0,0 +1,19 @@
|
||||
{# This include shows the list and details of the runtimes #}
|
||||
{%- import "runtime.md.tera" as m_r -%}
|
||||
|
||||
{# --- #}
|
||||
|
||||
## Runtimes
|
||||
|
||||
{% set rtm = srtool[0] -%}
|
||||
|
||||
The information about the runtimes included in this release can be found below.
|
||||
The runtimes have been built using [{{ rtm.data.gen }}](https://github.com/paritytech/srtool) and `{{ rtm.data.rustc }}`.
|
||||
|
||||
{%- for runtime in srtool | sort(attribute="name") %}
|
||||
{%- set HIDE_VAR = "HIDE_SRTOOL_" ~ runtime.name | upper %}
|
||||
{%- if not env is containing(HIDE_VAR) %}
|
||||
|
||||
{{ m_r::runtime(runtime=runtime) }}
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
@@ -0,0 +1,19 @@
|
||||
{# This is the entry point of the template -#}
|
||||
|
||||
This release contains the changes from `{{ env.REF1 | replace(from="refs/tags/", to="") }}` to `{{ env.REF2 | replace(from="refs/tags/", to="") }}`.
|
||||
|
||||
{# -- Manual free notes section -- #}
|
||||
{% include "_free_notes.md.tera" -%}
|
||||
|
||||
{# -- Automatic section -- #}
|
||||
{% include "changes.md.tera" -%}
|
||||
|
||||
{% include "compiler.md.tera" -%}
|
||||
|
||||
{% if env.NO_RUNTIMES == "false" and env.CRATES_ONLY == "false" -%}
|
||||
{% include "runtimes.md.tera" -%}
|
||||
{% endif -%}
|
||||
|
||||
{% if env.CRATES_ONLY == "false" -%}
|
||||
{% include "docker_image.md.tera" -%}
|
||||
{% endif -%}
|
||||
Reference in New Issue
Block a user