Benchmark Offences Pallet (#5411)

* Add initial report_ofence bench.

* Remove unused imports

* Style nit

* Add nominators

* Remove logs.

* Nits.

* Add nominators param.

* Reorg, comment.

* Remove whitespaces.

* Apply review suggestion: move benchmark to own crate.

* Remove import.

* Remove line.

* Add feature flag.

* Pass can_report.

* Cleaning up.

* More cleaning
This commit is contained in:
Marcio Diaz authored and GitHub committed 2020-04-07 11:36:57 +02:00
1 parent d3cc051419
commit fb9bbf306d
10 files changed
+463 -205

No files matched your search

+1
View File
@@ -34,6 +34,7 @@ std = [
"frame-support/std",
"frame-system/std",
]
runtime-benchmarks = []
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]