Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the Polkadot Coretime runtime #410

Merged

Conversation

seadanda
Copy link
Contributor

@seadanda seadanda commented Jul 30, 2024

Add the Polkadot Coretime chain in advance of the 1.3.0 release.

This uses the new Price adapter which has been running on Kusama now for two sales cycles, and includes the mechanism to burn revenue.

TODO:

The genesis chain-spec is developing on seadanda#4. This can be used as a merge target for any community boot nodes who would like to be included at genesis and will be separately merged to main.

Closes #403

Copy link
Contributor

@eskimor eskimor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Don't we launch with async backing?

@eskimor
Copy link
Contributor

eskimor commented Aug 1, 2024

Also don't we need to apply these changes to allow unpaid execution from the coretime chain?

@seadanda seadanda mentioned this pull request Aug 6, 2024
9 tasks
@seadanda
Copy link
Contributor Author

/merge

@fellowship-merge-bot fellowship-merge-bot bot enabled auto-merge (squash) August 13, 2024 18:01
@fellowship-merge-bot
Copy link
Contributor

Enabled auto-merge in Pull Request

Available commands
  • /merge: Enables auto-merge for Pull Request
  • /merge cancel: Cancels auto-merge for Pull Request
  • /merge help: Shows this menu

For more information see the documentation

@fellowship-merge-bot fellowship-merge-bot bot merged commit 9d3d5f6 into polkadot-fellows:main Aug 13, 2024
47 checks passed
seadanda added a commit to seadanda/runtimes that referenced this pull request Aug 14, 2024
…chains (#4)

* Add kusama live preset and chain spec to builder

* Add coretime-polkadot chainspec

* Make clippy happy

* Remove unnecessary dep

* Use presets for new chainspecs

* Add live to preset names

* Add stake plus bootnodes to coretime polkadot at release. (#5)

* Add the Polkadot Coretime runtime (polkadot-fellows#410)

Add the Polkadot Coretime chain in advance of the 1.3.0 release.

This uses the new Price adapter which has been running on Kusama now for
two sales cycles, and includes the mechanism to burn revenue.

TODO:
- [x] Add Transact tests for hardcoded weights after
polkadot-fellows#401 is merged
- [ ] Rerun benchmarks and check hardcoded weights after merge

The genesis chain-spec is developing on
#4. This can be used as a merge
target for any community boot nodes who would like to be included at
genesis and will be separately merged to `main`.

---------

Co-authored-by: Bastian Köcher <[email protected]>
Co-authored-by: Branislav Kontur <[email protected]>
Co-authored-by: fellowship-merge-bot[bot] <151052383+fellowship-merge-bot[bot]@users.noreply.github.com>

* Update changelog

* all runtimes: remove already applied migrations (polkadot-fellows#420)

Remove migrations already **applied on-chain**.

- [x] Does not require a CHANGELOG entry

---------

Signed-off-by: Adrian Catangiu <[email protected]>
Co-authored-by: joe petrowski <[email protected]>

---------

Signed-off-by: Adrian Catangiu <[email protected]>
Co-authored-by: Tom <[email protected]>
Co-authored-by: Bastian Köcher <[email protected]>
Co-authored-by: Branislav Kontur <[email protected]>
Co-authored-by: fellowship-merge-bot[bot] <151052383+fellowship-merge-bot[bot]@users.noreply.github.com>
Co-authored-by: Adrian Catangiu <[email protected]>
Co-authored-by: joe petrowski <[email protected]>
fellowship-merge-bot bot added a commit that referenced this pull request Sep 6, 2024
This PR does three things related to chain-specs and genesis config
presets:
- Refactor `preset_names` to `genesis_config_presets` in all runtimes as
suggested for the Polkadot Coretime runtime in #410.
- Make the chain-spec generator use the preset from the WASM directly
for each runtime.
- Propagate the `on_chain_release_build` feature to the chain-spec
generator. Without this we cannot generate live/genesis chain-specs with
the chain-spec generator without having to post-process it to replace
the WASM compiled with this flag.

---------

Co-authored-by: fellowship-merge-bot[bot] <151052383+fellowship-merge-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add test for coretime Runtime API
7 participants