Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
polkadot
Commits
f14ffe58
Commit
f14ffe58
authored
Jul 22, 2020
by
Peter Goodspeed-Niklaus
Browse files
fix more multi-From inference issues
parent
684038fd
Pipeline
#101367
canceled with stages
in 4 minutes and 55 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
node/core/backing/src/lib.rs
View file @
f14ffe58
...
...
@@ -798,9 +798,9 @@ mod tests {
impl
Default
for
TestState
{
fn
default
()
->
Self
{
let
chain_a
=
ParaId
::
from
(
1
);
let
chain_b
=
ParaId
::
from
(
2
);
let
thread_a
=
ParaId
::
from
(
3
);
let
chain_a
=
ParaId
::
from
(
1
_u32
);
let
chain_b
=
ParaId
::
from
(
2
_u32
);
let
thread_a
=
ParaId
::
from
(
3
_u32
);
let
chain_ids
=
vec!
[
chain_a
,
chain_b
,
thread_a
];
...
...
node/network/statement-distribution/src/lib.rs
View file @
f14ffe58
...
...
@@ -915,21 +915,21 @@ mod tests {
let
candidate_a
=
{
let
mut
c
=
CommittedCandidateReceipt
::
default
();
c
.descriptor.relay_parent
=
parent_hash
;
c
.descriptor.para_id
=
1
.into
();
c
.descriptor.para_id
=
1
_u32
.into
();
c
};
let
candidate_b
=
{
let
mut
c
=
CommittedCandidateReceipt
::
default
();
c
.descriptor.relay_parent
=
parent_hash
;
c
.descriptor.para_id
=
2
.into
();
c
.descriptor.para_id
=
2
_u32
.into
();
c
};
let
candidate_c
=
{
let
mut
c
=
CommittedCandidateReceipt
::
default
();
c
.descriptor.relay_parent
=
parent_hash
;
c
.descriptor.para_id
=
3
.into
();
c
.descriptor.para_id
=
3
_u32
.into
();
c
};
...
...
@@ -1144,7 +1144,7 @@ mod tests {
let
candidate
=
{
let
mut
c
=
CommittedCandidateReceipt
::
default
();
c
.descriptor.relay_parent
=
hash_c
;
c
.descriptor.para_id
=
1
.into
();
c
.descriptor.para_id
=
1
_u32
.into
();
c
};
let
candidate_hash
=
candidate
.hash
();
...
...
@@ -1279,7 +1279,7 @@ mod tests {
let
candidate
=
{
let
mut
c
=
CommittedCandidateReceipt
::
default
();
c
.descriptor.relay_parent
=
hash_b
;
c
.descriptor.para_id
=
1
.into
();
c
.descriptor.para_id
=
1
_u32
.into
();
c
};
...
...
gabriel klawitter
🏄
@gabriel
mentioned in commit
4410c87c
·
Jul 23, 2020
mentioned in commit
4410c87c
mentioned in commit 4410c87ceefd65e3e99e0ff142cd7263d5d50df8
Toggle commit list
gabriel klawitter
🏄
@gabriel
mentioned in commit
8217ca67
·
Jul 23, 2020
mentioned in commit
8217ca67
mentioned in commit 8217ca6764cce626a440bf83dc6418b6b396b9a0
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment