Eliminate all Instances of `Weight::zero()`
Compare changes
- bgallois authored
+ 2
− 0
@@ -89,3 +89,5 @@ When designing handlers and internal functions, it is advisable to avoid having
@@ -89,3 +89,5 @@ When designing handlers and internal functions, it is advisable to avoid having
1. **Simplified Benchmarking**: Writing benchmarks for hooks or calls where handlers and internal functions are utilized becomes more straightforward.
2. **Reduced Benchmarking Complexity**: By directly measuring execution and overhead in a single pass, the number of benchmarks is minimized.
3. **Enhanced Readability**: Understanding that weight accounting occurs at the outermost level improves the overall readability of the code.