diff --git a/runtime/altair/src/weights/pallet_order_book.rs b/runtime/altair/src/weights/pallet_order_book.rs index a4ef7881a2..dc79ddbd00 100644 --- a/runtime/altair/src/weights/pallet_order_book.rs +++ b/runtime/altair/src/weights/pallet_order_book.rs @@ -140,4 +140,14 @@ impl pallet_order_book::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } + // TODO(cdamian): This is copied from `fill_order_full`, don't merge until we get the real weight. + fn fill_order_partial() -> Weight { + // Proof Size summary in bytes: + // Measured: `1702` + // Estimated: `8020828` + // Minimum execution time: 64_000 nanoseconds. + Weight::from_parts(64_000_000, 8020828) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(7)) + } } diff --git a/runtime/centrifuge/src/weights/pallet_order_book.rs b/runtime/centrifuge/src/weights/pallet_order_book.rs index a4ef7881a2..dc79ddbd00 100644 --- a/runtime/centrifuge/src/weights/pallet_order_book.rs +++ b/runtime/centrifuge/src/weights/pallet_order_book.rs @@ -140,4 +140,14 @@ impl pallet_order_book::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } + // TODO(cdamian): This is copied from `fill_order_full`, don't merge until we get the real weight. + fn fill_order_partial() -> Weight { + // Proof Size summary in bytes: + // Measured: `1702` + // Estimated: `8020828` + // Minimum execution time: 64_000 nanoseconds. + Weight::from_parts(64_000_000, 8020828) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(7)) + } } diff --git a/runtime/development/src/weights/pallet_order_book.rs b/runtime/development/src/weights/pallet_order_book.rs index 16dedf49a9..a6c0c261b7 100644 --- a/runtime/development/src/weights/pallet_order_book.rs +++ b/runtime/development/src/weights/pallet_order_book.rs @@ -140,4 +140,14 @@ impl pallet_order_book::WeightInfo for WeightInfo { .saturating_add(T::DbWeight::get().reads(1)) .saturating_add(T::DbWeight::get().writes(1)) } + // TODO(cdamian): This is copied from `fill_order_full`, don't merge until we get the real weight. + fn fill_order_partial() -> Weight { + // Proof Size summary in bytes: + // Measured: `1702` + // Estimated: `28826` + // Minimum execution time: 64_000 nanoseconds. + Weight::from_parts(65_000_000, 28826) + .saturating_add(T::DbWeight::get().reads(8)) + .saturating_add(T::DbWeight::get().writes(7)) + } }