Skip to content
Commit 3496f114 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 e53e9e9b
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