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
c44fdd2f
Unverified
Commit
c44fdd2f
authored
Apr 08, 2021
by
Andronik Ordian
Committed by
GitHub
Apr 08, 2021
Browse files
fix fuzz tests (#2828)
parent
dae901e9
Pipeline
#133394
failed with stages
in 29 minutes and 51 seconds
Changes
5
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
erasure-coding/fuzzer/.gitignore
View file @
c44fdd2f
hfuzz_target/
hfuzz_workspace/
Cargo.lock
erasure-coding/fuzzer/Cargo.lock
deleted
100644 → 0
View file @
dae901e9
This diff is collapsed.
Click to expand it.
erasure-coding/fuzzer/Cargo.toml
View file @
c44fdd2f
...
...
@@ -7,7 +7,7 @@ edition = "2018"
[dependencies]
polkadot-erasure-coding
=
{
path
=
".."
}
honggfuzz
=
"0.5"
primitives
=
{
package
=
"polkadot-primitives"
,
path
=
"../../primitives/"
}
primitives
=
{
package
=
"polkadot-
node-
primitives"
,
path
=
"../../
node/
primitives/"
}
[[bin]]
name
=
"reconstruct"
...
...
erasure-coding/fuzzer/src/reconstruct.rs
View file @
c44fdd2f
use
polkadot_erasure_coding
::
*
;
use
primitives
::
v1
::
AvailableData
;
use
primitives
::
AvailableData
;
use
honggfuzz
::
fuzz
;
fn
main
()
{
...
...
erasure-coding/fuzzer/src/round_trip.rs
View file @
c44fdd2f
use
polkadot_erasure_coding
::
*
;
use
primitives
::
v1
::
{
AvailableData
,
BlockData
,
PoV
};
use
primitives
::{
AvailableData
,
BlockData
,
PoV
};
use
std
::
sync
::
Arc
;
use
honggfuzz
::
fuzz
;
...
...
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