Commit 2c7166eb authored by Ankan's avatar Ankan Committed by GitHub
Browse files

Take into account proof size for transaction payment and priority (#13958)



* use both proof size and weight

* old tests pass, todo: add tests for weight proof size

* refactor priority calculation

* refactor

* normalize dimensions

* refactor

* update comments

* use higher resolution

* test multiplier can grow

* restore ref time test cases

* fix hacky test

* fmt

* update tests

* revert to original error rate

* update targetedFeeAdjustment doc

* Update frame/transaction-payment/src/lib.rs

Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>

* import defensive

---------

Co-authored-by: parity-processbot <>
Co-authored-by: default avatarOliver Tale-Yazdi <[email protected]>
parent d767d748
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