Skip to content

Commit

Permalink
add assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
saraswatpuneet committed Aug 18, 2023
1 parent 897e8ce commit 42d8be7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pallets/frequency-tx-payment/src/tests/pallet_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -857,6 +857,7 @@ fn compute_capacity_fee_returns_fee_when_call_is_capacity_eligible() {
.execute_with(|| {
let fee = FrequencyTxPayment::compute_capacity_fee_details(xt, len);
assert!(fee.inclusion_fee.is_some());
assert!(fee.inclusion_fee.unwrap().adjusted_weight_fee > 0);
assert!(fee.tip == 0);
});
}

0 comments on commit 42d8be7

Please sign in to comment.