Skip to content

Commit 89e447d

Browse files
committed
Add deposit encoded size fuzz target
1 parent aa2da5c commit 89e447d

File tree

4 files changed

+754
-1
lines changed

4 files changed

+754
-1
lines changed

fuzz/Cargo.lock

Lines changed: 52 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

fuzz/Cargo.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ pallet-author-noting = { path = "../../tanssi/pallets/author-noting", default-fe
3939
pallet-configuration = { path = "../../tanssi/pallets/configuration", default-features = false }
4040
pallet-invulnerables = { path = "../../tanssi/pallets/invulnerables", default-features = false }
4141
pallet-registrar = { path = "../../tanssi/pallets/registrar", default-features = false }
42+
pallet-stream-payment = { path = "../../tanssi/pallets/stream-payment", default-features = false }
4243
tp-author-noting-inherent = { path = "../../tanssi/primitives/author-noting-inherent", default-features = false }
4344
dp-container-chain-genesis-data = { git = "https://github.com/moondance-labs/dancekit", branch = "tanssi-polkadot-stable2412", default-features = false, features = [ "json", "std" ] }
4445

@@ -127,3 +128,10 @@ path = "fuzz_targets/fuzz_starlight_live.rs"
127128
test = false
128129
doc = false
129130
bench = false
131+
132+
[[bin]]
133+
name = "fuzz_starlight_deposits"
134+
path = "fuzz_targets/fuzz_starlight_deposits.rs"
135+
test = false
136+
doc = false
137+
bench = false

fuzz/fuzz_targets/fuzz_starlight.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ where
184184
///
185185
/// The input must be a tuple of individual keys (a single arg for now since we have just one key).
186186
pub fn template_session_keys(account: AccountId) -> dancelight_runtime::SessionKeys {
187-
let authority_keys = get_authority_keys_from_seed(&account.to_string(), None);
187+
let authority_keys = get_authority_keys_from_seed(&account.to_string());
188188

189189
dancelight_runtime::SessionKeys {
190190
babe: authority_keys.babe.clone(),

0 commit comments

Comments
 (0)