Skip to content

Commit

Permalink
fix: oracle collection bench
Browse files Browse the repository at this point in the history
  • Loading branch information
wischli committed Mar 28, 2024
1 parent 3d95ae8 commit 12959cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pallets/oracle-collection/src/benchmarking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ mod benchmarks {
use super::*;

#[benchmark]
fn propose_update_collection_info(n: Linear<1, 10>) -> Result<(), BenchmarkError> {
fn propose_update_collection_info(n: Linear<1, 5>) -> Result<(), BenchmarkError> {
#[cfg(test)]
init_mocks();

Expand All @@ -85,7 +85,7 @@ mod benchmarks {
}

#[benchmark]
fn apply_update_collection_info(n: Linear<1, 10>) -> Result<(), BenchmarkError> {
fn apply_update_collection_info(n: Linear<1, 5>) -> Result<(), BenchmarkError> {
#[cfg(test)]
init_mocks();

Expand All @@ -109,7 +109,7 @@ mod benchmarks {
}

#[benchmark]
fn update_collection(n: Linear<1, 10>, m: Linear<1, 100>) -> Result<(), BenchmarkError> {
fn update_collection(n: Linear<1, 5>, m: Linear<1, 100>) -> Result<(), BenchmarkError> {
#[cfg(test)]
init_mocks();

Expand Down

0 comments on commit 12959cb

Please sign in to comment.