Skip to content

Commit

Permalink
refactring
Browse files Browse the repository at this point in the history
  • Loading branch information
asiniscalchi committed Apr 12, 2024
1 parent ff56f30 commit 5b512f4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions primitives/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,9 @@ mod tests {

#[test]
fn test_block_weights() {
// Assuming BlockWeights::get() is a valid function returning configured BlockWeights
let weights = BlockWeights::get();

// Test base_block and max_block
assert_eq!(weights.base_block, Weight::from_parts(390584000, 0)); // Adjusted to your use case
assert_eq!(weights.base_block, Weight::from_parts(390584000, 0));
assert_eq!(weights.max_block, Weight::from_parts(500000000000, 5242880));

let normal = weights.per_class.get(DispatchClass::Normal);
Expand Down

0 comments on commit 5b512f4

Please sign in to comment.