Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## What? - Fix and modify pallet-funding benchmarks post-simplification ## Why? - Our benchmarks were overtly complicated, a result of the old logic. ## How? - Fix syntax for new instantiator functions - Simplify setup - Delete old logic branches (e.g. no longer "unchanged" outcome for evaluator, no more benchmark for that) - When 2 logic branches only had a small difference (e.g. 1 storage read/write), we now benchmark the worst case. ## Testing? `cargo test --features runtime-benchmarks` `just dry-run-benchmarks` Keep in mind you need to do a cargo clean for it to work (dunno why) ## Anything Else? Had to delete the runtime weights since the weight struct looks different. The runtime now uses the default `()` from the new weight file I generated in the pallet. Soon we will generate the real pallet/runtime benchmarks in AWS
- Loading branch information