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

Remove disable-runtime-api feature - Fix for test-rustdoc CI job #1328

Merged
merged 1 commit into from
Aug 31, 2023

Conversation

NachoPal
Copy link
Contributor

This PR aims to fix the test-rustdoc CI job.

Runtime dmq_contents method is not implemented when disable-runtime-ap feature is enabled, making xcm-emulator to not compile. The feature is enabled when --all-features is used when running cargo doc.

It seems disable-runtime-api is not used anymore, removing it.

@NachoPal NachoPal requested a review from bkchr August 31, 2023 08:15
@bkchr bkchr added the R0-silent Changes should not be mentioned in any release notes label Aug 31, 2023
@NachoPal NachoPal added T4-runtime_API This PR/Issue is related to runtime APIs. D0-easy Can be fixed primarily by duplicating and adapting code by an intermediate coder. labels Aug 31, 2023
@bkchr bkchr removed T4-runtime_API This PR/Issue is related to runtime APIs. D0-easy Can be fixed primarily by duplicating and adapting code by an intermediate coder. labels Aug 31, 2023
@bkchr bkchr merged commit 80a19be into master Aug 31, 2023
11 of 12 checks passed
@bkchr bkchr deleted the nacho/remove-disable-runtime-api-feature branch August 31, 2023 10:48
ordian added a commit that referenced this pull request Aug 31, 2023
* master:
  Sassafras primitives (#1249)
  Restructure `dispatch` macro related exports (#1162)
  backing: move the min votes threshold to the runtime (#1200)
  Bump zstd from 0.11.2+zstd.1.5.2 to 0.12.4 (#1326)
  Remove `substrate_test_utils::test` (#1321)
  remove disable-runtime-api (#1328)
ordian added a commit that referenced this pull request Sep 1, 2023
* master: (25 commits)
  fix typos (#1339)
  Use bandersnatch-vrfs with locked dependencies ref (#1342)
  Bump bs58 from 0.4.0 to 0.5.0 (#1293)
  Contracts: `seal0::balance` should return the free balance (#1254)
  Logs: add extra debug log for negative rep changes (#1205)
  Added short-benchmarks for cumulus (#1183)
  [xcm-emulator] Improve hygiene and clean up (#1301)
  Bump the known_good_semver group with 1 update (#1347)
  Renames API (#1186)
  Rename `polkadot-parachain` to `polkadot-parachain-primitives` (#1334)
  Add README to project root (#1253)
  Add environmental variable to track decoded instructions (#1320)
  Fix polkadot-node-core-pvf-prepare-worker build with jemalloc (#1315)
  Sassafras primitives (#1249)
  Restructure `dispatch` macro related exports (#1162)
  backing: move the min votes threshold to the runtime (#1200)
  Bump zstd from 0.11.2+zstd.1.5.2 to 0.12.4 (#1326)
  Remove `substrate_test_utils::test` (#1321)
  remove disable-runtime-api (#1328)
  [ci] add more jobs for pipeline cancel, cleanup (#1314)
  ...
Daanvdplas pushed a commit that referenced this pull request Sep 11, 2023
@xlc
Copy link
Contributor

xlc commented Sep 19, 2023

This is still useful / required for other crates to include polkadot runtime. Yeah cumulus no longer need this but it doesn't mean no one need this.

@xlc
Copy link
Contributor

xlc commented Sep 19, 2023

A proper solution will be changes disable-runtime-api to enable-runtime-api and make it enabled by default so that new feature means add functionality, not the other way around.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
R0-silent Changes should not be mentioned in any release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants