Skip to content

Commit

Permalink
Merge branch 'main' into kiz-deprecate-origin
Browse files Browse the repository at this point in the history
  • Loading branch information
kianenigma authored Feb 16, 2024
2 parents a37d1fa + d045dba commit f64c303
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/md/en/docs/build/tx-weights-fees.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,12 +237,12 @@ use frame_support:: {
Pays::Yes,
},
weights::Weight,
};

#[pallet::weight(FunctionOf(
|args: (&Vec<User>,)| args.0.len().saturating_mul(10_000),
)
]

fn handle_users(origin, calls: Vec<User>) {
// Do something per user
}
Expand Down

0 comments on commit f64c303

Please sign in to comment.