Skip to content
Commit e13a134a authored by Svyatoslav Nikolsky's avatar Svyatoslav Nikolsky Committed by Serban Iorga
Browse files

Account proof size in weight formula (#679)



* fix broken message lane benchmarks

* proof-size related benchmarks

* impl Size for proof parameters

* include proof weight into weight formula

* left TODO

* fixed proof size

* WeightInfoExt::receive_messages_proof_weight

* charge for extra message bytes delivery in send_message

* removed default impl of WeightsInfoExt

* moved weight formulas to WeightInfoExt

* receive_messages_proof_outbound_lane_state_overhead is included twice in weight

* typo

* typo

* fixed TODO

* more asserts

* started wotk on message-lane documentation

* expected_extra_storage_proof_size() is actually expected in delivery confirmation tx

* update README.md

* ensure_able_to_receive_confirmation

* test rialto message lane weights

* removed TODO

* removed unnecessary trait requirements

* fixed arguments

* fix compilation

* decreased basic delivery tx weight

* fmt

* clippy

* Update modules/message-lane/src/benchmarking.rs

Co-authored-by: default avatarHernando Castano <[email protected]>

* structs

* Update primitives/millau/src/lib.rs

Co-authored-by: default avatarHernando Castano <[email protected]>

* removed readme.md

* removed obsolete trait bounds

* Revert "removed readme.md"

This reverts commit 50b7376a41687a94c27bf77565434be153f87ca1.

* Update bin/runtime-common/src/messages.rs

Co-authored-by: default avatarTomasz Drwięga <[email protected]>

* Update bin/runtime-common/src/messages.rs

Co-authored-by: default avatarTomasz Drwięga <[email protected]>

* Update bin/runtime-common/src/messages.rs

Co-authored-by: default avatarTomasz Drwięga <[email protected]>

* Update bin/runtime-common/src/messages.rs

Co-authored-by: default avatarTomasz Drwięga <[email protected]>

* Update bin/runtime-common/src/messages.rs

Co-authored-by: default avatarTomasz Drwięga <[email protected]>

* Update bin/runtime-common/src/messages.rs

Co-authored-by: default avatarTomasz Drwięga <[email protected]>

* Update bin/runtime-common/src/messages.rs

Co-authored-by: default avatarTomasz Drwięga <[email protected]>

* PreComputedSize

Co-authored-by: default avatarHernando Castano <[email protected]>
Co-authored-by: default avatarTomasz Drwięga <[email protected]>
parent f18dd4ce
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment