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
7fc77805
Commit
7fc77805
authored
Jul 22, 2020
by
Peter Goodspeed-Niklaus
Browse files
resolve type inference failure caused by multiple From impls
parent
00ef6116
Pipeline
#101352
failed with stages
in 8 minutes and 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
availability-store/src/store.rs
View file @
7fc77805
...
...
@@ -412,8 +412,8 @@ mod tests {
fn
finalization_removes_unneeded
()
{
let
relay_parent
=
[
1
;
32
]
.into
();
let
para_id_1
=
5
.into
();
let
para_id_2
=
6
.into
();
let
para_id_1
=
5
_u32
.into
();
let
para_id_2
=
6
_u32
.into
();
let
mut
candidate_1
=
AbridgedCandidateReceipt
::
default
();
let
mut
candidate_2
=
AbridgedCandidateReceipt
::
default
();
...
...
@@ -482,7 +482,7 @@ mod tests {
#[test]
fn
erasure_coding
()
{
let
relay_parent
:
Hash
=
[
1
;
32
]
.into
();
let
para_id
:
ParaId
=
5
.into
();
let
para_id
:
ParaId
=
5
_u32
.into
();
let
available_data
=
available_data
(
&
[
42
;
8
]);
let
n_validators
=
5
;
...
...
@@ -555,11 +555,11 @@ mod tests {
let
mut
receipt_2
=
AbridgedCandidateReceipt
::
default
();
receipt_1
.parachain_index
=
1
.into
();
receipt_1
.parachain_index
=
1
_u32
.into
();
receipt_1
.commitments.erasure_root
=
erasure_root_1
;
receipt_1
.relay_parent
=
relay_parent
;
receipt_2
.parachain_index
=
2
.into
();
receipt_2
.parachain_index
=
2
_u32
.into
();
receipt_2
.commitments.erasure_root
=
erasure_root_2
;
receipt_2
.relay_parent
=
relay_parent
;
...
...
gabriel klawitter
🏄
@gabriel
mentioned in commit
c1b8b54f
·
Jul 23, 2020
mentioned in commit
c1b8b54f
mentioned in commit c1b8b54f997bc6fb0d732b458b063ae2c7aee2fb
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