Skip to content

Commit

Permalink
🔧 Fix penpal (#388)
Browse files Browse the repository at this point in the history
## What?
Penpal was not compiling correctly with the new sdk version
  • Loading branch information
JuaniRios authored Sep 3, 2024
1 parent c1e532c commit 7ffcbab
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 32 deletions.
46 changes: 16 additions & 30 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion integration-tests/penpal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ sp-session = { workspace = true }
sp-transaction-pool = { workspace = true }
sp-version = { workspace = true }
sp-std = { workspace = true }
sp-storage = { version = "19.0.0", default-features = false }
sp-storage = { version = "21.0.0", default-features = false }
pallet-collator-selection = { version = "16.0.0", default-features = false }
# Polkadot
polkadot-primitives = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/penpal/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1042,7 +1042,7 @@ impl_runtime_apis! {
];

let mut batches = Vec::<BenchmarkBatch>::new();
let params = (&config, &whitelist);
let params = (&config, whitelist.as_slice());
add_benchmarks!(params, batches);

if batches.is_empty() { return Err("Benchmark not found for this pallet.".into()) }
Expand Down

0 comments on commit 7ffcbab

Please sign in to comment.