Skip to content
Unverified Commit 56b0273f authored by Kian Peymani's avatar Kian Peymani Committed by GitHub
Browse files

Per-transaction weight for srml (#2799)



* debug checkpoint.

* new

* Worked.

* Worked and weight propagated to executive.

* Works with some tests.

* Cleanup debug prints.

* More cleanup.

* Undo more logs.

* Undo a few more.

* Fix build.

* Allow len to be used in weight calculation.

* Remove noop function from dispath.

* Cleanup.

* Unify traits.

* Update docs and nits.

* line width

* Update core/sr-primitives/src/weights.rs

Co-Authored-By: default avatarBastian Köcher <[email protected]>

* Update core/sr-primitives/src/weights.rs

Co-Authored-By: default avatarBastian Köcher <[email protected]>

* Update core/sr-primitives/src/weights.rs

Co-Authored-By: default avatarBastian Köcher <[email protected]>

* Update core/sr-primitives/src/weights.rs

Co-Authored-By: default avatarAmar Singh <[email protected]>

* Update srml/example/src/lib.rs

Co-Authored-By: default avatarBastian Köcher <[email protected]>

* Final cleanup.

* Fix build.
parent 03e78666
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