Add millau specific messages weights (#2097)

* refactor weights a bit

* post cherry-pick fixes

* do not run spellcheck on new weight files

* fix
This commit is contained in:
Svyatoslav Nikolsky
2023-05-01 12:22:51 +03:00
committed by Bastian Köcher
parent 77b2ef5f6e
commit b03c584e31
11 changed files with 438 additions and 40 deletions
@@ -149,7 +149,7 @@ mod tests {
};
#[test]
fn ensure_rialto_message_lane_weights_are_correct() {
fn ensure_millau_message_lane_weights_are_correct() {
check_message_lane_weights::<bp_rialto::Rialto, Runtime>(
bp_millau::EXTRA_STORAGE_PROOF_SIZE,
bp_rialto::MAX_UNREWARDED_RELAYERS_IN_CONFIRMATION_TX,