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

Removes pallet::call_index from dev_mode example #14492

Merged
merged 4 commits into from
Jul 3, 2023

Conversation

gupnik
Copy link
Contributor

@gupnik gupnik commented Jul 3, 2023

pallet::call_index is not needed to be specified when in dev_mode. This PR removes it from the respective example.

@gupnik gupnik added A0-please_review Pull request needs code review. 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 T1-runtime This PR/Issue is related to the topic “runtime”. labels Jul 3, 2023
@gupnik gupnik requested review from a team July 3, 2023 07:51
Copy link
Contributor

@sam0x17 sam0x17 left a comment

Choose a reason for hiding this comment

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

💯

@sam0x17
Copy link
Contributor

sam0x17 commented Jul 3, 2023

@gupnik that said maybe add a test

@sam0x17
Copy link
Contributor

sam0x17 commented Jul 3, 2023

and update docs actually 😅

@gupnik
Copy link
Contributor Author

gupnik commented Jul 3, 2023

@sam0x17 Added a UI test and updated the docs. Could you take another look?

Copy link
Member

@ggwpez ggwpez left a comment

Choose a reason for hiding this comment

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

Just two nits.

frame/examples/dev-mode/src/lib.rs Outdated Show resolved Hide resolved
frame/examples/dev-mode/src/lib.rs Outdated Show resolved Hide resolved
gupnik and others added 2 commits July 3, 2023 14:30
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
@gupnik
Copy link
Contributor Author

gupnik commented Jul 3, 2023

bot merge

@paritytech-processbot paritytech-processbot bot merged commit 753c631 into master Jul 3, 2023
@paritytech-processbot paritytech-processbot bot deleted the gupnik/dev-mode-example-update branch July 3, 2023 10:00
nathanwhit pushed a commit to nathanwhit/substrate that referenced this pull request Jul 19, 2023
* Removes call_index

* Adds UI test and updates doc

* Update frame/examples/dev-mode/src/lib.rs

Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Update frame/examples/dev-mode/src/lib.rs

Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

---------

Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review. 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 T1-runtime This PR/Issue is related to the topic “runtime”.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants