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

pallet-contracts: Fix 16bit func_id#11985

Merged
paritytech-processbot[bot] merged 1 commit into
paritytech:masterfrom
kvinwang:fix-func-id
Aug 8, 2022
Merged

pallet-contracts: Fix 16bit func_id#11985
paritytech-processbot[bot] merged 1 commit into
paritytech:masterfrom
kvinwang:fix-func-id

Conversation

@kvinwang

@kvinwang kvinwang commented Aug 5, 2022

Copy link
Copy Markdown
Contributor

It should mask the least 16bit as the doc comment said.

@kvinwang kvinwang requested a review from athei as a code owner August 5, 2022 15:13
@kvinwang kvinwang changed the title Fix 16bit func_id pallet-contracts: Fix 16bit func_id Aug 5, 2022
@athei athei added A0-please_review Pull request needs code review. B7-runtimenoteworthy C1-low PR touches the given topic and has a low impact on builders. D2-notlive 💤 PR contains changes in a runtime directory that is not deployed to a chain that requires an audit. labels Aug 7, 2022
@athei

athei commented Aug 7, 2022

Copy link
Copy Markdown
Member

Can you modify one of the tests so that both bytes are used for the function ids?

@kvinwang

kvinwang commented Aug 7, 2022

Copy link
Copy Markdown
Contributor Author

Can you modify one of the tests so that both bytes are used for the function ids?

Done

@athei athei left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks. You need to run cargo +nightly fmt.

@athei

athei commented Aug 8, 2022

Copy link
Copy Markdown
Member

bot merge

@paritytech-processbot paritytech-processbot Bot merged commit 4ad36db into paritytech:master Aug 8, 2022
@kvinwang kvinwang deleted the fix-func-id branch August 8, 2022 09:50
DaviRain-Su pushed a commit to octopus-network/substrate that referenced this pull request Aug 23, 2022
ark0f pushed a commit to gear-tech/substrate that referenced this pull request Feb 27, 2023
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. C1-low PR touches the given topic and has a low impact on builders. D2-notlive 💤 PR contains changes in a runtime directory that is not deployed to a chain that requires an audit.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants