fix: presale benchmark missing args + security audit advisory cleanup
- Fix refund_cancelled_presale benchmark: add missing start_index and batch_size arguments (0, 100) to match the 3-param extrinsic signature - Remove 3 stale RUSTSEC advisories from deny.toml and security-audit.yml (RUSTSEC-2023-0071, RUSTSEC-2025-0055, RUSTSEC-2026-0002 no longer in deps) - Add RUSTSEC-2026-0049 (rustls-webpki) to ignore lists (upstream kube/jsonrpsee haven't released compatible versions yet)
This commit is contained in:
@@ -296,7 +296,7 @@ mod benchmarks {
|
||||
let _ = Presale::<T>::cancel_presale(RawOrigin::Root.into(), presale_id);
|
||||
|
||||
#[extrinsic_call]
|
||||
refund_cancelled_presale(RawOrigin::Signed(caller.clone()), presale_id);
|
||||
refund_cancelled_presale(RawOrigin::Signed(caller.clone()), presale_id, 0, 100);
|
||||
|
||||
// Verify refund was processed
|
||||
let contribution = crate::Contributions::<T>::get(presale_id, &caller).unwrap();
|
||||
|
||||
Reference in New Issue
Block a user