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

update Cargo.lock + fix build#2639

Closed
michalkucharczyk wants to merge 1 commit intomasterfrom
mku-fix-build
Closed

update Cargo.lock + fix build#2639
michalkucharczyk wants to merge 1 commit intomasterfrom
mku-fix-build

Conversation

@michalkucharczyk
Copy link
Contributor

cargo update -p sp-io -p polkadot-runtime

and:

fix for:

[2023-05-25 11:31:20] error[E0053]: method `execute` has an incompatible type for trait
[2023-05-25 11:31:20]    --> pallets/dmp-queue/src/lib.rs:487:11
[2023-05-25 11:31:20]     |
[2023-05-25 11:31:20] 487 |             _hash: XcmHash,
[2023-05-25 11:31:20]     |                    ^^^^^^^
[2023-05-25 11:31:20]     |                    |
[2023-05-25 11:31:20]     |                    expected `&mut [u8; 32]`, found `[u8; 32]`
[2023-05-25 11:31:20]     |                    help: change the parameter type to match the trait: `&mut [u8; 32]`
[2023-05-25 11:31:20]     |
[2023-05-25 11:31:20]     = note: expected signature `fn(_, Weightless, &mut [u8; 32], cumulus_primitives_core::Weight) -> cumulus_primitives_core::Outcome`
[2023-05-25 11:31:20]                found signature `fn(_, Weightless, [u8; 32], cumulus_primitives_core::Weight) -> cumulus_primitives_core::Outcome`

`cargo update -p sp-io -p polkadot-runtime `

and:

fix for:
```
[2023-05-25 11:31:20] error[E0053]: method `execute` has an incompatible type for trait
[2023-05-25 11:31:20]    --> pallets/dmp-queue/src/lib.rs:487:11
[2023-05-25 11:31:20]     |
[2023-05-25 11:31:20] 487 |             _hash: XcmHash,
[2023-05-25 11:31:20]     |                    ^^^^^^^
[2023-05-25 11:31:20]     |                    |
[2023-05-25 11:31:20]     |                    expected `&mut [u8; 32]`, found `[u8; 32]`
[2023-05-25 11:31:20]     |                    help: change the parameter type to match the trait: `&mut [u8; 32]`
[2023-05-25 11:31:20]     |
[2023-05-25 11:31:20]     = note: expected signature `fn(_, Weightless, &mut [u8; 32], cumulus_primitives_core::Weight) -> cumulus_primitives_core::Outcome`
[2023-05-25 11:31:20]                found signature `fn(_, Weightless, [u8; 32], cumulus_primitives_core::Weight) -> cumulus_primitives_core::Outcome`
```
@michalkucharczyk michalkucharczyk added B0-silent Changes should not be mentioned in any release notes A0-please_review Pull request needs code review. 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 May 25, 2023
@michalkucharczyk michalkucharczyk requested a review from bkchr May 25, 2023 11:55
@paritytech-cicd-pr
Copy link

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/cumulus/-/jobs/2895770

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants