Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Remove native call #12201

Merged
merged 5 commits into from
Sep 12, 2022
Merged

Remove native call #12201

merged 5 commits into from
Sep 12, 2022

Conversation

bkchr
Copy link
Member

@bkchr bkchr commented Sep 6, 2022

With the recent introduction of staging runtime apis the native call wasn't supported anymore. This removes the entire support for this as it is not used anymore.

With the recent introduction of staging runtime apis the native call wasn't supported anymore. This
removes the entire support for this as it is not used anymore.
@bkchr bkchr added A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit labels Sep 6, 2022
@bkchr bkchr requested a review from tdimitrov September 6, 2022 22:43
@bkchr bkchr requested a review from andresilva September 7, 2022 18:01
R: Decode + Encode + PartialEq,
NC: FnOnce() -> result::Result<R, Box<dyn std::error::Error + Send + Sync>> + UnwindSafe,
>(
fn call(
&self,
ext: &mut dyn Externalities,
runtime_code: &RuntimeCode,
method: &str,
data: &[u8],
use_native: bool,
Copy link
Contributor

@tdimitrov tdimitrov Sep 8, 2022

Choose a reason for hiding this comment

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

Is use_native: bool still needed?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes

Copy link
Contributor

@kianenigma kianenigma left a comment

Choose a reason for hiding this comment

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

wen fully remove native sir?

@bkchr bkchr merged commit 7de3d78 into master Sep 12, 2022
@bkchr bkchr deleted the bkchr-remove-native-call branch September 12, 2022 10:25
ark0f pushed a commit to gear-tech/substrate that referenced this pull request Feb 27, 2023
* Remove native call

With the recent introduction of staging runtime apis the native call wasn't supported anymore. This
removes the entire support for this as it is not used anymore.

* FMT

* Fix benchmarks

* FIX ui tests
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit
Projects
Status: done
Development

Successfully merging this pull request may close these issues.

4 participants