Skip to content
Snippets Groups Projects
Unverified Commit 9edaef09 authored by Ludovic_Domingues's avatar Ludovic_Domingues Committed by GitHub
Browse files

Migrate pallet-paged-list-fuzzer to umbrella crate (#6930)


Part of  #6504

---------

Co-authored-by: default avatarBastian Köcher <git@kchr.de>
Co-authored-by: default avatarGiuseppe Re <giuseppe.re@parity.io>
parent ebde96ca
No related merge requests found
Pipeline #512703 waiting for manual action with stages
in 33 minutes and 15 seconds
...@@ -14608,10 +14608,9 @@ name = "pallet-paged-list-fuzzer" ...@@ -14608,10 +14608,9 @@ name = "pallet-paged-list-fuzzer"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"arbitrary", "arbitrary",
"frame-support 28.0.0",
"honggfuzz", "honggfuzz",
"pallet-paged-list 0.6.0", "pallet-paged-list 0.6.0",
"sp-io 30.0.0", "polkadot-sdk-frame 0.1.0",
] ]
   
[[package]] [[package]]
......
...@@ -18,8 +18,13 @@ path = "src/paged_list.rs" ...@@ -18,8 +18,13 @@ path = "src/paged_list.rs"
[dependencies] [dependencies]
arbitrary = { workspace = true } arbitrary = { workspace = true }
frame = { workspace = true, features = ["runtime"] }
honggfuzz = { workspace = true } honggfuzz = { workspace = true }
frame-support = { features = ["std"], workspace = true }
pallet-paged-list = { features = ["std"], workspace = true } pallet-paged-list = { features = ["std"], workspace = true }
sp-io = { features = ["std"], workspace = true }
[features]
default = ["std"]
std = [
"frame/std",
"pallet-paged-list/std",
]
...@@ -30,9 +30,12 @@ ...@@ -30,9 +30,12 @@
use arbitrary::Arbitrary; use arbitrary::Arbitrary;
use honggfuzz::fuzz; use honggfuzz::fuzz;
use frame_support::{storage::StorageList, StorageNoopGuard}; use frame::{
prelude::*, runtime::prelude::storage::storage_noop_guard::StorageNoopGuard,
testing_prelude::TestExternalities,
};
use pallet_paged_list::mock::{PagedList as List, *}; use pallet_paged_list::mock::{PagedList as List, *};
use sp_io::TestExternalities;
type Meta = MetaOf<Test, ()>; type Meta = MetaOf<Test, ()>;
fn main() { fn main() {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment