-
Notifications
You must be signed in to change notification settings - Fork 953
Use TryFrom
impls instead of as
operator in polkadot-runtime-parachains
#8118
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
Merged
bkchr
merged 48 commits into
paritytech:master
from
iulianbarbu:ib-fix-compilation-issues
Apr 11, 2025
Merged
Changes from 28 commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
f94ac1a
explicit usize convertion
iulianbarbu 73bd02a
fix compilation issues
iulianbarbu 5d6c072
more compilation issues fixes
iulianbarbu a23c8b3
Update from github-actions[bot] running command 'prdoc'
github-actions[bot] 09ef1b6
polished prdoc
iulianbarbu 7a60b8a
fix title
iulianbarbu 9161731
simplify fix
iulianbarbu 8612c78
fix prdoc title
iulianbarbu 10706cb
add audience
iulianbarbu e79f7b7
Merge branch 'master' into ib-fix-compilation-issues
iulianbarbu 1d7980c
fix prdoc
iulianbarbu da3b68a
Bump deranged & time
bkchr 611031b
fix compilation after upgrading degraded
iulianbarbu 28aaff9
more fixes
iulianbarbu 195349f
Update bridges/relays/messages/src/message_race_delivery.rs
bkchr 1119588
fix compilation issue
iulianbarbu 7d2a97d
fix more compilation issues
iulianbarbu c273bb8
one more fix
iulianbarbu eb99995
fix polkadot/service tests
iulianbarbu 3dd4fb5
fix yet another
iulianbarbu a333b40
Update from github-actions[bot] running command 'prdoc --force'
github-actions[bot] 70aa1de
Update prdoc/pr_8118.prdoc
iulianbarbu 7a1b174
Update prdoc/pr_8118.prdoc
iulianbarbu a89df75
Update prdoc/pr_8118.prdoc
iulianbarbu 8cf821e
Update prdoc/pr_8118.prdoc
iulianbarbu ca7416b
Apply suggestions from code review
iulianbarbu 12f6db0
Update prdoc/pr_8118.prdoc
iulianbarbu 89fd3bd
Update message_race_delivery.rs
iulianbarbu 120906d
Update polkadot/node/core/chain-selection/src/db_backend/v1.rs
iulianbarbu adf6ac6
use explicit From conversions instead of 'as'
iulianbarbu b1e105a
remove unnecessary paranthesis
iulianbarbu 3980374
handle out of bounds usize conversion
iulianbarbu 4ab7d01
Update from github-actions[bot] running command 'fmt'
github-actions[bot] 5a1274f
proper handling errors and rest of conversions
iulianbarbu a3a461d
Update from github-actions[bot] running command 'fmt'
github-actions[bot] 00995ac
Merge branch 'master' into ib-fix-compilation-issues
iulianbarbu 4257827
update prdoc and downgrade degrade to 0.4.0
iulianbarbu af5df68
fix prdoc
iulianbarbu e610b8f
Update prdoc/pr_8118.prdoc
iulianbarbu b26273a
rever unnecessary changes
iulianbarbu 8d4d080
some leftovers
iulianbarbu 2076e2c
Update from github-actions[bot] running command 'fmt'
github-actions[bot] ef51bd3
revert deranged upgrade
iulianbarbu 14d5d9a
rever gitignore
iulianbarbu 7ca6156
fix time hash in cargo.lock
iulianbarbu 6dcdab2
Merge branch 'master' into ib-fix-compilation-issues
iulianbarbu aea2cae
Update polkadot/runtime/parachains/src/inclusion/mod.rs
bkchr 44a5a0e
Update prdoc/pr_8118.prdoc
bkchr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,3 +42,7 @@ target/ | |
*.scale | ||
justfile | ||
rustc-ice-* | ||
.bacon-locations | ||
bacon.log | ||
bacon-ls.log | ||
.config/bacon.toml | ||
iulianbarbu marked this conversation as resolved.
Show resolved
Hide resolved
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
title: Fix compilation by making conversions explicit | ||
doc: | ||
- audience: [Node Dev, Runtime Dev] | ||
bkchr marked this conversation as resolved.
Show resolved
Hide resolved
|
||
description: |- | ||
Fix various compilation issues for crates in polkadot-sdk after upgrading degrade to 0.4.1. | ||
crates: | ||
- name: polkadot-runtime-parachains | ||
bump: patch | ||
- name: pallet-bridge-parachains | ||
bump: patch | ||
- name: polkadot-node-core-chain-selection | ||
bump: patch | ||
- name: polkadot-runtime-common | ||
bump: patch | ||
- name: substrate-wasm-builder | ||
bump: patch | ||
- name: pallet-revive | ||
bump: patch | ||
- name: pallet-society | ||
bump: patch | ||
- name: pallet-staking | ||
bump: patch | ||
- name: sp-npos-elections | ||
bump: patch | ||
- name: pallet-broker | ||
bump: patch | ||
- name: pallet-nomination-pools | ||
bump: patch | ||
- name: polkadot-node-core-approval-voting | ||
bump: patch | ||
- name: polkadot-service | ||
bump: patch | ||
- name: cumulus-pallet-parachain-system | ||
bump: patch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.