Skip to content

Commit

Permalink
todo comment added to use proper benchmarking in the future
Browse files Browse the repository at this point in the history
  • Loading branch information
ipapandinas committed Dec 4, 2024
1 parent 9048b77 commit 815f13f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions runtime/shibuya/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,9 @@ parameter_types! {
.for_class(DispatchClass::all(), |weights| {
// Adjusting the base extrinsic weight to account for the additional database
// read introduced by the `tx-pause` pallet during extrinsic filtering.
//
// TODO: This hardcoded addition is a temporary fix. Replace it with a proper
// benchmark in the future.
weights.base_extrinsic = ExtrinsicBaseWeight::get().saturating_add(RocksDbWeight::get().reads(1));
})
.for_class(DispatchClass::Normal, |weights| {
Expand Down

0 comments on commit 815f13f

Please sign in to comment.